Commits on Source (45)
-
Nikolay Kuchumov authoredd1b2fecd
-
Nikolay Kuchumov authored4b2741a7
-
Nikolay Kuchumov authored7a5eeaf4
-
Nikolay Kuchumov authored1ee71c9e
-
Nikolay Kuchumov authored58a3acb2
-
Nikolay Kuchumov authored44f3146a
-
Nikolay Kuchumov authored4e165a00
-
Nikolay Kuchumov authored0ca4e447
-
Nikolay Kuchumov authored48c2b97d
-
Nikolay Kuchumov authoredda4b42fa
-
Nikolay Kuchumov authoredff8a4d37
-
Nikolay Kuchumov authored3267c930
-
Nikolay Kuchumov authored2594dfe7
-
Nikolay Kuchumov authored2e717ebb
-
Josh Parnham authored
-
Nikolay Kuchumov authored10a6ce5b
-
Nikolay Kuchumov authored379c924f
-
Nikolay Kuchumov authored9b78f257
-
Nikolay Kuchumov authoredf43844b2
-
Nikolay Kuchumov authored0e5bc5ff
-
Nikolay Kuchumov authored
Fix module unable to be used with require() in CommonJS environment See merge request !18
38c69e77 -
Nikolay Kuchumov authored8751000b
-
Nikolay Kuchumov authoredfaddc339
-
Nikolay Kuchumov authoredd383ce6c
-
Nikolay Kuchumov authored1bf406f6
-
Nikolay Kuchumov authored6f6742a1
-
Nikolay Kuchumov authoredc6831334
-
Nikolay Kuchumov authoredbf968cec
-
Nikolay Kuchumov authored9f48366e
-
Nikolay Kuchumov authoredc9adaa98
-
Nikolay Kuchumov authoredc75fe300
-
Nikolay Kuchumov authoredf787e157
-
Nikolay Kuchumov authored7cb464ab
-
Nikolay Kuchumov authoredfa8385af
-
Nikolay Kuchumov authorede9ad0bd4
-
Nikolay Kuchumov authored8c2c693c
-
Nikolay Kuchumov authored3aec2168
-
Nikolay Kuchumov authoreda188f0b5
-
Nikolay Kuchumov authored4870fbec
-
Nikolay Kuchumov authored2eb93b8d
-
Nikolay Kuchumov authoredeaf84e8b
-
Nikolay Kuchumov authoredc4dec977
-
Nikolay Kuchumov authored0ca19b19
-
Nikolay Kuchumov authored22a9a1df
-
Nikolay Kuchumov authored86494573
This diff is collapsed.
This diff is collapsed.
{ | ||
"name": "libphonenumber-js", | ||
"version": "1.10.30", | ||
"version": "1.10.49", | ||
"description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript", | ||
"main": "index.cjs", | ||
"module": "index.js", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"import": "./index.js", | ||
"require": "./index.cjs" | ||
}, | ||
"./min": { | ||
"types": "./min/index.d.ts", | ||
"import": "./min/index.js", | ||
"require": "./min/index.cjs" | ||
}, | ||
"./max": { | ||
"types": "./min/index.d.ts", | ||
"import": "./max/index.js", | ||
"require": "./max/index.cjs" | ||
}, | ||
"./mobile": { | ||
"types": "./min/index.d.ts", | ||
"import": "./mobile/index.js", | ||
"require": "./mobile/index.cjs" | ||
}, | ||
"./core": { | ||
"types": "./core/index.d.ts", | ||
"import": "./core/index.js", | ||
"require": "./core/index.cjs" | ||
}, | ||
"./min/metadata": { | ||
"types": "./metadata.min.json.d.ts", | ||
"import": "./metadata.min.json.js", | ||
"require": "./metadata.min.json" | ||
}, | ||
"./metadata.min": { | ||
"types": "./metadata.min.json.d.ts", | ||
"import": "./metadata.min.json.js", | ||
"require": "./metadata.min.json" | ||
}, | ||
"./metadata.min.json": { | ||
"types": "./metadata.min.json.d.ts", | ||
"import": "./metadata.min.json.js", | ||
"require": "./metadata.min.json" | ||
}, | ||
"./metadata.full": { | ||
"types": "./metadata.max.json.d.ts", | ||
"import": "./metadata.max.json.js", | ||
"require": "./metadata.max.json" | ||
}, | ||
"./metadata.full.json": { | ||
"types": "./metadata.max.json.d.ts", | ||
"import": "./metadata.max.json.js", | ||
"require": "./metadata.max.json" | ||
}, | ||
"./max/metadata": { | ||
"types": "./metadata.max.json.d.ts", | ||
"import": "./metadata.max.json.js", | ||
"require": "./metadata.max.json" | ||
}, | ||
"./metadata.max": { | ||
"types": "./metadata.max.json.d.ts", | ||
"import": "./metadata.max.json.js", | ||
"require": "./metadata.max.json" | ||
}, | ||
"./metadata.max.json": { | ||
"types": "./metadata.max.json.d.ts", | ||
"import": "./metadata.max.json.js", | ||
"require": "./metadata.max.json" | ||
}, | ||
"./mobile/metadata": { | ||
"types": "./metadata.mobile.json.d.ts", | ||
"import": "./metadata.mobile.json.js", | ||
"require": "./metadata.mobile.json" | ||
}, | ||
"./metadata.mobile": { | ||
"types": "./metadata.mobile.json.d.ts", | ||
"import": "./metadata.mobile.json.js", | ||
"require": "./metadata.mobile.json" | ||
}, | ||
"./metadata.mobile.json": { | ||
"types": "./metadata.mobile.json.d.ts", | ||
"import": "./metadata.mobile.json.js", | ||
"require": "./metadata.mobile.json" | ||
}, | ||
"./mobile/examples": { | ||
"types": "./examples.mobile.json.d.ts", | ||
"import": "./examples.mobile.json.js", | ||
"require": "./examples.mobile.json" | ||
}, | ||
"./examples.mobile": { | ||
"types": "./examples.mobile.json.d.ts", | ||
"import": "./examples.mobile.json.js", | ||
"require": "./examples.mobile.json" | ||
}, | ||
"./examples.mobile.json": { | ||
"types": "./examples.mobile.json.d.ts", | ||
"import": "./examples.mobile.json.js", | ||
"require": "./examples.mobile.json" | ||
}, | ||
... | ... | @@ -113,6 +94,7 @@ |
"@babel/register": "^7.17.7", | ||
"babel-plugin-istanbul": "^6.1.1", | ||
"chai": "^4.3.6", | ||
"cpy-cli": "^5.0.0", | ||
"crlf": "^1.1.1", | ||
"cross-env": "^7.0.3", | ||
"istanbul": "^1.1.0-alpha.1", | ||
... | ... | @@ -121,6 +103,7 @@ |
"mocha": "^10.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^15.1.0", | ||
"renamer": "^4.0.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.73.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
... | ... | @@ -155,13 +138,15 @@ |
"coveralls--nyc-is-very-slow-and-is-not-used": "nyc report --reporter=text-lcov | coveralls", | ||
"test-travis": "node --experimental-json-modules node_modules/istanbul/lib/cli.js cover -x \"build/**\" -x \"es6/**\" -x \"*.test.js\" -x \"source/findNumbers/Leniency.js\" -x \"source/findNumbers/matchPhoneNumberStringAgainstPhoneNumber.js\" -x \"source/findNumbers/RegExpCache.js\" -x \"source/findNumbers/LRUCache.js\" -x \"source/PhoneNumberMatcher.js\" -x \"source/tools/semver-compare.js\" node_modules/mocha/bin/_mocha --report lcovonly -- --colors --reporter spec --require ./test/setup.js \"source/**/*.test.js\" \"test/**/*.test.js\" --recursive", | ||
"clean": "rimraf ./build/**/* ./es6/**/*", | ||
"build:commonjs": "npm-run-all build:commonjs:with-tests build:commonjs:package.json", | ||
"build:commonjs": "npm-run-all build:commonjs:with-tests build:commonjs:package.json build:commonjs:create-typescript-definitions", | ||
"build:commonjs:before-es-modules": "cross-env BABEL_ENV=commonjs babel ./source --out-dir ./build --source-maps --ignore test.js", | ||
"build:commonjs:with-tests": "cross-env BABEL_ENV=commonjs babel ./source --out-dir ./build --source-maps", | ||
"build:commonjs:package.json": "node runnable/create-commonjs-package-json.js", | ||
"build:commonjs:create-typescript-definitions": "rimraf --verbose --glob ./*.d.cts \"./!(node_modules)/**/*.d.cts\" && cpy **/{index,metadata*,examples*,types}.d.ts . --rename={{basename}}.cts && renamer --find d.cts.ts --replace d.cts ./*.d.cts.ts \"./!(node_modules)/**/*.d.cts.ts\"", | ||
"build:modules:copy-typescript-definitions": "cpy --flat min/index.d.ts max && cpy --flat min/index.d.ts mobile", | ||
"build:modules": "cross-env BABEL_ENV=es6 babel ./source --out-dir ./es6 --source-maps --ignore test.js", | ||
"build:bundle": "rollup --config rollup.config.mjs", | ||
"build": "npm-run-all clean build:commonjs build:modules build:bundle", | ||
"build": "npm-run-all clean build:modules:copy-typescript-definitions build:modules build:commonjs build:bundle", | ||
"prepublishOnly": "npm run metadata:generate && npm run generate-country-codes && crlf --set=LF metadata.*.json && npm-run-all build test" | ||
}, | ||
"repository": { | ||
... | ... |