Skip to content

fix(locale): update nl_BE phone number patterns - #3981

Merged
ST-DDT merged 7 commits into
faker-js:nextfrom
ikbenwasmachine:next
Aug 8, 2026
Merged

fix(locale): update nl_BE phone number patterns#3981
ST-DDT merged 7 commits into
faker-js:nextfrom
ikbenwasmachine:next

Conversation

@ikbenwasmachine

Copy link
Copy Markdown
Contributor

Removed deprecated international Belgian phone numbers
Updated phone number format for: Mobile & Human.

@ikbenwasmachine
ikbenwasmachine requested a review from a team as a code owner August 5, 2026 07:40
@netlify

netlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for fakerjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 3acbac5
🔍 Latest deploy log https://app.netlify.com/projects/fakerjs/deploys/6a75bf260d8f570007d1cccd
😎 Deploy Preview https://deploy-preview-3981.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread src/locales/nl_BE/phone_number/format/mobile.ts Outdated
@matthewmayer
matthewmayer enabled auto-merge August 5, 2026 09:04
auto-merge was automatically disabled August 5, 2026 11:29

Head branch was pushed to by a user without write access

@ST-DDT ST-DDT added p: 1-normal Nothing urgent c: locale Permutes locale definitions m: phone Something is referring to the phone module labels Aug 5, 2026
@ST-DDT ST-DDT added this to the v10.x milestone Aug 5, 2026
@ST-DDT
ST-DDT requested a lite review from Copilot August 5, 2026 12:26
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.91%. Comparing base (81717bc) to head (3acbac5).
⚠️ Report is 1 commits behind head on next.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #3981   +/-   ##
=======================================
  Coverage   98.91%   98.91%           
=======================================
  Files         925      925           
  Lines        3235     3235           
  Branches      587      587           
=======================================
  Hits         3200     3200           
  Misses         31       31           
  Partials        4        4           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the nl_BE locale phone number format definitions to better reflect current Belgian numbering, removing deprecated international patterns and adjusting mobile/human formats used by faker.phone.number({ style: ... }).

Changes:

  • Simplify mobile format to a single 04######## pattern.
  • Remove deprecated/short international formats and narrow to +32######## (landline) and +324######## (mobile).
  • Refresh human formats to focus on common Belgian 0x/0xx ... patterns plus mobile formats.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/locales/nl_BE/phone_number/format/mobile.ts Simplifies mobile format patterns to a single 04######## definition.
src/locales/nl_BE/phone_number/format/international.ts Removes deprecated international formats and keeps updated +32/+324 patterns.
src/locales/nl_BE/phone_number/format/human.ts Updates human-readable formats toward common Belgian 0x/0xx groupings and trims older patterns.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ST-DDT ST-DDT changed the title fix(locale): Updated phone number format for locale nl_BE fix(locale): update nl_BE phone number patterns Aug 7, 2026
@ST-DDT
ST-DDT added this pull request to the merge queue Aug 8, 2026
Merged via the queue into faker-js:next with commit 9616076 Aug 8, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: locale Permutes locale definitions m: phone Something is referring to the phone module p: 1-normal Nothing urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants