@formatjs/intl-displaynames 7.0.4 → 7.0.5

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 +5 -5
  2. package/polyfill.iife.js +5 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formatjs/intl-displaynames",
3
3
  "description": "Polyfill for: https://tc39.es/proposal-intl-displaynames",
4
- "version": "7.0.4",
4
+ "version": "7.0.5",
5
5
  "license": "MIT",
6
6
  "author": "Linjie Ding <pyrocat101@users.noreply.github.com>",
7
7
  "type": "module",
@@ -15,12 +15,12 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "tslib": "^2.8.0",
18
- "@formatjs/ecma402-abstract": "3.0.3",
19
- "@formatjs/intl-localematcher": "0.7.2"
18
+ "@formatjs/intl-localematcher": "0.7.2",
19
+ "@formatjs/ecma402-abstract": "3.0.4"
20
20
  },
21
21
  "devDependencies": {
22
- "@formatjs/intl-getcanonicallocales": "3.0.3",
23
- "@formatjs/intl-locale": "5.0.4"
22
+ "@formatjs/intl-getcanonicallocales": "3.0.4",
23
+ "@formatjs/intl-locale": "5.0.5"
24
24
  },
25
25
  "bugs": "https://github.com/formatjs/formatjs/issues",
26
26
  "homepage": "https://github.com/formatjs/formatjs",
package/polyfill.iife.js CHANGED
@@ -2705,6 +2705,11 @@
2705
2705
  return true;
2706
2706
  }
2707
2707
 
2708
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/decimal-cache.js
2709
+ var getPowerOf10 = memoize(function(exponent) {
2710
+ return Decimal.pow(10, exponent);
2711
+ });
2712
+
2708
2713
  // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.js
2709
2714
  Decimal.set({
2710
2715
  toExpPos: 100