jscrewit 2.38.0 → 2.40.0
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/Features.md +13 -6
- package/api-doc/README.md +2 -5
- package/api-doc/interfaces/CustomFeature.md +15 -9
- package/api-doc/interfaces/ElementaryFeature.md +14 -8
- package/api-doc/interfaces/EncodeOptions.md +2 -2
- package/api-doc/interfaces/Feature.md +14 -8
- package/api-doc/interfaces/FeatureAll.md +90 -16
- package/api-doc/interfaces/FeatureConstructor.md +145 -31
- package/api-doc/interfaces/PredefinedFeature.md +14 -8
- package/api-doc/interfaces/default.md +1 -1
- package/api-doc/interfaces/encode.md +8 -4
- package/api-doc/type-aliases/ElementaryFeatureName.md +2 -2
- package/api-doc/type-aliases/FeatureElement.md +2 -2
- package/api-doc/type-aliases/FeatureElementOrCompatibleArray.md +2 -2
- package/api-doc/type-aliases/PredefinedFeatureName.md +2 -2
- package/api-doc/type-aliases/RunAs.md +3 -3
- package/api-doc/variables/Feature.md +1 -1
- package/api-doc/variables/default.md +1 -1
- package/api-doc/variables/encode.md +7 -0
- package/lib/feature-all.d.ts +68 -15
- package/lib/jscrewit.d.ts +3 -3
- package/lib/jscrewit.js +149 -74
- package/lib/jscrewit.min.js +2 -2
- package/package.json +3 -2
- package/ui/ui.js +1 -1
- package/api-doc/functions/encode.md +0 -35
package/lib/jscrewit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// JScrewIt 2.
|
|
1
|
+
// JScrewIt 2.40.0 – https://jscrew.it
|
|
2
2
|
|
|
3
3
|
(function () {
|
|
4
4
|
'use strict';
|
|
@@ -558,12 +558,10 @@
|
|
|
558
558
|
*/
|
|
559
559
|
// opts can be undefined in Node.js 0.10.0.
|
|
560
560
|
function inspect(depth, opts) {
|
|
561
|
-
var _a, _b;
|
|
561
|
+
var _a, _b, _c;
|
|
562
562
|
var breakLength = (_a = opts === null || opts === void 0 ? void 0 : opts.breakLength) !== null && _a !== void 0 ? _a : 80;
|
|
563
563
|
var compact = (_b = opts === null || opts === void 0 ? void 0 : opts.compact) !== null && _b !== void 0 ? _b : true;
|
|
564
|
-
var name = this.name;
|
|
565
|
-
if (name === undefined)
|
|
566
|
-
name = joinParts(compact, '<', '', this.canonicalNames, ',', '>', breakLength - 3);
|
|
564
|
+
var name = (_c = this.name) !== null && _c !== void 0 ? _c : joinParts(compact, '<', '', this.canonicalNames, ',', '>', breakLength - 3);
|
|
567
565
|
var parts = [name];
|
|
568
566
|
if (this.elementary)
|
|
569
567
|
parts.push('(elementary)');
|
|
@@ -613,9 +611,9 @@
|
|
|
613
611
|
}
|
|
614
612
|
var utilInspect;
|
|
615
613
|
try {
|
|
616
|
-
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
614
|
+
/* eslint-disable @typescript-eslint/no-require-imports, n/prefer-node-protocol */
|
|
617
615
|
utilInspect = require('util').inspect;
|
|
618
|
-
/* eslint-enable @typescript-eslint/no-require-imports */
|
|
616
|
+
/* eslint-enable @typescript-eslint/no-require-imports, n/prefer-node-protocol */
|
|
619
617
|
}
|
|
620
618
|
catch (_a) { }
|
|
621
619
|
{
|
|
@@ -762,7 +760,7 @@
|
|
|
762
760
|
}
|
|
763
761
|
if ('versions' in info_1) {
|
|
764
762
|
var families = info_1.families;
|
|
765
|
-
var
|
|
763
|
+
var infoVersions_1 = info_1.versions;
|
|
766
764
|
if (inherits != null)
|
|
767
765
|
families !== null && families !== void 0 ? families : (families = familiesMap[inherits]);
|
|
768
766
|
familiesMap[name] = families;
|
|
@@ -772,18 +770,18 @@
|
|
|
772
770
|
families.map(function (family, index) {
|
|
773
771
|
var _a;
|
|
774
772
|
family = esToString(family);
|
|
775
|
-
var versionInfo =
|
|
776
|
-
var
|
|
777
|
-
|
|
778
|
-
var
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
var compatibility = _Object_freeze({ family: family, featureName: name,
|
|
773
|
+
var versionInfo = esToString(infoVersions_1[index]);
|
|
774
|
+
var parts = versionInfo.split('|');
|
|
775
|
+
var versions = parts.map(function (part) {
|
|
776
|
+
var match = /^([^-]+)-(?:([^-]+))?$/.exec(part);
|
|
777
|
+
if (match) {
|
|
778
|
+
var from = match[1], to = match[2];
|
|
779
|
+
var engineVersion = _Object_freeze({ from: from, to: to });
|
|
780
|
+
return engineVersion;
|
|
781
|
+
}
|
|
782
|
+
return part;
|
|
783
|
+
});
|
|
784
|
+
var compatibility = _Object_freeze({ family: family, featureName: name, versions: versions, tag: tag_1, shortTag: shortTag_1 });
|
|
787
785
|
var familyCompatibilities = (_a = FAMILIES[family]) !== null && _a !== void 0 ? _a : (FAMILIES[family] = []);
|
|
788
786
|
familyCompatibilities.push(compatibility);
|
|
789
787
|
return compatibility;
|
|
@@ -1151,6 +1149,11 @@
|
|
|
1151
1149
|
},
|
|
1152
1150
|
attributes: { 'web-worker': 'no-console-in-web-worker' },
|
|
1153
1151
|
},
|
|
1152
|
+
CREATE_ELEMENT:
|
|
1153
|
+
{
|
|
1154
|
+
description: 'Existence of the function document.createElement.',
|
|
1155
|
+
aliasFor: 'ANY_DOCUMENT',
|
|
1156
|
+
},
|
|
1154
1157
|
DOCUMENT:
|
|
1155
1158
|
{
|
|
1156
1159
|
description:
|
|
@@ -1270,6 +1273,13 @@
|
|
|
1270
1273
|
return available;
|
|
1271
1274
|
},
|
|
1272
1275
|
},
|
|
1276
|
+
FORMS:
|
|
1277
|
+
{
|
|
1278
|
+
description:
|
|
1279
|
+
'Existence of the object document.forms with string representation "[object ' +
|
|
1280
|
+
'HTMLCollection]".',
|
|
1281
|
+
aliasFor: 'ANY_DOCUMENT',
|
|
1282
|
+
},
|
|
1273
1283
|
FROM_CODE_POINT:
|
|
1274
1284
|
{
|
|
1275
1285
|
description: 'Existence of the function String.fromCodePoint.',
|
|
@@ -1456,28 +1466,39 @@
|
|
|
1456
1466
|
return available;
|
|
1457
1467
|
},
|
|
1458
1468
|
},
|
|
1469
|
+
LOCALE_NUMERALS_BN:
|
|
1470
|
+
{
|
|
1471
|
+
description: 'Localized number formatting for Bengali.',
|
|
1472
|
+
check:
|
|
1473
|
+
function ()
|
|
1474
|
+
{
|
|
1475
|
+
var available = checkLocaleNumeral('bn', 1234567890, /^১,২৩,৪৫,৬৭,৮৯০/);
|
|
1476
|
+
return available;
|
|
1477
|
+
},
|
|
1478
|
+
},
|
|
1459
1479
|
LOCALE_NUMERALS_EXT:
|
|
1460
1480
|
{
|
|
1461
1481
|
description:
|
|
1462
1482
|
'Extended localized number formatting.\n' +
|
|
1463
1483
|
'This includes all features of LOCALE_NUMERALS plus the output of the first three ' +
|
|
1464
|
-
'letters in the second word of the Arabic string representation of NaN ("رقم"),
|
|
1465
|
-
'
|
|
1466
|
-
'
|
|
1484
|
+
'letters in the second word of the Arabic string representation of NaN ("رقم"), the ' +
|
|
1485
|
+
'letters in the Russian string representation of NaN ("не\xa0число") and the letters in ' +
|
|
1486
|
+
'the Persian string representation of NaN ("ناعدد").',
|
|
1467
1487
|
check:
|
|
1468
1488
|
function ()
|
|
1469
1489
|
{
|
|
1470
1490
|
var available =
|
|
1471
1491
|
checkLocaleNumeral('ar', NaN, /^ليس.رقم/) &&
|
|
1472
1492
|
checkLocaleNumeral('ar-td', 234567890.1, /^٢٣٤٬?٥٦٧٬?٨٩٠٫١/) &&
|
|
1473
|
-
checkLocaleNumeral('bn', 1234567890, /^১,২৩,৪৫,৬৭,৮৯০/) &&
|
|
1474
1493
|
checkLocaleNumeral('fa', 1234567890, /^۱٬۲۳۴٬۵۶۷٬۸۹۰/) &&
|
|
1475
1494
|
checkLocaleNumeral('fa', NaN, /^ناعد/) &&
|
|
1476
1495
|
checkLocaleNumeral('ru', NaN, /^не.число/);
|
|
1477
1496
|
return available;
|
|
1478
1497
|
},
|
|
1479
|
-
includes:
|
|
1498
|
+
includes: ['LOCALE_NUMERALS'],
|
|
1499
|
+
attributes: { 'web-worker': 'locale-numerals-ext-restriction' },
|
|
1480
1500
|
},
|
|
1501
|
+
|
|
1481
1502
|
LOCATION:
|
|
1482
1503
|
{
|
|
1483
1504
|
description:
|
|
@@ -1528,6 +1549,12 @@
|
|
|
1528
1549
|
},
|
|
1529
1550
|
attributes: { 'web-worker': 'web-worker-restriction' },
|
|
1530
1551
|
},
|
|
1552
|
+
NODE_NAME:
|
|
1553
|
+
{
|
|
1554
|
+
description:
|
|
1555
|
+
'Existence of the string document.nodeName that starts with a number sign ("#").',
|
|
1556
|
+
aliasFor: 'ANY_DOCUMENT',
|
|
1557
|
+
},
|
|
1531
1558
|
NO_FF_SRC:
|
|
1532
1559
|
{
|
|
1533
1560
|
description:
|
|
@@ -1789,6 +1816,7 @@
|
|
|
1789
1816
|
'HISTORY',
|
|
1790
1817
|
'INCR_CHAR',
|
|
1791
1818
|
'INTL',
|
|
1819
|
+
'ITERATOR_HELPER',
|
|
1792
1820
|
'JAPANESE_INFINITY',
|
|
1793
1821
|
'LOCALE_INFINITY',
|
|
1794
1822
|
'LOCALE_NUMERALS_EXT',
|
|
@@ -1803,9 +1831,10 @@
|
|
|
1803
1831
|
],
|
|
1804
1832
|
attributes:
|
|
1805
1833
|
{
|
|
1806
|
-
'char-increment-restriction':
|
|
1807
|
-
'
|
|
1808
|
-
'
|
|
1834
|
+
'char-increment-restriction': null,
|
|
1835
|
+
'locale-numerals-ext-restriction': null,
|
|
1836
|
+
'non-ie-restriction': null,
|
|
1837
|
+
'web-worker-restriction': null,
|
|
1809
1838
|
},
|
|
1810
1839
|
},
|
|
1811
1840
|
ANDRO_4_0:
|
|
@@ -1834,7 +1863,7 @@
|
|
|
1834
1863
|
ANDRO_4_1:
|
|
1835
1864
|
{
|
|
1836
1865
|
inherits: 'ANDRO_4_0',
|
|
1837
|
-
versions: [
|
|
1866
|
+
versions: ['4.1-4.3'],
|
|
1838
1867
|
includes: { CALL_ON_GLOBAL: false, GENERIC_ARRAY_TO_STRING: true, OBJECT_UNDEFINED: true },
|
|
1839
1868
|
},
|
|
1840
1869
|
ANDRO_4_4:
|
|
@@ -1848,6 +1877,7 @@
|
|
|
1848
1877
|
HTMLAUDIOELEMENT: true,
|
|
1849
1878
|
JAPANESE_INFINITY: true,
|
|
1850
1879
|
LOCALE_INFINITY: true,
|
|
1880
|
+
LOCALE_NUMERALS_BN: true,
|
|
1851
1881
|
LOCALE_NUMERALS_EXT: true,
|
|
1852
1882
|
PLAIN_INTL: true,
|
|
1853
1883
|
SHORT_LOCALES: true,
|
|
@@ -1873,7 +1903,7 @@
|
|
|
1873
1903
|
CHROME_122:
|
|
1874
1904
|
{
|
|
1875
1905
|
families: ['Chrome', 'Edge', 'Opera'],
|
|
1876
|
-
versions: [
|
|
1906
|
+
versions: ['122-', '122-', '108-'],
|
|
1877
1907
|
includes:
|
|
1878
1908
|
[
|
|
1879
1909
|
'ANY_DOCUMENT',
|
|
@@ -1898,6 +1928,7 @@
|
|
|
1898
1928
|
'ITERATOR_HELPER',
|
|
1899
1929
|
'JAPANESE_INFINITY',
|
|
1900
1930
|
'LOCALE_INFINITY',
|
|
1931
|
+
'LOCALE_NUMERALS_BN',
|
|
1901
1932
|
'LOCALE_NUMERALS_EXT',
|
|
1902
1933
|
'LOCATION',
|
|
1903
1934
|
'MOZILLA',
|
|
@@ -1924,17 +1955,17 @@
|
|
|
1924
1955
|
FF_PREV:
|
|
1925
1956
|
{
|
|
1926
1957
|
description: describeEngine('the previous to current version of Firefox'),
|
|
1927
|
-
aliasFor: '
|
|
1958
|
+
aliasFor: 'FF_134',
|
|
1928
1959
|
},
|
|
1929
1960
|
FF:
|
|
1930
1961
|
{
|
|
1931
1962
|
description: describeEngine('the current stable version of Firefox'),
|
|
1932
|
-
aliasFor: '
|
|
1963
|
+
aliasFor: 'FF_134',
|
|
1933
1964
|
},
|
|
1934
1965
|
FF_90:
|
|
1935
1966
|
{
|
|
1936
1967
|
families: ['Firefox'],
|
|
1937
|
-
versions: [
|
|
1968
|
+
versions: ['90-130'],
|
|
1938
1969
|
includes:
|
|
1939
1970
|
[
|
|
1940
1971
|
'ANY_DOCUMENT',
|
|
@@ -1959,6 +1990,7 @@
|
|
|
1959
1990
|
'INTL',
|
|
1960
1991
|
'JAPANESE_INFINITY',
|
|
1961
1992
|
'LOCALE_INFINITY',
|
|
1993
|
+
'LOCALE_NUMERALS_BN',
|
|
1962
1994
|
'LOCALE_NUMERALS_EXT',
|
|
1963
1995
|
'LOCATION',
|
|
1964
1996
|
'MOZILLA',
|
|
@@ -1981,9 +2013,15 @@
|
|
|
1981
2013
|
FF_131:
|
|
1982
2014
|
{
|
|
1983
2015
|
inherits: 'FF_90',
|
|
1984
|
-
versions: [
|
|
2016
|
+
versions: ['131-133'],
|
|
1985
2017
|
includes: { ITERATOR_HELPER: true, OBJECT_ARRAY_ENTRIES_CTOR: false },
|
|
1986
2018
|
},
|
|
2019
|
+
FF_134:
|
|
2020
|
+
{
|
|
2021
|
+
inherits: 'FF_131',
|
|
2022
|
+
versions: ['134-'],
|
|
2023
|
+
includes: { SHORT_LOCALES: false },
|
|
2024
|
+
},
|
|
1987
2025
|
IE_9:
|
|
1988
2026
|
{
|
|
1989
2027
|
families: ['Internet Explorer'],
|
|
@@ -2035,7 +2073,12 @@
|
|
|
2035
2073
|
compatibilityTag: 'on Windows 10',
|
|
2036
2074
|
compatibilityShortTag: 'W10',
|
|
2037
2075
|
includes:
|
|
2038
|
-
{
|
|
2076
|
+
{
|
|
2077
|
+
LOCALE_INFINITY: true,
|
|
2078
|
+
LOCALE_NUMERALS: false,
|
|
2079
|
+
LOCALE_NUMERALS_BN: true,
|
|
2080
|
+
LOCALE_NUMERALS_EXT: true,
|
|
2081
|
+
},
|
|
2039
2082
|
},
|
|
2040
2083
|
NODE_0_10:
|
|
2041
2084
|
{
|
|
@@ -2077,13 +2120,13 @@
|
|
|
2077
2120
|
NODE_5:
|
|
2078
2121
|
{
|
|
2079
2122
|
inherits: 'NODE_4',
|
|
2080
|
-
versions: [
|
|
2123
|
+
versions: ['5-7.5'],
|
|
2081
2124
|
attributes: { 'char-increment-restriction': null },
|
|
2082
2125
|
},
|
|
2083
2126
|
NODE_7_6:
|
|
2084
2127
|
{
|
|
2085
2128
|
inherits: 'NODE_5',
|
|
2086
|
-
versions: [
|
|
2129
|
+
versions: ['7.6-9'],
|
|
2087
2130
|
includes: { ASYNC_FUNCTION: true },
|
|
2088
2131
|
},
|
|
2089
2132
|
NODE_10:
|
|
@@ -2107,8 +2150,8 @@
|
|
|
2107
2150
|
NODE_13:
|
|
2108
2151
|
{
|
|
2109
2152
|
inherits: 'NODE_12',
|
|
2110
|
-
versions: [
|
|
2111
|
-
includes: { LOCALE_NUMERALS_EXT: true, SHORT_LOCALES: true },
|
|
2153
|
+
versions: ['13|14'],
|
|
2154
|
+
includes: { LOCALE_NUMERALS_BN: true, LOCALE_NUMERALS_EXT: true, SHORT_LOCALES: true },
|
|
2112
2155
|
},
|
|
2113
2156
|
NODE_15:
|
|
2114
2157
|
{
|
|
@@ -2119,21 +2162,27 @@
|
|
|
2119
2162
|
NODE_16_0:
|
|
2120
2163
|
{
|
|
2121
2164
|
inherits: 'NODE_15',
|
|
2122
|
-
versions: [
|
|
2165
|
+
versions: ['16.0-16.5'],
|
|
2123
2166
|
includes: { ATOB: true },
|
|
2124
2167
|
},
|
|
2125
2168
|
NODE_16_6:
|
|
2126
2169
|
{
|
|
2127
2170
|
inherits: 'NODE_16_0',
|
|
2128
|
-
versions: [
|
|
2171
|
+
versions: ['16.6-21'],
|
|
2129
2172
|
includes: { AT: true },
|
|
2130
2173
|
},
|
|
2131
2174
|
NODE_22:
|
|
2132
2175
|
{
|
|
2133
2176
|
inherits: 'NODE_16_6',
|
|
2134
|
-
versions: [
|
|
2177
|
+
versions: ['22.0-22.11|23.0-23.2'],
|
|
2135
2178
|
includes: { ITERATOR_HELPER: true, OBJECT_ARRAY_ENTRIES_CTOR: false },
|
|
2136
2179
|
},
|
|
2180
|
+
NODE_22_12:
|
|
2181
|
+
{
|
|
2182
|
+
inherits: 'NODE_22',
|
|
2183
|
+
versions: ['22.12-22.14|23.3-'],
|
|
2184
|
+
includes: { SHORT_LOCALES: false },
|
|
2185
|
+
},
|
|
2137
2186
|
SAFARI_7_0:
|
|
2138
2187
|
{
|
|
2139
2188
|
families: ['Safari'],
|
|
@@ -2174,7 +2223,7 @@
|
|
|
2174
2223
|
SAFARI_7_1:
|
|
2175
2224
|
{
|
|
2176
2225
|
inherits: 'SAFARI_7_0',
|
|
2177
|
-
versions: [
|
|
2226
|
+
versions: ['7.1|8'],
|
|
2178
2227
|
includes: { ARRAY_ITERATOR: true, FILL: true },
|
|
2179
2228
|
attributes: { 'no-console-in-web-worker': undefined, 'safari-bug-21820506': null },
|
|
2180
2229
|
},
|
|
@@ -2200,6 +2249,7 @@
|
|
|
2200
2249
|
ARROW: true,
|
|
2201
2250
|
JAPANESE_INFINITY: true,
|
|
2202
2251
|
LOCALE_INFINITY: true,
|
|
2252
|
+
LOCALE_NUMERALS_BN: true,
|
|
2203
2253
|
LOCALE_NUMERALS_EXT: true,
|
|
2204
2254
|
NODECONSTRUCTOR: false,
|
|
2205
2255
|
OBJECT_L_LOCATION_CTOR: false,
|
|
@@ -2212,7 +2262,7 @@
|
|
|
2212
2262
|
SAFARI_10_1:
|
|
2213
2263
|
{
|
|
2214
2264
|
inherits: 'SAFARI_10_0',
|
|
2215
|
-
versions: [
|
|
2265
|
+
versions: ['10.1|11'],
|
|
2216
2266
|
includes: { ASYNC_FUNCTION: true },
|
|
2217
2267
|
},
|
|
2218
2268
|
SAFARI_12:
|
|
@@ -2224,43 +2274,51 @@
|
|
|
2224
2274
|
SAFARI_13:
|
|
2225
2275
|
{
|
|
2226
2276
|
inherits: 'SAFARI_12',
|
|
2227
|
-
versions: [
|
|
2277
|
+
versions: ['13|14.0.0'],
|
|
2228
2278
|
includes: { REGEXP_STRING_ITERATOR: true },
|
|
2229
2279
|
},
|
|
2230
2280
|
SAFARI_14_0_1:
|
|
2231
2281
|
{
|
|
2232
2282
|
inherits: 'SAFARI_13',
|
|
2233
|
-
versions: [
|
|
2283
|
+
versions: ['14.0.1-14.0.3'],
|
|
2234
2284
|
includes: { INTL: true, PLAIN_INTL: false },
|
|
2235
2285
|
},
|
|
2236
2286
|
SAFARI_14_1:
|
|
2237
2287
|
{
|
|
2238
2288
|
inherits: 'SAFARI_14_0_1',
|
|
2239
|
-
versions: [
|
|
2289
|
+
versions: ['14.1-15.3'],
|
|
2240
2290
|
includes: { CONSOLE: false },
|
|
2241
2291
|
},
|
|
2242
2292
|
SAFARI_15_4:
|
|
2243
2293
|
{
|
|
2244
2294
|
inherits: 'SAFARI_14_1',
|
|
2245
|
-
versions: [
|
|
2295
|
+
versions: ['15.4-17.3'],
|
|
2246
2296
|
includes: { AT: true },
|
|
2247
2297
|
},
|
|
2248
2298
|
SAFARI_17_4:
|
|
2249
2299
|
{
|
|
2250
2300
|
inherits: 'SAFARI_15_4',
|
|
2251
|
-
versions: [
|
|
2301
|
+
versions: ['17.4-17.6'],
|
|
2252
2302
|
includes: { FUNCTION_19_LF: true, FUNCTION_22_LF: false },
|
|
2253
2303
|
},
|
|
2304
|
+
SAFARI_18_0:
|
|
2305
|
+
{
|
|
2306
|
+
inherits: 'SAFARI_17_4',
|
|
2307
|
+
versions: ['18.0-18.3'],
|
|
2308
|
+
includes: { SHORT_LOCALES: false },
|
|
2309
|
+
},
|
|
2254
2310
|
SAFARI:
|
|
2255
2311
|
{
|
|
2256
2312
|
description: describeEngine('the current stable version of Safari'),
|
|
2257
|
-
aliasFor: '
|
|
2313
|
+
aliasFor: 'SAFARI_18_4',
|
|
2258
2314
|
},
|
|
2259
|
-
|
|
2315
|
+
SAFARI_18_4:
|
|
2260
2316
|
{
|
|
2261
|
-
inherits:
|
|
2262
|
-
versions:
|
|
2263
|
-
includes:
|
|
2317
|
+
inherits: 'SAFARI_18_0',
|
|
2318
|
+
versions: ['18.4-'],
|
|
2319
|
+
includes:
|
|
2320
|
+
{ ITERATOR_HELPER: true, LOCALE_NUMERALS_BN: false, OBJECT_ARRAY_ENTRIES_CTOR: false },
|
|
2321
|
+
attributes: { 'locale-numerals-ext-restriction': null },
|
|
2264
2322
|
},
|
|
2265
2323
|
};
|
|
2266
2324
|
(function ()
|
|
@@ -2274,19 +2332,31 @@
|
|
|
2274
2332
|
function (compatibility)
|
|
2275
2333
|
{
|
|
2276
2334
|
var family = compatibility.family;
|
|
2277
|
-
var
|
|
2278
|
-
var part =
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2335
|
+
var versions = compatibility.versions;
|
|
2336
|
+
var part =
|
|
2337
|
+
versions.map
|
|
2338
|
+
(
|
|
2339
|
+
function (version)
|
|
2340
|
+
{
|
|
2341
|
+
var versionText;
|
|
2342
|
+
if (typeof version === 'string')
|
|
2343
|
+
versionText = version;
|
|
2344
|
+
else
|
|
2345
|
+
{
|
|
2346
|
+
var from = version.from;
|
|
2347
|
+
var to = version.to;
|
|
2348
|
+
if (to != null)
|
|
2349
|
+
versionText = from + ' to ' + to;
|
|
2350
|
+
else
|
|
2351
|
+
{
|
|
2352
|
+
versionText = from;
|
|
2353
|
+
appendix = ' or later';
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
return family + ' ' + versionText;
|
|
2357
|
+
}
|
|
2358
|
+
)
|
|
2359
|
+
.join(' and ');
|
|
2290
2360
|
var tag = compatibility.tag;
|
|
2291
2361
|
if (tag != null)
|
|
2292
2362
|
part += ' ' + tag;
|
|
@@ -3185,6 +3255,7 @@
|
|
|
3185
3255
|
var CALL_ON_GLOBAL = Feature.CALL_ON_GLOBAL;
|
|
3186
3256
|
var CAPITAL_HTML = Feature.CAPITAL_HTML;
|
|
3187
3257
|
var CONSOLE = Feature.CONSOLE;
|
|
3258
|
+
var CREATE_ELEMENT = Feature.CREATE_ELEMENT;
|
|
3188
3259
|
var DOCUMENT = Feature.DOCUMENT;
|
|
3189
3260
|
var DOMWINDOW = Feature.DOMWINDOW;
|
|
3190
3261
|
var ESC_HTML_ALL = Feature.ESC_HTML_ALL;
|
|
@@ -3195,6 +3266,7 @@
|
|
|
3195
3266
|
var FF_SRC = Feature.FF_SRC;
|
|
3196
3267
|
var FILL = Feature.FILL;
|
|
3197
3268
|
var FLAT = Feature.FLAT;
|
|
3269
|
+
var FORMS = Feature.FORMS;
|
|
3198
3270
|
var FROM_CODE_POINT = Feature.FROM_CODE_POINT;
|
|
3199
3271
|
var FUNCTION_19_LF = Feature.FUNCTION_19_LF;
|
|
3200
3272
|
var FUNCTION_22_LF = Feature.FUNCTION_22_LF;
|
|
@@ -3210,11 +3282,13 @@
|
|
|
3210
3282
|
var JAPANESE_INFINITY = Feature.JAPANESE_INFINITY;
|
|
3211
3283
|
var LOCALE_INFINITY = Feature.LOCALE_INFINITY;
|
|
3212
3284
|
var LOCALE_NUMERALS = Feature.LOCALE_NUMERALS;
|
|
3285
|
+
var LOCALE_NUMERALS_BN = Feature.LOCALE_NUMERALS_BN;
|
|
3213
3286
|
var LOCALE_NUMERALS_EXT = Feature.LOCALE_NUMERALS_EXT;
|
|
3214
3287
|
var LOCATION = Feature.LOCATION;
|
|
3215
3288
|
var MOZILLA = Feature.MOZILLA;
|
|
3216
3289
|
var NAME = Feature.NAME;
|
|
3217
3290
|
var NODECONSTRUCTOR = Feature.NODECONSTRUCTOR;
|
|
3291
|
+
var NODE_NAME = Feature.NODE_NAME;
|
|
3218
3292
|
var NO_FF_SRC = Feature.NO_FF_SRC;
|
|
3219
3293
|
var NO_IE_SRC = Feature.NO_IE_SRC;
|
|
3220
3294
|
var NO_OLD_SAFARI_ARRAY_ITERATOR = Feature.NO_OLD_SAFARI_ARRAY_ITERATOR;
|
|
@@ -3598,7 +3672,7 @@
|
|
|
3598
3672
|
],
|
|
3599
3673
|
'#':
|
|
3600
3674
|
[
|
|
3601
|
-
define('document.nodeName[0]',
|
|
3675
|
+
define('document.nodeName[0]', NODE_NAME),
|
|
3602
3676
|
defineCharDefault(),
|
|
3603
3677
|
],
|
|
3604
3678
|
// '$'
|
|
@@ -3742,9 +3816,9 @@
|
|
|
3742
3816
|
],
|
|
3743
3817
|
'H':
|
|
3744
3818
|
[
|
|
3745
|
-
define('(RP_3_WA + document.createElement(false))[11]', ANY_DOCUMENT),
|
|
3746
3819
|
define('btoa(true)[1]', ATOB),
|
|
3747
3820
|
define('"".link()[3]', CAPITAL_HTML),
|
|
3821
|
+
define('(RP_3_WA + document.forms)[11]', FORMS),
|
|
3748
3822
|
define
|
|
3749
3823
|
({ expr: '(RP_3_WA + Function("return history")())[11]', optimize: true }, HISTORY),
|
|
3750
3824
|
define('(RP_1_WA + Audio)[10]', HTMLAUDIOELEMENT),
|
|
@@ -3765,9 +3839,9 @@
|
|
|
3765
3839
|
],
|
|
3766
3840
|
'L':
|
|
3767
3841
|
[
|
|
3768
|
-
define('(RP_0_S + document.createElement(false))[11]', ANY_DOCUMENT),
|
|
3769
3842
|
define('btoa(".")[0]', ATOB),
|
|
3770
3843
|
define('(RP_3_WA + "".fontcolor())[11]', CAPITAL_HTML),
|
|
3844
|
+
define('(RP_0_S + document.forms)[11]', FORMS),
|
|
3771
3845
|
define('(RP_0_S + Audio)[12]', HTMLAUDIOELEMENT),
|
|
3772
3846
|
define
|
|
3773
3847
|
(
|
|
@@ -3814,10 +3888,10 @@
|
|
|
3814
3888
|
],
|
|
3815
3889
|
'M':
|
|
3816
3890
|
[
|
|
3817
|
-
define('(RP_0_S + document.createElement(false))[10]', ANY_DOCUMENT),
|
|
3818
3891
|
define('btoa(0)[0]', ATOB),
|
|
3819
3892
|
define('"".small()[2]', CAPITAL_HTML),
|
|
3820
3893
|
define('(RP_0_S + self)[10]', DOMWINDOW),
|
|
3894
|
+
define('(RP_0_S + document.forms)[10]', FORMS),
|
|
3821
3895
|
define('(RP_4_A + Date())[30]', GMT),
|
|
3822
3896
|
define('(RP_0_S + Audio)[11]', HTMLAUDIOELEMENT),
|
|
3823
3897
|
define('USER_AGENT[0]', MOZILLA),
|
|
@@ -3874,6 +3948,7 @@
|
|
|
3874
3948
|
),
|
|
3875
3949
|
define('btoa(NaN)[0]', ATOB),
|
|
3876
3950
|
define('"".fontcolor([])[20]', CAPITAL_HTML),
|
|
3951
|
+
define('(RP_1_WA + document.forms)[10]', FORMS),
|
|
3877
3952
|
define('(RP_3_WA + Date())[30]', GMT),
|
|
3878
3953
|
define('(RP_0_S + Audio)[10]', HTMLAUDIOELEMENT),
|
|
3879
3954
|
defineCharDefault({ atob: false }),
|
|
@@ -3905,8 +3980,8 @@
|
|
|
3905
3980
|
'V':
|
|
3906
3981
|
[
|
|
3907
3982
|
define('"v"[TO_UPPER_CASE]()'),
|
|
3908
|
-
define('(RP_0_S + document.createElement("video"))[12]', ANY_DOCUMENT),
|
|
3909
3983
|
define('btoa(undefined)[10]', ATOB),
|
|
3984
|
+
define('(RP_0_S + document.createElement("video"))[12]', CREATE_ELEMENT),
|
|
3910
3985
|
defineCharDefault({ atob: false }),
|
|
3911
3986
|
],
|
|
3912
3987
|
'W':
|
|
@@ -5465,7 +5540,7 @@
|
|
|
5465
5540
|
useLocaleNumeralDefinition('ر', '"ar"', NaN, 4, LOCALE_NUMERALS_EXT);
|
|
5466
5541
|
useLocaleNumeralDefinition('ق', '"ar"', NaN, 5, LOCALE_NUMERALS_EXT);
|
|
5467
5542
|
useLocaleNumeralDefinition('م', '"ar"', NaN, 6, LOCALE_NUMERALS_EXT);
|
|
5468
|
-
useLocaleNumeralDigitDefinitions('"bn"', 0x09e6,
|
|
5543
|
+
useLocaleNumeralDigitDefinitions('"bn"', 0x09e6, LOCALE_NUMERALS_BN);
|
|
5469
5544
|
useLocaleNumeralDigitDefinitions('"fa"', 0x06f0);
|
|
5470
5545
|
useLocaleNumeralDefinition('٬', '"fa"', 1000, 1);
|
|
5471
5546
|
useLocaleNumeralDefinition('ن', '"fa"', NaN, 0, LOCALE_NUMERALS_EXT);
|
|
@@ -6129,7 +6204,7 @@
|
|
|
6129
6204
|
this._optimizerList = optimizerList;
|
|
6130
6205
|
this._screwMode = screwMode;
|
|
6131
6206
|
this._solutions = [];
|
|
6132
|
-
this._length = -
|
|
6207
|
+
this._length = -3;
|
|
6133
6208
|
}
|
|
6134
6209
|
|
|
6135
6210
|
assignNoEnum$1
|