@formatjs/ecma402-abstract 2.2.3 → 2.2.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 (93) hide show
  1. package/262.js +0 -1
  2. package/CanonicalizeLocaleList.js +0 -1
  3. package/CanonicalizeTimeZoneName.js +0 -1
  4. package/CoerceOptionsToObject.js +0 -1
  5. package/DefaultNumberOption.js +0 -1
  6. package/GetNumberOption.js +0 -1
  7. package/GetOption.js +0 -1
  8. package/GetOptionsObject.js +0 -1
  9. package/GetStringOrBooleanOption.js +0 -1
  10. package/IsSanctionedSimpleUnitIdentifier.js +0 -1
  11. package/IsValidTimeZoneName.js +0 -1
  12. package/IsWellFormedCurrencyCode.js +0 -1
  13. package/IsWellFormedUnitIdentifier.js +0 -1
  14. package/NumberFormat/ApplyUnsignedRoundingMode.js +0 -1
  15. package/NumberFormat/CollapseNumberRange.js +0 -1
  16. package/NumberFormat/ComputeExponent.js +0 -1
  17. package/NumberFormat/ComputeExponentForMagnitude.js +0 -1
  18. package/NumberFormat/CurrencyDigits.js +0 -1
  19. package/NumberFormat/FormatApproximately.js +0 -1
  20. package/NumberFormat/FormatNumericRange.js +0 -1
  21. package/NumberFormat/FormatNumericRangeToParts.js +0 -1
  22. package/NumberFormat/FormatNumericToParts.js +0 -1
  23. package/NumberFormat/FormatNumericToString.js +0 -1
  24. package/NumberFormat/GetUnsignedRoundingMode.js +0 -1
  25. package/NumberFormat/InitializeNumberFormat.js +0 -1
  26. package/NumberFormat/PartitionNumberPattern.js +0 -1
  27. package/NumberFormat/PartitionNumberRangePattern.js +0 -1
  28. package/NumberFormat/SetNumberFormatDigitOptions.js +0 -1
  29. package/NumberFormat/SetNumberFormatUnitOptions.js +0 -1
  30. package/NumberFormat/ToRawFixed.js +0 -1
  31. package/NumberFormat/ToRawPrecision.js +0 -1
  32. package/NumberFormat/digit-mapping.generated.js +0 -1
  33. package/NumberFormat/format_to_parts.js +0 -1
  34. package/PartitionPattern.js +0 -1
  35. package/SupportedLocales.js +0 -1
  36. package/data.js +0 -1
  37. package/index.js +0 -1
  38. package/lib/262.js +0 -1
  39. package/lib/CanonicalizeLocaleList.js +0 -1
  40. package/lib/CanonicalizeTimeZoneName.js +0 -1
  41. package/lib/CoerceOptionsToObject.js +0 -1
  42. package/lib/DefaultNumberOption.js +0 -1
  43. package/lib/GetNumberOption.js +0 -1
  44. package/lib/GetOption.js +0 -1
  45. package/lib/GetOptionsObject.js +0 -1
  46. package/lib/GetStringOrBooleanOption.js +0 -1
  47. package/lib/IsSanctionedSimpleUnitIdentifier.js +0 -1
  48. package/lib/IsValidTimeZoneName.js +0 -1
  49. package/lib/IsWellFormedCurrencyCode.js +0 -1
  50. package/lib/IsWellFormedUnitIdentifier.js +0 -1
  51. package/lib/NumberFormat/ApplyUnsignedRoundingMode.js +0 -1
  52. package/lib/NumberFormat/CollapseNumberRange.js +0 -1
  53. package/lib/NumberFormat/ComputeExponent.js +0 -1
  54. package/lib/NumberFormat/ComputeExponentForMagnitude.js +0 -1
  55. package/lib/NumberFormat/CurrencyDigits.js +0 -1
  56. package/lib/NumberFormat/FormatApproximately.js +0 -1
  57. package/lib/NumberFormat/FormatNumericRange.js +0 -1
  58. package/lib/NumberFormat/FormatNumericRangeToParts.js +0 -1
  59. package/lib/NumberFormat/FormatNumericToParts.js +0 -1
  60. package/lib/NumberFormat/FormatNumericToString.js +0 -1
  61. package/lib/NumberFormat/GetUnsignedRoundingMode.js +0 -1
  62. package/lib/NumberFormat/InitializeNumberFormat.js +0 -1
  63. package/lib/NumberFormat/PartitionNumberPattern.js +0 -1
  64. package/lib/NumberFormat/PartitionNumberRangePattern.js +0 -1
  65. package/lib/NumberFormat/SetNumberFormatDigitOptions.js +0 -1
  66. package/lib/NumberFormat/SetNumberFormatUnitOptions.js +0 -1
  67. package/lib/NumberFormat/ToRawFixed.js +0 -1
  68. package/lib/NumberFormat/ToRawPrecision.js +0 -1
  69. package/lib/NumberFormat/digit-mapping.generated.js +0 -1
  70. package/lib/NumberFormat/format_to_parts.js +0 -1
  71. package/lib/PartitionPattern.js +0 -1
  72. package/lib/SupportedLocales.js +0 -1
  73. package/lib/data.js +0 -1
  74. package/lib/index.js +0 -1
  75. package/lib/regex.generated.js +0 -1
  76. package/lib/types/core.js +0 -1
  77. package/lib/types/date-time.js +0 -1
  78. package/lib/types/displaynames.js +0 -1
  79. package/lib/types/list.js +0 -1
  80. package/lib/types/number.js +0 -1
  81. package/lib/types/plural-rules.js +0 -1
  82. package/lib/types/relative-time.js +0 -1
  83. package/lib/utils.js +0 -1
  84. package/package.json +3 -3
  85. package/regex.generated.js +0 -1
  86. package/types/core.js +0 -1
  87. package/types/date-time.js +0 -1
  88. package/types/displaynames.js +0 -1
  89. package/types/list.js +0 -1
  90. package/types/number.js +0 -1
  91. package/types/plural-rules.js +0 -1
  92. package/types/relative-time.js +0 -1
  93. package/utils.js +0 -1
package/262.js CHANGED
@@ -359,4 +359,3 @@ function OrdinaryHasInstance(C, O, internalSlots) {
359
359
  function msFromTime(t) {
360
360
  return mod(t, MS_PER_SECOND);
361
361
  }
362
- //# sourceMappingURL=262.js.map
@@ -9,4 +9,3 @@ function CanonicalizeLocaleList(locales) {
9
9
  // TODO
10
10
  return Intl.getCanonicalLocales(locales);
11
11
  }
12
- //# sourceMappingURL=CanonicalizeLocaleList.js.map
@@ -18,4 +18,3 @@ function CanonicalizeTimeZoneName(tz, _a) {
18
18
  }
19
19
  return ianaTimeZone;
20
20
  }
21
- //# sourceMappingURL=CanonicalizeTimeZoneName.js.map
@@ -13,4 +13,3 @@ function CoerceOptionsToObject(options) {
13
13
  }
14
14
  return (0, _262_1.ToObject)(options);
15
15
  }
16
- //# sourceMappingURL=CoerceOptionsToObject.js.map
@@ -19,4 +19,3 @@ function DefaultNumberOption(inputVal, min, max, fallback) {
19
19
  }
20
20
  return Math.floor(val);
21
21
  }
22
- //# sourceMappingURL=DefaultNumberOption.js.map
@@ -14,4 +14,3 @@ function GetNumberOption(options, property, minimum, maximum, fallback) {
14
14
  var val = options[property];
15
15
  return (0, DefaultNumberOption_1.DefaultNumberOption)(val, minimum, maximum, fallback);
16
16
  }
17
- //# sourceMappingURL=GetNumberOption.js.map
package/GetOption.js CHANGED
@@ -32,4 +32,3 @@ function GetOption(opts, prop, type, values, fallback) {
32
32
  }
33
33
  return fallback;
34
34
  }
35
- //# sourceMappingURL=GetOption.js.map
@@ -15,4 +15,3 @@ function GetOptionsObject(options) {
15
15
  }
16
16
  throw new TypeError('Options must be an object');
17
17
  }
18
- //# sourceMappingURL=GetOptionsObject.js.map
@@ -32,4 +32,3 @@ function GetStringOrBooleanOption(opts, prop, values, trueValue, falsyValue, fal
32
32
  }
33
33
  return value;
34
34
  }
35
- //# sourceMappingURL=GetStringOrBooleanOption.js.map
@@ -66,4 +66,3 @@ exports.SIMPLE_UNITS = exports.SANCTIONED_UNITS.map(removeUnitNamespace);
66
66
  function IsSanctionedSimpleUnitIdentifier(unitIdentifier) {
67
67
  return exports.SIMPLE_UNITS.indexOf(unitIdentifier) > -1;
68
68
  }
69
- //# sourceMappingURL=IsSanctionedSimpleUnitIdentifier.js.map
@@ -18,4 +18,3 @@ function IsValidTimeZoneName(tz, _a) {
18
18
  });
19
19
  return zoneNames.has(uppercasedTz) || linkNames.has(uppercasedTz);
20
20
  }
21
- //# sourceMappingURL=IsValidTimeZoneName.js.map
@@ -22,4 +22,3 @@ function IsWellFormedCurrencyCode(currency) {
22
22
  }
23
23
  return true;
24
24
  }
25
- //# sourceMappingURL=IsWellFormedCurrencyCode.js.map
@@ -29,4 +29,3 @@ function IsWellFormedUnitIdentifier(unit) {
29
29
  }
30
30
  return true;
31
31
  }
32
- //# sourceMappingURL=IsWellFormedUnitIdentifier.js.map
@@ -39,4 +39,3 @@ function ApplyUnsignedRoundingMode(x, r1, r2, unsignedRoundingMode) {
39
39
  }
40
40
  return r2;
41
41
  }
42
- //# sourceMappingURL=ApplyUnsignedRoundingMode.js.map
@@ -51,4 +51,3 @@ function CollapseNumberRange(numberFormat, result, _a) {
51
51
  }
52
52
  return result;
53
53
  }
54
- //# sourceMappingURL=CollapseNumberRange.js.map
@@ -40,4 +40,3 @@ function ComputeExponent(numberFormat, x, _a) {
40
40
  magnitude + 1,
41
41
  ];
42
42
  }
43
- //# sourceMappingURL=ComputeExponent.js.map
@@ -61,4 +61,3 @@ function ComputeExponentForMagnitude(numberFormat, magnitude, _a) {
61
61
  }
62
62
  }
63
63
  }
64
- //# sourceMappingURL=ComputeExponentForMagnitude.js.map
@@ -11,4 +11,3 @@ function CurrencyDigits(c, _a) {
11
11
  ? currencyDigitsData[c]
12
12
  : 2;
13
13
  }
14
- //# sourceMappingURL=CurrencyDigits.js.map
@@ -12,4 +12,3 @@ function FormatApproximately(numberFormat, result, _a) {
12
12
  result.push({ type: 'approximatelySign', value: approximatelySign });
13
13
  return result;
14
14
  }
15
- //# sourceMappingURL=FormatApproximately.js.map
@@ -12,4 +12,3 @@ function FormatNumericRange(numberFormat, x, y, _a) {
12
12
  });
13
13
  return parts.map(function (part) { return part.value; }).join('');
14
14
  }
15
- //# sourceMappingURL=FormatNumericRange.js.map
@@ -17,4 +17,3 @@ function FormatNumericRangeToParts(numberFormat, x, y, _a) {
17
17
  result: index.toString(),
18
18
  }); });
19
19
  }
20
- //# sourceMappingURL=FormatNumericRangeToParts.js.map
@@ -15,4 +15,3 @@ function FormatNumericToParts(nf, x, implDetails) {
15
15
  }
16
16
  return result;
17
17
  }
18
- //# sourceMappingURL=FormatNumericToParts.js.map
@@ -42,4 +42,3 @@ function FormatNumericToString(intlObject, x) {
42
42
  }
43
43
  return { roundedNumber: x, formattedString: string };
44
44
  }
45
- //# sourceMappingURL=FormatNumericToString.js.map
@@ -29,4 +29,3 @@ function GetUnsignedRoundingMode(roundingMode, isNegative) {
29
29
  }
30
30
  return positiveMapping[roundingMode];
31
31
  }
32
- //# sourceMappingURL=GetUnsignedRoundingMode.js.map
@@ -96,4 +96,3 @@ function InitializeNumberFormat(nf, locales, opts, _a) {
96
96
  ], 'halfExpand');
97
97
  return nf;
98
98
  }
99
- //# sourceMappingURL=InitializeNumberFormat.js.map
@@ -82,4 +82,3 @@ function PartitionNumberPattern(numberFormat, x, _a) {
82
82
  }
83
83
  return (0, format_to_parts_1.default)({ roundedNumber: x, formattedString: n, exponent: exponent, magnitude: magnitude, sign: sign }, internalSlots.dataLocaleData, pl, internalSlots);
84
84
  }
85
- //# sourceMappingURL=PartitionNumberPattern.js.map
@@ -34,4 +34,3 @@ function PartitionNumberRangePattern(numberFormat, x, y, _a) {
34
34
  return (0, CollapseNumberRange_1.CollapseNumberRange)(numberFormat, result, { getInternalSlots: getInternalSlots });
35
35
  // TODO: Needs to implement Range Pattern Processing https://unicode-org.github.io/cldr/ldml/tr35-numbers.html#range-pattern-processing
36
36
  }
37
- //# sourceMappingURL=PartitionNumberRangePattern.js.map
@@ -81,4 +81,3 @@ function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefau
81
81
  internalSlots.maximumSignificantDigits = 2;
82
82
  }
83
83
  }
84
- //# sourceMappingURL=SetNumberFormatDigitOptions.js.map
@@ -40,4 +40,3 @@ function SetNumberFormatUnitOptions(nf, options, _a) {
40
40
  internalSlots.unitDisplay = unitDisplay;
41
41
  }
42
42
  }
43
- //# sourceMappingURL=SetNumberFormatUnitOptions.js.map
@@ -52,4 +52,3 @@ function ToRawFixed(x, minFraction, maxFraction) {
52
52
  }
53
53
  return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
54
54
  }
55
- //# sourceMappingURL=ToRawFixed.js.map
@@ -75,4 +75,3 @@ function ToRawPrecision(x, minPrecision, maxPrecision) {
75
75
  return magnitude < 0 ? x * Math.pow(10, -magnitude) : x / Math.pow(10, magnitude);
76
76
  }
77
77
  }
78
- //# sourceMappingURL=ToRawPrecision.js.map
@@ -783,4 +783,3 @@ exports.digitMapping = {
783
783
  "𞋹"
784
784
  ]
785
785
  };
786
- //# sourceMappingURL=digit-mapping.generated.js.map
@@ -429,4 +429,3 @@ function getCompactDisplayPattern(numberResult, pl, data, style, compactDisplay,
429
429
  function selectPlural(pl, x, rules) {
430
430
  return rules[pl.select(x)] || rules.other;
431
431
  }
432
- //# sourceMappingURL=format_to_parts.js.map
@@ -36,4 +36,3 @@ function PartitionPattern(pattern) {
36
36
  }
37
37
  return result;
38
38
  }
39
- //# sourceMappingURL=PartitionPattern.js.map
@@ -21,4 +21,3 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
21
21
  }
22
22
  return (0, intl_localematcher_1.LookupSupportedLocales)(Array.from(availableLocales), requestedLocales);
23
23
  }
24
- //# sourceMappingURL=SupportedLocales.js.map
package/data.js CHANGED
@@ -14,4 +14,3 @@ var MissingLocaleDataError = /** @class */ (function (_super) {
14
14
  function isMissingLocaleDataError(e) {
15
15
  return e.type === 'MISSING_LOCALE_DATA';
16
16
  }
17
- //# sourceMappingURL=data.js.map
package/index.js CHANGED
@@ -60,4 +60,3 @@ Object.defineProperty(exports, "createMemoizedLocale", { enumerable: true, get:
60
60
  Object.defineProperty(exports, "createMemoizedNumberFormat", { enumerable: true, get: function () { return utils_2.createMemoizedNumberFormat; } });
61
61
  Object.defineProperty(exports, "createMemoizedPluralRules", { enumerable: true, get: function () { return utils_2.createMemoizedPluralRules; } });
62
62
  Object.defineProperty(exports, "invariant", { enumerable: true, get: function () { return utils_2.invariant; } });
63
- //# sourceMappingURL=index.js.map
package/lib/262.js CHANGED
@@ -334,4 +334,3 @@ export function OrdinaryHasInstance(C, O, internalSlots) {
334
334
  export function msFromTime(t) {
335
335
  return mod(t, MS_PER_SECOND);
336
336
  }
337
- //# sourceMappingURL=262.js.map
@@ -6,4 +6,3 @@ export function CanonicalizeLocaleList(locales) {
6
6
  // TODO
7
7
  return Intl.getCanonicalLocales(locales);
8
8
  }
9
- //# sourceMappingURL=CanonicalizeLocaleList.js.map
@@ -15,4 +15,3 @@ export function CanonicalizeTimeZoneName(tz, _a) {
15
15
  }
16
16
  return ianaTimeZone;
17
17
  }
18
- //# sourceMappingURL=CanonicalizeTimeZoneName.js.map
@@ -10,4 +10,3 @@ export function CoerceOptionsToObject(options) {
10
10
  }
11
11
  return ToObject(options);
12
12
  }
13
- //# sourceMappingURL=CoerceOptionsToObject.js.map
@@ -16,4 +16,3 @@ export function DefaultNumberOption(inputVal, min, max, fallback) {
16
16
  }
17
17
  return Math.floor(val);
18
18
  }
19
- //# sourceMappingURL=DefaultNumberOption.js.map
@@ -11,4 +11,3 @@ export function GetNumberOption(options, property, minimum, maximum, fallback) {
11
11
  var val = options[property];
12
12
  return DefaultNumberOption(val, minimum, maximum, fallback);
13
13
  }
14
- //# sourceMappingURL=GetNumberOption.js.map
package/lib/GetOption.js CHANGED
@@ -29,4 +29,3 @@ export function GetOption(opts, prop, type, values, fallback) {
29
29
  }
30
30
  return fallback;
31
31
  }
32
- //# sourceMappingURL=GetOption.js.map
@@ -12,4 +12,3 @@ export function GetOptionsObject(options) {
12
12
  }
13
13
  throw new TypeError('Options must be an object');
14
14
  }
15
- //# sourceMappingURL=GetOptionsObject.js.map
@@ -29,4 +29,3 @@ export function GetStringOrBooleanOption(opts, prop, values, trueValue, falsyVal
29
29
  }
30
30
  return value;
31
31
  }
32
- //# sourceMappingURL=GetStringOrBooleanOption.js.map
@@ -61,4 +61,3 @@ export var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
61
61
  export function IsSanctionedSimpleUnitIdentifier(unitIdentifier) {
62
62
  return SIMPLE_UNITS.indexOf(unitIdentifier) > -1;
63
63
  }
64
- //# sourceMappingURL=IsSanctionedSimpleUnitIdentifier.js.map
@@ -15,4 +15,3 @@ export function IsValidTimeZoneName(tz, _a) {
15
15
  });
16
16
  return zoneNames.has(uppercasedTz) || linkNames.has(uppercasedTz);
17
17
  }
18
- //# sourceMappingURL=IsValidTimeZoneName.js.map
@@ -19,4 +19,3 @@ export function IsWellFormedCurrencyCode(currency) {
19
19
  }
20
20
  return true;
21
21
  }
22
- //# sourceMappingURL=IsWellFormedCurrencyCode.js.map
@@ -26,4 +26,3 @@ export function IsWellFormedUnitIdentifier(unit) {
26
26
  }
27
27
  return true;
28
28
  }
29
- //# sourceMappingURL=IsWellFormedUnitIdentifier.js.map
@@ -36,4 +36,3 @@ export function ApplyUnsignedRoundingMode(x, r1, r2, unsignedRoundingMode) {
36
36
  }
37
37
  return r2;
38
38
  }
39
- //# sourceMappingURL=ApplyUnsignedRoundingMode.js.map
@@ -48,4 +48,3 @@ export function CollapseNumberRange(numberFormat, result, _a) {
48
48
  }
49
49
  return result;
50
50
  }
51
- //# sourceMappingURL=CollapseNumberRange.js.map
@@ -37,4 +37,3 @@ export function ComputeExponent(numberFormat, x, _a) {
37
37
  magnitude + 1,
38
38
  ];
39
39
  }
40
- //# sourceMappingURL=ComputeExponent.js.map
@@ -58,4 +58,3 @@ export function ComputeExponentForMagnitude(numberFormat, magnitude, _a) {
58
58
  }
59
59
  }
60
60
  }
61
- //# sourceMappingURL=ComputeExponentForMagnitude.js.map
@@ -8,4 +8,3 @@ export function CurrencyDigits(c, _a) {
8
8
  ? currencyDigitsData[c]
9
9
  : 2;
10
10
  }
11
- //# sourceMappingURL=CurrencyDigits.js.map
@@ -9,4 +9,3 @@ export function FormatApproximately(numberFormat, result, _a) {
9
9
  result.push({ type: 'approximatelySign', value: approximatelySign });
10
10
  return result;
11
11
  }
12
- //# sourceMappingURL=FormatApproximately.js.map
@@ -9,4 +9,3 @@ export function FormatNumericRange(numberFormat, x, y, _a) {
9
9
  });
10
10
  return parts.map(function (part) { return part.value; }).join('');
11
11
  }
12
- //# sourceMappingURL=FormatNumericRange.js.map
@@ -14,4 +14,3 @@ export function FormatNumericRangeToParts(numberFormat, x, y, _a) {
14
14
  result: index.toString(),
15
15
  }); });
16
16
  }
17
- //# sourceMappingURL=FormatNumericRangeToParts.js.map
@@ -12,4 +12,3 @@ export function FormatNumericToParts(nf, x, implDetails) {
12
12
  }
13
13
  return result;
14
14
  }
15
- //# sourceMappingURL=FormatNumericToParts.js.map
@@ -39,4 +39,3 @@ export function FormatNumericToString(intlObject, x) {
39
39
  }
40
40
  return { roundedNumber: x, formattedString: string };
41
41
  }
42
- //# sourceMappingURL=FormatNumericToString.js.map
@@ -26,4 +26,3 @@ export function GetUnsignedRoundingMode(roundingMode, isNegative) {
26
26
  }
27
27
  return positiveMapping[roundingMode];
28
28
  }
29
- //# sourceMappingURL=GetUnsignedRoundingMode.js.map
@@ -93,4 +93,3 @@ export function InitializeNumberFormat(nf, locales, opts, _a) {
93
93
  ], 'halfExpand');
94
94
  return nf;
95
95
  }
96
- //# sourceMappingURL=InitializeNumberFormat.js.map
@@ -78,4 +78,3 @@ export function PartitionNumberPattern(numberFormat, x, _a) {
78
78
  }
79
79
  return formatToParts({ roundedNumber: x, formattedString: n, exponent: exponent, magnitude: magnitude, sign: sign }, internalSlots.dataLocaleData, pl, internalSlots);
80
80
  }
81
- //# sourceMappingURL=PartitionNumberPattern.js.map
@@ -31,4 +31,3 @@ export function PartitionNumberRangePattern(numberFormat, x, y, _a) {
31
31
  return CollapseNumberRange(numberFormat, result, { getInternalSlots: getInternalSlots });
32
32
  // TODO: Needs to implement Range Pattern Processing https://unicode-org.github.io/cldr/ldml/tr35-numbers.html#range-pattern-processing
33
33
  }
34
- //# sourceMappingURL=PartitionNumberRangePattern.js.map
@@ -78,4 +78,3 @@ export function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mx
78
78
  internalSlots.maximumSignificantDigits = 2;
79
79
  }
80
80
  }
81
- //# sourceMappingURL=SetNumberFormatDigitOptions.js.map
@@ -37,4 +37,3 @@ export function SetNumberFormatUnitOptions(nf, options, _a) {
37
37
  internalSlots.unitDisplay = unitDisplay;
38
38
  }
39
39
  }
40
- //# sourceMappingURL=SetNumberFormatUnitOptions.js.map
@@ -49,4 +49,3 @@ export function ToRawFixed(x, minFraction, maxFraction) {
49
49
  }
50
50
  return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
51
51
  }
52
- //# sourceMappingURL=ToRawFixed.js.map
@@ -72,4 +72,3 @@ export function ToRawPrecision(x, minPrecision, maxPrecision) {
72
72
  return magnitude < 0 ? x * Math.pow(10, -magnitude) : x / Math.pow(10, magnitude);
73
73
  }
74
74
  }
75
- //# sourceMappingURL=ToRawPrecision.js.map
@@ -780,4 +780,3 @@ export var digitMapping = {
780
780
  "𞋹"
781
781
  ]
782
782
  };
783
- //# sourceMappingURL=digit-mapping.generated.js.map
@@ -426,4 +426,3 @@ function getCompactDisplayPattern(numberResult, pl, data, style, compactDisplay,
426
426
  function selectPlural(pl, x, rules) {
427
427
  return rules[pl.select(x)] || rules.other;
428
428
  }
429
- //# sourceMappingURL=format_to_parts.js.map
@@ -33,4 +33,3 @@ export function PartitionPattern(pattern) {
33
33
  }
34
34
  return result;
35
35
  }
36
- //# sourceMappingURL=PartitionPattern.js.map
@@ -18,4 +18,3 @@ export function SupportedLocales(availableLocales, requestedLocales, options) {
18
18
  }
19
19
  return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
20
20
  }
21
- //# sourceMappingURL=SupportedLocales.js.map
package/lib/data.js CHANGED
@@ -11,4 +11,3 @@ var MissingLocaleDataError = /** @class */ (function (_super) {
11
11
  export function isMissingLocaleDataError(e) {
12
12
  return e.type === 'MISSING_LOCALE_DATA';
13
13
  }
14
- //# sourceMappingURL=data.js.map
package/lib/index.js CHANGED
@@ -40,4 +40,3 @@ export * from './types/number';
40
40
  export * from './types/plural-rules';
41
41
  export * from './types/relative-time';
42
42
  export { createMemoizedDateTimeFormat, createMemoizedListFormat, createMemoizedLocale, createMemoizedNumberFormat, createMemoizedPluralRules, invariant, } from './utils';
43
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  // @generated from regex-gen.ts
2
2
  export var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\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/;
3
- //# sourceMappingURL=regex.generated.js.map
package/lib/types/core.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=core.js.map
@@ -4,4 +4,3 @@ export var RangePatternType;
4
4
  RangePatternType["shared"] = "shared";
5
5
  RangePatternType["endRange"] = "endRange";
6
6
  })(RangePatternType || (RangePatternType = {}));
7
- //# sourceMappingURL=date-time.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=displaynames.js.map
package/lib/types/list.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=list.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=number.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=plural-rules.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=relative-time.js.map
package/lib/utils.js CHANGED
@@ -142,4 +142,3 @@ export var createMemoizedListFormat = memoize(function () {
142
142
  }, {
143
143
  strategy: strategies.variadic,
144
144
  });
145
- //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/ecma402-abstract",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "A collection of implementation for ECMAScript abstract operations",
5
5
  "keywords": [
6
6
  "intl",
@@ -15,8 +15,8 @@
15
15
  ],
16
16
  "dependencies": {
17
17
  "tslib": "2",
18
- "@formatjs/intl-localematcher": "0.5.7",
19
- "@formatjs/fast-memoize": "2.2.3"
18
+ "@formatjs/fast-memoize": "2.2.3",
19
+ "@formatjs/intl-localematcher": "0.5.8"
20
20
  },
21
21
  "author": "Long Ho <holevietlong@gmail.com",
22
22
  "bugs": {
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.S_UNICODE_REGEX = void 0;
4
4
  // @generated from regex-gen.ts
5
5
  exports.S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA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DE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
6
- //# sourceMappingURL=regex.generated.js.map
package/types/core.js CHANGED
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=core.js.map
@@ -7,4 +7,3 @@ var RangePatternType;
7
7
  RangePatternType["shared"] = "shared";
8
8
  RangePatternType["endRange"] = "endRange";
9
9
  })(RangePatternType || (exports.RangePatternType = RangePatternType = {}));
10
- //# sourceMappingURL=date-time.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=displaynames.js.map
package/types/list.js CHANGED
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=list.js.map
package/types/number.js CHANGED
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=number.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=plural-rules.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=relative-time.js.map
package/utils.js CHANGED
@@ -155,4 +155,3 @@ exports.createMemoizedListFormat = (0, fast_memoize_1.memoize)(function () {
155
155
  }, {
156
156
  strategy: fast_memoize_1.strategies.variadic,
157
157
  });
158
- //# sourceMappingURL=utils.js.map