@formatjs/intl-relativetimeformat 11.4.9 → 11.4.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 +6 -6
  2. package/polyfill.iife.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-relativetimeformat",
3
- "version": "11.4.9",
3
+ "version": "11.4.10",
4
4
  "description": "Formats JavaScript dates to relative time strings.",
5
5
  "keywords": [
6
6
  "intl",
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "tslib": "2",
24
- "@formatjs/ecma402-abstract": "2.3.2",
25
- "@formatjs/intl-localematcher": "0.5.10"
24
+ "@formatjs/ecma402-abstract": "2.3.3",
25
+ "@formatjs/intl-localematcher": "0.6.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@formatjs/intl-pluralrules": "5.4.2",
29
- "@formatjs/intl-locale": "4.2.9",
30
- "@formatjs/intl-getcanonicallocales": "2.5.4"
28
+ "@formatjs/intl-locale": "4.2.10",
29
+ "@formatjs/intl-getcanonicallocales": "2.5.4",
30
+ "@formatjs/intl-pluralrules": "5.4.3"
31
31
  },
32
32
  "main": "index.js",
33
33
  "types": "index.d.ts",
package/polyfill.iife.js CHANGED
@@ -6703,7 +6703,7 @@
6703
6703
  }).reduce(function(all, list) {
6704
6704
  return __spreadArray(__spreadArray([], all, true), list, true);
6705
6705
  }, []);
6706
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
6706
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
6707
6707
  } else {
6708
6708
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
6709
6709
  }
@@ -6764,7 +6764,7 @@
6764
6764
  region: ""
6765
6765
  }, {
6766
6766
  language: supportedLocale.language,
6767
- script: desiredLSR.script,
6767
+ script: supportedLSR.script,
6768
6768
  region: ""
6769
6769
  }, data2);
6770
6770
  }