@formatjs/intl-numberformat 8.9.1 → 8.9.2
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 +5 -5
- package/polyfill.iife.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-numberformat",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.2",
|
|
4
4
|
"description": "Ponyfill for ES2020 Intl.NumberFormat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polyfill",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.4.0",
|
|
26
|
-
"@formatjs/ecma402-abstract": "1.18.
|
|
27
|
-
"@formatjs/intl-localematcher": "0.5.
|
|
26
|
+
"@formatjs/ecma402-abstract": "1.18.2",
|
|
27
|
+
"@formatjs/intl-localematcher": "0.5.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@formatjs/intl-pluralrules": "5.2.11",
|
|
31
30
|
"@formatjs/intl-getcanonicallocales": "2.3.0",
|
|
32
|
-
"@formatjs/intl-
|
|
31
|
+
"@formatjs/intl-pluralrules": "5.2.12",
|
|
32
|
+
"@formatjs/intl-locale": "3.4.5"
|
|
33
33
|
},
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/formatjs/formatjs/issues"
|
package/polyfill.iife.js
CHANGED
|
@@ -5860,8 +5860,8 @@
|
|
|
5860
5860
|
if (!result.distances[desired]) {
|
|
5861
5861
|
result.distances[desired] = {};
|
|
5862
5862
|
}
|
|
5863
|
-
supportedLocales2.forEach(function(supported
|
|
5864
|
-
var distance = findMatchingDistance(desired, supported) +
|
|
5863
|
+
supportedLocales2.forEach(function(supported) {
|
|
5864
|
+
var distance = findMatchingDistance(desired, supported) + 0 + i * 40;
|
|
5865
5865
|
result.distances[desired][supported] = distance;
|
|
5866
5866
|
if (distance < lowestDistance) {
|
|
5867
5867
|
lowestDistance = distance;
|