@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.
@@ -4701,6 +4701,18 @@
4701
4701
  var polyfill = createCommonjsModule(function (module, exports) {
4702
4702
  Object.defineProperty(exports, "__esModule", { value: true });
4703
4703
 
4704
+ if (typeof Intl === 'undefined') {
4705
+ if (typeof window !== 'undefined') {
4706
+ Object.defineProperty(window, 'Intl', {
4707
+ value: {},
4708
+ });
4709
+ }
4710
+ else if (typeof commonjsGlobal !== 'undefined') {
4711
+ Object.defineProperty(commonjsGlobal, 'Intl', {
4712
+ value: {},
4713
+ });
4714
+ }
4715
+ }
4704
4716
  if (!('getCanonicalLocales' in Intl) ||
4705
4717
  // Native Intl.getCanonicalLocales is just buggy
4706
4718
  Intl.getCanonicalLocales('und-x-private')[0] === 'x-private') {