@formatjs/intl-numberformat 4.2.4 → 4.2.6

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.2.6](https://github.com/formatjs/formatjs/compare/@formatjs/intl-numberformat@4.2.5...@formatjs/intl-numberformat@4.2.6) (2020-06-06)
7
+
8
+ **Note:** Version bump only for package @formatjs/intl-numberformat
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.2.5](https://github.com/formatjs/formatjs/compare/@formatjs/intl-numberformat@4.2.4...@formatjs/intl-numberformat@4.2.5) (2020-06-06)
15
+
16
+ **Note:** Version bump only for package @formatjs/intl-numberformat
17
+
18
+
19
+
20
+
21
+
6
22
  ## [4.2.4](https://github.com/formatjs/formatjs/compare/@formatjs/intl-numberformat@4.2.3...@formatjs/intl-numberformat@4.2.4) (2020-06-04)
7
23
 
8
24
  **Note:** Version bump only for package @formatjs/intl-numberformat
@@ -4665,6 +4665,18 @@
4665
4665
  var polyfill = createCommonjsModule(function (module, exports) {
4666
4666
  Object.defineProperty(exports, "__esModule", { value: true });
4667
4667
 
4668
+ if (typeof Intl === 'undefined') {
4669
+ if (typeof window !== 'undefined') {
4670
+ Object.defineProperty(window, 'Intl', {
4671
+ value: {},
4672
+ });
4673
+ }
4674
+ else if (typeof commonjsGlobal !== 'undefined') {
4675
+ Object.defineProperty(commonjsGlobal, 'Intl', {
4676
+ value: {},
4677
+ });
4678
+ }
4679
+ }
4668
4680
  if (!('getCanonicalLocales' in Intl) ||
4669
4681
  // Native Intl.getCanonicalLocales is just buggy
4670
4682
  Intl.getCanonicalLocales('und-x-private')[0] === 'x-private') {