@formatjs/intl-listformat 7.7.9 → 7.7.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 +4 -4
  2. package/polyfill.iife.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-listformat",
3
- "version": "7.7.9",
3
+ "version": "7.7.10",
4
4
  "description": "Formats JS list in a i18n-safe way",
5
5
  "keywords": [
6
6
  "intl",
@@ -20,12 +20,12 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "tslib": "2",
23
- "@formatjs/ecma402-abstract": "2.3.2",
24
- "@formatjs/intl-localematcher": "0.5.10"
23
+ "@formatjs/ecma402-abstract": "2.3.3",
24
+ "@formatjs/intl-localematcher": "0.6.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@formatjs/intl-getcanonicallocales": "2.5.4",
28
- "@formatjs/intl-locale": "4.2.9"
28
+ "@formatjs/intl-locale": "4.2.10"
29
29
  },
30
30
  "main": "index.js",
31
31
  "types": "index.d.ts",
package/polyfill.iife.js CHANGED
@@ -6712,7 +6712,7 @@
6712
6712
  }).reduce(function(all, list) {
6713
6713
  return __spreadArray(__spreadArray([], all, true), list, true);
6714
6714
  }, []);
6715
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
6715
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
6716
6716
  } else {
6717
6717
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
6718
6718
  }
@@ -6773,7 +6773,7 @@
6773
6773
  region: ""
6774
6774
  }, {
6775
6775
  language: supportedLocale.language,
6776
- script: desiredLSR.script,
6776
+ script: supportedLSR.script,
6777
6777
  region: ""
6778
6778
  }, data2);
6779
6779
  }