@formatjs/intl-datetimeformat 6.17.2 → 6.17.3

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-datetimeformat",
3
- "version": "6.17.2",
3
+ "version": "6.17.3",
4
4
  "description": "Intl.DateTimeFormat polyfill",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -24,11 +24,11 @@
24
24
  "dependencies": {
25
25
  "decimal.js": "10",
26
26
  "tslib": "2",
27
- "@formatjs/ecma402-abstract": "2.3.2",
28
- "@formatjs/intl-localematcher": "0.5.10"
27
+ "@formatjs/ecma402-abstract": "2.3.3",
28
+ "@formatjs/intl-localematcher": "0.6.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@formatjs/intl-getcanonicallocales": "2.5.4",
32
- "@formatjs/intl-locale": "4.2.9"
31
+ "@formatjs/intl-locale": "4.2.10",
32
+ "@formatjs/intl-getcanonicallocales": "2.5.4"
33
33
  }
34
34
  }
package/polyfill.iife.js CHANGED
@@ -7002,7 +7002,7 @@
7002
7002
  }).reduce(function(all, list) {
7003
7003
  return __spreadArray(__spreadArray([], all, true), list, true);
7004
7004
  }, []);
7005
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > 1 != shouldInclude));
7005
+ matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
7006
7006
  } else {
7007
7007
  matches && (matches = locale.region ? region === "*" || region === locale.region : true);
7008
7008
  }
@@ -7063,7 +7063,7 @@
7063
7063
  region: ""
7064
7064
  }, {
7065
7065
  language: supportedLocale.language,
7066
- script: desiredLSR.script,
7066
+ script: supportedLSR.script,
7067
7067
  region: ""
7068
7068
  }, data2);
7069
7069
  }