@formatjs/intl-enumerator 2.0.2 → 2.0.4

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/polyfill.iife.js +5 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formatjs/intl-enumerator",
3
3
  "description": "Intl.Enumerator polyfill",
4
- "version": "2.0.2",
4
+ "version": "2.0.4",
5
5
  "license": "MIT",
6
6
  "author": "Michele Riva <ciao@micheleriva.it>",
7
7
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "tslib": "^2.8.0",
17
- "@formatjs/ecma402-abstract": "3.0.2"
17
+ "@formatjs/ecma402-abstract": "3.0.4"
18
18
  },
19
19
  "bugs": "https://github.com/formatjs/formatjs/issues",
20
20
  "homepage": "https://github.com/formatjs/formatjs#readme",
package/polyfill.iife.js CHANGED
@@ -2585,6 +2585,11 @@
2585
2585
  }
2586
2586
  var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
2587
2587
 
2588
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/decimal-cache.js
2589
+ var getPowerOf10 = memoize(function(exponent) {
2590
+ return Decimal.pow(10, exponent);
2591
+ });
2592
+
2588
2593
  // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.js
2589
2594
  Decimal.set({
2590
2595
  toExpPos: 100