libphonenumber-js 1.10.50 → 1.10.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/min/index.d.cts CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  NumberFormat,
16
16
  NumberingPlan,
17
17
  ValidatePhoneNumberLengthResult
18
- } from '../types.d.js';
18
+ } from '../types.d.cjs';
19
19
 
20
20
  // They say this re-export is required.
21
21
  // https://github.com/catamphetamine/libphonenumber-js/pull/290#issuecomment-453281180
@@ -15,7 +15,7 @@ import {
15
15
  NumberFormat,
16
16
  NumberingPlan,
17
17
  ValidatePhoneNumberLengthResult
18
- } from '../types.d.js';
18
+ } from '../types.d.cjs';
19
19
 
20
20
  // They say this re-export is required.
21
21
  // https://github.com/catamphetamine/libphonenumber-js/pull/290#issuecomment-453281180
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libphonenumber-js",
3
- "version": "1.10.50",
3
+ "version": "1.10.52",
4
4
  "description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
5
5
  "main": "index.cjs",
6
6
  "module": "index.js",
@@ -139,7 +139,7 @@
139
139
  "coveralls--nyc-is-very-slow-and-is-not-used": "nyc report --reporter=text-lcov | coveralls",
140
140
  "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",
141
141
  "clean": "rimraf ./build/**/* ./es6/**/*",
142
- "build:commonjs": "npm-run-all build:commonjs:with-tests build:commonjs:package.json build:commonjs:create-typescript-definitions",
142
+ "build:commonjs": "npm-run-all build:commonjs:with-tests build:commonjs:package.json build:commonjs:create-typescript-definitions build:commonjs:patch-typescript-definitions",
143
143
  "build:commonjs:before-es-modules": "cross-env BABEL_ENV=commonjs babel ./source --out-dir ./build --source-maps --ignore test.js",
144
144
  "build:commonjs:with-tests": "cross-env BABEL_ENV=commonjs babel ./source --out-dir ./build --source-maps",
145
145
  "build:commonjs:package.json": "node runnable/create-commonjs-package-json.js",