Skip to content

Commit

Permalink
Bump to 3.1.19
Browse files Browse the repository at this point in the history
- #297 Added `787` `939` prefix code for US
  • Loading branch information
Bossa573 committed May 23, 2022
1 parent 95153d6 commit 96159db
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ yarn test
yarn start:example
```

or

```
yarn dev
```

And then visit http://localhost:8080

## Build
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phone",
"version": "3.1.18",
"version": "3.1.19",
"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 All @@ -17,6 +17,7 @@
"lint": "eslint .",
"build": "rimraf ./dist && tsc",
"start:example": "yarn build && webpack serve --config ./example/webpack.config.js --progress",
"dev": "yarn start:example",
"prepublishOnly": "yarn build",
"fix:numbers": "ts-node -P scripts/add-new-rules/tsconfig.json scripts/add-new-rules"
},
Expand Down
4 changes: 2 additions & 2 deletions src/data/country_phone_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export default [
'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', '730', '731',
'732', '734', '737', '740', '743', '747', '752', '754', '757', '760', '762', '763', '764', '765', '769', '770',
'772', '773', '774', '775', '779', '781', '785', '786', '801', '802', '803', '804', '805', '806', '808',
'772', '773', '774', '775', '779', '781', '785', '786', '787', '801', '802', '803', '804', '805', '806', '808',
'810', '812', '813', '814', '815', '816', '817', '818', '820', '828', '830', '831', '832', '835', '838', '840', '843', '845',
'847', '848', '850', '854', '856', '857', '858', '859', '860', '862', '863', '864', '865', '870', '872',
'878', '901', '903', '904', '906', '907', '908', '909', '910', '912', '913', '914', '915', '916', '917',
'918', '919', '920', '925', '927', '928', '929', '931', '934', '935', '936', '937', '938', '940', '941', '945',
'918', '919', '920', '925', '927', '928', '929', '931', '934', '935', '936', '937', '938', '939', '940', '941', '945',
'947', '949', '951', '952', '954', '956', '957', '959', '970', '971', '972', '973', '975', '978', '979',
'980', '984', '985', '986', '989', '888', '800', '833', '844', '855', '866', '877', '463', '279'],
phone_number_lengths: [10]
Expand Down

0 comments on commit 96159db

Please sign in to comment.