google-libphonenumber
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -1,3 +0,10 @@ | ||
# Change Log | ||
# Changelog | ||
## [1.0.9](https://github.com/seegno/google-libphonenumber/tree/1.0.9) (2015-12-15) | ||
[Full Changelog](https://github.com/seegno/google-libphonenumber/compare/1.0.8...1.0.9) | ||
**Merged pull requests:** | ||
- Update libphonenumber@7.2.1 [\#33](https://github.com/seegno/google-libphonenumber/pull/33) ([ruimarinho](https://github.com/ruimarinho)) | ||
## [1.0.8](https://github.com/seegno/google-libphonenumber/tree/1.0.8) (2015-12-15) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/seegno/google-libphonenumber/compare/1.0.7...1.0.8) |
{ | ||
"name": "google-libphonenumber", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A browserify-compatible wrapper for Google's libphonenumber.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -99,3 +99,3 @@ /** | ||
,[,,"NA","NA"] | ||
,"AO",244,"00","0~0",,,"0~0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"","",0] | ||
,"AO",244,"00","0~0",,,"0~0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"] | ||
] | ||
@@ -116,16 +116,16 @@ ,,[,,"NA","NA"] | ||
,"AR",54,"00","0",,,"0(?:(11|343|3715)15)?","9$1",,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["11"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["1[02-9]|[23]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(9)(11)(\\d{4})(\\d{4})","$2 15 $3-$4",["911"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(9)(\\d{4})(\\d{2})(\\d{4})","$2 $3-$4",["9(?:1[02-9]|[23])"] | ||
,"0$1","0$1 $CC",0] | ||
,"0$1","0$1 $CC"] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["11"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["1[02-9]|[23]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(9)(11)(\\d{4})(\\d{4})","$1 $2 $3 $4",["911"] | ||
@@ -136,3 +136,3 @@ ] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
@@ -153,5 +153,5 @@ ,[,,"NA","NA"] | ||
,"AU",61,"001[12]","0",,,"0",,"0011",,[[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"] | ||
,"$1","",0] | ||
,"$1"] | ||
,[,"(\\d{1})(\\d{4})(\\d{4})","$1 $2 $3",["[2-478]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
@@ -184,3 +184,3 @@ ,,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"BR",55,"",,,,,,,1,,,[,,"NA","NA"] | ||
,"BR",55,,,,,,,,1,,,[,,"NA","NA"] | ||
,,,[,,"NA","NA"] | ||
@@ -212,7 +212,7 @@ ,[,,"NA","NA"] | ||
,"BY",375,"810","8",,,"80?|99999",,,1,[[,"(\\d{4})","$1",["[1-8]"] | ||
,"8 $1","",0] | ||
,"8 $1"] | ||
,[,"(\\d{2})(\\d{3})","$1 $2",["[1-8]"] | ||
,"8$1","",0] | ||
,"8$1"] | ||
,[,"(\\d{3})(\\d{3})","$1 $2",["[1-8]"] | ||
,"8 $1","",0] | ||
,"8 $1"] | ||
] | ||
@@ -245,3 +245,3 @@ ,,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"CC",61,"",,,,,,,1,,,[,,"NA","NA"] | ||
,"CC",61,,,,,,,,1,,,[,,"NA","NA"] | ||
,,,[,,"NA","NA"] | ||
@@ -259,4 +259,4 @@ ,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"CN",86,"",,,,,,,1,[[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d{2}[19]","[3-9]\\d{2}(?:10|95)"] | ||
,"$1","$CC $1",0] | ||
,"CN",86,,,,,,,,1,[[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d{2}[19]","[3-9]\\d{2}(?:10|95)"] | ||
,"$1","$CC $1"] | ||
] | ||
@@ -290,13 +290,13 @@ ,,[,,"NA","NA"] | ||
,"DE",49,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,8})","$1 $2",["2|3[3-9]|906|[4-9][1-9]1"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{4,11})","$1/$2",["[34]0|[68]9"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"([4-9]\\d)(\\d{2})","$1 $2",["[4-9]","[4-6]|[7-9](?:\\d[1-9]|[1-9]\\d)"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"([4-9]\\d{3})(\\d{2,7})","$1 $2",["[4-9]","[4-6]|[7-9](?:\\d[1-9]|[1-9]\\d)"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{1})(\\d{6})","$1 $2 $3",["800"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["900"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
@@ -317,3 +317,3 @@ ,,[,,"NA","NA"] | ||
,"FR",33,"00","0",,,"0",,,1,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
@@ -334,9 +334,9 @@ ,,[,,"NA","NA"] | ||
,"GB",44,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-59]|[78]0"] | ||
,"(0$1)","",0] | ||
,"(0$1)"] | ||
,[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["6"] | ||
,"(0$1)","",0] | ||
,"(0$1)"] | ||
,[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["7[1-57-9]"] | ||
,"(0$1)","",0] | ||
,"(0$1)"] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8[47]"] | ||
,"(0$1)","",0] | ||
,"(0$1)"] | ||
] | ||
@@ -356,3 +356,3 @@ ,,[,,"76\\d{8}","\\d{10}"] | ||
,[,,"NA","NA"] | ||
,"GG",44,"",,,,,,,1,,,[,,"NA","NA"] | ||
,"GG",44,,,,,,,,1,,,[,,"NA","NA"] | ||
,,,[,,"NA","NA"] | ||
@@ -370,3 +370,3 @@ ,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"HU",36,"","06",,,"06",,,1,,,[,,"NA","NA"] | ||
,"HU",36,,"06",,,"06",,,1,,,[,,"NA","NA"] | ||
,,,[,,"NA","NA"] | ||
@@ -385,10 +385,10 @@ ,[,,"NA","NA"] | ||
,"IT",39,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["0[26]"] | ||
,"","",0] | ||
] | ||
,[,"(\\d{3})(\\d{4})(\\d{3,4})","$1 $2 $3",["0[13-57-9]"] | ||
,"","",0] | ||
] | ||
,[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["3"] | ||
,"","",0] | ||
] | ||
,[,"(\\d{3})(\\d{3,6})","$1 $2",["8"] | ||
,"","",0] | ||
] | ||
] | ||
,,[,,"NA","NA"] | ||
@@ -408,15 +408,15 @@ ,,,[,,"NA","NA"] | ||
,"JP",81,"010","0",,,"0",,,1,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[57-9]0"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[57-9]0"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["111|222|333","(?:111|222|333)1","(?:111|222|333)11"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["222|333","2221|3332","22212|3332","222120|3332"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[23]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{4})","$1-$2",["077"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{4})","*$1",["[23]"] | ||
,"$1","",0] | ||
,"$1"] | ||
] | ||
@@ -437,25 +437,25 @@ ,,[,,"NA","NA"] | ||
,"KR",82,"00(?:[124-68]|[37]\\d{2})","0",,,"0(8[1-46-8]|85\\d{2})?",,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["1(?:0|1[19]|[69]9|5[458])|[57]0","1(?:0|1[19]|[69]9|5(?:44|59|8))|[57]0"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:[169][2-8]|[78]|5[1-4])|[68]0|[3-6][1-9][2-9]","1(?:[169][2-8]|[78]|5(?:[1-3]|4[56]))|[68]0|[3-6][1-9][2-9]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d)(\\d{4})","$1-$2-$3",["131","1312"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["131","131[13-9]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["13[2-9]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3-$4",["30"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["2(?:[26]|3[0-467])","2(?:[26]|3(?:01|1[45]|2[17-9]|39|4|6[67]|7[078]))"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["2(?:3[0-35-9]|[457-9])","2(?:3(?:0[02-9]|1[0-36-9]|2[02-6]|3[0-8]|6[0-589]|7[1-69]|[589])|[457-9])"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d)(\\d{3})","$1-$2",["21[0-46-9]","21(?:[0-247-9]|3[124]|6[1269])"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d)(\\d{4})","$1-$2",["21[36]","21(?:3[035-9]|6[03-578])"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{3})","$1-$2",["[3-6][1-9]1","[3-6][1-9]1(?:[0-46-9])","[3-6][1-9]1(?:[0-247-9]|3[124]|6[1269])"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{2})(\\d{4})","$1-$2",["[3-6][1-9]1","[3-6][1-9]1[36]","[3-6][1-9]1(?:3[035-9]|6[03-578])"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
@@ -476,18 +476,18 @@ ,,[,,"NA","NA"] | ||
,"MX",52,"00","01",,,"01|04[45](\\d{10})","1$1",,,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]00"] | ||
,"01 $1","",1] | ||
,"01 $1",,1] | ||
,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"] | ||
,"01 $1","",1] | ||
,"01 $1",,1] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-24-9]|5[0-46-9]|8[2-9]|9[1-9]"] | ||
,"01 $1","",1] | ||
,"01 $1",,1] | ||
,[,"(1)(\\d{2})(\\d{4})(\\d{4})","045 $2 $3 $4",["1(?:33|55|81)"] | ||
,"$1","",1] | ||
,"$1",,1] | ||
,[,"(1)(\\d{3})(\\d{3})(\\d{4})","045 $2 $3 $4",["1(?:[124579]|3[0-24-9]|5[0-46-9]|8[02-9])"] | ||
,"$1","",1] | ||
,"$1",,1] | ||
] | ||
,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]00"] | ||
,"01 $1","",1] | ||
,"01 $1",,1] | ||
,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"] | ||
,"01 $1","",1] | ||
,"01 $1",,1] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-24-9]|5[0-46-9]|8[2-9]|9[1-9]"] | ||
,"01 $1","",1] | ||
,"01 $1",,1] | ||
,[,"(1)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3 $4",["1(?:33|55|81)"] | ||
@@ -512,7 +512,7 @@ ] | ||
,"NZ",64,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[34679]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d)(\\d{3})(\\d{3,5})","$1-$2 $3",["2[179]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
,[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"] | ||
,"0$1","",0] | ||
,"0$1"] | ||
] | ||
@@ -532,3 +532,3 @@ ,,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"PL",48,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1","",0] | ||
,"PL",48,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"] | ||
] | ||
@@ -548,3 +548,3 @@ ,,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"RE",262,"00","0",,,"0",,,,[[,"([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1","",0] | ||
,"RE",262,"00","0",,,"0",,,,[[,"([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"] | ||
] | ||
@@ -578,8 +578,8 @@ ,,[,,"NA","NA"] | ||
,"SG",65,"0[0-3][0-9]",,,,"777777",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8[1-9]"] | ||
,"","",0] | ||
] | ||
,[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1[89]"] | ||
,"","",0] | ||
] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["800"] | ||
,"","",0] | ||
] | ||
] | ||
,,[,,"NA","NA"] | ||
@@ -598,6 +598,6 @@ ,,,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"US",1,"011","1"," extn. ",,"1",,,1,[[,"(\\d{3})(\\d{4})","$1 $2",,"","",1] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",,"","",1] | ||
,"US",1,"011","1"," extn. ",,"1",,,1,[[,"(\\d{3})(\\d{4})","$1 $2",,,,1] | ||
,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",,,,1] | ||
] | ||
,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",,"","",1] | ||
,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",,,,1] | ||
] | ||
@@ -630,3 +630,3 @@ ,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"001",800,"",,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",,"","",0] | ||
,"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"] | ||
] | ||
@@ -646,3 +646,3 @@ ,,[,,"NA","NA"] | ||
,[,,"NA","NA"] | ||
,"001",979,"",,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",,"","",0] | ||
,"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3"] | ||
] | ||
@@ -649,0 +649,0 @@ ,,[,,"NA","NA"] |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2266634
35609