@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 +16 -0
- package/dist/polyfill-with-locales-for-test262.min.js +12 -0
- package/dist/polyfill-with-locales-for-test262.min.js.map +1 -1
- package/dist/umd/polyfill-with-locales.js +12 -0
- package/dist/umd/polyfill-with-locales.js.map +1 -1
- package/package.json +4 -4
- package/dist/currency-digits.json +0 -1
- package/dist/ilnd-numbers.json +0 -1
- package/dist/units-constants.d.ts +0 -2
- package/dist/units-constants.d.ts.map +0 -1
- package/dist/units-constants.js +0 -3
- package/dist/units-constants.js.map +0 -1
- package/lib/currency-digits.json +0 -1
- package/lib/ilnd-numbers.json +0 -1
- package/lib/units-constants.d.ts +0 -2
- package/lib/units-constants.d.ts.map +0 -1
- package/lib/units-constants.js +0 -1
- package/lib/units-constants.js.map +0 -1
- package/src/currency-digits.json +0 -1
- package/src/ilnd-numbers.json +0 -1
- package/src/units-constants.ts +0 -4
|
@@ -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') {
|