@formatjs/intl-segmenter 12.0.3 → 12.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-segmenter",
3
3
  "description": "Polyfill for Intl.Segmenter",
4
- "version": "12.0.3",
4
+ "version": "12.0.4",
5
5
  "license": "MIT",
6
6
  "author": "Matija Gaspar <matijagaspar@gmail.com>",
7
7
  "type": "module",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.8.0",
15
- "@formatjs/ecma402-abstract": "3.0.3",
15
+ "@formatjs/ecma402-abstract": "3.0.4",
16
16
  "@formatjs/intl-localematcher": "0.7.2"
17
17
  },
18
18
  "bugs": "https://github.com/formatjs/formatjs/issues",
package/polyfill.iife.js CHANGED
@@ -2679,6 +2679,11 @@
2679
2679
  }
2680
2680
  var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
2681
2681
 
2682
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/decimal-cache.js
2683
+ var getPowerOf10 = memoize(function(exponent) {
2684
+ return Decimal.pow(10, exponent);
2685
+ });
2686
+
2682
2687
  // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.js
2683
2688
  Decimal.set({
2684
2689
  toExpPos: 100