intl-messageformat 10.5.3 → 10.5.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.
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
 
8
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
8
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
9
9
  var __assign = function() {
10
10
  __assign = Object.assign || function __assign2(t) {
11
11
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -19,7 +19,7 @@ var __assign = function() {
19
19
  return __assign.apply(this, arguments);
20
20
  };
21
21
 
22
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
22
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
23
23
  var ErrorKind;
24
24
  (function(ErrorKind2) {
25
25
  ErrorKind2[ErrorKind2["EXPECT_ARGUMENT_CLOSING_BRACE"] = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE";
@@ -50,7 +50,7 @@ var ErrorKind;
50
50
  ErrorKind2[ErrorKind2["UNCLOSED_TAG"] = 27] = "UNCLOSED_TAG";
51
51
  })(ErrorKind || (ErrorKind = {}));
52
52
 
53
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
53
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
54
54
  var TYPE;
55
55
  (function(TYPE2) {
56
56
  TYPE2[TYPE2["literal"] = 0] = "literal";
@@ -102,10 +102,10 @@ function isDateTimeSkeleton(el) {
102
102
  return !!(el && typeof el === "object" && el.type === SKELETON_TYPE.dateTime);
103
103
  }
104
104
 
105
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
105
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
106
106
  var SPACE_SEPARATOR_REGEX = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
107
107
 
108
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
108
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
109
109
  var DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
110
110
  function parseDateTimeSkeleton(skeleton) {
111
111
  var result = {};
@@ -206,10 +206,10 @@ function parseDateTimeSkeleton(skeleton) {
206
206
  return result;
207
207
  }
208
208
 
209
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
209
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
210
210
  var WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
211
211
 
212
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
212
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
213
213
  function parseNumberSkeletonFromString(skeleton) {
214
214
  if (skeleton.length === 0) {
215
215
  throw new Error("Number skeleton cannot be empty");
@@ -475,7 +475,7 @@ function parseNumberSkeleton(tokens) {
475
475
  return result;
476
476
  }
477
477
 
478
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
478
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
479
479
  var timeData = {
480
480
  "001": [
481
481
  "H",
@@ -595,6 +595,10 @@ var timeData = {
595
595
  "hb",
596
596
  "H"
597
597
  ],
598
+ "BI": [
599
+ "H",
600
+ "h"
601
+ ],
598
602
  "BJ": [
599
603
  "H",
600
604
  "hB"
@@ -644,6 +648,10 @@ var timeData = {
644
648
  "hb",
645
649
  "hB"
646
650
  ],
651
+ "BY": [
652
+ "H",
653
+ "h"
654
+ ],
647
655
  "BZ": [
648
656
  "H",
649
657
  "h",
@@ -732,6 +740,10 @@ var timeData = {
732
740
  "H",
733
741
  "hB"
734
742
  ],
743
+ "CW": [
744
+ "H",
745
+ "hB"
746
+ ],
735
747
  "CX": [
736
748
  "H",
737
749
  "h",
@@ -847,6 +859,10 @@ var timeData = {
847
859
  "H",
848
860
  "hB"
849
861
  ],
862
+ "FO": [
863
+ "H",
864
+ "h"
865
+ ],
850
866
  "FR": [
851
867
  "H",
852
868
  "hB"
@@ -892,6 +908,10 @@ var timeData = {
892
908
  "hb",
893
909
  "hB"
894
910
  ],
911
+ "GL": [
912
+ "H",
913
+ "h"
914
+ ],
895
915
  "GM": [
896
916
  "h",
897
917
  "hb",
@@ -956,6 +976,10 @@ var timeData = {
956
976
  "H",
957
977
  "hB"
958
978
  ],
979
+ "HU": [
980
+ "H",
981
+ "h"
982
+ ],
959
983
  "IC": [
960
984
  "H",
961
985
  "h",
@@ -1028,8 +1052,8 @@ var timeData = {
1028
1052
  ],
1029
1053
  "JP": [
1030
1054
  "H",
1031
- "h",
1032
- "K"
1055
+ "K",
1056
+ "h"
1033
1057
  ],
1034
1058
  "KE": [
1035
1059
  "hB",
@@ -1180,6 +1204,10 @@ var timeData = {
1180
1204
  "H",
1181
1205
  "hB"
1182
1206
  ],
1207
+ "MG": [
1208
+ "H",
1209
+ "h"
1210
+ ],
1183
1211
  "MH": [
1184
1212
  "h",
1185
1213
  "hb",
@@ -1235,6 +1263,18 @@ var timeData = {
1235
1263
  "hb",
1236
1264
  "hB"
1237
1265
  ],
1266
+ "MT": [
1267
+ "H",
1268
+ "h"
1269
+ ],
1270
+ "MU": [
1271
+ "H",
1272
+ "h"
1273
+ ],
1274
+ "MV": [
1275
+ "H",
1276
+ "h"
1277
+ ],
1238
1278
  "MW": [
1239
1279
  "h",
1240
1280
  "hb",
@@ -1292,6 +1332,10 @@ var timeData = {
1292
1332
  "H",
1293
1333
  "hB"
1294
1334
  ],
1335
+ "NO": [
1336
+ "H",
1337
+ "h"
1338
+ ],
1295
1339
  "NP": [
1296
1340
  "H",
1297
1341
  "h",
@@ -1353,6 +1397,10 @@ var timeData = {
1353
1397
  "hB",
1354
1398
  "H"
1355
1399
  ],
1400
+ "PL": [
1401
+ "H",
1402
+ "h"
1403
+ ],
1356
1404
  "PM": [
1357
1405
  "H",
1358
1406
  "hB"
@@ -1411,6 +1459,10 @@ var timeData = {
1411
1459
  "RU": [
1412
1460
  "H"
1413
1461
  ],
1462
+ "RW": [
1463
+ "H",
1464
+ "h"
1465
+ ],
1414
1466
  "SA": [
1415
1467
  "h",
1416
1468
  "hB",
@@ -1543,12 +1595,24 @@ var timeData = {
1543
1595
  "H",
1544
1596
  "hB"
1545
1597
  ],
1598
+ "TH": [
1599
+ "H",
1600
+ "h"
1601
+ ],
1602
+ "TJ": [
1603
+ "H",
1604
+ "h"
1605
+ ],
1546
1606
  "TL": [
1547
1607
  "H",
1548
1608
  "hB",
1549
1609
  "hb",
1550
1610
  "h"
1551
1611
  ],
1612
+ "TM": [
1613
+ "H",
1614
+ "h"
1615
+ ],
1552
1616
  "TN": [
1553
1617
  "h",
1554
1618
  "hB",
@@ -1644,6 +1708,10 @@ var timeData = {
1644
1708
  "H",
1645
1709
  "hB"
1646
1710
  ],
1711
+ "VN": [
1712
+ "H",
1713
+ "h"
1714
+ ],
1647
1715
  "VU": [
1648
1716
  "h",
1649
1717
  "H"
@@ -1683,6 +1751,10 @@ var timeData = {
1683
1751
  "H",
1684
1752
  "hB"
1685
1753
  ],
1754
+ "ZW": [
1755
+ "H",
1756
+ "h"
1757
+ ],
1686
1758
  "af-ZA": [
1687
1759
  "H",
1688
1760
  "h",
@@ -1814,7 +1886,7 @@ var timeData = {
1814
1886
  ]
1815
1887
  };
1816
1888
 
1817
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
1889
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
1818
1890
  function getBestPattern(skeleton, locale) {
1819
1891
  var skeletonCopy = "";
1820
1892
  for (var patternPos = 0; patternPos < skeleton.length; patternPos++) {
@@ -1876,7 +1948,7 @@ function getDefaultHourSymbolFromLocale(locale) {
1876
1948
  return hourCycles[0];
1877
1949
  }
1878
1950
 
1879
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
1951
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
1880
1952
  var _a;
1881
1953
  var SPACE_SEPARATOR_START_REGEX = new RegExp("^".concat(SPACE_SEPARATOR_REGEX.source, "*"));
1882
1954
  var SPACE_SEPARATOR_END_REGEX = new RegExp("".concat(SPACE_SEPARATOR_REGEX.source, "*$"));
@@ -2681,7 +2753,7 @@ function _isPatternSyntax(c) {
2681
2753
  return c >= 33 && c <= 35 || c === 36 || c >= 37 && c <= 39 || c === 40 || c === 41 || c === 42 || c === 43 || c === 44 || c === 45 || c >= 46 && c <= 47 || c >= 58 && c <= 59 || c >= 60 && c <= 62 || c >= 63 && c <= 64 || c === 91 || c === 92 || c === 93 || c === 94 || c === 96 || c === 123 || c === 124 || c === 125 || c === 126 || c === 161 || c >= 162 && c <= 165 || c === 166 || c === 167 || c === 169 || c === 171 || c === 172 || c === 174 || c === 176 || c === 177 || c === 182 || c === 187 || c === 191 || c === 215 || c === 247 || c >= 8208 && c <= 8213 || c >= 8214 && c <= 8215 || c === 8216 || c === 8217 || c === 8218 || c >= 8219 && c <= 8220 || c === 8221 || c === 8222 || c === 8223 || c >= 8224 && c <= 8231 || c >= 8240 && c <= 8248 || c === 8249 || c === 8250 || c >= 8251 && c <= 8254 || c >= 8257 && c <= 8259 || c === 8260 || c === 8261 || c === 8262 || c >= 8263 && c <= 8273 || c === 8274 || c === 8275 || c >= 8277 && c <= 8286 || c >= 8592 && c <= 8596 || c >= 8597 && c <= 8601 || c >= 8602 && c <= 8603 || c >= 8604 && c <= 8607 || c === 8608 || c >= 8609 && c <= 8610 || c === 8611 || c >= 8612 && c <= 8613 || c === 8614 || c >= 8615 && c <= 8621 || c === 8622 || c >= 8623 && c <= 8653 || c >= 8654 && c <= 8655 || c >= 8656 && c <= 8657 || c === 8658 || c === 8659 || c === 8660 || c >= 8661 && c <= 8691 || c >= 8692 && c <= 8959 || c >= 8960 && c <= 8967 || c === 8968 || c === 8969 || c === 8970 || c === 8971 || c >= 8972 && c <= 8991 || c >= 8992 && c <= 8993 || c >= 8994 && c <= 9e3 || c === 9001 || c === 9002 || c >= 9003 && c <= 9083 || c === 9084 || c >= 9085 && c <= 9114 || c >= 9115 && c <= 9139 || c >= 9140 && c <= 9179 || c >= 9180 && c <= 9185 || c >= 9186 && c <= 9254 || c >= 9255 && c <= 9279 || c >= 9280 && c <= 9290 || c >= 9291 && c <= 9311 || c >= 9472 && c <= 9654 || c === 9655 || c >= 9656 && c <= 9664 || c === 9665 || c >= 9666 && c <= 9719 || c >= 9720 && c <= 9727 || c >= 9728 && c <= 9838 || c === 9839 || c >= 9840 && c <= 10087 || c === 10088 || c === 10089 || c === 10090 || c === 10091 || c === 10092 || c === 10093 || c === 10094 || c === 10095 || c === 10096 || c === 10097 || c === 10098 || c === 10099 || c === 10100 || c === 10101 || c >= 10132 && c <= 10175 || c >= 10176 && c <= 10180 || c === 10181 || c === 10182 || c >= 10183 && c <= 10213 || c === 10214 || c === 10215 || c === 10216 || c === 10217 || c === 10218 || c === 10219 || c === 10220 || c === 10221 || c === 10222 || c === 10223 || c >= 10224 && c <= 10239 || c >= 10240 && c <= 10495 || c >= 10496 && c <= 10626 || c === 10627 || c === 10628 || c === 10629 || c === 10630 || c === 10631 || c === 10632 || c === 10633 || c === 10634 || c === 10635 || c === 10636 || c === 10637 || c === 10638 || c === 10639 || c === 10640 || c === 10641 || c === 10642 || c === 10643 || c === 10644 || c === 10645 || c === 10646 || c === 10647 || c === 10648 || c >= 10649 && c <= 10711 || c === 10712 || c === 10713 || c === 10714 || c === 10715 || c >= 10716 && c <= 10747 || c === 10748 || c === 10749 || c >= 10750 && c <= 11007 || c >= 11008 && c <= 11055 || c >= 11056 && c <= 11076 || c >= 11077 && c <= 11078 || c >= 11079 && c <= 11084 || c >= 11085 && c <= 11123 || c >= 11124 && c <= 11125 || c >= 11126 && c <= 11157 || c === 11158 || c >= 11159 && c <= 11263 || c >= 11776 && c <= 11777 || c === 11778 || c === 11779 || c === 11780 || c === 11781 || c >= 11782 && c <= 11784 || c === 11785 || c === 11786 || c === 11787 || c === 11788 || c === 11789 || c >= 11790 && c <= 11798 || c === 11799 || c >= 11800 && c <= 11801 || c === 11802 || c === 11803 || c === 11804 || c === 11805 || c >= 11806 && c <= 11807 || c === 11808 || c === 11809 || c === 11810 || c === 11811 || c === 11812 || c === 11813 || c === 11814 || c === 11815 || c === 11816 || c === 11817 || c >= 11818 && c <= 11822 || c === 11823 || c >= 11824 && c <= 11833 || c >= 11834 && c <= 11835 || c >= 11836 && c <= 11839 || c === 11840 || c === 11841 || c === 11842 || c >= 11843 && c <= 11855 || c >= 11856 && c <= 11857 || c === 11858 || c >= 11859 && c <= 11903 || c >= 12289 && c <= 12291 || c === 12296 || c === 12297 || c === 12298 || c === 12299 || c === 12300 || c === 12301 || c === 12302 || c === 12303 || c === 12304 || c === 12305 || c >= 12306 && c <= 12307 || c === 12308 || c === 12309 || c === 12310 || c === 12311 || c === 12312 || c === 12313 || c === 12314 || c === 12315 || c === 12316 || c === 12317 || c >= 12318 && c <= 12319 || c === 12320 || c === 12336 || c === 64830 || c === 64831 || c >= 65093 && c <= 65094;
2682
2754
  }
2683
2755
 
2684
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
2756
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
2685
2757
  function pruneLocation(els) {
2686
2758
  els.forEach(function(el) {
2687
2759
  delete el.location;
@@ -2717,7 +2789,7 @@ function parse(message, opts) {
2717
2789
  return result.val;
2718
2790
  }
2719
2791
 
2720
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
2792
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
2721
2793
  function memoize(fn, options) {
2722
2794
  var cache = options && options.cache ? options.cache : cacheDefault;
2723
2795
  var serializer = options && options.serializer ? options.serializer : serializerDefault;
@@ -2784,7 +2856,7 @@ var strategies = {
2784
2856
  monadic: strategyMonadic
2785
2857
  };
2786
2858
 
2787
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib_esnext/src/error.js
2859
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib_esnext/src/error.js
2788
2860
  var ErrorCode;
2789
2861
  (function(ErrorCode2) {
2790
2862
  ErrorCode2["MISSING_VALUE"] = "MISSING_VALUE";
@@ -2826,7 +2898,7 @@ var MissingValueError = class extends FormatError {
2826
2898
  }
2827
2899
  };
2828
2900
 
2829
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib_esnext/src/formatters.js
2901
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib_esnext/src/formatters.js
2830
2902
  var PART_TYPE;
2831
2903
  (function(PART_TYPE2) {
2832
2904
  PART_TYPE2[PART_TYPE2["literal"] = 0] = "literal";
@@ -2965,7 +3037,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
2965
3037
  return mergeLiteral(result);
2966
3038
  }
2967
3039
 
2968
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib_esnext/src/core.js
3040
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib_esnext/src/core.js
2969
3041
  function mergeConfig(c1, c2) {
2970
3042
  if (!c2) {
2971
3043
  return c1;
@@ -3165,7 +3237,7 @@ __publicField(IntlMessageFormat, "formats", {
3165
3237
  }
3166
3238
  });
3167
3239
 
3168
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib_esnext/index.js
3240
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib_esnext/index.js
3169
3241
  var lib_esnext_default = IntlMessageFormat;
3170
3242
  export {
3171
3243
  ErrorCode,
@@ -17,7 +17,7 @@ var IntlMessageFormat = (() => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib/index.js
20
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib/index.js
21
21
  var lib_exports = {};
22
22
  __export(lib_exports, {
23
23
  ErrorCode: () => ErrorCode,
@@ -32,7 +32,7 @@ var IntlMessageFormat = (() => {
32
32
  isFormatXMLElementFn: () => isFormatXMLElementFn
33
33
  });
34
34
 
35
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
35
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
36
36
  var extendStatics = function(d, b) {
37
37
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
38
38
  d2.__proto__ = b2;
@@ -88,7 +88,7 @@ var IntlMessageFormat = (() => {
88
88
  return to.concat(ar || Array.prototype.slice.call(from));
89
89
  }
90
90
 
91
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
91
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
92
92
  var ErrorKind;
93
93
  (function(ErrorKind2) {
94
94
  ErrorKind2[ErrorKind2["EXPECT_ARGUMENT_CLOSING_BRACE"] = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE";
@@ -119,7 +119,7 @@ var IntlMessageFormat = (() => {
119
119
  ErrorKind2[ErrorKind2["UNCLOSED_TAG"] = 27] = "UNCLOSED_TAG";
120
120
  })(ErrorKind || (ErrorKind = {}));
121
121
 
122
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
122
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
123
123
  var TYPE;
124
124
  (function(TYPE2) {
125
125
  TYPE2[TYPE2["literal"] = 0] = "literal";
@@ -171,10 +171,10 @@ var IntlMessageFormat = (() => {
171
171
  return !!(el && typeof el === "object" && el.type === SKELETON_TYPE.dateTime);
172
172
  }
173
173
 
174
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
174
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
175
175
  var SPACE_SEPARATOR_REGEX = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
176
176
 
177
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
177
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
178
178
  var DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
179
179
  function parseDateTimeSkeleton(skeleton) {
180
180
  var result = {};
@@ -275,10 +275,10 @@ var IntlMessageFormat = (() => {
275
275
  return result;
276
276
  }
277
277
 
278
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
278
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
279
279
  var WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
280
280
 
281
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
281
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
282
282
  function parseNumberSkeletonFromString(skeleton) {
283
283
  if (skeleton.length === 0) {
284
284
  throw new Error("Number skeleton cannot be empty");
@@ -544,7 +544,7 @@ var IntlMessageFormat = (() => {
544
544
  return result;
545
545
  }
546
546
 
547
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
547
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
548
548
  var timeData = {
549
549
  "001": [
550
550
  "H",
@@ -664,6 +664,10 @@ var IntlMessageFormat = (() => {
664
664
  "hb",
665
665
  "H"
666
666
  ],
667
+ "BI": [
668
+ "H",
669
+ "h"
670
+ ],
667
671
  "BJ": [
668
672
  "H",
669
673
  "hB"
@@ -713,6 +717,10 @@ var IntlMessageFormat = (() => {
713
717
  "hb",
714
718
  "hB"
715
719
  ],
720
+ "BY": [
721
+ "H",
722
+ "h"
723
+ ],
716
724
  "BZ": [
717
725
  "H",
718
726
  "h",
@@ -801,6 +809,10 @@ var IntlMessageFormat = (() => {
801
809
  "H",
802
810
  "hB"
803
811
  ],
812
+ "CW": [
813
+ "H",
814
+ "hB"
815
+ ],
804
816
  "CX": [
805
817
  "H",
806
818
  "h",
@@ -916,6 +928,10 @@ var IntlMessageFormat = (() => {
916
928
  "H",
917
929
  "hB"
918
930
  ],
931
+ "FO": [
932
+ "H",
933
+ "h"
934
+ ],
919
935
  "FR": [
920
936
  "H",
921
937
  "hB"
@@ -961,6 +977,10 @@ var IntlMessageFormat = (() => {
961
977
  "hb",
962
978
  "hB"
963
979
  ],
980
+ "GL": [
981
+ "H",
982
+ "h"
983
+ ],
964
984
  "GM": [
965
985
  "h",
966
986
  "hb",
@@ -1025,6 +1045,10 @@ var IntlMessageFormat = (() => {
1025
1045
  "H",
1026
1046
  "hB"
1027
1047
  ],
1048
+ "HU": [
1049
+ "H",
1050
+ "h"
1051
+ ],
1028
1052
  "IC": [
1029
1053
  "H",
1030
1054
  "h",
@@ -1097,8 +1121,8 @@ var IntlMessageFormat = (() => {
1097
1121
  ],
1098
1122
  "JP": [
1099
1123
  "H",
1100
- "h",
1101
- "K"
1124
+ "K",
1125
+ "h"
1102
1126
  ],
1103
1127
  "KE": [
1104
1128
  "hB",
@@ -1249,6 +1273,10 @@ var IntlMessageFormat = (() => {
1249
1273
  "H",
1250
1274
  "hB"
1251
1275
  ],
1276
+ "MG": [
1277
+ "H",
1278
+ "h"
1279
+ ],
1252
1280
  "MH": [
1253
1281
  "h",
1254
1282
  "hb",
@@ -1304,6 +1332,18 @@ var IntlMessageFormat = (() => {
1304
1332
  "hb",
1305
1333
  "hB"
1306
1334
  ],
1335
+ "MT": [
1336
+ "H",
1337
+ "h"
1338
+ ],
1339
+ "MU": [
1340
+ "H",
1341
+ "h"
1342
+ ],
1343
+ "MV": [
1344
+ "H",
1345
+ "h"
1346
+ ],
1307
1347
  "MW": [
1308
1348
  "h",
1309
1349
  "hb",
@@ -1361,6 +1401,10 @@ var IntlMessageFormat = (() => {
1361
1401
  "H",
1362
1402
  "hB"
1363
1403
  ],
1404
+ "NO": [
1405
+ "H",
1406
+ "h"
1407
+ ],
1364
1408
  "NP": [
1365
1409
  "H",
1366
1410
  "h",
@@ -1422,6 +1466,10 @@ var IntlMessageFormat = (() => {
1422
1466
  "hB",
1423
1467
  "H"
1424
1468
  ],
1469
+ "PL": [
1470
+ "H",
1471
+ "h"
1472
+ ],
1425
1473
  "PM": [
1426
1474
  "H",
1427
1475
  "hB"
@@ -1480,6 +1528,10 @@ var IntlMessageFormat = (() => {
1480
1528
  "RU": [
1481
1529
  "H"
1482
1530
  ],
1531
+ "RW": [
1532
+ "H",
1533
+ "h"
1534
+ ],
1483
1535
  "SA": [
1484
1536
  "h",
1485
1537
  "hB",
@@ -1612,12 +1664,24 @@ var IntlMessageFormat = (() => {
1612
1664
  "H",
1613
1665
  "hB"
1614
1666
  ],
1667
+ "TH": [
1668
+ "H",
1669
+ "h"
1670
+ ],
1671
+ "TJ": [
1672
+ "H",
1673
+ "h"
1674
+ ],
1615
1675
  "TL": [
1616
1676
  "H",
1617
1677
  "hB",
1618
1678
  "hb",
1619
1679
  "h"
1620
1680
  ],
1681
+ "TM": [
1682
+ "H",
1683
+ "h"
1684
+ ],
1621
1685
  "TN": [
1622
1686
  "h",
1623
1687
  "hB",
@@ -1713,6 +1777,10 @@ var IntlMessageFormat = (() => {
1713
1777
  "H",
1714
1778
  "hB"
1715
1779
  ],
1780
+ "VN": [
1781
+ "H",
1782
+ "h"
1783
+ ],
1716
1784
  "VU": [
1717
1785
  "h",
1718
1786
  "H"
@@ -1752,6 +1820,10 @@ var IntlMessageFormat = (() => {
1752
1820
  "H",
1753
1821
  "hB"
1754
1822
  ],
1823
+ "ZW": [
1824
+ "H",
1825
+ "h"
1826
+ ],
1755
1827
  "af-ZA": [
1756
1828
  "H",
1757
1829
  "h",
@@ -1883,7 +1955,7 @@ var IntlMessageFormat = (() => {
1883
1955
  ]
1884
1956
  };
1885
1957
 
1886
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
1958
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
1887
1959
  function getBestPattern(skeleton, locale) {
1888
1960
  var skeletonCopy = "";
1889
1961
  for (var patternPos = 0; patternPos < skeleton.length; patternPos++) {
@@ -1945,7 +2017,7 @@ var IntlMessageFormat = (() => {
1945
2017
  return hourCycles[0];
1946
2018
  }
1947
2019
 
1948
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
2020
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
1949
2021
  var _a;
1950
2022
  var SPACE_SEPARATOR_START_REGEX = new RegExp("^".concat(SPACE_SEPARATOR_REGEX.source, "*"));
1951
2023
  var SPACE_SEPARATOR_END_REGEX = new RegExp("".concat(SPACE_SEPARATOR_REGEX.source, "*$"));
@@ -2750,7 +2822,7 @@ var IntlMessageFormat = (() => {
2750
2822
  return c >= 33 && c <= 35 || c === 36 || c >= 37 && c <= 39 || c === 40 || c === 41 || c === 42 || c === 43 || c === 44 || c === 45 || c >= 46 && c <= 47 || c >= 58 && c <= 59 || c >= 60 && c <= 62 || c >= 63 && c <= 64 || c === 91 || c === 92 || c === 93 || c === 94 || c === 96 || c === 123 || c === 124 || c === 125 || c === 126 || c === 161 || c >= 162 && c <= 165 || c === 166 || c === 167 || c === 169 || c === 171 || c === 172 || c === 174 || c === 176 || c === 177 || c === 182 || c === 187 || c === 191 || c === 215 || c === 247 || c >= 8208 && c <= 8213 || c >= 8214 && c <= 8215 || c === 8216 || c === 8217 || c === 8218 || c >= 8219 && c <= 8220 || c === 8221 || c === 8222 || c === 8223 || c >= 8224 && c <= 8231 || c >= 8240 && c <= 8248 || c === 8249 || c === 8250 || c >= 8251 && c <= 8254 || c >= 8257 && c <= 8259 || c === 8260 || c === 8261 || c === 8262 || c >= 8263 && c <= 8273 || c === 8274 || c === 8275 || c >= 8277 && c <= 8286 || c >= 8592 && c <= 8596 || c >= 8597 && c <= 8601 || c >= 8602 && c <= 8603 || c >= 8604 && c <= 8607 || c === 8608 || c >= 8609 && c <= 8610 || c === 8611 || c >= 8612 && c <= 8613 || c === 8614 || c >= 8615 && c <= 8621 || c === 8622 || c >= 8623 && c <= 8653 || c >= 8654 && c <= 8655 || c >= 8656 && c <= 8657 || c === 8658 || c === 8659 || c === 8660 || c >= 8661 && c <= 8691 || c >= 8692 && c <= 8959 || c >= 8960 && c <= 8967 || c === 8968 || c === 8969 || c === 8970 || c === 8971 || c >= 8972 && c <= 8991 || c >= 8992 && c <= 8993 || c >= 8994 && c <= 9e3 || c === 9001 || c === 9002 || c >= 9003 && c <= 9083 || c === 9084 || c >= 9085 && c <= 9114 || c >= 9115 && c <= 9139 || c >= 9140 && c <= 9179 || c >= 9180 && c <= 9185 || c >= 9186 && c <= 9254 || c >= 9255 && c <= 9279 || c >= 9280 && c <= 9290 || c >= 9291 && c <= 9311 || c >= 9472 && c <= 9654 || c === 9655 || c >= 9656 && c <= 9664 || c === 9665 || c >= 9666 && c <= 9719 || c >= 9720 && c <= 9727 || c >= 9728 && c <= 9838 || c === 9839 || c >= 9840 && c <= 10087 || c === 10088 || c === 10089 || c === 10090 || c === 10091 || c === 10092 || c === 10093 || c === 10094 || c === 10095 || c === 10096 || c === 10097 || c === 10098 || c === 10099 || c === 10100 || c === 10101 || c >= 10132 && c <= 10175 || c >= 10176 && c <= 10180 || c === 10181 || c === 10182 || c >= 10183 && c <= 10213 || c === 10214 || c === 10215 || c === 10216 || c === 10217 || c === 10218 || c === 10219 || c === 10220 || c === 10221 || c === 10222 || c === 10223 || c >= 10224 && c <= 10239 || c >= 10240 && c <= 10495 || c >= 10496 && c <= 10626 || c === 10627 || c === 10628 || c === 10629 || c === 10630 || c === 10631 || c === 10632 || c === 10633 || c === 10634 || c === 10635 || c === 10636 || c === 10637 || c === 10638 || c === 10639 || c === 10640 || c === 10641 || c === 10642 || c === 10643 || c === 10644 || c === 10645 || c === 10646 || c === 10647 || c === 10648 || c >= 10649 && c <= 10711 || c === 10712 || c === 10713 || c === 10714 || c === 10715 || c >= 10716 && c <= 10747 || c === 10748 || c === 10749 || c >= 10750 && c <= 11007 || c >= 11008 && c <= 11055 || c >= 11056 && c <= 11076 || c >= 11077 && c <= 11078 || c >= 11079 && c <= 11084 || c >= 11085 && c <= 11123 || c >= 11124 && c <= 11125 || c >= 11126 && c <= 11157 || c === 11158 || c >= 11159 && c <= 11263 || c >= 11776 && c <= 11777 || c === 11778 || c === 11779 || c === 11780 || c === 11781 || c >= 11782 && c <= 11784 || c === 11785 || c === 11786 || c === 11787 || c === 11788 || c === 11789 || c >= 11790 && c <= 11798 || c === 11799 || c >= 11800 && c <= 11801 || c === 11802 || c === 11803 || c === 11804 || c === 11805 || c >= 11806 && c <= 11807 || c === 11808 || c === 11809 || c === 11810 || c === 11811 || c === 11812 || c === 11813 || c === 11814 || c === 11815 || c === 11816 || c === 11817 || c >= 11818 && c <= 11822 || c === 11823 || c >= 11824 && c <= 11833 || c >= 11834 && c <= 11835 || c >= 11836 && c <= 11839 || c === 11840 || c === 11841 || c === 11842 || c >= 11843 && c <= 11855 || c >= 11856 && c <= 11857 || c === 11858 || c >= 11859 && c <= 11903 || c >= 12289 && c <= 12291 || c === 12296 || c === 12297 || c === 12298 || c === 12299 || c === 12300 || c === 12301 || c === 12302 || c === 12303 || c === 12304 || c === 12305 || c >= 12306 && c <= 12307 || c === 12308 || c === 12309 || c === 12310 || c === 12311 || c === 12312 || c === 12313 || c === 12314 || c === 12315 || c === 12316 || c === 12317 || c >= 12318 && c <= 12319 || c === 12320 || c === 12336 || c === 64830 || c === 64831 || c >= 65093 && c <= 65094;
2751
2823
  }
2752
2824
 
2753
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
2825
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
2754
2826
  function pruneLocation(els) {
2755
2827
  els.forEach(function(el) {
2756
2828
  delete el.location;
@@ -2786,7 +2858,7 @@ var IntlMessageFormat = (() => {
2786
2858
  return result.val;
2787
2859
  }
2788
2860
 
2789
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
2861
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
2790
2862
  function memoize(fn, options) {
2791
2863
  var cache = options && options.cache ? options.cache : cacheDefault;
2792
2864
  var serializer = options && options.serializer ? options.serializer : serializerDefault;
@@ -2853,7 +2925,7 @@ var IntlMessageFormat = (() => {
2853
2925
  monadic: strategyMonadic
2854
2926
  };
2855
2927
 
2856
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib/src/error.js
2928
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib/src/error.js
2857
2929
  var ErrorCode;
2858
2930
  (function(ErrorCode2) {
2859
2931
  ErrorCode2["MISSING_VALUE"] = "MISSING_VALUE";
@@ -2907,7 +2979,7 @@ var IntlMessageFormat = (() => {
2907
2979
  }(FormatError)
2908
2980
  );
2909
2981
 
2910
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib/src/formatters.js
2982
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib/src/formatters.js
2911
2983
  var PART_TYPE;
2912
2984
  (function(PART_TYPE2) {
2913
2985
  PART_TYPE2[PART_TYPE2["literal"] = 0] = "literal";
@@ -3047,7 +3119,7 @@ var IntlMessageFormat = (() => {
3047
3119
  return mergeLiteral(result);
3048
3120
  }
3049
3121
 
3050
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib/src/core.js
3122
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib/src/core.js
3051
3123
  function mergeConfig(c1, c2) {
3052
3124
  if (!c2) {
3053
3125
  return c1;
@@ -3270,7 +3342,7 @@ var IntlMessageFormat = (() => {
3270
3342
  }()
3271
3343
  );
3272
3344
 
3273
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/lib/index.js
3345
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-messageformat/lib/index.js
3274
3346
  var lib_default = IntlMessageFormat;
3275
3347
  return __toCommonJS(lib_exports);
3276
3348
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-messageformat",
3
- "version": "10.5.3",
3
+ "version": "10.5.4",
4
4
  "description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -31,10 +31,10 @@
31
31
  "module": "lib/index.js",
32
32
  "types": "index.d.ts",
33
33
  "dependencies": {
34
+ "tslib": "^2.4.0",
34
35
  "@formatjs/ecma402-abstract": "1.17.2",
35
- "@formatjs/fast-memoize": "2.2.0",
36
- "@formatjs/icu-messageformat-parser": "2.6.2",
37
- "tslib": "^2.4.0"
36
+ "@formatjs/icu-messageformat-parser": "2.7.0",
37
+ "@formatjs/fast-memoize": "2.2.0"
38
38
  },
39
39
  "sideEffects": false,
40
40
  "homepage": "https://github.com/formatjs/formatjs",
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,iBAAiB,EAAC,MAAM,YAAY,CAAA;AAC5C,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,eAAe,iBAAiB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,iBAAiB,EAAC,MAAM,YAAY,CAAA;AAC5C,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,eAAe,iBAAiB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,EACL,oBAAoB,EACpB,aAAa,EACd,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EAEL,UAAU,EACV,OAAO,EAEP,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EAElB,MAAM,cAAc,CAAA;AAsCrB,MAAM,WAAW,OAAQ,SAAQ,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC;IA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