Skip to content

Commit

Permalink
Merge pull request #587 from giggsey/upstream-8.13.17
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.17
  • Loading branch information
giggsey authored Jul 20, 2023
2 parents 7716e1c + 79bf0f4 commit dee92bf
Show file tree
Hide file tree
Showing 22 changed files with 50 additions and 38 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# It can be a commit, branch or tag of the https://github.com/google/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
v8.13.16
v8.13.17
1 change: 0 additions & 1 deletion src/carrier/data/en/262.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,4 @@
26269394 => 'SFR',
26269397 => 'SFR',
26269399 => 'Orange',
2629769 => 'Orange',
);
5 changes: 5 additions & 0 deletions src/carrier/data/en/371.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
3712357 => 'Bite Latvia',
3712366 => 'Bite Latvia',
3712377 => 'Bite Latvia',
3712380 => 'LMT',
3712381 => 'LMT',
3712382 => 'LMT',
3712383 => 'LMT',
3712384 => 'LMT',
3712388 => 'Bite Latvia',
3712399 => 'Bite Latvia',
3712400 => 'Bite Latvia',
Expand Down
18 changes: 10 additions & 8 deletions src/carrier/data/en/81.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@
817031 => 'Softbank',
817032 => 'Softbank',
817033 => 'Softbank',
817034 => 'KDDI',
8170340 => 'Softbank',
8170341 => 'Softbank',
817035 => 'KDDI',
817036 => 'KDDI',
817037 => 'KDDI',
817038 => 'KDDI',
817038 => 'Okinawa Cellular',
817039 => 'NTT Docomo',
81704 => 'NTT Docomo',
817045 => 'KDDI',
Expand Down Expand Up @@ -113,7 +114,7 @@
81803 => 'Softbank',
81804 => 'Softbank',
81805 => 'KDDI',
81806 => 'KDDI',
81806 => 'Okinawa Cellular',
81807 => 'Softbank',
8180769 => 'NTT Docomo',
818077 => 'NTT Docomo',
Expand All @@ -130,7 +131,7 @@
818095 => 'NTT Docomo',
818096 => 'Softbank',
818097 => 'Softbank',
818098 => 'KDDI',
818098 => 'Okinawa Cellular',
818099 => 'NTT Docomo',
819010 => 'NTT Docomo',
819011 => 'KDDI',
Expand All @@ -148,6 +149,7 @@
8190188 => 'NTT Docomo',
8190189 => 'NTT Docomo',
819019 => 'KDDI',
8190194 => 'Okinawa Cellular',
8190198 => 'NTT Docomo',
8190199 => 'NTT Docomo',
81902 => 'NTT Docomo',
Expand All @@ -174,7 +176,7 @@
8190349 => 'NTT Docomo',
819035 => 'KDDI',
819036 => 'KDDI',
819037 => 'KDDI',
819037 => 'Okinawa Cellular',
819038 => 'KDDI',
819039 => 'Softbank',
8190398 => 'KDDI',
Expand All @@ -191,7 +193,7 @@
8190427 => 'Softbank',
8190428 => 'Softbank',
8190429 => 'Softbank',
819044 => 'KDDI',
819044 => 'Okinawa Cellular',
81905 => 'NTT Docomo',
819060 => 'Softbank',
819061 => 'KDDI',
Expand All @@ -209,7 +211,7 @@
819068 => 'NTT Docomo',
8190683 => 'KDDI',
8190685 => 'KDDI',
8190686 => 'KDDI',
8190686 => 'Okinawa Cellular',
8190687 => 'KDDI',
819069 => 'NTT Docomo',
81907 => 'NTT Docomo',
Expand All @@ -225,7 +227,7 @@
8190808 => 'KDDI',
8190809 => 'Softbank',
819081 => 'KDDI',
819082 => 'KDDI',
819082 => 'Okinawa Cellular',
819083 => 'KDDI',
8190834 => 'Softbank',
8190835 => 'Softbank',
Expand Down Expand Up @@ -255,7 +257,7 @@
8190965 => 'Softbank',
8190968 => 'Softbank',
8190969 => 'Softbank',
819097 => 'KDDI',
819097 => 'Okinawa Cellular',
819098 => 'Softbank',
819099 => 'Softbank',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/82.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

return array (
82100 => 'LG U+',
821020 => 'SKTellink',
821021 => 'SKTellink',
821022 => 'LG U+',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/ko/82.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

return array (
82100 => '데이콤',
821020 => 'SK 텔링크',
821021 => 'SK 텔링크',
821022 => '데이콤',
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_BL.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '590(?:2[7-9]|5[12]|87)\\d{4}',
'NationalNumberPattern' => '590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}',
'ExampleNumber' => '590271234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-2])\\d{4}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-5])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CU.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}',
'NationalNumberPattern' => '(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}',
'ExampleNumber' => '71234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:[1-35]\\d|4[1-9])\\d{7}',
'NationalNumberPattern' => '59[1-9]\\d{6}|(?:[1-3]\\d|4[1-9]|5[0-8])\\d{7}',
'ExampleNumber' => '123456789',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GF.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '594(?:[0239]\\d|[16][0-3]|4[03-9]|5[6-9]|80)\\d{4}',
'NationalNumberPattern' => '594(?:[02-49]\\d|[16][0-3]|5[6-9]|80)\\d{4}',
'ExampleNumber' => '594101234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:396|76\\d)\\d|476[0-2])\\d{4}',
'NationalNumberPattern' => '9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GP.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}',
'NationalNumberPattern' => '590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}',
'ExampleNumber' => '590201234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-2])\\d{4}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-5])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_HK.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}',
'NationalNumberPattern' => '(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-9]|1[2-9]))\\d{4}',
'ExampleNumber' => '21234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KR.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}',
'NationalNumberPattern' => '1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}',
'ExampleNumber' => '1020000000',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_MF.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}',
'NationalNumberPattern' => '590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}',
'ExampleNumber' => '590271234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-2])\\d{4}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-5])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_MQ.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '596(?:[03-7]\\d|10|2[7-9]|8[09]|9[4-9])\\d{4}',
'NationalNumberPattern' => '596(?:[03-7]\\d|10|2[7-9]|8[0-39]|9[4-9])\\d{4}',
'ExampleNumber' => '596301234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:397[01]|477[0-2]|76(?:6\\d|7[0-367]))\\d{4}',
'NationalNumberPattern' => '9(?:397[0-2]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}',
'ExampleNumber' => '976612345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MU.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}',
'NationalNumberPattern' => '(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}',
'ExampleNumber' => '54480123',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_PK.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '3(?:[0-24]\\d|3[0-7]|55|64)\\d{7}',
'NationalNumberPattern' => '3(?:[0-24]\\d|3[0-79]|55|64)\\d{7}',
'ExampleNumber' => '3012345678',
'PossibleLength' =>
array (
Expand Down
7 changes: 4 additions & 3 deletions src/data/PhoneNumberMetadata_RE.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '26(?:2\\d\\d|3(?:0\\d|1[0-3]))\\d{4}',
'NationalNumberPattern' => '26(?:2\\d\\d|3(?:0\\d|1[0-4]))\\d{4}',
'ExampleNumber' => '262161234',
'PossibleLength' =>
array (
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-3]|479[0-2]|76(?:2[27]|3[0-37]|9\\d)))\\d{4}',
'NationalNumberPattern' => '69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))\\d{4}',
'ExampleNumber' => '692123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -90,9 +90,10 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]|9\\d))\\d{4}',
'ExampleNumber' => '939901234',
'PossibleLength' =>
array (
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_SO.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:(?:15|(?:3[59]|4[89]|6\\d|79|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}',
'NationalNumberPattern' => '(?:(?: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}',
'ExampleNumber' => '71123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -205,7 +205,7 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '[3478]|64|90',
0 => '[348]|64|79|90',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -217,7 +217,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '1|28|6[0-35-9]|9[2-9]',
0 => '1|28|6[0-35-9]|77|9[2-9]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
11 changes: 6 additions & 5 deletions src/data/PhoneNumberMetadata_YT.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '(?:(?:(?:26|63)9|80\\d)\\d|9398)\\d{5}',
'NationalNumberPattern' => '(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}',
'PossibleLength' =>
array (
0 => 9,
Expand All @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '269(?:0[0-467]|5[0-3]|6\\d|[78]0)\\d{4}',
'NationalNumberPattern' => '269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}',
'ExampleNumber' => '269601234',
'PossibleLength' =>
array (
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|9398[01])\\d{4}',
'NationalNumberPattern' => '639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}',
'ExampleNumber' => '639012345',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,9 +88,10 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:39|47)8[01]\\d{4}',
'ExampleNumber' => '939801234',
'PossibleLength' =>
array (
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
Expand Down Expand Up @@ -149,6 +150,6 @@
array (
),
'mainCountryForCode' => false,
'leadingDigits' => '269|63|9398',
'leadingDigits' => '269|63|9(?:39|47)8',
'mobileNumberPortableRegion' => false,
);
1 change: 1 addition & 0 deletions src/geocoding/data/en/53.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
5346 => 'Isle of Youth',
5347 => 'Mayabeque and Artemisa',
5348 => 'Pinar del Río Province',
5349 => 'Artemisa Province',
537 => 'Havana City',
);
3 changes: 2 additions & 1 deletion src/timezone/data/map_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,8 @@
26289 => 'Indian/Reunion',
2629398 => 'Indian/Mayotte',
2629399 => 'Indian/Reunion',
26294 => 'Indian/Reunion',
2629478 => 'Indian/Mayotte',
2629479 => 'Indian/Reunion',
26297 => 'Indian/Reunion',
263 => 'Africa/Harare',
264 => 'Africa/Windhoek',
Expand Down

0 comments on commit dee92bf

Please sign in to comment.