Skip to content

Conversation

matthewmayer
Copy link
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
Copy link

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
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.97%. Comparing base (aa79846) to head (ba8df9a).

Additional details and impacted files
@@           Coverage Diff            @@
##             next    #3583    +/-   ##
========================================
  Coverage   99.97%   99.97%            
========================================
  Files        2894     2922    +28     
  Lines      222390   222556   +166     
  Branches      932      931     -1     
========================================
+ Hits       222337   222503   +166     
  Misses         53       53            
Files with missing lines Coverage Δ
src/definitions/phone_number.ts 100.00% <ø> (ø)
src/locales/af_ZA/phone_number/format/index.ts 100.00% <100.00%> (ø)
src/locales/af_ZA/phone_number/format/mobile.ts 100.00% <100.00%> (ø)
src/locales/de/phone_number/format/index.ts 100.00% <100.00%> (ø)
src/locales/de/phone_number/format/mobile.ts 100.00% <100.00%> (ø)
src/locales/de_AT/phone_number/format/index.ts 100.00% <100.00%> (ø)
src/locales/de_AT/phone_number/format/mobile.ts 100.00% <100.00%> (ø)
src/locales/dv/phone_number/format/index.ts 100.00% <100.00%> (ø)
src/locales/dv/phone_number/format/mobile.ts 100.00% <100.00%> (ø)
src/locales/el/phone_number/format/index.ts 100.00% <100.00%> (ø)
... and 48 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.

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