-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
c: bugSomething isn't workingSomething isn't workingm: financeSomething is referring to the finance moduleSomething is referring to the finance modulep: 1-normalNothing urgentNothing urgents: awaiting more infoAdditional information are requestedAdditional information are requested
Milestone
Description
Pre-Checks
- Follow our Code of Conduct.
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Faker issue and not related to a combination with another package.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
- I am willing to provide a PR.
Describe the bug
when using:
"finance.iban" the iban is always invalid.
In my case i used:
faker.finance.iban(false, 'DE')
and got for example:
DE88 1533 9441 3800 0600 27
but even the iban mentioned in the documentation are not valid:
https://fakerjs.dev/api/finance.html#iban
to check, if a iban is valid you can use:
https://www.ibancalculator.com/iban_validieren.html
Minimal reproduction code
https://stackblitz.com/edit/faker-js-demo-ngipzd?embed=1&file=index.html
Additional Context
No response
Environment Info
System:
OS: Windows 10 10.0.19044
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1245U
Memory: 3.17 GB / 15.44 GB
Binaries:
Node: 18.10.0 - C:\Program Files\nodejs\node.EXE
npm: 2.15.12 - ~\source\repos\wl-cypress-smoke-test\node_modules\.bin\npm.CMD
npm version 9.4.2
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (109.0.1518.70)
Internet Explorer: 11.0.19041.1566
Google Chrome: 109.0.5414.120
Mozialle Firefox: 109.0.1
faker 7.6.0
by npm install @faker-js/faker --save-devWhich module system do you use?
- CJS
- ESM
Used Package Manager
npm
glen-84
Metadata
Metadata
Assignees
Labels
c: bugSomething isn't workingSomething isn't workingm: financeSomething is referring to the finance moduleSomething is referring to the finance modulep: 1-normalNothing urgentNothing urgents: awaiting more infoAdditional information are requestedAdditional information are requested