jscrewit 2.39.0 → 2.41.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 +60 -16
- package/api-doc/interfaces/FeatureConstructor.md +105 -33
- 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 +47 -15
- package/lib/jscrewit.d.ts +3 -3
- package/lib/jscrewit.js +178 -74
- package/lib/jscrewit.min.js +2 -2
- package/package.json +1 -1
- 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.41.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;
|
|
@@ -1468,28 +1466,39 @@
|
|
|
1468
1466
|
return available;
|
|
1469
1467
|
},
|
|
1470
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
|
+
},
|
|
1471
1479
|
LOCALE_NUMERALS_EXT:
|
|
1472
1480
|
{
|
|
1473
1481
|
description:
|
|
1474
1482
|
'Extended localized number formatting.\n' +
|
|
1475
1483
|
'This includes all features of LOCALE_NUMERALS plus the output of the first three ' +
|
|
1476
|
-
'letters in the second word of the Arabic string representation of NaN ("رقم"),
|
|
1477
|
-
'
|
|
1478
|
-
'
|
|
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 ("ناعدد").',
|
|
1479
1487
|
check:
|
|
1480
1488
|
function ()
|
|
1481
1489
|
{
|
|
1482
1490
|
var available =
|
|
1483
1491
|
checkLocaleNumeral('ar', NaN, /^ليس.رقم/) &&
|
|
1484
1492
|
checkLocaleNumeral('ar-td', 234567890.1, /^٢٣٤٬?٥٦٧٬?٨٩٠٫١/) &&
|
|
1485
|
-
checkLocaleNumeral('bn', 1234567890, /^১,২৩,৪৫,৬৭,৮৯০/) &&
|
|
1486
1493
|
checkLocaleNumeral('fa', 1234567890, /^۱٬۲۳۴٬۵۶۷٬۸۹۰/) &&
|
|
1487
1494
|
checkLocaleNumeral('fa', NaN, /^ناعد/) &&
|
|
1488
1495
|
checkLocaleNumeral('ru', NaN, /^не.число/);
|
|
1489
1496
|
return available;
|
|
1490
1497
|
},
|
|
1491
|
-
includes:
|
|
1498
|
+
includes: ['LOCALE_NUMERALS'],
|
|
1499
|
+
attributes: { 'web-worker': 'locale-numerals-ext-restriction' },
|
|
1492
1500
|
},
|
|
1501
|
+
|
|
1493
1502
|
LOCATION:
|
|
1494
1503
|
{
|
|
1495
1504
|
description:
|
|
@@ -1807,6 +1816,7 @@
|
|
|
1807
1816
|
'HISTORY',
|
|
1808
1817
|
'INCR_CHAR',
|
|
1809
1818
|
'INTL',
|
|
1819
|
+
'ITERATOR_HELPER',
|
|
1810
1820
|
'JAPANESE_INFINITY',
|
|
1811
1821
|
'LOCALE_INFINITY',
|
|
1812
1822
|
'LOCALE_NUMERALS_EXT',
|
|
@@ -1821,9 +1831,10 @@
|
|
|
1821
1831
|
],
|
|
1822
1832
|
attributes:
|
|
1823
1833
|
{
|
|
1824
|
-
'char-increment-restriction':
|
|
1825
|
-
'
|
|
1826
|
-
'
|
|
1834
|
+
'char-increment-restriction': null,
|
|
1835
|
+
'locale-numerals-ext-restriction': null,
|
|
1836
|
+
'non-ie-restriction': null,
|
|
1837
|
+
'web-worker-restriction': null,
|
|
1827
1838
|
},
|
|
1828
1839
|
},
|
|
1829
1840
|
ANDRO_4_0:
|
|
@@ -1852,7 +1863,7 @@
|
|
|
1852
1863
|
ANDRO_4_1:
|
|
1853
1864
|
{
|
|
1854
1865
|
inherits: 'ANDRO_4_0',
|
|
1855
|
-
versions: [
|
|
1866
|
+
versions: ['4.1-4.3'],
|
|
1856
1867
|
includes: { CALL_ON_GLOBAL: false, GENERIC_ARRAY_TO_STRING: true, OBJECT_UNDEFINED: true },
|
|
1857
1868
|
},
|
|
1858
1869
|
ANDRO_4_4:
|
|
@@ -1866,6 +1877,7 @@
|
|
|
1866
1877
|
HTMLAUDIOELEMENT: true,
|
|
1867
1878
|
JAPANESE_INFINITY: true,
|
|
1868
1879
|
LOCALE_INFINITY: true,
|
|
1880
|
+
LOCALE_NUMERALS_BN: true,
|
|
1869
1881
|
LOCALE_NUMERALS_EXT: true,
|
|
1870
1882
|
PLAIN_INTL: true,
|
|
1871
1883
|
SHORT_LOCALES: true,
|
|
@@ -1891,7 +1903,7 @@
|
|
|
1891
1903
|
CHROME_122:
|
|
1892
1904
|
{
|
|
1893
1905
|
families: ['Chrome', 'Edge', 'Opera'],
|
|
1894
|
-
versions: [
|
|
1906
|
+
versions: ['122-', '122-', '108-'],
|
|
1895
1907
|
includes:
|
|
1896
1908
|
[
|
|
1897
1909
|
'ANY_DOCUMENT',
|
|
@@ -1916,6 +1928,7 @@
|
|
|
1916
1928
|
'ITERATOR_HELPER',
|
|
1917
1929
|
'JAPANESE_INFINITY',
|
|
1918
1930
|
'LOCALE_INFINITY',
|
|
1931
|
+
'LOCALE_NUMERALS_BN',
|
|
1919
1932
|
'LOCALE_NUMERALS_EXT',
|
|
1920
1933
|
'LOCATION',
|
|
1921
1934
|
'MOZILLA',
|
|
@@ -1942,17 +1955,17 @@
|
|
|
1942
1955
|
FF_PREV:
|
|
1943
1956
|
{
|
|
1944
1957
|
description: describeEngine('the previous to current version of Firefox'),
|
|
1945
|
-
aliasFor: '
|
|
1958
|
+
aliasFor: 'FF_134',
|
|
1946
1959
|
},
|
|
1947
1960
|
FF:
|
|
1948
1961
|
{
|
|
1949
1962
|
description: describeEngine('the current stable version of Firefox'),
|
|
1950
|
-
aliasFor: '
|
|
1963
|
+
aliasFor: 'FF_134',
|
|
1951
1964
|
},
|
|
1952
1965
|
FF_90:
|
|
1953
1966
|
{
|
|
1954
1967
|
families: ['Firefox'],
|
|
1955
|
-
versions: [
|
|
1968
|
+
versions: ['90-130'],
|
|
1956
1969
|
includes:
|
|
1957
1970
|
[
|
|
1958
1971
|
'ANY_DOCUMENT',
|
|
@@ -1977,6 +1990,7 @@
|
|
|
1977
1990
|
'INTL',
|
|
1978
1991
|
'JAPANESE_INFINITY',
|
|
1979
1992
|
'LOCALE_INFINITY',
|
|
1993
|
+
'LOCALE_NUMERALS_BN',
|
|
1980
1994
|
'LOCALE_NUMERALS_EXT',
|
|
1981
1995
|
'LOCATION',
|
|
1982
1996
|
'MOZILLA',
|
|
@@ -1999,9 +2013,15 @@
|
|
|
1999
2013
|
FF_131:
|
|
2000
2014
|
{
|
|
2001
2015
|
inherits: 'FF_90',
|
|
2002
|
-
versions: [
|
|
2016
|
+
versions: ['131-133'],
|
|
2003
2017
|
includes: { ITERATOR_HELPER: true, OBJECT_ARRAY_ENTRIES_CTOR: false },
|
|
2004
2018
|
},
|
|
2019
|
+
FF_134:
|
|
2020
|
+
{
|
|
2021
|
+
inherits: 'FF_131',
|
|
2022
|
+
versions: ['134-'],
|
|
2023
|
+
includes: { SHORT_LOCALES: false },
|
|
2024
|
+
},
|
|
2005
2025
|
IE_9:
|
|
2006
2026
|
{
|
|
2007
2027
|
families: ['Internet Explorer'],
|
|
@@ -2053,7 +2073,12 @@
|
|
|
2053
2073
|
compatibilityTag: 'on Windows 10',
|
|
2054
2074
|
compatibilityShortTag: 'W10',
|
|
2055
2075
|
includes:
|
|
2056
|
-
{
|
|
2076
|
+
{
|
|
2077
|
+
LOCALE_INFINITY: true,
|
|
2078
|
+
LOCALE_NUMERALS: false,
|
|
2079
|
+
LOCALE_NUMERALS_BN: true,
|
|
2080
|
+
LOCALE_NUMERALS_EXT: true,
|
|
2081
|
+
},
|
|
2057
2082
|
},
|
|
2058
2083
|
NODE_0_10:
|
|
2059
2084
|
{
|
|
@@ -2095,13 +2120,13 @@
|
|
|
2095
2120
|
NODE_5:
|
|
2096
2121
|
{
|
|
2097
2122
|
inherits: 'NODE_4',
|
|
2098
|
-
versions: [
|
|
2123
|
+
versions: ['5-7.5'],
|
|
2099
2124
|
attributes: { 'char-increment-restriction': null },
|
|
2100
2125
|
},
|
|
2101
2126
|
NODE_7_6:
|
|
2102
2127
|
{
|
|
2103
2128
|
inherits: 'NODE_5',
|
|
2104
|
-
versions: [
|
|
2129
|
+
versions: ['7.6-9'],
|
|
2105
2130
|
includes: { ASYNC_FUNCTION: true },
|
|
2106
2131
|
},
|
|
2107
2132
|
NODE_10:
|
|
@@ -2125,8 +2150,8 @@
|
|
|
2125
2150
|
NODE_13:
|
|
2126
2151
|
{
|
|
2127
2152
|
inherits: 'NODE_12',
|
|
2128
|
-
versions: [
|
|
2129
|
-
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 },
|
|
2130
2155
|
},
|
|
2131
2156
|
NODE_15:
|
|
2132
2157
|
{
|
|
@@ -2137,21 +2162,27 @@
|
|
|
2137
2162
|
NODE_16_0:
|
|
2138
2163
|
{
|
|
2139
2164
|
inherits: 'NODE_15',
|
|
2140
|
-
versions: [
|
|
2165
|
+
versions: ['16.0-16.5'],
|
|
2141
2166
|
includes: { ATOB: true },
|
|
2142
2167
|
},
|
|
2143
2168
|
NODE_16_6:
|
|
2144
2169
|
{
|
|
2145
2170
|
inherits: 'NODE_16_0',
|
|
2146
|
-
versions: [
|
|
2171
|
+
versions: ['16.6-21'],
|
|
2147
2172
|
includes: { AT: true },
|
|
2148
2173
|
},
|
|
2149
2174
|
NODE_22:
|
|
2150
2175
|
{
|
|
2151
2176
|
inherits: 'NODE_16_6',
|
|
2152
|
-
versions: [
|
|
2177
|
+
versions: ['22.0-22.11|23.0-23.2'],
|
|
2153
2178
|
includes: { ITERATOR_HELPER: true, OBJECT_ARRAY_ENTRIES_CTOR: false },
|
|
2154
2179
|
},
|
|
2180
|
+
NODE_22_12:
|
|
2181
|
+
{
|
|
2182
|
+
inherits: 'NODE_22',
|
|
2183
|
+
versions: ['22.12-22.14|23.3-'],
|
|
2184
|
+
includes: { SHORT_LOCALES: false },
|
|
2185
|
+
},
|
|
2155
2186
|
SAFARI_7_0:
|
|
2156
2187
|
{
|
|
2157
2188
|
families: ['Safari'],
|
|
@@ -2192,7 +2223,7 @@
|
|
|
2192
2223
|
SAFARI_7_1:
|
|
2193
2224
|
{
|
|
2194
2225
|
inherits: 'SAFARI_7_0',
|
|
2195
|
-
versions: [
|
|
2226
|
+
versions: ['7.1|8'],
|
|
2196
2227
|
includes: { ARRAY_ITERATOR: true, FILL: true },
|
|
2197
2228
|
attributes: { 'no-console-in-web-worker': undefined, 'safari-bug-21820506': null },
|
|
2198
2229
|
},
|
|
@@ -2218,6 +2249,7 @@
|
|
|
2218
2249
|
ARROW: true,
|
|
2219
2250
|
JAPANESE_INFINITY: true,
|
|
2220
2251
|
LOCALE_INFINITY: true,
|
|
2252
|
+
LOCALE_NUMERALS_BN: true,
|
|
2221
2253
|
LOCALE_NUMERALS_EXT: true,
|
|
2222
2254
|
NODECONSTRUCTOR: false,
|
|
2223
2255
|
OBJECT_L_LOCATION_CTOR: false,
|
|
@@ -2230,7 +2262,7 @@
|
|
|
2230
2262
|
SAFARI_10_1:
|
|
2231
2263
|
{
|
|
2232
2264
|
inherits: 'SAFARI_10_0',
|
|
2233
|
-
versions: [
|
|
2265
|
+
versions: ['10.1|11'],
|
|
2234
2266
|
includes: { ASYNC_FUNCTION: true },
|
|
2235
2267
|
},
|
|
2236
2268
|
SAFARI_12:
|
|
@@ -2242,43 +2274,51 @@
|
|
|
2242
2274
|
SAFARI_13:
|
|
2243
2275
|
{
|
|
2244
2276
|
inherits: 'SAFARI_12',
|
|
2245
|
-
versions: [
|
|
2277
|
+
versions: ['13|14.0.0'],
|
|
2246
2278
|
includes: { REGEXP_STRING_ITERATOR: true },
|
|
2247
2279
|
},
|
|
2248
2280
|
SAFARI_14_0_1:
|
|
2249
2281
|
{
|
|
2250
2282
|
inherits: 'SAFARI_13',
|
|
2251
|
-
versions: [
|
|
2283
|
+
versions: ['14.0.1-14.0.3'],
|
|
2252
2284
|
includes: { INTL: true, PLAIN_INTL: false },
|
|
2253
2285
|
},
|
|
2254
2286
|
SAFARI_14_1:
|
|
2255
2287
|
{
|
|
2256
2288
|
inherits: 'SAFARI_14_0_1',
|
|
2257
|
-
versions: [
|
|
2289
|
+
versions: ['14.1-15.3'],
|
|
2258
2290
|
includes: { CONSOLE: false },
|
|
2259
2291
|
},
|
|
2260
2292
|
SAFARI_15_4:
|
|
2261
2293
|
{
|
|
2262
2294
|
inherits: 'SAFARI_14_1',
|
|
2263
|
-
versions: [
|
|
2295
|
+
versions: ['15.4-17.3'],
|
|
2264
2296
|
includes: { AT: true },
|
|
2265
2297
|
},
|
|
2266
2298
|
SAFARI_17_4:
|
|
2267
2299
|
{
|
|
2268
2300
|
inherits: 'SAFARI_15_4',
|
|
2269
|
-
versions: [
|
|
2301
|
+
versions: ['17.4-17.6'],
|
|
2270
2302
|
includes: { FUNCTION_19_LF: true, FUNCTION_22_LF: false },
|
|
2271
2303
|
},
|
|
2304
|
+
SAFARI_18_0:
|
|
2305
|
+
{
|
|
2306
|
+
inherits: 'SAFARI_17_4',
|
|
2307
|
+
versions: ['18.0-18.3'],
|
|
2308
|
+
includes: { SHORT_LOCALES: false },
|
|
2309
|
+
},
|
|
2272
2310
|
SAFARI:
|
|
2273
2311
|
{
|
|
2274
2312
|
description: describeEngine('the current stable version of Safari'),
|
|
2275
|
-
aliasFor: '
|
|
2313
|
+
aliasFor: 'SAFARI_18_4',
|
|
2276
2314
|
},
|
|
2277
|
-
|
|
2315
|
+
SAFARI_18_4:
|
|
2278
2316
|
{
|
|
2279
|
-
inherits:
|
|
2280
|
-
versions:
|
|
2281
|
-
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 },
|
|
2282
2322
|
},
|
|
2283
2323
|
};
|
|
2284
2324
|
(function ()
|
|
@@ -2292,19 +2332,31 @@
|
|
|
2292
2332
|
function (compatibility)
|
|
2293
2333
|
{
|
|
2294
2334
|
var family = compatibility.family;
|
|
2295
|
-
var
|
|
2296
|
-
var part =
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
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 ');
|
|
2308
2360
|
var tag = compatibility.tag;
|
|
2309
2361
|
if (tag != null)
|
|
2310
2362
|
part += ' ' + tag;
|
|
@@ -3230,6 +3282,7 @@
|
|
|
3230
3282
|
var JAPANESE_INFINITY = Feature.JAPANESE_INFINITY;
|
|
3231
3283
|
var LOCALE_INFINITY = Feature.LOCALE_INFINITY;
|
|
3232
3284
|
var LOCALE_NUMERALS = Feature.LOCALE_NUMERALS;
|
|
3285
|
+
var LOCALE_NUMERALS_BN = Feature.LOCALE_NUMERALS_BN;
|
|
3233
3286
|
var LOCALE_NUMERALS_EXT = Feature.LOCALE_NUMERALS_EXT;
|
|
3234
3287
|
var LOCATION = Feature.LOCATION;
|
|
3235
3288
|
var MOZILLA = Feature.MOZILLA;
|
|
@@ -3427,8 +3480,8 @@
|
|
|
3427
3480
|
[
|
|
3428
3481
|
[
|
|
3429
3482
|
define('A'),
|
|
3430
|
-
define('D', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3431
3483
|
define('C', CAPITAL_HTML),
|
|
3484
|
+
define('D', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3432
3485
|
define('A', ARRAY_ITERATOR, CAPITAL_HTML),
|
|
3433
3486
|
define('A', ARRAY_ITERATOR, CALL_ON_GLOBAL, DOMWINDOW),
|
|
3434
3487
|
],
|
|
@@ -3444,9 +3497,14 @@
|
|
|
3444
3497
|
[
|
|
3445
3498
|
define('W'),
|
|
3446
3499
|
define('U', CAPITAL_HTML),
|
|
3447
|
-
define('W',
|
|
3448
|
-
define('
|
|
3449
|
-
define('
|
|
3500
|
+
define('W', ANY_WINDOW, CALL_ON_GLOBAL),
|
|
3501
|
+
define('U', CAPITAL_HTML, IE_SRC),
|
|
3502
|
+
define('W', CALL_ON_GLOBAL, CAPITAL_HTML, DOMWINDOW),
|
|
3503
|
+
define('U', ANY_WINDOW, CALL_ON_GLOBAL, CAPITAL_HTML, NO_IE_SRC),
|
|
3504
|
+
define('W', CALL_ON_GLOBAL, CAPITAL_HTML, OBJECT_W_SELF),
|
|
3505
|
+
define('W', CALL_ON_GLOBAL, CAPITAL_HTML, DOMWINDOW, NO_IE_SRC),
|
|
3506
|
+
define('U', ANY_WINDOW, ARRAY_ITERATOR, CALL_ON_GLOBAL, CAPITAL_HTML),
|
|
3507
|
+
define('U', ARRAY_ITERATOR, CALL_ON_GLOBAL, CAPITAL_HTML, OBJECT_W_SELF),
|
|
3450
3508
|
],
|
|
3451
3509
|
'a',
|
|
3452
3510
|
'false',
|
|
@@ -3535,7 +3593,13 @@
|
|
|
3535
3593
|
'0A',
|
|
3536
3594
|
[define('0B'), define('0R', CAPITAL_HTML), define('0B', ARRAY_ITERATOR)],
|
|
3537
3595
|
'0i',
|
|
3538
|
-
[
|
|
3596
|
+
[
|
|
3597
|
+
define('0j'),
|
|
3598
|
+
define('0T', CAPITAL_HTML),
|
|
3599
|
+
define('0j', ARRAY_ITERATOR),
|
|
3600
|
+
define('0D', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3601
|
+
define('0j', ARRAY_ITERATOR, CALL_ON_GLOBAL, DOMWINDOW),
|
|
3602
|
+
],
|
|
3539
3603
|
'00',
|
|
3540
3604
|
'01',
|
|
3541
3605
|
'02',
|
|
@@ -3739,6 +3803,8 @@
|
|
|
3739
3803
|
define('escape([[]][+(RP_0_S + AT)[0]] + AT)[61]', AT, NO_FF_SRC), // *
|
|
3740
3804
|
define('escape([NaN][+(RP_1_WA + AT)[20]] + AT)[61]', AT, NO_IE_SRC), // *
|
|
3741
3805
|
define('escape(true + AT)[50]', AT, V8_SRC),
|
|
3806
|
+
define('(RP_3_WA + "".slice.call())[11]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3807
|
+
define('"".sub.call()[13]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3742
3808
|
define('escape(FILL)[60]', FF_SRC, FILL),
|
|
3743
3809
|
define('escape(FLAT)[60]', FF_SRC, FLAT),
|
|
3744
3810
|
],
|
|
@@ -3842,6 +3908,8 @@
|
|
|
3842
3908
|
define('(RP_4_A + Date())[30]', GMT),
|
|
3843
3909
|
define('(RP_0_S + Audio)[11]', HTMLAUDIOELEMENT),
|
|
3844
3910
|
define('USER_AGENT[0]', MOZILLA),
|
|
3911
|
+
define('"".slice.call()[10]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3912
|
+
define('(RP_5_A + "".sub.call())[20]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3845
3913
|
],
|
|
3846
3914
|
'N': '"NaN"[0]',
|
|
3847
3915
|
'O':
|
|
@@ -3852,6 +3920,8 @@
|
|
|
3852
3920
|
define('"".fontcolor()[2]', CAPITAL_HTML),
|
|
3853
3921
|
define('(RP_1_WA + self)[10]', DOMWINDOW),
|
|
3854
3922
|
define('(RP_3_WA + Intl)[11]', PLAIN_INTL),
|
|
3923
|
+
define('(RP_1_WA + "".slice.call())[10]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3924
|
+
define('(RP_6_S + "".sub.call())[20]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
3855
3925
|
],
|
|
3856
3926
|
'P':
|
|
3857
3927
|
[
|
|
@@ -3939,6 +4009,23 @@
|
|
|
3939
4009
|
define('(RP_0_S + self)[11]', DOMWINDOW),
|
|
3940
4010
|
define('(RP_3_WA + self)[11]', OBJECT_W_SELF),
|
|
3941
4011
|
define('(self + RP_4_A).at("-11")', ANY_WINDOW, AT),
|
|
4012
|
+
define
|
|
4013
|
+
(
|
|
4014
|
+
'("".slice.call() + RP_4_A)[SLICE_OR_SUBSTR]("-11")[0]',
|
|
4015
|
+
ANY_WINDOW,
|
|
4016
|
+
CALL_ON_GLOBAL
|
|
4017
|
+
),
|
|
4018
|
+
define
|
|
4019
|
+
(
|
|
4020
|
+
'"".sub.call()[SLICE_OR_SUBSTR]("-13")[0]',
|
|
4021
|
+
ANY_WINDOW,
|
|
4022
|
+
CALL_ON_GLOBAL
|
|
4023
|
+
),
|
|
4024
|
+
define('"".slice.call()[11]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
4025
|
+
define('(RP_4_A + "".sub.call())[20]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
4026
|
+
define('(RP_3_WA + "".slice.call())[11]', CALL_ON_GLOBAL, WINDOW),
|
|
4027
|
+
define('"".sub.call()[13]', CALL_ON_GLOBAL, WINDOW),
|
|
4028
|
+
define('("".slice.call() + RP_4_A).at("-11")', ANY_WINDOW, AT, CALL_ON_GLOBAL),
|
|
3942
4029
|
defineCharDefault({ atob: false }),
|
|
3943
4030
|
],
|
|
3944
4031
|
'X':
|
|
@@ -4059,6 +4146,23 @@
|
|
|
4059
4146
|
define('(RP_4_A + self)[20]', DOMWINDOW),
|
|
4060
4147
|
define('(RP_0_S + self)[13]', WINDOW),
|
|
4061
4148
|
define('(self + RP_0_S).at("-2")', ANY_WINDOW, AT),
|
|
4149
|
+
define
|
|
4150
|
+
(
|
|
4151
|
+
'"".slice.call()[SLICE_OR_SUBSTR]("-2")[0]',
|
|
4152
|
+
ANY_WINDOW,
|
|
4153
|
+
CALL_ON_GLOBAL
|
|
4154
|
+
),
|
|
4155
|
+
define
|
|
4156
|
+
(
|
|
4157
|
+
'("".sub.call() + RP_3_WA)[SLICE_OR_SUBSTR]("-11")[0]',
|
|
4158
|
+
ANY_WINDOW,
|
|
4159
|
+
CALL_ON_GLOBAL
|
|
4160
|
+
),
|
|
4161
|
+
define('(RP_4_A + "".slice.call())[20]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
4162
|
+
define('"".sub.call()[21]', CALL_ON_GLOBAL, DOMWINDOW),
|
|
4163
|
+
define('"".slice.call()[13]', CALL_ON_GLOBAL, WINDOW),
|
|
4164
|
+
define('(RP_3_WA + "".sub.call())[21]', CALL_ON_GLOBAL, WINDOW),
|
|
4165
|
+
define('"".slice.call().at("-2")', ANY_WINDOW, AT, CALL_ON_GLOBAL),
|
|
4062
4166
|
],
|
|
4063
4167
|
'x':
|
|
4064
4168
|
[
|
|
@@ -4165,8 +4269,8 @@
|
|
|
4165
4269
|
],
|
|
4166
4270
|
'∞':
|
|
4167
4271
|
[
|
|
4168
|
-
define('Infinity[TO_LOCALE_STRING]()', LOCALE_INFINITY),
|
|
4169
4272
|
define('Infinity[TO_LOCALE_STRING]("ja")[SLICE_OR_SUBSTR]("-1")', JAPANESE_INFINITY),
|
|
4273
|
+
define('Infinity[TO_LOCALE_STRING]()', LOCALE_INFINITY),
|
|
4170
4274
|
define('Infinity[TO_LOCALE_STRING]("ja").at("-1")', JAPANESE_INFINITY, AT),
|
|
4171
4275
|
defineCharDefault(),
|
|
4172
4276
|
],
|
|
@@ -5487,7 +5591,7 @@
|
|
|
5487
5591
|
useLocaleNumeralDefinition('ر', '"ar"', NaN, 4, LOCALE_NUMERALS_EXT);
|
|
5488
5592
|
useLocaleNumeralDefinition('ق', '"ar"', NaN, 5, LOCALE_NUMERALS_EXT);
|
|
5489
5593
|
useLocaleNumeralDefinition('م', '"ar"', NaN, 6, LOCALE_NUMERALS_EXT);
|
|
5490
|
-
useLocaleNumeralDigitDefinitions('"bn"', 0x09e6,
|
|
5594
|
+
useLocaleNumeralDigitDefinitions('"bn"', 0x09e6, LOCALE_NUMERALS_BN);
|
|
5491
5595
|
useLocaleNumeralDigitDefinitions('"fa"', 0x06f0);
|
|
5492
5596
|
useLocaleNumeralDefinition('٬', '"fa"', 1000, 1);
|
|
5493
5597
|
useLocaleNumeralDefinition('ن', '"fa"', NaN, 0, LOCALE_NUMERALS_EXT);
|