Skip to content

feat(phone): mobile style for phone.number#3583

Open
matthewmayer wants to merge 3 commits intofaker-js:nextfrom
matthewmayer:mobile
Open

feat(phone): mobile style for phone.number#3583
matthewmayer wants to merge 3 commits intofaker-js:nextfrom
matthewmayer:mobile

Conversation

@matthewmayer
Copy link
Copy Markdown
Contributor

@matthewmayer matthewmayer commented Aug 3, 2025

fix #3582

Note in this initial PR i made the code and test changes, plus migrated over existing data from locales/*/cell_phone - for each locale i manually checked the data formats against wikipedia and updated/simplified where necessary.

Could add additional PRs for other locales later.

@matthewmayer matthewmayer requested a review from a team as a code owner August 3, 2025 12:08
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 3, 2025

Deploy Preview for fakerjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ba8df9a
🔍 Latest deploy log https://app.netlify.com/projects/fakerjs/deploys/68c0ca986fa0c2000888c084
😎 Deploy Preview https://deploy-preview-3583.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@matthewmayer matthewmayer changed the title feat(phone): mobile style feat(phone): mobile style for phone.number Aug 3, 2025
@matthewmayer matthewmayer self-assigned this Aug 3, 2025
@matthewmayer matthewmayer added c: feature Request for new feature p: 1-normal Nothing urgent m: phone Something is referring to the phone module labels Aug 3, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.88%. Comparing base (ae2a4a7) to head (76f11ce).

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #3583   +/-   ##
=======================================
  Coverage   98.88%   98.88%           
=======================================
  Files         886      886           
  Lines        3061     3061           
  Branches      556      556           
=======================================
  Hits         3027     3027           
  Misses         30       30           
  Partials        4        4           
Files with missing lines Coverage Δ
src/locales/af_ZA/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/de/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/de_AT/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/dv/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/el/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/en_GB/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/en_IE/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/en_ZA/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/es/phone_number/format/index.ts 100.00% <ø> (ø)
src/locales/fa/phone_number/format/index.ts 100.00% <ø> (ø)
... and 19 more
🚀 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.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2026

Deploy Preview for fakerjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 76f11ce
🔍 Latest deploy log https://app.netlify.com/projects/fakerjs/deploys/69cbbff0b244b900082b0726
😎 Deploy Preview https://deploy-preview-3583.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: feature Request for new feature 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.

Allow generating only mobile numbers for faker.phone.number()

1 participant