jscrewit 2.35.2 → 2.36.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 +38 -16
- package/api-doc/interfaces/FeatureConstructor.md +47 -17
- package/lib/feature-all.d.ts +29 -15
- package/lib/jscrewit.js +40 -21
- package/lib/jscrewit.min.js +2 -2
- package/package.json +2 -2
- 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+)
|
|
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_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)
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
- [NO\_IE\_SRC](FeatureAll.md#no_ie_src)
|
|
81
81
|
- [NO\_OLD\_SAFARI\_ARRAY\_ITERATOR](FeatureAll.md#no_old_safari_array_iterator)
|
|
82
82
|
- [NO\_V8\_SRC](FeatureAll.md#no_v8_src)
|
|
83
|
+
- [OBJECT\_ARRAY\_ENTRIES\_CTOR](FeatureAll.md#object_array_entries_ctor)
|
|
83
84
|
- [OBJECT\_L\_LOCATION\_CTOR](FeatureAll.md#object_l_location_ctor)
|
|
84
85
|
- [OBJECT\_UNDEFINED](FeatureAll.md#object_undefined)
|
|
85
86
|
- [OBJECT\_W\_CTOR](FeatureAll.md#object_w_ctor)
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
- [SAFARI\_14\_0\_1](FeatureAll.md#safari_14_0_1)
|
|
94
95
|
- [SAFARI\_14\_1](FeatureAll.md#safari_14_1)
|
|
95
96
|
- [SAFARI\_15\_4](FeatureAll.md#safari_15_4)
|
|
97
|
+
- [SAFARI\_17\_4](FeatureAll.md#safari_17_4)
|
|
96
98
|
- [SAFARI\_7\_0](FeatureAll.md#safari_7_0)
|
|
97
99
|
- [SAFARI\_7\_1](FeatureAll.md#safari_7_1)
|
|
98
100
|
- [SAFARI\_9](FeatureAll.md#safari_9)
|
|
@@ -250,19 +252,19 @@ ___
|
|
|
250
252
|
|
|
251
253
|
Features available in the current stable versions of Chrome, Edge and Opera.
|
|
252
254
|
|
|
253
|
-
An alias for `
|
|
255
|
+
An alias for `CHROME_122`.
|
|
254
256
|
|
|
255
257
|
___
|
|
256
258
|
|
|
257
|
-
### CHROME\
|
|
259
|
+
### CHROME\_122
|
|
258
260
|
|
|
259
|
-
• **CHROME\
|
|
261
|
+
• **CHROME\_122**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
260
262
|
|
|
261
|
-
Features available in Chrome
|
|
263
|
+
Features available in Chrome 122, Edge 122 and Opera 108 or later.
|
|
262
264
|
|
|
263
265
|
**`Remarks`**
|
|
264
266
|
|
|
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 `
|
|
267
|
+
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
268
|
|
|
267
269
|
**`See`**
|
|
268
270
|
|
|
@@ -276,7 +278,7 @@ ___
|
|
|
276
278
|
|
|
277
279
|
Features available in the previous to current versions of Chrome and Edge.
|
|
278
280
|
|
|
279
|
-
An alias for `
|
|
281
|
+
An alias for `CHROME_122`.
|
|
280
282
|
|
|
281
283
|
___
|
|
282
284
|
|
|
@@ -500,7 +502,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
500
502
|
|
|
501
503
|
**`Remarks`**
|
|
502
504
|
|
|
503
|
-
Available in Chrome, Edge, Firefox, Opera, and Node.js 10+.
|
|
505
|
+
Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+.
|
|
504
506
|
|
|
505
507
|
___
|
|
506
508
|
|
|
@@ -512,7 +514,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
512
514
|
|
|
513
515
|
**`Remarks`**
|
|
514
516
|
|
|
515
|
-
Available in Internet Explorer, Safari 9
|
|
517
|
+
Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10.
|
|
516
518
|
|
|
517
519
|
___
|
|
518
520
|
|
|
@@ -852,7 +854,7 @@ ___
|
|
|
852
854
|
|
|
853
855
|
• **NO\_OLD\_SAFARI\_ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
854
856
|
|
|
855
|
-
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]"
|
|
857
|
+
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
856
858
|
|
|
857
859
|
**`Remarks`**
|
|
858
860
|
|
|
@@ -874,11 +876,23 @@ Available in Firefox, Internet Explorer, and Safari.
|
|
|
874
876
|
|
|
875
877
|
___
|
|
876
878
|
|
|
879
|
+
### OBJECT\_ARRAY\_ENTRIES\_CTOR
|
|
880
|
+
|
|
881
|
+
• **OBJECT\_ARRAY\_ENTRIES\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
882
|
+
|
|
883
|
+
The property that the Array.prototype.entries\(\).constructor is the Object constructor.
|
|
884
|
+
|
|
885
|
+
**`Remarks`**
|
|
886
|
+
|
|
887
|
+
Available in Firefox, Safari 9+, and Node.js 0.12+.
|
|
888
|
+
|
|
889
|
+
___
|
|
890
|
+
|
|
877
891
|
### OBJECT\_L\_LOCATION\_CTOR
|
|
878
892
|
|
|
879
893
|
• **OBJECT\_L\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
880
894
|
|
|
881
|
-
Existence of the global function location.constructor whose string representation starts with "\[object L"
|
|
895
|
+
Existence of the global function location.constructor whose string representation starts with "\[object L".
|
|
882
896
|
|
|
883
897
|
**`Remarks`**
|
|
884
898
|
|
|
@@ -902,7 +916,7 @@ ___
|
|
|
902
916
|
|
|
903
917
|
• **OBJECT\_W\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
904
918
|
|
|
905
|
-
The property that the string representation of the global object constructor starts with "\[object W"
|
|
919
|
+
The property that the string representation of the global object constructor starts with "\[object W".
|
|
906
920
|
|
|
907
921
|
**`Remarks`**
|
|
908
922
|
|
|
@@ -914,7 +928,7 @@ ___
|
|
|
914
928
|
|
|
915
929
|
• **OLD\_SAFARI\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
916
930
|
|
|
917
|
-
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]"
|
|
931
|
+
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]".
|
|
918
932
|
|
|
919
933
|
**`Remarks`**
|
|
920
934
|
|
|
@@ -926,7 +940,7 @@ ___
|
|
|
926
940
|
|
|
927
941
|
• **PLAIN\_INTL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
928
942
|
|
|
929
|
-
Existence of the global object Intl having the string representation "\[object Object\]"
|
|
943
|
+
Existence of the global object Intl having the string representation "\[object Object\]".
|
|
930
944
|
|
|
931
945
|
**`Remarks`**
|
|
932
946
|
|
|
@@ -952,7 +966,7 @@ ___
|
|
|
952
966
|
|
|
953
967
|
Features available in the current stable version of Safari.
|
|
954
968
|
|
|
955
|
-
An alias for `
|
|
969
|
+
An alias for `SAFARI_17_4`.
|
|
956
970
|
|
|
957
971
|
___
|
|
958
972
|
|
|
@@ -1000,7 +1014,15 @@ ___
|
|
|
1000
1014
|
|
|
1001
1015
|
• **SAFARI\_15\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1002
1016
|
|
|
1003
|
-
Features available in Safari 15.4
|
|
1017
|
+
Features available in Safari 15.4 to 17.3.
|
|
1018
|
+
|
|
1019
|
+
___
|
|
1020
|
+
|
|
1021
|
+
### SAFARI\_17\_4
|
|
1022
|
+
|
|
1023
|
+
• **SAFARI\_17\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1024
|
+
|
|
1025
|
+
Features available in Safari 17.4 or later.
|
|
1004
1026
|
|
|
1005
1027
|
___
|
|
1006
1028
|
|
|
@@ -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)
|
|
@@ -130,6 +130,7 @@ An error is thrown if any of the specified features are not mutually compatible.
|
|
|
130
130
|
- [NO\_IE\_SRC](FeatureConstructor.md#no_ie_src)
|
|
131
131
|
- [NO\_OLD\_SAFARI\_ARRAY\_ITERATOR](FeatureConstructor.md#no_old_safari_array_iterator)
|
|
132
132
|
- [NO\_V8\_SRC](FeatureConstructor.md#no_v8_src)
|
|
133
|
+
- [OBJECT\_ARRAY\_ENTRIES\_CTOR](FeatureConstructor.md#object_array_entries_ctor)
|
|
133
134
|
- [OBJECT\_L\_LOCATION\_CTOR](FeatureConstructor.md#object_l_location_ctor)
|
|
134
135
|
- [OBJECT\_UNDEFINED](FeatureConstructor.md#object_undefined)
|
|
135
136
|
- [OBJECT\_W\_CTOR](FeatureConstructor.md#object_w_ctor)
|
|
@@ -143,6 +144,7 @@ An error is thrown if any of the specified features are not mutually compatible.
|
|
|
143
144
|
- [SAFARI\_14\_0\_1](FeatureConstructor.md#safari_14_0_1)
|
|
144
145
|
- [SAFARI\_14\_1](FeatureConstructor.md#safari_14_1)
|
|
145
146
|
- [SAFARI\_15\_4](FeatureConstructor.md#safari_15_4)
|
|
147
|
+
- [SAFARI\_17\_4](FeatureConstructor.md#safari_17_4)
|
|
146
148
|
- [SAFARI\_7\_0](FeatureConstructor.md#safari_7_0)
|
|
147
149
|
- [SAFARI\_7\_1](FeatureConstructor.md#safari_7_1)
|
|
148
150
|
- [SAFARI\_9](FeatureConstructor.md#safari_9)
|
|
@@ -429,7 +431,7 @@ ___
|
|
|
429
431
|
|
|
430
432
|
Features available in the current stable versions of Chrome, Edge and Opera.
|
|
431
433
|
|
|
432
|
-
An alias for `
|
|
434
|
+
An alias for `CHROME_122`.
|
|
433
435
|
|
|
434
436
|
#### Inherited from
|
|
435
437
|
|
|
@@ -437,15 +439,15 @@ An alias for `CHROME_92`.
|
|
|
437
439
|
|
|
438
440
|
___
|
|
439
441
|
|
|
440
|
-
### CHROME\
|
|
442
|
+
### CHROME\_122
|
|
441
443
|
|
|
442
|
-
• **CHROME\
|
|
444
|
+
• **CHROME\_122**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
443
445
|
|
|
444
|
-
Features available in Chrome
|
|
446
|
+
Features available in Chrome 122, Edge 122 and Opera 108 or later.
|
|
445
447
|
|
|
446
448
|
**`Remarks`**
|
|
447
449
|
|
|
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 `
|
|
450
|
+
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
451
|
|
|
450
452
|
**`See`**
|
|
451
453
|
|
|
@@ -453,7 +455,7 @@ This feature may be replaced or removed in the near future when current browser
|
|
|
453
455
|
|
|
454
456
|
#### Inherited from
|
|
455
457
|
|
|
456
|
-
[FeatureAll](FeatureAll.md).[
|
|
458
|
+
[FeatureAll](FeatureAll.md).[CHROME_122](FeatureAll.md#chrome_122)
|
|
457
459
|
|
|
458
460
|
___
|
|
459
461
|
|
|
@@ -463,7 +465,7 @@ ___
|
|
|
463
465
|
|
|
464
466
|
Features available in the previous to current versions of Chrome and Edge.
|
|
465
467
|
|
|
466
|
-
An alias for `
|
|
468
|
+
An alias for `CHROME_122`.
|
|
467
469
|
|
|
468
470
|
#### Inherited from
|
|
469
471
|
|
|
@@ -771,7 +773,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
771
773
|
|
|
772
774
|
**`Remarks`**
|
|
773
775
|
|
|
774
|
-
Available in Chrome, Edge, Firefox, Opera, and Node.js 10+.
|
|
776
|
+
Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+.
|
|
775
777
|
|
|
776
778
|
#### Inherited from
|
|
777
779
|
|
|
@@ -787,7 +789,7 @@ A string representation of dynamically generated functions where the character a
|
|
|
787
789
|
|
|
788
790
|
**`Remarks`**
|
|
789
791
|
|
|
790
|
-
Available in Internet Explorer, Safari 9
|
|
792
|
+
Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10.
|
|
791
793
|
|
|
792
794
|
#### Inherited from
|
|
793
795
|
|
|
@@ -1259,7 +1261,7 @@ ___
|
|
|
1259
1261
|
|
|
1260
1262
|
• **NO\_OLD\_SAFARI\_ARRAY\_ITERATOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1261
1263
|
|
|
1262
|
-
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]"
|
|
1264
|
+
The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
1263
1265
|
|
|
1264
1266
|
**`Remarks`**
|
|
1265
1267
|
|
|
@@ -1289,11 +1291,27 @@ Available in Firefox, Internet Explorer, and Safari.
|
|
|
1289
1291
|
|
|
1290
1292
|
___
|
|
1291
1293
|
|
|
1294
|
+
### OBJECT\_ARRAY\_ENTRIES\_CTOR
|
|
1295
|
+
|
|
1296
|
+
• **OBJECT\_ARRAY\_ENTRIES\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1297
|
+
|
|
1298
|
+
The property that the Array.prototype.entries\(\).constructor is the Object constructor.
|
|
1299
|
+
|
|
1300
|
+
**`Remarks`**
|
|
1301
|
+
|
|
1302
|
+
Available in Firefox, Safari 9+, and Node.js 0.12+.
|
|
1303
|
+
|
|
1304
|
+
#### Inherited from
|
|
1305
|
+
|
|
1306
|
+
[FeatureAll](FeatureAll.md).[OBJECT_ARRAY_ENTRIES_CTOR](FeatureAll.md#object_array_entries_ctor)
|
|
1307
|
+
|
|
1308
|
+
___
|
|
1309
|
+
|
|
1292
1310
|
### OBJECT\_L\_LOCATION\_CTOR
|
|
1293
1311
|
|
|
1294
1312
|
• **OBJECT\_L\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1295
1313
|
|
|
1296
|
-
Existence of the global function location.constructor whose string representation starts with "\[object L"
|
|
1314
|
+
Existence of the global function location.constructor whose string representation starts with "\[object L".
|
|
1297
1315
|
|
|
1298
1316
|
**`Remarks`**
|
|
1299
1317
|
|
|
@@ -1325,7 +1343,7 @@ ___
|
|
|
1325
1343
|
|
|
1326
1344
|
• **OBJECT\_W\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1327
1345
|
|
|
1328
|
-
The property that the string representation of the global object constructor starts with "\[object W"
|
|
1346
|
+
The property that the string representation of the global object constructor starts with "\[object W".
|
|
1329
1347
|
|
|
1330
1348
|
**`Remarks`**
|
|
1331
1349
|
|
|
@@ -1341,7 +1359,7 @@ ___
|
|
|
1341
1359
|
|
|
1342
1360
|
• **OLD\_SAFARI\_LOCATION\_CTOR**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1343
1361
|
|
|
1344
|
-
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]"
|
|
1362
|
+
Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]".
|
|
1345
1363
|
|
|
1346
1364
|
**`Remarks`**
|
|
1347
1365
|
|
|
@@ -1357,7 +1375,7 @@ ___
|
|
|
1357
1375
|
|
|
1358
1376
|
• **PLAIN\_INTL**: [`ElementaryFeature`](ElementaryFeature.md)
|
|
1359
1377
|
|
|
1360
|
-
Existence of the global object Intl having the string representation "\[object Object\]"
|
|
1378
|
+
Existence of the global object Intl having the string representation "\[object Object\]".
|
|
1361
1379
|
|
|
1362
1380
|
**`Remarks`**
|
|
1363
1381
|
|
|
@@ -1391,7 +1409,7 @@ ___
|
|
|
1391
1409
|
|
|
1392
1410
|
Features available in the current stable version of Safari.
|
|
1393
1411
|
|
|
1394
|
-
An alias for `
|
|
1412
|
+
An alias for `SAFARI_17_4`.
|
|
1395
1413
|
|
|
1396
1414
|
#### Inherited from
|
|
1397
1415
|
|
|
@@ -1463,7 +1481,7 @@ ___
|
|
|
1463
1481
|
|
|
1464
1482
|
• **SAFARI\_15\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1465
1483
|
|
|
1466
|
-
Features available in Safari 15.4
|
|
1484
|
+
Features available in Safari 15.4 to 17.3.
|
|
1467
1485
|
|
|
1468
1486
|
#### Inherited from
|
|
1469
1487
|
|
|
@@ -1471,6 +1489,18 @@ Features available in Safari 15.4 or later.
|
|
|
1471
1489
|
|
|
1472
1490
|
___
|
|
1473
1491
|
|
|
1492
|
+
### SAFARI\_17\_4
|
|
1493
|
+
|
|
1494
|
+
• **SAFARI\_17\_4**: [`PredefinedFeature`](PredefinedFeature.md)
|
|
1495
|
+
|
|
1496
|
+
Features available in Safari 17.4 or later.
|
|
1497
|
+
|
|
1498
|
+
#### Inherited from
|
|
1499
|
+
|
|
1500
|
+
[FeatureAll](FeatureAll.md).[SAFARI_17_4](FeatureAll.md#safari_17_4)
|
|
1501
|
+
|
|
1502
|
+
___
|
|
1503
|
+
|
|
1474
1504
|
### SAFARI\_7\_0
|
|
1475
1505
|
|
|
1476
1506
|
• **SAFARI\_7\_0**: [`PredefinedFeature`](PredefinedFeature.md)
|
package/lib/feature-all.d.ts
CHANGED
|
@@ -96,27 +96,27 @@ export interface FeatureAll
|
|
|
96
96
|
/**
|
|
97
97
|
* Features available in the current stable versions of Chrome, Edge and Opera.
|
|
98
98
|
*
|
|
99
|
-
* An alias for `
|
|
99
|
+
* An alias for `CHROME_122`.
|
|
100
100
|
*/
|
|
101
101
|
CHROME: PredefinedFeature;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* Features available in Chrome
|
|
104
|
+
* Features available in Chrome 122, Edge 122 and Opera 108 or later.
|
|
105
105
|
*
|
|
106
106
|
* @remarks
|
|
107
107
|
*
|
|
108
|
-
* This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `
|
|
108
|
+
* 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.
|
|
109
109
|
*
|
|
110
110
|
* @see
|
|
111
111
|
*
|
|
112
112
|
* [Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy)
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
CHROME_122: PredefinedFeature;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* Features available in the previous to current versions of Chrome and Edge.
|
|
118
118
|
*
|
|
119
|
-
* An alias for `
|
|
119
|
+
* An alias for `CHROME_122`.
|
|
120
120
|
*/
|
|
121
121
|
CHROME_PREV: PredefinedFeature;
|
|
122
122
|
|
|
@@ -281,7 +281,7 @@ export interface FeatureAll
|
|
|
281
281
|
*
|
|
282
282
|
* @remarks
|
|
283
283
|
*
|
|
284
|
-
* Available in Chrome, Edge, Firefox, Opera, and Node.js 10+.
|
|
284
|
+
* Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+.
|
|
285
285
|
*/
|
|
286
286
|
FUNCTION_19_LF: ElementaryFeature;
|
|
287
287
|
|
|
@@ -290,7 +290,7 @@ export interface FeatureAll
|
|
|
290
290
|
*
|
|
291
291
|
* @remarks
|
|
292
292
|
*
|
|
293
|
-
* Available in Internet Explorer, Safari 9
|
|
293
|
+
* Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10.
|
|
294
294
|
*/
|
|
295
295
|
FUNCTION_22_LF: ElementaryFeature;
|
|
296
296
|
|
|
@@ -501,7 +501,7 @@ export interface FeatureAll
|
|
|
501
501
|
NO_IE_SRC: ElementaryFeature;
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
|
-
* The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]"
|
|
504
|
+
* The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]".
|
|
505
505
|
*
|
|
506
506
|
* @remarks
|
|
507
507
|
*
|
|
@@ -521,7 +521,16 @@ export interface FeatureAll
|
|
|
521
521
|
NO_V8_SRC: ElementaryFeature;
|
|
522
522
|
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* The property that the Array.prototype.entries\(\).constructor is the Object constructor.
|
|
525
|
+
*
|
|
526
|
+
* @remarks
|
|
527
|
+
*
|
|
528
|
+
* Available in Firefox, Safari 9+, and Node.js 0.12+.
|
|
529
|
+
*/
|
|
530
|
+
OBJECT_ARRAY_ENTRIES_CTOR: ElementaryFeature;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Existence of the global function location.constructor whose string representation starts with "\[object L".
|
|
525
534
|
*
|
|
526
535
|
* @remarks
|
|
527
536
|
*
|
|
@@ -539,7 +548,7 @@ export interface FeatureAll
|
|
|
539
548
|
OBJECT_UNDEFINED: ElementaryFeature;
|
|
540
549
|
|
|
541
550
|
/**
|
|
542
|
-
* The property that the string representation of the global object constructor starts with "\[object W"
|
|
551
|
+
* The property that the string representation of the global object constructor starts with "\[object W".
|
|
543
552
|
*
|
|
544
553
|
* @remarks
|
|
545
554
|
*
|
|
@@ -548,7 +557,7 @@ export interface FeatureAll
|
|
|
548
557
|
OBJECT_W_CTOR: ElementaryFeature;
|
|
549
558
|
|
|
550
559
|
/**
|
|
551
|
-
* Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]"
|
|
560
|
+
* Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]".
|
|
552
561
|
*
|
|
553
562
|
* @remarks
|
|
554
563
|
*
|
|
@@ -557,7 +566,7 @@ export interface FeatureAll
|
|
|
557
566
|
OLD_SAFARI_LOCATION_CTOR: ElementaryFeature;
|
|
558
567
|
|
|
559
568
|
/**
|
|
560
|
-
* Existence of the global object Intl having the string representation "\[object Object\]"
|
|
569
|
+
* Existence of the global object Intl having the string representation "\[object Object\]".
|
|
561
570
|
*
|
|
562
571
|
* @remarks
|
|
563
572
|
*
|
|
@@ -577,7 +586,7 @@ export interface FeatureAll
|
|
|
577
586
|
/**
|
|
578
587
|
* Features available in the current stable version of Safari.
|
|
579
588
|
*
|
|
580
|
-
* An alias for `
|
|
589
|
+
* An alias for `SAFARI_17_4`.
|
|
581
590
|
*/
|
|
582
591
|
SAFARI: PredefinedFeature;
|
|
583
592
|
|
|
@@ -596,9 +605,12 @@ export interface FeatureAll
|
|
|
596
605
|
/** Features available in Safari 14.1 to 15.3. */
|
|
597
606
|
SAFARI_14_1: PredefinedFeature;
|
|
598
607
|
|
|
599
|
-
/** Features available in Safari 15.4
|
|
608
|
+
/** Features available in Safari 15.4 to 17.3. */
|
|
600
609
|
SAFARI_15_4: PredefinedFeature;
|
|
601
610
|
|
|
611
|
+
/** Features available in Safari 17.4 or later. */
|
|
612
|
+
SAFARI_17_4: PredefinedFeature;
|
|
613
|
+
|
|
602
614
|
/** Features available in Safari 7.0. */
|
|
603
615
|
SAFARI_7_0: PredefinedFeature;
|
|
604
616
|
|
|
@@ -713,6 +725,7 @@ type ElementaryFeatureName =
|
|
|
713
725
|
| 'NO_IE_SRC'
|
|
714
726
|
| 'NO_OLD_SAFARI_ARRAY_ITERATOR'
|
|
715
727
|
| 'NO_V8_SRC'
|
|
728
|
+
| 'OBJECT_ARRAY_ENTRIES_CTOR'
|
|
716
729
|
| 'OBJECT_L_LOCATION_CTOR'
|
|
717
730
|
| 'OBJECT_UNDEFINED'
|
|
718
731
|
| 'OBJECT_W_CTOR'
|
|
@@ -735,7 +748,7 @@ ElementaryFeatureName
|
|
|
735
748
|
| 'ANDRO_4_4'
|
|
736
749
|
| 'AUTO'
|
|
737
750
|
| 'BROWSER'
|
|
738
|
-
| '
|
|
751
|
+
| 'CHROME_122'
|
|
739
752
|
| 'COMPACT'
|
|
740
753
|
| 'DEFAULT'
|
|
741
754
|
| 'FF_90'
|
|
@@ -760,6 +773,7 @@ ElementaryFeatureName
|
|
|
760
773
|
| 'SAFARI_14_0_1'
|
|
761
774
|
| 'SAFARI_14_1'
|
|
762
775
|
| 'SAFARI_15_4'
|
|
776
|
+
| 'SAFARI_17_4'
|
|
763
777
|
| 'SAFARI_7_0'
|
|
764
778
|
| 'SAFARI_7_1'
|
|
765
779
|
| 'SAFARI_9'
|