@formatjs/intl-segmenter 11.4.0 → 11.4.1
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.
- package/lib/polyfill-force.d.ts +0 -1
- package/lib/polyfill.d.ts +0 -1
- package/lib/should-polyfill.d.ts +0 -1
- package/lib/src/cldr-segmentation-rules.generated.d.ts +0 -1
- package/lib/src/cldr-segmentation-rules.generated.d.ts.map +1 -1
- package/lib/src/segmentation-utils.d.ts +0 -1
- package/lib/src/segmenter.d.ts +0 -1
- package/lib/test262-main.d.ts +0 -1
- package/package.json +3 -3
- package/polyfill-force.d.ts +0 -1
- package/polyfill.d.ts +0 -1
- package/polyfill.iife.js +24 -24
- package/should-polyfill.d.ts +0 -1
- package/src/cldr-segmentation-rules.generated.d.ts +0 -1
- package/src/cldr-segmentation-rules.generated.d.ts.map +1 -1
- package/src/segmentation-utils.d.ts +0 -1
- package/src/segmenter.d.ts +0 -1
- package/test262-main.d.ts +0 -1
package/lib/polyfill-force.d.ts
CHANGED
package/lib/polyfill.d.ts
CHANGED
package/lib/should-polyfill.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cldr-segmentation-rules.generated.d.ts","sourceRoot":"","sources":["../../src/cldr-segmentation-rules.generated.ts"],"names":[],"mappings":"AAEI,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"cldr-segmentation-rules.generated.d.ts","sourceRoot":"","sources":["../../src/cldr-segmentation-rules.generated.ts"],"names":[],"mappings":"AAEI,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8uCjC,CAAA"}
|
package/lib/src/segmenter.d.ts
CHANGED
package/lib/test262-main.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-segmenter",
|
|
3
|
-
"version": "11.4.
|
|
3
|
+
"version": "11.4.1",
|
|
4
4
|
"description": "Polyfill for Intl.Segmenter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "git@github.com:formatjs/formatjs.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@formatjs/ecma402-abstract": "1.
|
|
23
|
-
"@formatjs/intl-localematcher": "0.
|
|
22
|
+
"@formatjs/ecma402-abstract": "1.16.0",
|
|
23
|
+
"@formatjs/intl-localematcher": "0.3.0",
|
|
24
24
|
"tslib": "^2.4.0"
|
|
25
25
|
},
|
|
26
26
|
"main": "index.js",
|
package/polyfill-force.d.ts
CHANGED
package/polyfill.d.ts
CHANGED
package/polyfill.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(() => {
|
|
2
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
|
|
3
3
|
var extendStatics = function(d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
5
5
|
d2.__proto__ = b2;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
46
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-segmenter/lib/src/cldr-segmentation-rules.generated.js
|
|
47
47
|
var SegmentationRules = {
|
|
48
48
|
"de": {
|
|
49
49
|
"sentence": {
|
|
@@ -1308,7 +1308,7 @@
|
|
|
1308
1308
|
"zh": {}
|
|
1309
1309
|
};
|
|
1310
1310
|
|
|
1311
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1311
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-segmenter/lib/src/segmentation-utils.js
|
|
1312
1312
|
var replaceVariables = function(variables, input) {
|
|
1313
1313
|
var findVarRegex = /\$[A-Za-z0-9_]+/gm;
|
|
1314
1314
|
return input.replaceAll(findVarRegex, function(match) {
|
|
@@ -1322,12 +1322,12 @@
|
|
|
1322
1322
|
return 55296 <= str.charCodeAt(pos - 1) && str.charCodeAt(pos - 1) <= 56319 && 56320 <= str.charCodeAt(pos) && str.charCodeAt(pos) <= 57343;
|
|
1323
1323
|
};
|
|
1324
1324
|
|
|
1325
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1325
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
|
|
1326
1326
|
function CanonicalizeLocaleList(locales) {
|
|
1327
1327
|
return Intl.getCanonicalLocales(locales);
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1330
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
1331
1331
|
function ToString(o) {
|
|
1332
1332
|
if (typeof o === "symbol") {
|
|
1333
1333
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -1346,7 +1346,7 @@
|
|
|
1346
1346
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
1347
1347
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
1348
1348
|
|
|
1349
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1349
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
|
|
1350
1350
|
function GetOption(opts, prop, type, values, fallback) {
|
|
1351
1351
|
if (typeof opts !== "object") {
|
|
1352
1352
|
throw new TypeError("Options must be an object");
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
return fallback;
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1375
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOptionsObject.js
|
|
1376
1376
|
function GetOptionsObject(options) {
|
|
1377
1377
|
if (typeof options === "undefined") {
|
|
1378
1378
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -1383,7 +1383,7 @@
|
|
|
1383
1383
|
throw new TypeError("Options must be an object");
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
1386
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1386
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
1387
1387
|
var SANCTIONED_UNITS = [
|
|
1388
1388
|
"angle-degree",
|
|
1389
1389
|
"area-acre",
|
|
@@ -1434,7 +1434,7 @@
|
|
|
1434
1434
|
}
|
|
1435
1435
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
1436
1436
|
|
|
1437
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1437
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
1438
1438
|
function setInternalSlot(map, pl, field, value) {
|
|
1439
1439
|
if (!map.get(pl)) {
|
|
1440
1440
|
map.set(pl, /* @__PURE__ */ Object.create(null));
|
|
@@ -1460,14 +1460,14 @@
|
|
|
1460
1460
|
}, /* @__PURE__ */ Object.create(null));
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1463
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
1464
1464
|
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\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
1465
1465
|
|
|
1466
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1466
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
1467
1467
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
1468
1468
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
1469
1469
|
|
|
1470
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1470
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
|
|
1471
1471
|
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
1472
1472
|
function invariant(condition, message, Err) {
|
|
1473
1473
|
if (Err === void 0) {
|
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1481
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
|
|
1482
1482
|
function BestAvailableLocale(availableLocales, locale) {
|
|
1483
1483
|
var candidate = locale;
|
|
1484
1484
|
while (true) {
|
|
@@ -1496,7 +1496,7 @@
|
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
1498
|
|
|
1499
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1499
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
|
|
1500
1500
|
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
1501
1501
|
var result = { locale: "" };
|
|
1502
1502
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -1515,7 +1515,7 @@
|
|
|
1515
1515
|
return result;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1518
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
|
|
1519
1519
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
1520
1520
|
var minimizedAvailableLocaleMap = {};
|
|
1521
1521
|
var availableLocaleMap = {};
|
|
@@ -1563,7 +1563,7 @@
|
|
|
1563
1563
|
};
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
1566
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1566
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
|
|
1567
1567
|
function UnicodeExtensionValue(extension, key) {
|
|
1568
1568
|
invariant(key.length === 2, "key must have 2 elements");
|
|
1569
1569
|
var size = extension.length;
|
|
@@ -1602,7 +1602,7 @@
|
|
|
1602
1602
|
return void 0;
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1605
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
|
|
1606
1606
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
1607
1607
|
var matcher = options.localeMatcher;
|
|
1608
1608
|
var r;
|
|
@@ -1666,7 +1666,7 @@
|
|
|
1666
1666
|
return result;
|
|
1667
1667
|
}
|
|
1668
1668
|
|
|
1669
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1669
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
|
|
1670
1670
|
function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
1671
1671
|
var subset = [];
|
|
1672
1672
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -1680,7 +1680,7 @@
|
|
|
1680
1680
|
return subset;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1683
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
|
|
1684
1684
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
1685
1685
|
var matcher = "best fit";
|
|
1686
1686
|
if (options !== void 0) {
|
|
@@ -1693,7 +1693,7 @@
|
|
|
1693
1693
|
return LookupSupportedLocales(availableLocales, requestedLocales);
|
|
1694
1694
|
}
|
|
1695
1695
|
|
|
1696
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1696
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
1697
1697
|
var MissingLocaleDataError = (
|
|
1698
1698
|
/** @class */
|
|
1699
1699
|
function(_super) {
|
|
@@ -1707,7 +1707,7 @@
|
|
|
1707
1707
|
}(Error)
|
|
1708
1708
|
);
|
|
1709
1709
|
|
|
1710
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1710
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
1711
1711
|
var RangePatternType;
|
|
1712
1712
|
(function(RangePatternType2) {
|
|
1713
1713
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -1715,7 +1715,7 @@
|
|
|
1715
1715
|
RangePatternType2["endRange"] = "endRange";
|
|
1716
1716
|
})(RangePatternType || (RangePatternType = {}));
|
|
1717
1717
|
|
|
1718
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1718
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-segmenter/lib/src/segmenter.js
|
|
1719
1719
|
var generateRuleRegex = function(rule, variables, after) {
|
|
1720
1720
|
return new RegExp("".concat(after ? "^" : "").concat(replaceVariables(variables, rule)).concat(after ? "" : "$"));
|
|
1721
1721
|
};
|
|
@@ -1961,12 +1961,12 @@
|
|
|
1961
1961
|
} catch (e) {
|
|
1962
1962
|
}
|
|
1963
1963
|
|
|
1964
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1964
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-segmenter/lib/should-polyfill.js
|
|
1965
1965
|
function shouldPolyfill() {
|
|
1966
1966
|
return !Intl.Segmenter;
|
|
1967
1967
|
}
|
|
1968
1968
|
|
|
1969
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1969
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-segmenter/lib/polyfill.js
|
|
1970
1970
|
if (shouldPolyfill()) {
|
|
1971
1971
|
Object.defineProperty(Intl, "Segmenter", {
|
|
1972
1972
|
value: Segmenter,
|
package/should-polyfill.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cldr-segmentation-rules.generated.d.ts","sourceRoot":"","sources":["../src/cldr-segmentation-rules.generated.ts"],"names":[],"mappings":"AAEI,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"cldr-segmentation-rules.generated.d.ts","sourceRoot":"","sources":["../src/cldr-segmentation-rules.generated.ts"],"names":[],"mappings":"AAEI,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8uCjC,CAAA"}
|
package/src/segmenter.d.ts
CHANGED
package/test262-main.d.ts
CHANGED