@formatjs/intl-pluralrules 5.4.2 → 5.4.3

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 +4 -4
  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.4.2",
3
+ "version": "5.4.3",
4
4
  "description": "Polyfill for Intl.PluralRules",
5
5
  "keywords": [
6
6
  "polyfill",
@@ -22,12 +22,12 @@
22
22
  "dependencies": {
23
23
  "decimal.js": "10",
24
24
  "tslib": "2",
25
- "@formatjs/ecma402-abstract": "2.3.2",
26
- "@formatjs/intl-localematcher": "0.5.10"
25
+ "@formatjs/ecma402-abstract": "2.3.3",
26
+ "@formatjs/intl-localematcher": "0.6.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@formatjs/intl-getcanonicallocales": "2.5.4",
30
- "@formatjs/intl-locale": "4.2.9"
30
+ "@formatjs/intl-locale": "4.2.10"
31
31
  },
32
32
  "bugs": {
33
33
  "url": "https://github.com/formatjs/formatjs/issues"
package/polyfill.iife.js CHANGED
@@ -7097,7 +7097,7 @@
7097
7097
  }).reduce(function(all, list) {
7098
7098
  return __spreadArray(__spreadArray([], all, true), list, true);
7099
7099
  }, []);
7100
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
7100
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
7101
7101
  } else {
7102
7102
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
7103
7103
  }
@@ -7158,7 +7158,7 @@
7158
7158
  region: ""
7159
7159
  }, {
7160
7160
  language: supportedLocale.language,
7161
- script: desiredLSR.script,
7161
+ script: supportedLSR.script,
7162
7162
  region: ""
7163
7163
  }, data2);
7164
7164
  }