libphonenumber-js 1.10.0 → 1.10.1
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/index.common.js +1 -1
- package/package.json +5 -5
package/index.common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file is deprecated.
|
|
4
4
|
// It's only for backwards compatibility with Node.js versions < 14.
|
|
5
5
|
|
|
6
|
-
var min = require('./min/index.
|
|
6
|
+
var min = require('./min/index.cjs')
|
|
7
7
|
var metadata = require('./metadata.min.json')
|
|
8
8
|
|
|
9
9
|
function withMetadata(func, _arguments) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libphonenumber-js",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
|
|
5
5
|
"main": "index.common.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
"./min": {
|
|
15
15
|
"types": "./min/index.d.ts",
|
|
16
16
|
"import": "./min/index.js",
|
|
17
|
-
"require": "./min/index.
|
|
17
|
+
"require": "./min/index.cjs"
|
|
18
18
|
},
|
|
19
19
|
"./max": {
|
|
20
20
|
"types": "./min/index.d.ts",
|
|
21
21
|
"import": "./max/index.js",
|
|
22
|
-
"require": "./max/index.
|
|
22
|
+
"require": "./max/index.cjs"
|
|
23
23
|
},
|
|
24
24
|
"./mobile": {
|
|
25
25
|
"types": "./min/index.d.ts",
|
|
26
26
|
"import": "./mobile/index.js",
|
|
27
|
-
"require": "./mobile/index.
|
|
27
|
+
"require": "./mobile/index.cjs"
|
|
28
28
|
},
|
|
29
29
|
"./core": {
|
|
30
30
|
"types": "./core/index.d.ts",
|
|
31
31
|
"import": "./core/index.js",
|
|
32
|
-
"require": "./core/index.
|
|
32
|
+
"require": "./core/index.cjs"
|
|
33
33
|
},
|
|
34
34
|
"./metadata.min": {
|
|
35
35
|
"types": "./metadata.min.json.d.ts",
|