Skip to content

Commit

Permalink
Metadata updates for release 8.13.53 (#3781)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohininidhi authored Jan 14, 2025
1 parent 0bd1332 commit 5713f0d
Show file tree
Hide file tree
Showing 63 changed files with 20,053 additions and 20,069 deletions.
19 changes: 14 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
target/
!tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar
build/
lib/
generated/
# Ignore build directories and any files generated by the update script.
cpp/build/
cpp/src/phonenumbers/geocoding/geocoding_data.cc
cpp/src/phonenumbers/phonemetadata.pb.*
cpp/src/phonenumbers/phonenumber.pb.*
cpp/test/phonenumbers/geocoding/geocoding_test_data.cc
java/build/
java/demo/war/WEB-INF/classes/
java/demo/war/WEB-INF/lib/
java/**/target/
# Ignore the logs directory
/logs/
# Ignore ourselves because this is not intended to be submitted.
/.gitignore
19,074 changes: 9,536 additions & 9,538 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

20,496 changes: 10,247 additions & 10,249 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/351_en
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/680_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/90_en
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
90 changes: 45 additions & 45 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions javascript/i18n/phonenumbers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"EH":[,[,,"[5-8]\\d{8}",,,,,,,[9]
]
,[,,"528[89]\\d{5}",,,,"528812345"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}",,,,"650123456"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}",,,,"650123456"]
,[,,"80[0-7]\\d{6}",,,,"801234567"]
,[,,"89\\d{7}",,,,"891234567"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3501,7 +3501,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,,,,,,,,[-1]
]
,[,,"7(?:38(?:0\\d|5[0-2569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]
,[,,"7(?:38(?:0\\d|5[0-3569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]
]
,"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]
]
Expand Down Expand Up @@ -4582,7 +4582,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"LV":[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]
]
,[,,"6\\d{7}",,,,"63123456"]
,[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"]
,[,,"2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}",,,,"21234567"]
,[,,"80\\d{6}",,,,"80123456"]
,[,,"90\\d{6}",,,,"90123456"]
,[,,"81\\d{6}",,,,"81123456"]
Expand Down Expand Up @@ -4633,7 +4633,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"MA":[,[,,"[5-8]\\d{8}",,,,,,,[9]
]
,[,,"5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}",,,,"650123456"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}",,,,"650123456"]
,[,,"80[0-7]\\d{6}",,,,"801234567"]
,[,,"89\\d{7}",,,,"891234567"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -4831,7 +4831,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]
]
,[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"]
,[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"]
,[,,"800\\d{5}",,,,"80012345"]
,[,,"5\\d{7}",,,,"50012345"]
,[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"]
Expand Down Expand Up @@ -4900,7 +4900,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,,,,,,,,[-1]
]
,[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]
,[,,"1333\\d{4}",,,,"13331234",,,[8]
]
,"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"]
,"0$1"]
Expand Down Expand Up @@ -5116,7 +5116,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MU":[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]
]
,[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]
,[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]
]
,[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",,,,"52512345",,,[8]
]
Expand Down Expand Up @@ -6112,7 +6112,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"PW":[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]
]
,[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"]
,[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"]
,[,,"(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -6834,7 +6834,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]
]
,[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]
,[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]
]
,[,,,,,,,,,[-1]
]
Expand All @@ -6856,7 +6856,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]
]
,[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]
,[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]
]
]
,,[,,,,,,,,,[-1]
Expand Down
20 changes: 10 additions & 10 deletions javascript/i18n/phonenumbers/metadatalite.js
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"EH":[,[,,"[5-8]\\d{8}",,,,,,,[9]
]
,[,,"528[89]\\d{5}"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"]
,[,,"80[0-7]\\d{6}"]
,[,,"89\\d{7}"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3501,7 +3501,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,,,,,,,,[-1]
]
,[,,"7(?:38(?:0\\d|5[0-2569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,,,,[9]
,[,,"7(?:38(?:0\\d|5[0-3569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,,,,[9]
]
,"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]
]
Expand Down Expand Up @@ -4582,7 +4582,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"LV":[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]
]
,[,,"6\\d{7}"]
,[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}"]
,[,,"2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"]
,[,,"80\\d{6}"]
,[,,"90\\d{6}"]
,[,,"81\\d{6}"]
Expand Down Expand Up @@ -4633,7 +4633,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"MA":[,[,,"[5-8]\\d{8}",,,,,,,[9]
]
,[,,"5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"]
,[,,"80[0-7]\\d{6}"]
,[,,"89\\d{7}"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -4831,7 +4831,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,,,,,[6,7]
]
,[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"]
,[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"]
,[,,"800\\d{5}"]
,[,,"5\\d{7}"]
,[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}"]
Expand Down Expand Up @@ -4900,7 +4900,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,,,,,,,,[-1]
]
,[,,"1333\\d{4}|[12]468\\d{4}",,,,,,,[8]
,[,,"1333\\d{4}",,,,,,,[8]
]
,"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"]
,"0$1"]
Expand Down Expand Up @@ -5116,7 +5116,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MU":[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]
]
,[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,,,,[7,8]
,[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,,,,[7,8]
]
,[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",,,,,,,[8]
]
Expand Down Expand Up @@ -6112,7 +6112,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"PW":[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]
]
,[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"]
,[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}"]
,[,,"(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -6834,7 +6834,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,,,,[6,7]
]
,[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,,,,[7,8,9]
,[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,,,,[7,8,9]
]
,[,,,,,,,,,[-1]
]
Expand All @@ -6856,7 +6856,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]
]
,[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]
,[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]
]
]
,,[,,,,,,,,,[-1]
Expand Down
Binary file modified metadata/metadata.zip
Binary file not shown.
3 changes: 1 addition & 2 deletions pending_code_changes.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Code changes:
- Fixed a bug where the extension was appended twice in formatOutOfCountryKeepingAlphaChars in the Java version and updated FormatOutOfCountryKeepingAlphaChars in the C++ version to format the extension.

11 changes: 11 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Jan 13, 2025: v8.13.53
Code changes:
- Fixed a bug where the extension was appended twice in formatOutOfCountryKeepingAlphaChars in the Java version and updated FormatOutOfCountryKeepingAlphaChars in the C++ version to format the extension.
Metadata changes:
- Updated phone metadata for region code(s):
EH, IL, LV, MA, MK, MM, MU, PW, SO
- Updated carrier data for country calling code(s):
90 (en), 92 (en), 212 (en), 229 (en), 252 (en), 351 (en), 371 (en), 389 (en),
597 (en), 680 (en)
- Updated / refreshed time zone meta data.

Dec 11, 2024: v8.13.52
Metadata changes:
- Updated phone metadata for region code(s):
Expand Down
45 changes: 21 additions & 24 deletions resources/PhoneNumberMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10224,9 +10224,9 @@
)|
7(?:
[0167]\d|
2[0-4]|
5[01]|
8[0-3]
2[0-467]|
5[0-3]|
8[0-5]
)
)\d{6}
</nationalNumberPattern>
Expand Down Expand Up @@ -14435,7 +14435,7 @@
7(?:
38(?:
0\d|
5[0-2569]|
5[0-3569]|
88
)|
8(?:
Expand Down Expand Up @@ -19940,16 +19940,13 @@
<possibleLengths national="8"/>
<exampleNumber>21234567</exampleNumber>
<nationalNumberPattern>
23(?:
23[0-57-9]|
33[0238]
)\d{3}|
2333[0-8]\d{3}|
2(?:
[0-24-9]\d\d|
3(?:
0[07]|
[14-9]\d|
2[024-9]|
2[02-9]|
3[0-24-9]
)
)\d{4}
Expand Down Expand Up @@ -20120,9 +20117,9 @@
)|
7(?:
[0167]\d|
2[0-4]|
5[01]|
8[0-3]
2[0-467]|
5[0-3]|
8[0-5]
)
)\d{6}
</nationalNumberPattern>
Expand Down Expand Up @@ -20708,9 +20705,8 @@
7(?:
[0-25-8]\d\d|
3(?:
[1-48]\d|
6[01]|
7[01578]
[1-478]\d|
6[01]
)|
4(?:
2\d|
Expand Down Expand Up @@ -21226,10 +21222,7 @@
<voip>
<possibleLengths national="8"/>
<exampleNumber>13331234</exampleNumber>
<nationalNumberPattern>
1333\d{4}|
[12]468\d{4}
</nationalNumberPattern>
<nationalNumberPattern>1333\d{4}</nationalNumberPattern>
</voip>
</territory>

Expand Down Expand Up @@ -21962,7 +21955,8 @@
4(?:
[013568]\d|
2[4-8]|
71
71|
90
)|
54(?:
[3-5]\d|
Expand Down Expand Up @@ -25391,7 +25385,10 @@
46|
83
)[0-5]|
6[2-4689]0
(?:
6[2-4689]|
78
)0
)\d{4}|
(?:
45|
Expand Down Expand Up @@ -27563,7 +27560,7 @@
1|
28|
6[0-35-9]|
77|
7[67]|
9[2-9]
</leadingDigits>
<format>$1 $2</format>
Expand Down Expand Up @@ -27614,7 +27611,7 @@
3[59]|
4[89]|
6\d|
7[79]|
7[679]|
8[08]
)\d|
9(?:
Expand Down Expand Up @@ -28797,7 +28794,7 @@
<!-- Türkiye (TR) -->
<!-- http://en.wikipedia.org/wiki/%2B90 -->
<!-- http://www.itu.int/oth/T02020000D6/en -->
<!-- https://eng.btk.gov.tr/en-US/Pages/National-Numbering-Plan -->
<!-- https://www.btk.gov.tr/genel-numaralandirma-plani -->
<!-- https://www.btk.gov.tr/tr-TR/Sayfalar/Isletmecilere-Tahsisli-Numaralar -->
<territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix="0"
mobileNumberPortableRegion="true">
Expand Down
Loading

0 comments on commit 5713f0d

Please sign in to comment.