@formatjs/intl-datetimeformat 6.12.1 → 6.12.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.
@@ -86,7 +86,6 @@ declare const _default: {
86
86
  "Antarctica/McMurdo": string;
87
87
  "Antarctica/South_Pole": string;
88
88
  "Antarctica/Syowa": string;
89
- "Antarctica/Vostok": string;
90
89
  "Arctic/Longyearbyen": string;
91
90
  "Asia/Aden": string;
92
91
  "Asia/Ashkhabad": string;
@@ -88,7 +88,6 @@ export default {
88
88
  "Antarctica/McMurdo": "Pacific/Auckland",
89
89
  "Antarctica/South_Pole": "Pacific/Auckland",
90
90
  "Antarctica/Syowa": "Asia/Riyadh",
91
- "Antarctica/Vostok": "Asia/Urumqi",
92
91
  "Arctic/Longyearbyen": "Europe/Berlin",
93
92
  "Asia/Aden": "Asia/Riyadh",
94
93
  "Asia/Ashkhabad": "Asia/Ashgabat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-datetimeformat",
3
- "version": "6.12.1",
3
+ "version": "6.12.3",
4
4
  "description": "Intl.DateTimeFormat polyfill",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -23,11 +23,11 @@
23
23
  "homepage": "https://github.com/formatjs/formatjs#readme",
24
24
  "dependencies": {
25
25
  "tslib": "^2.4.0",
26
- "@formatjs/ecma402-abstract": "1.18.1",
27
- "@formatjs/intl-localematcher": "0.5.3"
26
+ "@formatjs/ecma402-abstract": "1.18.2",
27
+ "@formatjs/intl-localematcher": "0.5.4"
28
28
  },
29
29
  "devDependencies": {
30
- "@formatjs/intl-getcanonicallocales": "2.3.0",
31
- "@formatjs/intl-locale": "3.4.4"
30
+ "@formatjs/intl-locale": "3.4.5",
31
+ "@formatjs/intl-getcanonicallocales": "2.3.0"
32
32
  }
33
33
  }
package/polyfill.iife.js CHANGED
@@ -4564,8 +4564,8 @@
4564
4564
  if (!result.distances[desired]) {
4565
4565
  result.distances[desired] = {};
4566
4566
  }
4567
- supportedLocales2.forEach(function(supported, j) {
4568
- var distance = findMatchingDistance(desired, supported) + j + i * 40;
4567
+ supportedLocales2.forEach(function(supported) {
4568
+ var distance = findMatchingDistance(desired, supported) + 0 + i * 40;
4569
4569
  result.distances[desired][supported] = distance;
4570
4570
  if (distance < lowestDistance) {
4571
4571
  lowestDistance = distance;
@@ -5999,7 +5999,6 @@
5999
5999
  "Antarctica/McMurdo": "Pacific/Auckland",
6000
6000
  "Antarctica/South_Pole": "Pacific/Auckland",
6001
6001
  "Antarctica/Syowa": "Asia/Riyadh",
6002
- "Antarctica/Vostok": "Asia/Urumqi",
6003
6002
  "Arctic/Longyearbyen": "Europe/Berlin",
6004
6003
  "Asia/Aden": "Asia/Riyadh",
6005
6004
  "Asia/Ashkhabad": "Asia/Ashgabat",
package/src/core.js CHANGED
@@ -74,7 +74,7 @@ var formatDescriptor = {
74
74
  });
75
75
  }
76
76
  catch (e) {
77
- // In older browser (e.g Chrome 36 like polyfill.io)
77
+ // In older browser (e.g Chrome 36 like polyfill-fastly.io)
78
78
  // TypeError: Cannot redefine property: name
79
79
  }
80
80
  internalSlots.boundFormat = boundFormat;
@@ -92,7 +92,7 @@ try {
92
92
  });
93
93
  }
94
94
  catch (e) {
95
- // In older browser (e.g Chrome 36 like polyfill.io)
95
+ // In older browser (e.g Chrome 36 like polyfill-fastly.io)
96
96
  // TypeError: Cannot redefine property: name
97
97
  }
98
98
  exports.DateTimeFormat = function (locales, options) {