feat(locale): add 060 Japanese mobile phone number formats - #3922
Conversation
✅ Deploy Preview for fakerjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3922 +/- ##
==========================================
- Coverage 98.85% 98.84% -0.01%
==========================================
Files 923 923
Lines 3224 3216 -8
Branches 591 583 -8
==========================================
- Hits 3187 3179 -8
Misses 33 33
Partials 4 4 🚀 New features to boost your workflow:
|
|
Don't think it's necessary to touch the legacy cell_phone definitions since these will get removed in the next major version. |
|
I think the test is not really necessary either. |
dc8bf56 to
c22d33a
Compare
|
I'm ok with letting this into our last planned v10.6 before we start v11. |
Good point, thanks. I removed the changes to the legacy |
Makes sense. I removed the test as well and kept the PR to just the locale data update. |
There was a problem hiding this comment.
Pull request overview
Adds newly allocated Japanese mobile number ranges in the ja locale so generated mobile numbers can include the 060-1 through 060-9 prefixes (per MIC guidance), expanding realism for JP mobile/M2M-style numbers.
Changes:
- Expand
phone_number.format.mobileforjato include0601#######through0609#######. - Keep existing
070/080/090mobile formats unchanged.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
AFAICT there aren't valid yet, but may become valid starting July 2026.
060-1through060-9ranges tophone_number.format.mobile.Source: https://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/060keitai.html