Skip to content

Commit

Permalink
Add US 645 Area Code (Miami-Dade County 2023) (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
justincounts authored Aug 15, 2024
1 parent b38a15b commit 14fe06a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion __tests__/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,5 @@ input_phone,input_country,not_validate_prefix,output_phone,output_country_alpha2
+599 7001234,,,+5997001234,BQ,BES,+599,true,,,"returns BES 2",
+599 9583 1517,,,+59995831517,CW,CUW,+599,true,,,"returns ANT 1",
+599 9683 1517,,,+59996831517,CW,CUW,+599,true,,,"returns ANT 2",
+1 (353) 555-8900,,,+13535558900,US,USA,+1,true,,353 area code,"returns +13535558900,USA",
+1 (353) 555-8900,,,+13535558900,US,USA,+1,true,,353 area code,"returns +13535558900,USA",
+1 (645) 555-1234,,,+16455551234,US,USA,+1,true,,645 area code,"returns +16455551234,USA",
14 changes: 7 additions & 7 deletions src/data/country_phone_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default [
'515', '516', '517', '518', '520', '530', '531', '534', '539', '540', '541', '551', '557', '559', '561',
'562', '563', '564', '567', '570', '571', '572', '573', '574', '575', '580', '582', '585', '586', '601', '602',
'603', '605', '606', '607', '608', '609', '610', '612', '614', '615', '616', '617', '618', '619', '620',
'623', '626', '627', '628', '629', '630', '631', '636', '640', '641', '646', '650', '651', '656', '657', '659', '660',
'623', '626', '627', '628', '629', '630', '631', '636', '640', '641', '645', '646', '650', '651', '656', '657', '659', '660',
'661', '662', '667', '669', '678', '679', '680', '681', '682', '689', '701', '702', '703', '704', '706', '707',
'708', '712', '713', '714', '715', '716', '717', '718', '719', '720', '724', '725', '726', '727', '728', '730', '731',
'732', '734', '737', '740', '743', '747', '752', '754', '757', '760', '762', '763', '764', '765', '769', '770', '771',
Expand Down Expand Up @@ -87,14 +87,14 @@ export default [
country_name: 'Andorra',
mobile_begin_with: ['3', '4', '6'],
phone_number_lengths: [6]
},
},
// https://en.wikipedia.org/wiki/Telephone_numbers_in_Cura%C3%A7ao_and_the_Caribbean_Netherlands
{
alpha2: "BQ",
alpha3: "BES",
country_code: "599",
country_name: "Caribbean Netherlands",
mobile_begin_with: ['3', '416', '700', '701','795'],
alpha2: "BQ",
alpha3: "BES",
country_code: "599",
country_name: "Caribbean Netherlands",
mobile_begin_with: ['3', '416', '700', '701','795'],
phone_number_lengths: [7]
},
{
Expand Down

0 comments on commit 14fe06a

Please sign in to comment.