Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.39
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s): KE, US
 - Updated short number metadata for region code(s): FR
 - Updated geocoding data for country calling code(s): 1305 (en)
 - Updated carrier data for country calling code(s): 61 (en)
  • Loading branch information
giggsey committed Jun 14, 2024
1 parent 2cba3d6 commit b455b10
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 10 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.38
v8.13.39
1 change: 1 addition & 0 deletions src/carrier/data/en/61.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
61479 => 'Optus',
614800 => 'Pivotel Satellite',
614801 => 'Telstra',
614802 => 'Telstra',
614803 => 'Telstra',
614804 => 'Telstra',
614805 => 'Telstra',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_KE.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:1(?:0[0-8]|1[0-5]|2[014]|30)|7\\d\\d)\\d{6}',
'NationalNumberPattern' => '(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}',
'ExampleNumber' => '712123456',
'PossibleLength' =>
array (
Expand Down
8 changes: 5 additions & 3 deletions src/data/PhoneNumberMetadata_US.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'ExampleNumber' => '2015550123',
'PossibleLength' =>
array (
Expand All @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'ExampleNumber' => '2015550123',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -93,12 +93,14 @@
),
'voip' =>
array (
'NationalNumberPattern' => '305209\\d{4}',
'ExampleNumber' => '3052090123',
'PossibleLength' =>
array (
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
0 => 7,
),
),
'pager' =>
Expand Down
8 changes: 4 additions & 4 deletions src/data/ShortNumberMetadata_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '1(?:0(?:07|[13]3)|1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d',
'NationalNumberPattern' => '1(?:1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d',
'ExampleNumber' => '15',
'PossibleLength' =>
array (
Expand All @@ -40,8 +40,8 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '366\\d\\d|3[2-9]\\d\\d|(?:118|[4-8]\\d)\\d{3}',
'ExampleNumber' => '3200',
'NationalNumberPattern' => '(?:1(?:0|18\\d)|366|[4-8]\\d\\d)\\d\\d|3[2-9]\\d\\d',
'ExampleNumber' => '1000',
'PossibleLength' =>
array (
0 => 4,
Expand Down Expand Up @@ -78,7 +78,7 @@
),
'standardRate' =>
array (
'NationalNumberPattern' => '10(?:[134]4|2[23]|5\\d|99)|202\\d|634|70[06]|(?:106|61)[14]',
'NationalNumberPattern' => '202\\d|6(?:1[14]|34)|70[06]',
'ExampleNumber' => '611',
'PossibleLength' =>
array (
Expand Down
36 changes: 35 additions & 1 deletion src/geocoding/data/en/13.php
Original file line number Diff line number Diff line change
Expand Up @@ -763,34 +763,62 @@
1304983 => 'Morgantown, WV',
1304984 => 'Charleston, WV',
1304986 => 'Mannington, WV',
1305 => 'Florida',
1305200 => 'Florida',
1305201 => 'Florida',
1305202 => 'Florida',
1305203 => 'Florida',
1305204 => 'Florida',
1305205 => 'Florida',
1305206 => 'Florida',
1305207 => 'Miami, FL',
1305208 => 'Florida',
130521 => 'Florida',
130522 => 'Miami, FL',
1305224 => 'Florida',
1305230 => 'Florida',
1305231 => 'Hialeah, FL',
1305232 => 'Miami, FL',
1305233 => 'Miami, FL',
1305234 => 'Miami, FL',
1305235 => 'Miami, FL',
1305236 => 'Florida',
1305237 => 'Florida',
1305238 => 'Miami, FL',
1305239 => 'Florida',
1305240 => 'Florida',
1305241 => 'Florida',
1305242 => 'Homestead, FL',
1305243 => 'Miami, FL',
1305244 => 'Florida',
1305245 => 'Homestead, FL',
1305246 => 'Homestead, FL',
1305247 => 'Homestead, FL',
1305248 => 'Homestead, FL',
1305249 => 'Miami, FL',
130525 => 'Miami, FL',
1305250 => 'Florida',
1305257 => 'Homestead, FL',
1305258 => 'Homestead, FL',
130526 => 'Miami, FL',
1305268 => 'Florida',
130527 => 'Miami, FL',
1305272 => 'Florida',
1305276 => 'Florida',
1305277 => 'Florida',
130528 => 'Florida',
1305285 => 'Miami, FL',
1305289 => 'Marathon, FL',
1305290 => 'Florida',
1305291 => 'Florida',
1305292 => 'Key West, FL',
1305293 => 'Key West, FL',
1305294 => 'Key West, FL',
1305295 => 'Key West, FL',
1305296 => 'Key West, FL',
1305297 => 'Florida',
1305298 => 'Florida',
1305299 => 'Florida',
13053 => 'Florida',
1305324 => 'Miami, FL',
1305325 => 'Miami, FL',
1305326 => 'Miami, FL',
Expand All @@ -808,6 +836,7 @@
130538 => 'Miami, FL',
1305392 => 'Miami, FL',
1305397 => 'Miami Beach, FL',
13054 => 'Florida',
1305400 => 'Miami, FL',
1305406 => 'Doral, FL',
1305408 => 'Miami, FL',
Expand All @@ -822,6 +851,7 @@
1305460 => 'Coral Gables, FL',
1305480 => 'Miami, FL',
1305485 => 'Miami, FL',
13055 => 'Florida',
1305512 => 'Hialeah, FL',
1305513 => 'Doral, FL',
1305525 => 'Miami, FL',
Expand All @@ -848,6 +878,7 @@
1305595 => 'Miami, FL',
1305596 => 'Miami, FL',
1305598 => 'Miami, FL',
13056 => 'Florida',
1305603 => 'Miami, FL',
1305604 => 'Miami Beach, FL',
130563 => 'Miami, FL',
Expand All @@ -874,12 +905,14 @@
1305695 => 'Miami Beach, FL',
1305696 => 'Miami, FL',
1305698 => 'Hialeah, FL',
13057 => 'Florida',
1305718 => 'Doral, FL',
1305743 => 'Marathon, FL',
1305745 => 'Summerland Key, FL',
130575 => 'Miami, FL',
1305770 => 'Miami, FL',
1305789 => 'Miami, FL',
13058 => 'Florida',
1305809 => 'Key West, FL',
1305817 => 'Hialeah, FL',
1305818 => 'Hialeah, FL',
Expand All @@ -903,6 +936,7 @@
1305893 => 'North Miami, FL',
1305895 => 'North Miami, FL',
1305899 => 'North Miami, FL',
13059 => 'Florida',
1305913 => 'Miami, FL',
1305953 => 'Opa-locka, FL',
1305960 => 'Miami, FL',
Expand Down

0 comments on commit b455b10

Please sign in to comment.