@formatjs/intl-numberformat 8.9.0 → 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 +6 -6
- package/polyfill.iife.js +3 -3
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/
|
|
27
|
-
"@formatjs/
|
|
26
|
+
"@formatjs/ecma402-abstract": "1.18.2",
|
|
27
|
+
"@formatjs/intl-localematcher": "0.5.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@formatjs/intl-
|
|
31
|
-
"@formatjs/intl-
|
|
32
|
-
"@formatjs/intl-
|
|
30
|
+
"@formatjs/intl-getcanonicallocales": "2.3.0",
|
|
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
|
@@ -5733,7 +5733,7 @@
|
|
|
5733
5733
|
throw new Err(message);
|
|
5734
5734
|
}
|
|
5735
5735
|
}
|
|
5736
|
-
var DEFAULT_MATCHING_THRESHOLD =
|
|
5736
|
+
var DEFAULT_MATCHING_THRESHOLD = 838;
|
|
5737
5737
|
var PROCESSED_DATA;
|
|
5738
5738
|
function processData() {
|
|
5739
5739
|
var _a, _b;
|
|
@@ -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;
|