jscrewit 2.35.2 → 2.37.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 +6 -2
- package/api-doc/README.md +8 -46
- package/api-doc/interfaces/FeatureAll.md +49 -18
- package/api-doc/interfaces/FeatureConstructor.md +62 -19
- package/lib/feature-all.d.ts +35 -17
- package/lib/jscrewit.js +53 -24
- package/lib/jscrewit.min.js +2 -2
- package/package.json +9 -5
- package/readme.md +4 -4
package/Features.md
CHANGED
|
@@ -6,7 +6,7 @@ This table lists features available in the most common engines.
|
|
|
6
6
|
<th>Features</th>
|
|
7
7
|
</tr>
|
|
8
8
|
<tr>
|
|
9
|
-
<td>Chrome
|
|
9
|
+
<td>Chrome 122+, Edge 122+, Opera 108+</td>
|
|
10
10
|
<td>
|
|
11
11
|
<ul>
|
|
12
12
|
<li><a href="api-doc/interfaces/FeatureAll.md#ANY_DOCUMENT"><code>ANY_DOCUMENT</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#HTMLDOCUMENT"><code>HTMLDOCUMENT</code></a>)
|
|
@@ -84,6 +84,7 @@ This table lists features available in the most common engines.
|
|
|
84
84
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_IE_SRC"><code>NO_IE_SRC</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#FF_SRC"><code>FF_SRC</code></a>)
|
|
85
85
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a>
|
|
86
86
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_V8_SRC"><code>NO_V8_SRC</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#FF_SRC"><code>FF_SRC</code></a>)
|
|
87
|
+
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_ARRAY_ENTRIES_CTOR"><code>OBJECT_ARRAY_ENTRIES_CTOR</code></a>
|
|
87
88
|
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_UNDEFINED"><code>OBJECT_UNDEFINED</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#GLOBAL_UNDEFINED"><code>GLOBAL_UNDEFINED</code></a>)
|
|
88
89
|
<li><a href="api-doc/interfaces/FeatureAll.md#REGEXP_STRING_ITERATOR"><code>REGEXP_STRING_ITERATOR</code></a>
|
|
89
90
|
<li><a href="api-doc/interfaces/FeatureAll.md#SELF_OBJ"><code>SELF_OBJ</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#ANY_WINDOW"><code>ANY_WINDOW</code></a> and <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
|
|
@@ -151,7 +152,8 @@ This table lists features available in the most common engines.
|
|
|
151
152
|
<li><a href="api-doc/interfaces/FeatureAll.md#FILL"><code>FILL</code></a> (Safari 7.1+)
|
|
152
153
|
<li><a href="api-doc/interfaces/FeatureAll.md#FLAT"><code>FLAT</code></a> (Safari 12+)
|
|
153
154
|
<li><a href="api-doc/interfaces/FeatureAll.md#FROM_CODE_POINT"><code>FROM_CODE_POINT</code></a> (Safari 9+)
|
|
154
|
-
<li><a href="api-doc/interfaces/FeatureAll.md#
|
|
155
|
+
<li><a href="api-doc/interfaces/FeatureAll.md#FUNCTION_19_LF"><code>FUNCTION_19_LF</code></a> (Safari 17.4+)
|
|
156
|
+
<li><a href="api-doc/interfaces/FeatureAll.md#FUNCTION_22_LF"><code>FUNCTION_22_LF</code></a> (Safari 9+, not in Safari 17.4+)
|
|
155
157
|
<li><a href="api-doc/interfaces/FeatureAll.md#GENERIC_ARRAY_TO_STRING"><code>GENERIC_ARRAY_TO_STRING</code></a>
|
|
156
158
|
<li><a href="api-doc/interfaces/FeatureAll.md#GLOBAL_UNDEFINED"><code>GLOBAL_UNDEFINED</code></a>
|
|
157
159
|
<li><a href="api-doc/interfaces/FeatureAll.md#GMT"><code>GMT</code></a>
|
|
@@ -168,6 +170,7 @@ This table lists features available in the most common engines.
|
|
|
168
170
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_IE_SRC"><code>NO_IE_SRC</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#FF_SRC"><code>FF_SRC</code></a>)
|
|
169
171
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a> (Safari 9+)
|
|
170
172
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_V8_SRC"><code>NO_V8_SRC</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#FF_SRC"><code>FF_SRC</code></a>)
|
|
173
|
+
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_ARRAY_ENTRIES_CTOR"><code>OBJECT_ARRAY_ENTRIES_CTOR</code></a> (Safari 9+)
|
|
171
174
|
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_L_LOCATION_CTOR"><code>OBJECT_L_LOCATION_CTOR</code></a> (not in Safari 10+)
|
|
172
175
|
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_UNDEFINED"><code>OBJECT_UNDEFINED</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#GLOBAL_UNDEFINED"><code>GLOBAL_UNDEFINED</code></a>)
|
|
173
176
|
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_CTOR"><code>OBJECT_W_CTOR</code></a> (not in Safari 10+)
|
|
@@ -250,6 +253,7 @@ This table lists features available in the most common engines.
|
|
|
250
253
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_FF_SRC"><code>NO_FF_SRC</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#V8_SRC"><code>V8_SRC</code></a>)
|
|
251
254
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_IE_SRC"><code>NO_IE_SRC</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#V8_SRC"><code>V8_SRC</code></a>)
|
|
252
255
|
<li><a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a> (Node.js 0.12+)
|
|
256
|
+
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_ARRAY_ENTRIES_CTOR"><code>OBJECT_ARRAY_ENTRIES_CTOR</code></a> (Node.js 0.12+, not in Node.js 22+)
|
|
253
257
|
<li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_UNDEFINED"><code>OBJECT_UNDEFINED</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#GLOBAL_UNDEFINED"><code>GLOBAL_UNDEFINED</code></a>)
|
|
254
258
|
<li><a href="api-doc/interfaces/FeatureAll.md#PLAIN_INTL"><code>PLAIN_INTL</code></a> (Node.js 0.12+, not in Node.js 15+)
|
|
255
259
|
<li><a href="api-doc/interfaces/FeatureAll.md#REGEXP_STRING_ITERATOR"><code>REGEXP_STRING_ITERATOR</code></a> (Node.js 12+)
|
package/api-doc/README.md
CHANGED
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
|
|
25
25
|
### Variables
|
|
26
26
|
|
|
27
|
+
- [Feature](README.md#feature)
|
|
27
28
|
- [default](README.md#default)
|
|
28
29
|
|
|
29
30
|
### Functions
|
|
30
31
|
|
|
31
|
-
- [Feature](README.md#feature)
|
|
32
32
|
- [encode](README.md#encode)
|
|
33
33
|
|
|
34
34
|
## Type Aliases
|
|
35
35
|
|
|
36
36
|
### ElementaryFeatureName
|
|
37
37
|
|
|
38
|
-
Ƭ **ElementaryFeatureName**: ``"ANY_DOCUMENT"`` \| ``"ANY_WINDOW"`` \| ``"ARRAY_ITERATOR"`` \| ``"ARROW"`` \| ``"AT"`` \| ``"ATOB"`` \| ``"BARPROP"`` \| ``"CAPITAL_HTML"`` \| ``"CONSOLE"`` \| ``"DOCUMENT"`` \| ``"DOMWINDOW"`` \| ``"ESC_HTML_ALL"`` \| ``"ESC_HTML_QUOT"`` \| ``"ESC_HTML_QUOT_ONLY"`` \| ``"ESC_REGEXP_LF"`` \| ``"ESC_REGEXP_SLASH"`` \| ``"FF_SRC"`` \| ``"FILL"`` \| ``"FLAT"`` \| ``"FROM_CODE_POINT"`` \| ``"FUNCTION_19_LF"`` \| ``"FUNCTION_22_LF"`` \| ``"GENERIC_ARRAY_TO_STRING"`` \| ``"GLOBAL_UNDEFINED"`` \| ``"GMT"`` \| ``"HISTORY"`` \| ``"HTMLAUDIOELEMENT"`` \| ``"HTMLDOCUMENT"`` \| ``"IE_SRC"`` \| ``"INCR_CHAR"`` \| ``"INTL"`` \| ``"LOCALE_INFINITY"`` \| ``"LOCALE_NUMERALS"`` \| ``"LOCALE_NUMERALS_EXT"`` \| ``"LOCATION"`` \| ``"NAME"`` \| ``"NODECONSTRUCTOR"`` \| ``"NO_FF_SRC"`` \| ``"NO_IE_SRC"`` \| ``"NO_OLD_SAFARI_ARRAY_ITERATOR"`` \| ``"NO_V8_SRC"`` \| ``"OBJECT_L_LOCATION_CTOR"`` \| ``"OBJECT_UNDEFINED"`` \| ``"OBJECT_W_CTOR"`` \| ``"OLD_SAFARI_LOCATION_CTOR"`` \| ``"PLAIN_INTL"`` \| ``"REGEXP_STRING_ITERATOR"`` \| ``"SELF_OBJ"`` \| ``"SHORT_LOCALES"`` \| ``"STATUS"`` \| ``"UNDEFINED"`` \| ``"V8_SRC"`` \| ``"WINDOW"``
|
|
38
|
+
Ƭ **ElementaryFeatureName**: ``"ANY_DOCUMENT"`` \| ``"ANY_WINDOW"`` \| ``"ARRAY_ITERATOR"`` \| ``"ARROW"`` \| ``"AT"`` \| ``"ATOB"`` \| ``"BARPROP"`` \| ``"CAPITAL_HTML"`` \| ``"CONSOLE"`` \| ``"DOCUMENT"`` \| ``"DOMWINDOW"`` \| ``"ESC_HTML_ALL"`` \| ``"ESC_HTML_QUOT"`` \| ``"ESC_HTML_QUOT_ONLY"`` \| ``"ESC_REGEXP_LF"`` \| ``"ESC_REGEXP_SLASH"`` \| ``"FF_SRC"`` \| ``"FILL"`` \| ``"FLAT"`` \| ``"FROM_CODE_POINT"`` \| ``"FUNCTION_19_LF"`` \| ``"FUNCTION_22_LF"`` \| ``"GENERIC_ARRAY_TO_STRING"`` \| ``"GLOBAL_UNDEFINED"`` \| ``"GMT"`` \| ``"HISTORY"`` \| ``"HTMLAUDIOELEMENT"`` \| ``"HTMLDOCUMENT"`` \| ``"IE_SRC"`` \| ``"INCR_CHAR"`` \| ``"INTL"`` \| ``"LOCALE_INFINITY"`` \| ``"LOCALE_NUMERALS"`` \| ``"LOCALE_NUMERALS_EXT"`` \| ``"LOCATION"`` \| ``"NAME"`` \| ``"NODECONSTRUCTOR"`` \| ``"NO_FF_SRC"`` \| ``"NO_IE_SRC"`` \| ``"NO_OLD_SAFARI_ARRAY_ITERATOR"`` \| ``"NO_V8_SRC"`` \| ``"OBJECT_ARRAY_ENTRIES_CTOR"`` \| ``"OBJECT_L_LOCATION_CTOR"`` \| ``"OBJECT_UNDEFINED"`` \| ``"OBJECT_W_CTOR"`` \| ``"OLD_SAFARI_LOCATION_CTOR"`` \| ``"PLAIN_INTL"`` \| ``"REGEXP_STRING_ITERATOR"`` \| ``"SELF_OBJ"`` \| ``"SHORT_LOCALES"`` \| ``"STATUS"`` \| ``"UNDEFINED"`` \| ``"V8_SRC"`` \| ``"WINDOW"``
|
|
39
39
|
|
|
40
40
|
Name of an elementary feature.
|
|
41
41
|
|
|
@@ -71,7 +71,7 @@ ___
|
|
|
71
71
|
|
|
72
72
|
### PredefinedFeatureName
|
|
73
73
|
|
|
74
|
-
Ƭ **PredefinedFeatureName**: [`ElementaryFeatureName`](README.md#elementaryfeaturename) \| ``"ANDRO_4_0"`` \| ``"ANDRO_4_1"`` \| ``"ANDRO_4_4"`` \| ``"AUTO"`` \| ``"BROWSER"`` \| ``"
|
|
74
|
+
Ƭ **PredefinedFeatureName**: [`ElementaryFeatureName`](README.md#elementaryfeaturename) \| ``"ANDRO_4_0"`` \| ``"ANDRO_4_1"`` \| ``"ANDRO_4_4"`` \| ``"AUTO"`` \| ``"BROWSER"`` \| ``"CHROME_122"`` \| ``"COMPACT"`` \| ``"DEFAULT"`` \| ``"FF_90"`` \| ``"IE_10"`` \| ``"IE_11"`` \| ``"IE_11_WIN_10"`` \| ``"IE_9"`` \| ``"NODE_0_10"`` \| ``"NODE_0_12"`` \| ``"NODE_10"`` \| ``"NODE_11"`` \| ``"NODE_12"`` \| ``"NODE_13"`` \| ``"NODE_15"`` \| ``"NODE_16_0"`` \| ``"NODE_16_6"`` \| ``"NODE_22"`` \| ``"NODE_4"`` \| ``"NODE_5"`` \| ``"SAFARI_10"`` \| ``"SAFARI_12"`` \| ``"SAFARI_13"`` \| ``"SAFARI_14_0_1"`` \| ``"SAFARI_14_1"`` \| ``"SAFARI_15_4"`` \| ``"SAFARI_17_4"`` \| ``"SAFARI_7_0"`` \| ``"SAFARI_7_1"`` \| ``"SAFARI_9"``
|
|
75
75
|
|
|
76
76
|
Name of a predefined feature.
|
|
77
77
|
|
|
@@ -86,55 +86,17 @@ See [`EncodeOptions.runAs`](interfaces/EncodeOptions.md#runas) for the meaning o
|
|
|
86
86
|
|
|
87
87
|
## Variables
|
|
88
88
|
|
|
89
|
-
### default
|
|
90
|
-
|
|
91
|
-
• **default**: [`default`](interfaces/default.md)
|
|
92
|
-
|
|
93
|
-
## Functions
|
|
94
|
-
|
|
95
89
|
### Feature
|
|
96
90
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Creates a new feature object from the union of the specified features.
|
|
100
|
-
|
|
101
|
-
The constructor can be used with or without the `new` operator, e.g.
|
|
102
|
-
`new JScrewIt.Feature(feature1, feature2)` or `JScrewIt.Feature(feature1, feature2)`.
|
|
103
|
-
If no arguments are specified, the new feature object will be equivalent to
|
|
104
|
-
[`DEFAULT`](interfaces/FeatureAll.md#default).
|
|
105
|
-
|
|
106
|
-
#### Parameters
|
|
107
|
-
|
|
108
|
-
| Name | Type |
|
|
109
|
-
| :------ | :------ |
|
|
110
|
-
| `...features` | [`FeatureElementOrCompatibleArray`](README.md#featureelementorcompatiblearray)[] |
|
|
91
|
+
• **Feature**: [`FeatureConstructor`](interfaces/FeatureConstructor.md)
|
|
111
92
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
[`CustomFeature`](interfaces/CustomFeature.md)
|
|
115
|
-
|
|
116
|
-
**`Example`**
|
|
117
|
-
|
|
118
|
-
The following statements are equivalent, and will all construct a new feature object
|
|
119
|
-
including both [`ANY_DOCUMENT`](interfaces/FeatureAll.md#any_document) and [`ANY_WINDOW`](interfaces/FeatureConstructor.md#any_window).
|
|
120
|
-
|
|
121
|
-
```js
|
|
122
|
-
new JScrewIt.Feature("ANY_DOCUMENT", "ANY_WINDOW");
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
```js
|
|
126
|
-
new JScrewIt.Feature(JScrewIt.Feature.ANY_DOCUMENT, JScrewIt.Feature.ANY_WINDOW);
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
```js
|
|
130
|
-
new JScrewIt.Feature([JScrewIt.Feature.ANY_DOCUMENT, JScrewIt.Feature.ANY_WINDOW]);
|
|
131
|
-
```
|
|
93
|
+
___
|
|
132
94
|
|
|
133
|
-
|
|
95
|
+
### default
|
|
134
96
|
|
|
135
|
-
|
|
97
|
+
• **default**: [`default`](interfaces/default.md)
|
|
136
98
|
|
|
137
|
-
|
|
99
|
+
## Functions
|
|
138
100
|
|
|
139
101
|
### encode
|
|
140
102
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
- [BROWSER](FeatureAll.md#browser)
|
|
25
25
|
- [CAPITAL\_HTML](FeatureAll.md#capital_html)
|
|
26
26
|
- [CHROME](FeatureAll.md#chrome)
|
|
27
|
-
- [CHROME\
|
|
27
|
+
- [CHROME\_122](FeatureAll.md#chrome_122)
|
|
28
28
|
- [CHROME\_PREV](FeatureAll.md#chrome_prev)
|
|
29
29
|
- [COMPACT](FeatureAll.md#compact)
|
|
30
30
|
- [CONSOLE](FeatureAll.md#console)
|
|
@@ -74,12 +74,14 @@
|
|
|
74
74
|
- [NODE\_15](FeatureAll.md#node_15)
|
|
75
75
|
- [NODE\_16\_0](FeatureAll.md#node_16_0)
|
|
76
76
|
- [NODE\_16\_6](FeatureAll.md#node_16_6)
|
|
77
|
+
- [NODE\_22](FeatureAll.md#node_22)
|
|
77
78
|
- [NODE\_4](FeatureAll.md#node_4)
|
|
78
79
|
- [NODE\_5](FeatureAll.md#node_5)
|
|
79
80
|
- [NO\_FF\_SRC](FeatureAll.md#no_ff_src)
|
|
80
81
|
- [NO\_IE\_SRC](FeatureAll.md#no_ie_src)
|
|
81
82
|
- [NO\_OLD\_SAFARI\_ARRAY\_ITERATOR](FeatureAll.md#no_old_safari_array_iterator)
|
|
82
83
|
- [NO\_V8\_SRC](FeatureAll.md#no_v8_src)
|
|
84
|
+
- [OBJECT\_ARRAY\_ENTRIES\_CTOR](FeatureAll.md#object_array_entries_ctor)
|
|
83
85
|
- [OBJECT\_L\_LOCATION\_CTOR](FeatureAll.md#object_l_location_ctor)
|
|
84
86
|
- [OBJECT\_UNDEFINED](FeatureAll.md#object_undefined)
|
|
85
87
|
- [OBJECT\_W\_CTOR](FeatureAll.md#object_w_ctor)
|
|
@@ -93,6 +95,7 @@
|
|
|
93
95
|
- [SAFARI\_14\_0\_1](FeatureAll.md#safari_14_0_1)
|
|
94
96
|
- [SAFARI\_14\_1](FeatureAll.md#safari_14_1)
|
|
95
97
|
- [SAFARI\_15\_4](FeatureAll.md#safari_15_4)
|
|
98
|
+
- [SAFARI\_17\_4](FeatureAll.md#safari_17_4)
|
|
96
99
|
- [SAFARI\_7\_0](FeatureAll.md#safari_7_0)
|
|
97
100
|
- [SAFARI\_7\_1](FeatureAll.md#safari_7_1)
|
|
98
101
|
- [SAFARI\_9](FeatureAll.md#safari_9)
|
|
@@ -250,19 +253,19 @@ ___
|
|
|
250
253
|
|
|
251
254
|
Features available in the current stable versions of Chrome, Edge and Opera.
|
|
252
255
|
|
|
253
|
-
An alias for `
|
|
256
|
+
An alias for `CHROME_122`.
|
|
254
257
|
|
|
255
258
|
___
|
|
256
259
|
|
|
257
|
-
### CHROME\
|
|
260
|
+
### CHROME\_122
|
|
258
261
|
|
|
259
|
-
• **CHROME\
|
|
262
|
+
• **CHROME\_122**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
260
263
|
|
|
261
|
-
Features available in Chrome
|
|
264
|
+
Features available in Chrome 122, Edge 122 and Opera 108 or later.
|
|
262
265
|
|
|
263
266
|
**`Remarks`**
|
|
264
267
|
|
|
265
|
-
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `
|
|
268
|
+
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `CHROME_122` for long term support.
|
|
266
269
|
|
|
267
270
|
**`See`**
|
|
268
271
|
|
|
@@ -276,7 +279,7 @@ ___
|
|
|
276
279
|
|
|
277
280
|
Features available in the previous to current versions of Chrome and Edge.
|
|
278
281
|
|
|
279
|
-
An alias for `
|
|
282
|
+
An alias for `CHROME_122`.
|
|
280
283
|
|
|
281
284
|
___
|
|
282
285
|
|
|
@@ -286,7 +289,7 @@ ___
|
|
|
286
289
|
|
|
287
290
|
All new browsers' features.
|
|
288
291
|
|
|
289
|
-
No support for Node.js and older browsers like Internet Explorer, Safari
|
|
292
|
+
No support for Node.js and older browsers like Internet Explorer, Safari 17.3 or Android Browser.
|
|
290
293
|
|
|
291
294
|
___
|
|
292
295
|
|
|
@@ -500,7 +503,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
500
503
|
|
|
501
504
|
**`Remarks`**
|
|
502
505
|
|
|
503
|
-
Available in Chrome, Edge, Firefox, Opera, and Node.js 10+.
|
|
506
|
+
Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+.
|
|
504
507
|
|
|
505
508
|
___
|
|
506
509
|
|
|
@@ -512,7 +515,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
512
515
|
|
|
513
516
|
**`Remarks`**
|
|
514
517
|
|
|
515
|
-
Available in Internet Explorer, Safari 9
|
|
518
|
+
Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10.
|
|
516
519
|
|
|
517
520
|
___
|
|
518
521
|
|
|
@@ -802,7 +805,15 @@ ___
|
|
|
802
805
|
|
|
803
806
|
• **NODE\_16\_6**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
804
807
|
|
|
805
|
-
Features available in Node.js 16.6
|
|
808
|
+
Features available in Node.js 16.6 to 21.
|
|
809
|
+
|
|
810
|
+
___
|
|
811
|
+
|
|
812
|
+
### NODE\_22
|
|
813
|
+
|
|
814
|
+
• **NODE\_22**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
815
|
+
|
|
816
|
+
Features available in Node.js 22 or later.
|
|
806
817
|
|
|
807
818
|
___
|
|
808
819
|
|
|
@@ -852,7 +863,7 @@ ___
|
|
|
852
863
|
|
|
853
864
|
• **NO\_OLD\_SAFARI\_ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
854
865
|
|
|
855
|
-
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]"
|
|
866
|
+
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
856
867
|
|
|
857
868
|
**`Remarks`**
|
|
858
869
|
|
|
@@ -874,11 +885,23 @@ Available in Firefox, Internet Explorer, and Safari.
|
|
|
874
885
|
|
|
875
886
|
___
|
|
876
887
|
|
|
888
|
+
### OBJECT\_ARRAY\_ENTRIES\_CTOR
|
|
889
|
+
|
|
890
|
+
• **OBJECT\_ARRAY\_ENTRIES\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
891
|
+
|
|
892
|
+
The property that the Array.prototype.entries\(\).constructor is the Object constructor.
|
|
893
|
+
|
|
894
|
+
**`Remarks`**
|
|
895
|
+
|
|
896
|
+
Available in Firefox, Safari 9+, and Node.js 0.12+ before 22.
|
|
897
|
+
|
|
898
|
+
___
|
|
899
|
+
|
|
877
900
|
### OBJECT\_L\_LOCATION\_CTOR
|
|
878
901
|
|
|
879
902
|
• **OBJECT\_L\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
880
903
|
|
|
881
|
-
Existence of the global function location.constructor whose string representation starts with "\[object L"
|
|
904
|
+
Existence of the global function location.constructor whose string representation starts with "\[object L".
|
|
882
905
|
|
|
883
906
|
**`Remarks`**
|
|
884
907
|
|
|
@@ -902,7 +925,7 @@ ___
|
|
|
902
925
|
|
|
903
926
|
• **OBJECT\_W\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
904
927
|
|
|
905
|
-
The property that the string representation of the global object constructor starts with "\[object W"
|
|
928
|
+
The property that the string representation of the global object constructor starts with "\[object W".
|
|
906
929
|
|
|
907
930
|
**`Remarks`**
|
|
908
931
|
|
|
@@ -914,7 +937,7 @@ ___
|
|
|
914
937
|
|
|
915
938
|
• **OLD\_SAFARI\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
916
939
|
|
|
917
|
-
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]"
|
|
940
|
+
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]".
|
|
918
941
|
|
|
919
942
|
**`Remarks`**
|
|
920
943
|
|
|
@@ -926,7 +949,7 @@ ___
|
|
|
926
949
|
|
|
927
950
|
• **PLAIN\_INTL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
928
951
|
|
|
929
|
-
Existence of the global object Intl having the string representation "\[object Object\]"
|
|
952
|
+
Existence of the global object Intl having the string representation "\[object Object\]".
|
|
930
953
|
|
|
931
954
|
**`Remarks`**
|
|
932
955
|
|
|
@@ -952,7 +975,7 @@ ___
|
|
|
952
975
|
|
|
953
976
|
Features available in the current stable version of Safari.
|
|
954
977
|
|
|
955
|
-
An alias for `
|
|
978
|
+
An alias for `SAFARI_17_4`.
|
|
956
979
|
|
|
957
980
|
___
|
|
958
981
|
|
|
@@ -1000,7 +1023,15 @@ ___
|
|
|
1000
1023
|
|
|
1001
1024
|
• **SAFARI\_15\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1002
1025
|
|
|
1003
|
-
Features available in Safari 15.4
|
|
1026
|
+
Features available in Safari 15.4 to 17.3.
|
|
1027
|
+
|
|
1028
|
+
___
|
|
1029
|
+
|
|
1030
|
+
### SAFARI\_17\_4
|
|
1031
|
+
|
|
1032
|
+
• **SAFARI\_17\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1033
|
+
|
|
1034
|
+
Features available in Safari 17.4 or later.
|
|
1004
1035
|
|
|
1005
1036
|
___
|
|
1006
1037
|
|
|
@@ -73,7 +73,7 @@ An error is thrown if any of the specified features are not mutually compatible.
|
|
|
73
73
|
- [BROWSER](FeatureConstructor.md#browser)
|
|
74
74
|
- [CAPITAL\_HTML](FeatureConstructor.md#capital_html)
|
|
75
75
|
- [CHROME](FeatureConstructor.md#chrome)
|
|
76
|
-
- [CHROME\
|
|
76
|
+
- [CHROME\_122](FeatureConstructor.md#chrome_122)
|
|
77
77
|
- [CHROME\_PREV](FeatureConstructor.md#chrome_prev)
|
|
78
78
|
- [COMPACT](FeatureConstructor.md#compact)
|
|
79
79
|
- [CONSOLE](FeatureConstructor.md#console)
|
|
@@ -124,12 +124,14 @@ An error is thrown if any of the specified features are not mutually compatible.
|
|
|
124
124
|
- [NODE\_15](FeatureConstructor.md#node_15)
|
|
125
125
|
- [NODE\_16\_0](FeatureConstructor.md#node_16_0)
|
|
126
126
|
- [NODE\_16\_6](FeatureConstructor.md#node_16_6)
|
|
127
|
+
- [NODE\_22](FeatureConstructor.md#node_22)
|
|
127
128
|
- [NODE\_4](FeatureConstructor.md#node_4)
|
|
128
129
|
- [NODE\_5](FeatureConstructor.md#node_5)
|
|
129
130
|
- [NO\_FF\_SRC](FeatureConstructor.md#no_ff_src)
|
|
130
131
|
- [NO\_IE\_SRC](FeatureConstructor.md#no_ie_src)
|
|
131
132
|
- [NO\_OLD\_SAFARI\_ARRAY\_ITERATOR](FeatureConstructor.md#no_old_safari_array_iterator)
|
|
132
133
|
- [NO\_V8\_SRC](FeatureConstructor.md#no_v8_src)
|
|
134
|
+
- [OBJECT\_ARRAY\_ENTRIES\_CTOR](FeatureConstructor.md#object_array_entries_ctor)
|
|
133
135
|
- [OBJECT\_L\_LOCATION\_CTOR](FeatureConstructor.md#object_l_location_ctor)
|
|
134
136
|
- [OBJECT\_UNDEFINED](FeatureConstructor.md#object_undefined)
|
|
135
137
|
- [OBJECT\_W\_CTOR](FeatureConstructor.md#object_w_ctor)
|
|
@@ -143,6 +145,7 @@ An error is thrown if any of the specified features are not mutually compatible.
|
|
|
143
145
|
- [SAFARI\_14\_0\_1](FeatureConstructor.md#safari_14_0_1)
|
|
144
146
|
- [SAFARI\_14\_1](FeatureConstructor.md#safari_14_1)
|
|
145
147
|
- [SAFARI\_15\_4](FeatureConstructor.md#safari_15_4)
|
|
148
|
+
- [SAFARI\_17\_4](FeatureConstructor.md#safari_17_4)
|
|
146
149
|
- [SAFARI\_7\_0](FeatureConstructor.md#safari_7_0)
|
|
147
150
|
- [SAFARI\_7\_1](FeatureConstructor.md#safari_7_1)
|
|
148
151
|
- [SAFARI\_9](FeatureConstructor.md#safari_9)
|
|
@@ -429,7 +432,7 @@ ___
|
|
|
429
432
|
|
|
430
433
|
Features available in the current stable versions of Chrome, Edge and Opera.
|
|
431
434
|
|
|
432
|
-
An alias for `
|
|
435
|
+
An alias for `CHROME_122`.
|
|
433
436
|
|
|
434
437
|
#### Inherited from
|
|
435
438
|
|
|
@@ -437,15 +440,15 @@ An alias for `CHROME_92`.
|
|
|
437
440
|
|
|
438
441
|
___
|
|
439
442
|
|
|
440
|
-
### CHROME\
|
|
443
|
+
### CHROME\_122
|
|
441
444
|
|
|
442
|
-
• **CHROME\
|
|
445
|
+
• **CHROME\_122**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
443
446
|
|
|
444
|
-
Features available in Chrome
|
|
447
|
+
Features available in Chrome 122, Edge 122 and Opera 108 or later.
|
|
445
448
|
|
|
446
449
|
**`Remarks`**
|
|
447
450
|
|
|
448
|
-
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `
|
|
451
|
+
This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `CHROME_122` for long term support.
|
|
449
452
|
|
|
450
453
|
**`See`**
|
|
451
454
|
|
|
@@ -453,7 +456,7 @@ This feature may be replaced or removed in the near future when current browser
|
|
|
453
456
|
|
|
454
457
|
#### Inherited from
|
|
455
458
|
|
|
456
|
-
[FeatureAll](FeatureAll.md).[
|
|
459
|
+
[FeatureAll](FeatureAll.md).[CHROME_122](FeatureAll.md#chrome_122)
|
|
457
460
|
|
|
458
461
|
___
|
|
459
462
|
|
|
@@ -463,7 +466,7 @@ ___
|
|
|
463
466
|
|
|
464
467
|
Features available in the previous to current versions of Chrome and Edge.
|
|
465
468
|
|
|
466
|
-
An alias for `
|
|
469
|
+
An alias for `CHROME_122`.
|
|
467
470
|
|
|
468
471
|
#### Inherited from
|
|
469
472
|
|
|
@@ -477,7 +480,7 @@ ___
|
|
|
477
480
|
|
|
478
481
|
All new browsers' features.
|
|
479
482
|
|
|
480
|
-
No support for Node.js and older browsers like Internet Explorer, Safari
|
|
483
|
+
No support for Node.js and older browsers like Internet Explorer, Safari 17.3 or Android Browser.
|
|
481
484
|
|
|
482
485
|
#### Inherited from
|
|
483
486
|
|
|
@@ -771,7 +774,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
771
774
|
|
|
772
775
|
**`Remarks`**
|
|
773
776
|
|
|
774
|
-
Available in Chrome, Edge, Firefox, Opera, and Node.js 10+.
|
|
777
|
+
Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+.
|
|
775
778
|
|
|
776
779
|
#### Inherited from
|
|
777
780
|
|
|
@@ -787,7 +790,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
787
790
|
|
|
788
791
|
**`Remarks`**
|
|
789
792
|
|
|
790
|
-
Available in Internet Explorer, Safari 9
|
|
793
|
+
Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10.
|
|
791
794
|
|
|
792
795
|
#### Inherited from
|
|
793
796
|
|
|
@@ -1189,7 +1192,7 @@ ___
|
|
|
1189
1192
|
|
|
1190
1193
|
• **NODE\_16\_6**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1191
1194
|
|
|
1192
|
-
Features available in Node.js 16.6
|
|
1195
|
+
Features available in Node.js 16.6 to 21.
|
|
1193
1196
|
|
|
1194
1197
|
#### Inherited from
|
|
1195
1198
|
|
|
@@ -1197,6 +1200,18 @@ Features available in Node.js 16.6 or later.
|
|
|
1197
1200
|
|
|
1198
1201
|
___
|
|
1199
1202
|
|
|
1203
|
+
### NODE\_22
|
|
1204
|
+
|
|
1205
|
+
• **NODE\_22**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1206
|
+
|
|
1207
|
+
Features available in Node.js 22 or later.
|
|
1208
|
+
|
|
1209
|
+
#### Inherited from
|
|
1210
|
+
|
|
1211
|
+
[FeatureAll](FeatureAll.md).[NODE_22](FeatureAll.md#node_22)
|
|
1212
|
+
|
|
1213
|
+
___
|
|
1214
|
+
|
|
1200
1215
|
### NODE\_4
|
|
1201
1216
|
|
|
1202
1217
|
• **NODE\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
@@ -1259,7 +1274,7 @@ ___
|
|
|
1259
1274
|
|
|
1260
1275
|
• **NO\_OLD\_SAFARI\_ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1261
1276
|
|
|
1262
|
-
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]"
|
|
1277
|
+
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
1263
1278
|
|
|
1264
1279
|
**`Remarks`**
|
|
1265
1280
|
|
|
@@ -1289,11 +1304,27 @@ Available in Firefox, Internet Explorer, and Safari.
|
|
|
1289
1304
|
|
|
1290
1305
|
___
|
|
1291
1306
|
|
|
1307
|
+
### OBJECT\_ARRAY\_ENTRIES\_CTOR
|
|
1308
|
+
|
|
1309
|
+
• **OBJECT\_ARRAY\_ENTRIES\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1310
|
+
|
|
1311
|
+
The property that the Array.prototype.entries\(\).constructor is the Object constructor.
|
|
1312
|
+
|
|
1313
|
+
**`Remarks`**
|
|
1314
|
+
|
|
1315
|
+
Available in Firefox, Safari 9+, and Node.js 0.12+ before 22.
|
|
1316
|
+
|
|
1317
|
+
#### Inherited from
|
|
1318
|
+
|
|
1319
|
+
[FeatureAll](FeatureAll.md).[OBJECT_ARRAY_ENTRIES_CTOR](FeatureAll.md#object_array_entries_ctor)
|
|
1320
|
+
|
|
1321
|
+
___
|
|
1322
|
+
|
|
1292
1323
|
### OBJECT\_L\_LOCATION\_CTOR
|
|
1293
1324
|
|
|
1294
1325
|
• **OBJECT\_L\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1295
1326
|
|
|
1296
|
-
Existence of the global function location.constructor whose string representation starts with "\[object L"
|
|
1327
|
+
Existence of the global function location.constructor whose string representation starts with "\[object L".
|
|
1297
1328
|
|
|
1298
1329
|
**`Remarks`**
|
|
1299
1330
|
|
|
@@ -1325,7 +1356,7 @@ ___
|
|
|
1325
1356
|
|
|
1326
1357
|
• **OBJECT\_W\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1327
1358
|
|
|
1328
|
-
The property that the string representation of the global object constructor starts with "\[object W"
|
|
1359
|
+
The property that the string representation of the global object constructor starts with "\[object W".
|
|
1329
1360
|
|
|
1330
1361
|
**`Remarks`**
|
|
1331
1362
|
|
|
@@ -1341,7 +1372,7 @@ ___
|
|
|
1341
1372
|
|
|
1342
1373
|
• **OLD\_SAFARI\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1343
1374
|
|
|
1344
|
-
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]"
|
|
1375
|
+
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]".
|
|
1345
1376
|
|
|
1346
1377
|
**`Remarks`**
|
|
1347
1378
|
|
|
@@ -1357,7 +1388,7 @@ ___
|
|
|
1357
1388
|
|
|
1358
1389
|
• **PLAIN\_INTL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1359
1390
|
|
|
1360
|
-
Existence of the global object Intl having the string representation "\[object Object\]"
|
|
1391
|
+
Existence of the global object Intl having the string representation "\[object Object\]".
|
|
1361
1392
|
|
|
1362
1393
|
**`Remarks`**
|
|
1363
1394
|
|
|
@@ -1391,7 +1422,7 @@ ___
|
|
|
1391
1422
|
|
|
1392
1423
|
Features available in the current stable version of Safari.
|
|
1393
1424
|
|
|
1394
|
-
An alias for `
|
|
1425
|
+
An alias for `SAFARI_17_4`.
|
|
1395
1426
|
|
|
1396
1427
|
#### Inherited from
|
|
1397
1428
|
|
|
@@ -1463,7 +1494,7 @@ ___
|
|
|
1463
1494
|
|
|
1464
1495
|
• **SAFARI\_15\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1465
1496
|
|
|
1466
|
-
Features available in Safari 15.4
|
|
1497
|
+
Features available in Safari 15.4 to 17.3.
|
|
1467
1498
|
|
|
1468
1499
|
#### Inherited from
|
|
1469
1500
|
|
|
@@ -1471,6 +1502,18 @@ Features available in Safari 15.4 or later.
|
|
|
1471
1502
|
|
|
1472
1503
|
___
|
|
1473
1504
|
|
|
1505
|
+
### SAFARI\_17\_4
|
|
1506
|
+
|
|
1507
|
+
• **SAFARI\_17\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1508
|
+
|
|
1509
|
+
Features available in Safari 17.4 or later.
|
|
1510
|
+
|
|
1511
|
+
#### Inherited from
|
|
1512
|
+
|
|
1513
|
+
[FeatureAll](FeatureAll.md).[SAFARI_17_4](FeatureAll.md#safari_17_4)
|
|
1514
|
+
|
|
1515
|
+
___
|
|
1516
|
+
|
|
1474
1517
|
### SAFARI\_7\_0
|
|
1475
1518
|
|
|
1476
1519
|
• **SAFARI\_7\_0**: [`PredefinedFeature`](PredefinedFeature.md)
|