@formatjs/intl-pluralrules 5.2.11 → 5.2.13

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/polyfill.iife.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-pluralrules",
3
- "version": "5.2.11",
3
+ "version": "5.2.13",
4
4
  "description": "Polyfill for Intl.PluralRules",
5
5
  "keywords": [
6
6
  "polyfill",
@@ -21,12 +21,12 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "tslib": "^2.4.0",
24
- "@formatjs/ecma402-abstract": "1.18.1",
25
- "@formatjs/intl-localematcher": "0.5.3"
24
+ "@formatjs/ecma402-abstract": "1.18.3",
25
+ "@formatjs/intl-localematcher": "0.5.4"
26
26
  },
27
27
  "devDependencies": {
28
- "@formatjs/intl-getcanonicallocales": "2.3.0",
29
- "@formatjs/intl-locale": "3.4.4"
28
+ "@formatjs/intl-locale": "3.4.6",
29
+ "@formatjs/intl-getcanonicallocales": "2.3.0"
30
30
  },
31
31
  "bugs": {
32
32
  "url": "https://github.com/formatjs/formatjs/issues"
package/polyfill.iife.js CHANGED
@@ -4474,8 +4474,8 @@
4474
4474
  if (!result.distances[desired]) {
4475
4475
  result.distances[desired] = {};
4476
4476
  }
4477
- supportedLocales2.forEach(function(supported, j) {
4478
- var distance = findMatchingDistance(desired, supported) + j + i * 40;
4477
+ supportedLocales2.forEach(function(supported) {
4478
+ var distance = findMatchingDistance(desired, supported) + 0 + i * 40;
4479
4479
  result.distances[desired][supported] = distance;
4480
4480
  if (distance < lowestDistance) {
4481
4481
  lowestDistance = distance;