Skip to content

Commit

Permalink
Bump to 3.1.38
Browse files Browse the repository at this point in the history
- #360 Kyrgyzstan phone number prefix
  • Loading branch information
Bossa573 committed Aug 6, 2023
1 parent 3ccb1f3 commit eb1ddab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion __tests__/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,10 @@ input_phone,input_country,not_validate_prefix,output_phone,output_country_alpha2
+4710000000,,,,,,,false,Testing NO / SJ numbers,Should not be valid NO or SJ,returns,
+4779000000,,,+4779000000,SJ,SJM,+47,true,,Should be SJ (Svalbard / Jan Mayen),"returns +4779000000,SJM",
+36 50 1234567,,,+36501234567,HU,HUN,+36,true,,Hungary phone number 50 prefix,"returns +36501234567,HUN",
+599 9683 1517,,,+59996831517,CW,CUW,+5999,true,,Curaçao,"returns +59996831517,CUW",
+599 9683 1517,,,+59996831517,CW,CUW,+5999,true,,,"returns +59996831517,CUW",
+996 226123123,,,+996226123123,KG,KGZ,+996,true,,,"Kyrgyzstan test 1",
+996 206123123,,,+996206123123,KG,KGZ,+996,true,,,"Kyrgyzstan test 2",
+996 312583123,,,+996312583123,KG,KGZ,+996,true,,,"Kyrgyzstan test 4",
+996 312973123,,,+996312973123,KG,KGZ,+996,true,,,"Kyrgyzstan test 5",
+996 912973123,,,+996912973123,KG,KGZ,+996,true,,,"Kyrgyzstan test 6",
+996 312573123,,,,,,,false,,,"Kyrgyzstan test 7",
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.37",
"version": "3.1.38",
"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
2 changes: 1 addition & 1 deletion src/data/country_phone_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ export default [
alpha3: 'KGZ',
country_code: '996',
country_name: 'Kyrgyzstan',
mobile_begin_with: ['2', '3', '5', '6', '7', '8', '9'],
mobile_begin_with: ['20', '22', '31258', '312973', '5', '600', '7', '88', '912', '99'],
phone_number_lengths: [9]
},
{
Expand Down

0 comments on commit eb1ddab

Please sign in to comment.