@formatjs/intl-displaynames 6.8.9 → 6.8.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 +5 -5
  2. package/polyfill.iife.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-displaynames",
3
- "version": "6.8.9",
3
+ "version": "6.8.10",
4
4
  "description": "Polyfill for: https://tc39.es/proposal-intl-displaynames",
5
5
  "keywords": [
6
6
  "i18n",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "dependencies": {
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
- "@formatjs/intl-getcanonicallocales": "2.5.4",
30
- "@formatjs/intl-locale": "4.2.9"
29
+ "@formatjs/intl-locale": "4.2.10",
30
+ "@formatjs/intl-getcanonicallocales": "2.5.4"
31
31
  },
32
32
  "bugs": {
33
33
  "url": "https://github.com/formatjs/formatjs/issues"
package/polyfill.iife.js CHANGED
@@ -6727,7 +6727,7 @@
6727
6727
  }).reduce(function(all, list) {
6728
6728
  return __spreadArray(__spreadArray([], all, true), list, true);
6729
6729
  }, []);
6730
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
6730
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
6731
6731
  } else {
6732
6732
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
6733
6733
  }
@@ -6788,7 +6788,7 @@
6788
6788
  region: ""
6789
6789
  }, {
6790
6790
  language: supportedLocale.language,
6791
- script: desiredLSR.script,
6791
+ script: supportedLSR.script,
6792
6792
  region: ""
6793
6793
  }, data2);
6794
6794
  }