@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
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') {
|