awesome-phonenumber
Advanced tools
Comparing version 4.4.0 to 4.4.1
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"author": "Gustaf Räntilä <g.rantila@gmail.com>", | ||
@@ -13,3 +13,3 @@ "repository": { | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=14" | ||
}, | ||
@@ -29,4 +29,4 @@ "main": "./index.js", | ||
"build:rewrite": "ts-node scripts/rewrite.ts", | ||
"build:esm:build": "rollup -c ./rollup.config.js", | ||
"build:esm:rewrite": "cat build/index-esm.js src/esm-outro.js > index-esm.mjs", | ||
"build:esm:build": "rollup -c ./rollup.config.mjs", | ||
"build:esm:rewrite": "ts-node scripts/rewrite-esm.ts", | ||
"build:esm": "yarn build:esm:build && yarn build:esm:rewrite", | ||
@@ -42,2 +42,7 @@ "build": "yarn build:libphonenumber && yarn build:rewrite && yarn build:esm", | ||
], | ||
"workspaces": [ | ||
"webpack", | ||
"cjs-test", | ||
"esm-test" | ||
], | ||
"files": [ | ||
@@ -61,22 +66,22 @@ "lib", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.17.10", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@types/jest": "^27.5.0", | ||
"@types/mkdirp": "^1.0.1", | ||
"@types/node": "^16.11.12", | ||
"commitizen": "^4.2.4", | ||
"@types/jest": "^29.4.0", | ||
"@types/mkdirp": "^1.0.2", | ||
"@types/node": "^18.11.18", | ||
"commitizen": "^4.3.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"google-closure-compiler": "20221102.0.0", | ||
"google-closure-compiler": "^20221102.0.0", | ||
"google-closure-library": "^20221102.0.0", | ||
"gulp": "^4.0.2", | ||
"jest": "^28.1.0", | ||
"mkdirp": "^1.0.4", | ||
"jest": "^29.4.1", | ||
"mkdirp": "^2.1.3", | ||
"pre-commit": "^1.2.2", | ||
"replace": "^1.2.1", | ||
"replace": "^1.2.2", | ||
"rmfr": "^2.0.0", | ||
"rollup": "^2.66.0", | ||
"rollup": "2.66.0", | ||
"ts-jest-resolver": "^2.0.0", | ||
"ts-node": "^10.7.0", | ||
"typescript": "^4.2.4" | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.5" | ||
}, | ||
@@ -87,3 +92,4 @@ "config": { | ||
} | ||
} | ||
}, | ||
"packageManager": "yarn@3.2.4" | ||
} |
@@ -28,4 +28,7 @@ [![npm version][npm-image]][npm-url] | ||
- Not backwards compatible, although like v3 except: | ||
- The second argument to `parsePhoneNumber` is an object (e.g. `{ regionCode: 'SE' }`) instead of a region code string | ||
- The second argument to `parsePhoneNumber` is an object | ||
- E.g. `{ regionCode: 'SE' }` instead of a region code string | ||
- The return value is like `toJSON( )` on v3 | ||
- v5: | ||
- Dropped Node 12 support | ||
@@ -345,3 +348,3 @@ | ||
[downloads-image]: https://img.shields.io/npm/dm/awesome-phonenumber.svg | ||
[build-image]: https://img.shields.io/github/workflow/status/grantila/awesome-phonenumber/Master.svg | ||
[build-image]: https://img.shields.io/github/actions/workflow/status/grantila/awesome-phonenumber/master.yml?branch=master | ||
[build-url]: https://github.com/grantila/awesome-phonenumber/actions?query=workflow%3AMaster | ||
@@ -348,0 +351,0 @@ [bundlephobia-image]: https://badgen.net/bundlephobia/minzip/awesome-phonenumber |
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
555718
352