Skip to content

Commit

Permalink
Fix test and bump to 3.1.4
Browse files Browse the repository at this point in the history
- #252 Fix Peru phone number
  • Loading branch information
Bossa573 committed Aug 6, 2021
1 parent 6338cb8 commit f6017e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ input_phone,input_country,not_validate_prefix,output_phone,output_country_alpha2
+691(0)1234567,,,+6911234567,FM,FSM,+691,true,,,Micronesia with trunk prefix (0),
+298 212345,,,+298212345,FO,FRO,+298,true,,test phone with no mobile_begin_with,Test 1,
+17215201993,,,+17215201993,SX,SXM,+1,true,,[CORE-1562] add new phone number rules for `+17215201993、+5164518135、+6062311120、+16782069397`,Test +17215201993,
+5164518135,,,+5164518135,PE,PER,+51,true,,,Test +5164518135,
+5164518135,,,+5164518135,,,,false,,,Test +5164518135,
+6062311120,,,+6062311120,MY,MYS,+60,true,,,Test +6062311120,
+16782069397,,,+16782069397,US,USA,+1,true,,,Test +16782069397,
+85293785433,,,+85293785433,HK,HKG,+852,true,,Landline phone number test,"Test mobile phone number, should success",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phone",
"version": "3.1.3",
"version": "3.1.4",
"description": "With a given country and phone number, validate and format the phone number to E.164 standard",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit f6017e6

Please sign in to comment.