@formatjs/intl-locale 4.2.9 → 4.2.10

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 +3 -3
  2. package/polyfill.iife.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-locale",
3
- "version": "4.2.9",
3
+ "version": "4.2.10",
4
4
  "description": "Intl.Locale polyfill",
5
5
  "keywords": [
6
6
  "intl",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "tslib": "2",
28
- "@formatjs/ecma402-abstract": "2.3.2",
29
- "@formatjs/intl-enumerator": "1.8.8",
28
+ "@formatjs/ecma402-abstract": "2.3.3",
29
+ "@formatjs/intl-enumerator": "1.8.9",
30
30
  "@formatjs/intl-getcanonicallocales": "2.5.4"
31
31
  }
32
32
  }
package/polyfill.iife.js CHANGED
@@ -9822,7 +9822,7 @@
9822
9822
  }).reduce(function(all, list) {
9823
9823
  return tslib_1.__spreadArray(tslib_1.__spreadArray([], all, true), list, true);
9824
9824
  }, []);
9825
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
9825
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
9826
9826
  } else {
9827
9827
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
9828
9828
  }
@@ -9883,7 +9883,7 @@
9883
9883
  region: ""
9884
9884
  }, {
9885
9885
  language: supportedLocale.language,
9886
- script: desiredLSR.script,
9886
+ script: supportedLSR.script,
9887
9887
  region: ""
9888
9888
  }, data2);
9889
9889
  }