@formatjs/intl-datetimeformat 7.0.4 → 7.0.5
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/package.json +6 -5
- package/polyfill.iife.js +5 -0
- package/src/types.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-datetimeformat",
|
|
3
3
|
"description": "Intl.DateTimeFormat polyfill",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Long Ho <holevietlong@gmail.com>",
|
|
7
7
|
"type": "module",
|
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
"./polyfill-force.js": "./polyfill-force.js",
|
|
13
13
|
"./should-polyfill.js": "./should-polyfill.js",
|
|
14
14
|
"./add-all-tz.js": "./add-all-tz.js",
|
|
15
|
+
"./add-golden-tz.js": "./add-golden-tz.js",
|
|
15
16
|
"./locale-data/*": "./locale-data/*"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"decimal.js": "^10.4.3",
|
|
19
20
|
"tslib": "^2.8.0",
|
|
20
|
-
"@formatjs/
|
|
21
|
-
"@formatjs/
|
|
21
|
+
"@formatjs/intl-localematcher": "0.7.2",
|
|
22
|
+
"@formatjs/ecma402-abstract": "3.0.4"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
|
-
"@formatjs/intl-getcanonicallocales": "3.0.
|
|
25
|
-
"@formatjs/intl-locale": "5.0.
|
|
25
|
+
"@formatjs/intl-getcanonicallocales": "3.0.4",
|
|
26
|
+
"@formatjs/intl-locale": "5.0.5"
|
|
26
27
|
},
|
|
27
28
|
"bugs": "https://github.com/formatjs/formatjs/issues",
|
|
28
29
|
"homepage": "https://github.com/formatjs/formatjs#readme",
|
package/polyfill.iife.js
CHANGED
|
@@ -2987,6 +2987,11 @@
|
|
|
2987
2987
|
return zoneNames.has(uppercasedTz) || linkNames.has(uppercasedTz);
|
|
2988
2988
|
}
|
|
2989
2989
|
|
|
2990
|
+
// node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/decimal-cache.js
|
|
2991
|
+
var getPowerOf10 = memoize(function(exponent) {
|
|
2992
|
+
return Decimal.pow(10, exponent);
|
|
2993
|
+
});
|
|
2994
|
+
|
|
2990
2995
|
// node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.js
|
|
2991
2996
|
Decimal.set({
|
|
2992
2997
|
toExpPos: 100
|