-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
c: bugSomething isn't workingSomething isn't workingm: locationSomething is referring to the location moduleSomething is referring to the location modulep: 1-normalNothing urgentNothing urgents: acceptedAccepted feature / Confirmed bugAccepted feature / Confirmed bug
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
According to the postalCode patterns for the netherlands the following example is allowed in https://github.com/faker-js/faker/blob/v8/src/locales/nl/location/postcode.ts:
1### SS
...
9### SS
same for SA/SD
This is not allowed according to:
Minimal reproduction code
import { fakerNL as faker } from '@faker-js/faker';
console.log(faker.location.zipCode()); // until you hit any of the combos
Additional Context
No response
Environment Info
Faker 8.4.1Which module system do you use?
- CJS
- ESM
Used Package Manager
yarn
cantecim
Metadata
Metadata
Assignees
Labels
c: bugSomething isn't workingSomething isn't workingm: locationSomething is referring to the location moduleSomething is referring to the location modulep: 1-normalNothing urgentNothing urgents: acceptedAccepted feature / Confirmed bugAccepted feature / Confirmed bug