libphonenumber-js 1.10.3 → 1.10.4
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.
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
// This file is deprecated.
|
|
4
|
-
// It's
|
|
4
|
+
// It's the same as `index.cjs`, just with an added `.js` file extension.
|
|
5
|
+
// It only exists for compatibility with the software that doesn't like `*.cjs` file extension.
|
|
6
|
+
// https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/62
|
|
7
|
+
// https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/61#note_950728292
|
|
5
8
|
|
|
6
9
|
var min = require('./min/index.cjs')
|
|
7
10
|
var metadata = require('./metadata.min.json')
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libphonenumber-js",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.4",
|
|
4
4
|
"description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
|
|
5
|
-
"main": "index.
|
|
5
|
+
"main": "index.cjs",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"exports": {
|