@formatjs/intl-segmenter 11.7.8 → 11.7.9

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-segmenter",
3
- "version": "11.7.8",
3
+ "version": "11.7.9",
4
4
  "description": "Polyfill for Intl.Segmenter",
5
5
  "keywords": [
6
6
  "intl",
@@ -20,8 +20,8 @@
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/intl-localematcher": "0.6.0",
24
+ "@formatjs/ecma402-abstract": "2.3.3"
25
25
  },
26
26
  "main": "index.js",
27
27
  "types": "index.d.ts",
package/polyfill.iife.js CHANGED
@@ -6696,7 +6696,7 @@
6696
6696
  }).reduce(function(all, list) {
6697
6697
  return __spreadArray(__spreadArray([], all, true), list, true);
6698
6698
  }, []);
6699
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
6699
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
6700
6700
  } else {
6701
6701
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
6702
6702
  }
@@ -6757,7 +6757,7 @@
6757
6757
  region: ""
6758
6758
  }, {
6759
6759
  language: supportedLocale.language,
6760
- script: desiredLSR.script,
6760
+ script: supportedLSR.script,
6761
6761
  region: ""
6762
6762
  }, data2);
6763
6763
  }