jscrewit 3.0.0 → 3.2.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 CHANGED
@@ -15,7 +15,6 @@ This table lists features available in the most common engines.
15
15
  <li><a href="api-doc/interfaces/FeatureAll.md#BARPROP"><code>BARPROP</code></a>
16
16
  <li><a href="api-doc/interfaces/FeatureAll.md#DOCUMENT"><code>DOCUMENT</code></a>
17
17
  <li><a href="api-doc/interfaces/FeatureAll.md#ESC_HTML_QUOT"><code>ESC_HTML_QUOT</code></a>
18
- <li><a href="api-doc/interfaces/FeatureAll.md#FILL"><code>FILL</code></a>
19
18
  <li><a href="api-doc/interfaces/FeatureAll.md#FLAT"><code>FLAT</code></a>
20
19
  <li><a href="api-doc/interfaces/FeatureAll.md#FROM_CODE_POINT"><code>FROM_CODE_POINT</code></a>
21
20
  <li><a href="api-doc/interfaces/FeatureAll.md#FUNCTION_19_LF"><code>FUNCTION_19_LF</code></a>
@@ -29,6 +28,7 @@ This table lists features available in the most common engines.
29
28
  <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>)
30
29
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
31
30
  <li><a href="api-doc/interfaces/FeatureAll.md#REGEXP_STRING_ITERATOR"><code>REGEXP_STRING_ITERATOR</code></a>
31
+ <li><a href="api-doc/interfaces/FeatureAll.md#RUSSIAN_INFINITY"><code>RUSSIAN_INFINITY</code></a>
32
32
  <li><a href="api-doc/interfaces/FeatureAll.md#SELF"><code>SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> and <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
33
33
  <li><a href="api-doc/interfaces/FeatureAll.md#STATUS"><code>STATUS</code></a>
34
34
  <li><a href="api-doc/interfaces/FeatureAll.md#V8_SRC"><code>V8_SRC</code></a>
@@ -47,7 +47,6 @@ This table lists features available in the most common engines.
47
47
  <li><a href="api-doc/interfaces/FeatureAll.md#DOCUMENT"><code>DOCUMENT</code></a>
48
48
  <li><a href="api-doc/interfaces/FeatureAll.md#ESC_HTML_QUOT"><code>ESC_HTML_QUOT</code></a>
49
49
  <li><a href="api-doc/interfaces/FeatureAll.md#FF_SRC"><code>FF_SRC</code></a>
50
- <li><a href="api-doc/interfaces/FeatureAll.md#FILL"><code>FILL</code></a>
51
50
  <li><a href="api-doc/interfaces/FeatureAll.md#FLAT"><code>FLAT</code></a>
52
51
  <li><a href="api-doc/interfaces/FeatureAll.md#FROM_CODE_POINT"><code>FROM_CODE_POINT</code></a>
53
52
  <li><a href="api-doc/interfaces/FeatureAll.md#FUNCTION_19_LF"><code>FUNCTION_19_LF</code></a>
@@ -62,6 +61,7 @@ This table lists features available in the most common engines.
62
61
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_ARRAY_ENTRIES_CTOR"><code>OBJECT_ARRAY_ENTRIES_CTOR</code></a> (not in Firefox 131+)
63
62
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
64
63
  <li><a href="api-doc/interfaces/FeatureAll.md#REGEXP_STRING_ITERATOR"><code>REGEXP_STRING_ITERATOR</code></a>
64
+ <li><a href="api-doc/interfaces/FeatureAll.md#RUSSIAN_INFINITY"><code>RUSSIAN_INFINITY</code></a>
65
65
  <li><a href="api-doc/interfaces/FeatureAll.md#SELF"><code>SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> and <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
66
66
  <li><a href="api-doc/interfaces/FeatureAll.md#SHORT_LOCALES"><code>SHORT_LOCALES</code></a> (not in Firefox 134+)
67
67
  <li><a href="api-doc/interfaces/FeatureAll.md#STATUS"><code>STATUS</code></a>
@@ -86,6 +86,7 @@ This table lists features available in the most common engines.
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#IE_SRC"><code>IE_SRC</code></a>)
87
87
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
88
88
  <li><a href="api-doc/interfaces/FeatureAll.md#PLAIN_INTL"><code>PLAIN_INTL</code></a>
89
+ <li><a href="api-doc/interfaces/FeatureAll.md#RUSSIAN_INFINITY"><code>RUSSIAN_INFINITY</code></a> (Internet Explorer 11 on Windows 8 and on Windows 10)
89
90
  <li><a href="api-doc/interfaces/FeatureAll.md#SELF"><code>SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> and <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
90
91
  <li><a href="api-doc/interfaces/FeatureAll.md#SHORT_LOCALES"><code>SHORT_LOCALES</code></a>
91
92
  <li><a href="api-doc/interfaces/FeatureAll.md#STATUS"><code>STATUS</code></a>
@@ -104,7 +105,6 @@ This table lists features available in the most common engines.
104
105
  <li><a href="api-doc/interfaces/FeatureAll.md#DOCUMENT"><code>DOCUMENT</code></a>
105
106
  <li><a href="api-doc/interfaces/FeatureAll.md#ESC_HTML_QUOT"><code>ESC_HTML_QUOT</code></a>
106
107
  <li><a href="api-doc/interfaces/FeatureAll.md#FF_SRC"><code>FF_SRC</code></a>
107
- <li><a href="api-doc/interfaces/FeatureAll.md#FILL"><code>FILL</code></a>
108
108
  <li><a href="api-doc/interfaces/FeatureAll.md#FLAT"><code>FLAT</code></a>
109
109
  <li><a href="api-doc/interfaces/FeatureAll.md#FROM_CODE_POINT"><code>FROM_CODE_POINT</code></a>
110
110
  <li><a href="api-doc/interfaces/FeatureAll.md#FUNCTION_19_LF"><code>FUNCTION_19_LF</code></a>
@@ -119,6 +119,7 @@ This table lists features available in the most common engines.
119
119
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_ARRAY_ENTRIES_CTOR"><code>OBJECT_ARRAY_ENTRIES_CTOR</code></a> (not in Safari 18.4+)
120
120
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
121
121
  <li><a href="api-doc/interfaces/FeatureAll.md#REGEXP_STRING_ITERATOR"><code>REGEXP_STRING_ITERATOR</code></a>
122
+ <li><a href="api-doc/interfaces/FeatureAll.md#RUSSIAN_INFINITY"><code>RUSSIAN_INFINITY</code></a>
122
123
  <li><a href="api-doc/interfaces/FeatureAll.md#SELF"><code>SELF</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#OBJECT_W_SELF"><code>OBJECT_W_SELF</code></a> and <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
123
124
  <li><a href="api-doc/interfaces/FeatureAll.md#SHORT_LOCALES"><code>SHORT_LOCALES</code></a> (not in Safari 18.0+)
124
125
  <li><a href="api-doc/interfaces/FeatureAll.md#STATUS"><code>STATUS</code></a>
@@ -134,7 +135,6 @@ This table lists features available in the most common engines.
134
135
  <li><a href="api-doc/interfaces/FeatureAll.md#ARROW"><code>ARROW</code></a>
135
136
  <li><a href="api-doc/interfaces/FeatureAll.md#AT"><code>AT</code></a>
136
137
  <li><a href="api-doc/interfaces/FeatureAll.md#ESC_HTML_QUOT"><code>ESC_HTML_QUOT</code></a>
137
- <li><a href="api-doc/interfaces/FeatureAll.md#FILL"><code>FILL</code></a>
138
138
  <li><a href="api-doc/interfaces/FeatureAll.md#FLAT"><code>FLAT</code></a>
139
139
  <li><a href="api-doc/interfaces/FeatureAll.md#FROM_CODE_POINT"><code>FROM_CODE_POINT</code></a>
140
140
  <li><a href="api-doc/interfaces/FeatureAll.md#FUNCTION_19_LF"><code>FUNCTION_19_LF</code></a>
@@ -148,6 +148,7 @@ This table lists features available in the most common engines.
148
148
  <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>)
149
149
  <li><a href="api-doc/interfaces/FeatureAll.md#OBJECT_ARRAY_ENTRIES_CTOR"><code>OBJECT_ARRAY_ENTRIES_CTOR</code></a> (not in Node.js 22.0+)
150
150
  <li><a href="api-doc/interfaces/FeatureAll.md#REGEXP_STRING_ITERATOR"><code>REGEXP_STRING_ITERATOR</code></a>
151
+ <li><a href="api-doc/interfaces/FeatureAll.md#RUSSIAN_INFINITY"><code>RUSSIAN_INFINITY</code></a>
151
152
  <li><a href="api-doc/interfaces/FeatureAll.md#SHORT_LOCALES"><code>SHORT_LOCALES</code></a> (not in Node.js 22.12–22.14 and 23.3+)
152
153
  <li><a href="api-doc/interfaces/FeatureAll.md#V8_SRC"><code>V8_SRC</code></a>
153
154
  </ul>
package/README.md CHANGED
@@ -244,6 +244,8 @@ Explorer 11
244
244
  JScrewIt 3 drops compatibility with engines not supported by jQuery 4, including Internet Explorer 9
245
245
  and 10, the Android Stock Browser, and older Safari and Node.js versions.
246
246
 
247
+ This project is tested with BrowserStack.
248
+
247
249
  ### Engine Support Policy
248
250
 
249
251
  Only the most recent stable version of Chrome, Safari, Edge, Firefox and Opera are guaranteed to be
@@ -272,18 +272,6 @@ Available in Firefox and Safari.
272
272
 
273
273
  ***
274
274
 
275
- ### FILL
276
-
277
- > **FILL**: [`ElementaryFeature`](ElementaryFeature.md)
278
-
279
- Existence of the native function Array.prototype.fill.
280
-
281
- #### Remarks
282
-
283
- Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js.
284
-
285
- ***
286
-
287
275
  ### FLAT
288
276
 
289
277
  > **FLAT**: [`ElementaryFeature`](ElementaryFeature.md)
@@ -348,6 +336,14 @@ Features available in Internet Explorer 11 on Windows 10.
348
336
 
349
337
  ***
350
338
 
339
+ ### IE\_11\_WIN\_8
340
+
341
+ > **IE\_11\_WIN\_8**: [`PredefinedFeature`](PredefinedFeature.md)
342
+
343
+ Features available in Internet Explorer 11 on Windows 8.
344
+
345
+ ***
346
+
351
347
  ### IE\_SRC
352
348
 
353
349
  > **IE\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
@@ -548,6 +544,18 @@ Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js.
548
544
 
549
545
  ***
550
546
 
547
+ ### RUSSIAN\_INFINITY
548
+
549
+ > **RUSSIAN\_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)
550
+
551
+ Russian string representation of Infinity as "∞".
552
+
553
+ #### Remarks
554
+
555
+ Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 8 and on Windows 10, Safari, Opera, and Node.js.
556
+
557
+ ***
558
+
551
559
  ### SAFARI
552
560
 
553
561
  > **SAFARI**: [`PredefinedFeature`](PredefinedFeature.md)
@@ -478,22 +478,6 @@ Available in Firefox and Safari.
478
478
 
479
479
  ***
480
480
 
481
- ### FILL
482
-
483
- > **FILL**: [`ElementaryFeature`](ElementaryFeature.md)
484
-
485
- Existence of the native function Array.prototype.fill.
486
-
487
- #### Remarks
488
-
489
- Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js.
490
-
491
- #### Inherited from
492
-
493
- [`FeatureAll`](FeatureAll.md).[`FILL`](FeatureAll.md#fill)
494
-
495
- ***
496
-
497
481
  ### FLAT
498
482
 
499
483
  > **FLAT**: [`ElementaryFeature`](ElementaryFeature.md)
@@ -582,6 +566,18 @@ Features available in Internet Explorer 11 on Windows 10.
582
566
 
583
567
  ***
584
568
 
569
+ ### IE\_11\_WIN\_8
570
+
571
+ > **IE\_11\_WIN\_8**: [`PredefinedFeature`](PredefinedFeature.md)
572
+
573
+ Features available in Internet Explorer 11 on Windows 8.
574
+
575
+ #### Inherited from
576
+
577
+ [`FeatureAll`](FeatureAll.md).[`IE_11_WIN_8`](FeatureAll.md#ie_11_win_8)
578
+
579
+ ***
580
+
585
581
  ### IE\_SRC
586
582
 
587
583
  > **IE\_SRC**: [`ElementaryFeature`](ElementaryFeature.md)
@@ -850,6 +846,22 @@ Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js.
850
846
 
851
847
  ***
852
848
 
849
+ ### RUSSIAN\_INFINITY
850
+
851
+ > **RUSSIAN\_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)
852
+
853
+ Russian string representation of Infinity as "∞".
854
+
855
+ #### Remarks
856
+
857
+ Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 8 and on Windows 10, Safari, Opera, and Node.js.
858
+
859
+ #### Inherited from
860
+
861
+ [`FeatureAll`](FeatureAll.md).[`RUSSIAN_INFINITY`](FeatureAll.md#russian_infinity)
862
+
863
+ ***
864
+
853
865
  ### SAFARI
854
866
 
855
867
  > **SAFARI**: [`PredefinedFeature`](PredefinedFeature.md)
@@ -1062,7 +1074,7 @@ JScrewIt.Feature.areCompatible("V8_SRC", "IE_SRC")
1062
1074
 
1063
1075
  ```js
1064
1076
  // true
1065
- JScrewIt.Feature.areCompatible(JScrewIt.Feature.DEFAULT, JScrewIt.Feature.FILL)
1077
+ JScrewIt.Feature.areCompatible(JScrewIt.Feature.DEFAULT, JScrewIt.Feature.FLAT)
1066
1078
  ```
1067
1079
 
1068
1080
  ***
@@ -4,6 +4,6 @@
4
4
 
5
5
  # Type Alias: ElementaryFeatureName
6
6
 
7
- > **ElementaryFeatureName** = `"ARRAY_ITERATOR"` \| `"ARROW"` \| `"AT"` \| `"BARPROP"` \| `"CAPITAL_HTML"` \| `"CONSOLE"` \| `"DOCUMENT"` \| `"ESC_HTML_QUOT"` \| `"FF_SRC"` \| `"FILL"` \| `"FLAT"` \| `"FROM_CODE_POINT"` \| `"FUNCTION_19_LF"` \| `"FUNCTION_22_LF"` \| `"IE_SRC"` \| `"INCR_CHAR"` \| `"ITERATOR_HELPER"` \| `"LOCALE_INFINITY"` \| `"LOCALE_NUMERALS_BN"` \| `"LOCALE_NUMERALS_EXT"` \| `"NAME"` \| `"NO_FF_SRC"` \| `"NO_IE_SRC"` \| `"NO_V8_SRC"` \| `"OBJECT_ARRAY_ENTRIES_CTOR"` \| `"OBJECT_W_SELF"` \| `"PLAIN_INTL"` \| `"REGEXP_STRING_ITERATOR"` \| `"SELF"` \| `"SHORT_LOCALES"` \| `"STATUS"` \| `"V8_SRC"` \| `"WINDOW"`
7
+ > **ElementaryFeatureName** = `"ARRAY_ITERATOR"` \| `"ARROW"` \| `"AT"` \| `"BARPROP"` \| `"CAPITAL_HTML"` \| `"CONSOLE"` \| `"DOCUMENT"` \| `"ESC_HTML_QUOT"` \| `"FF_SRC"` \| `"FLAT"` \| `"FROM_CODE_POINT"` \| `"FUNCTION_19_LF"` \| `"FUNCTION_22_LF"` \| `"IE_SRC"` \| `"INCR_CHAR"` \| `"ITERATOR_HELPER"` \| `"LOCALE_INFINITY"` \| `"LOCALE_NUMERALS_BN"` \| `"LOCALE_NUMERALS_EXT"` \| `"NAME"` \| `"NO_FF_SRC"` \| `"NO_IE_SRC"` \| `"NO_V8_SRC"` \| `"OBJECT_ARRAY_ENTRIES_CTOR"` \| `"OBJECT_W_SELF"` \| `"PLAIN_INTL"` \| `"REGEXP_STRING_ITERATOR"` \| `"RUSSIAN_INFINITY"` \| `"SELF"` \| `"SHORT_LOCALES"` \| `"STATUS"` \| `"V8_SRC"` \| `"WINDOW"`
8
8
 
9
9
  Name of an elementary feature.
@@ -4,6 +4,6 @@
4
4
 
5
5
  # Type Alias: PredefinedFeatureName
6
6
 
7
- > **PredefinedFeatureName** = [`ElementaryFeatureName`](ElementaryFeatureName.md) \| `"AUTO"` \| `"BROWSER"` \| `"CHROME_122"` \| `"COMPACT"` \| `"DEFAULT"` \| `"FF_131"` \| `"FF_134"` \| `"FF_90"` \| `"IE_11"` \| `"IE_11_WIN_10"` \| `"NODE_20"` \| `"NODE_22"` \| `"NODE_22_12"` \| `"SAFARI_17_4"` \| `"SAFARI_18_0"` \| `"SAFARI_18_4"`
7
+ > **PredefinedFeatureName** = [`ElementaryFeatureName`](ElementaryFeatureName.md) \| `"AUTO"` \| `"BROWSER"` \| `"CHROME_122"` \| `"COMPACT"` \| `"DEFAULT"` \| `"FF_131"` \| `"FF_134"` \| `"FF_90"` \| `"IE_11"` \| `"IE_11_WIN_10"` \| `"IE_11_WIN_8"` \| `"NODE_20"` \| `"NODE_22"` \| `"NODE_22_12"` \| `"SAFARI_17_4"` \| `"SAFARI_18_0"` \| `"SAFARI_18_4"`
8
8
 
9
9
  Name of a predefined feature.
@@ -194,15 +194,6 @@ export interface FeatureAll
194
194
  */
195
195
  FF_SRC: ElementaryFeature;
196
196
 
197
- /**
198
- * Existence of the native function Array.prototype.fill.
199
- *
200
- * @remarks
201
- *
202
- * Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js.
203
- */
204
- FILL: ElementaryFeature;
205
-
206
197
  /**
207
198
  * Existence of the native function Array.prototype.flat.
208
199
  *
@@ -245,6 +236,9 @@ export interface FeatureAll
245
236
  /** Features available in Internet Explorer 11 on Windows 10. */
246
237
  IE_11_WIN_10: PredefinedFeature;
247
238
 
239
+ /** Features available in Internet Explorer 11 on Windows 8. */
240
+ IE_11_WIN_8: PredefinedFeature;
241
+
248
242
  /**
249
243
  * A string representation of native functions typical for Internet Explorer.
250
244
  *
@@ -388,6 +382,15 @@ export interface FeatureAll
388
382
  */
389
383
  REGEXP_STRING_ITERATOR: ElementaryFeature;
390
384
 
385
+ /**
386
+ * Russian string representation of Infinity as "∞".
387
+ *
388
+ * @remarks
389
+ *
390
+ * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 8 and on Windows 10, Safari, Opera, and Node.js.
391
+ */
392
+ RUSSIAN_INFINITY: ElementaryFeature;
393
+
391
394
  /**
392
395
  * Features available in the current stable version of Safari.
393
396
  *
@@ -507,7 +510,6 @@ type ElementaryFeatureName =
507
510
  | 'DOCUMENT'
508
511
  | 'ESC_HTML_QUOT'
509
512
  | 'FF_SRC'
510
- | 'FILL'
511
513
  | 'FLAT'
512
514
  | 'FROM_CODE_POINT'
513
515
  | 'FUNCTION_19_LF'
@@ -526,6 +528,7 @@ type ElementaryFeatureName =
526
528
  | 'OBJECT_W_SELF'
527
529
  | 'PLAIN_INTL'
528
530
  | 'REGEXP_STRING_ITERATOR'
531
+ | 'RUSSIAN_INFINITY'
529
532
  | 'SELF'
530
533
  | 'SHORT_LOCALES'
531
534
  | 'STATUS'
@@ -546,6 +549,7 @@ ElementaryFeatureName
546
549
  | 'FF_90'
547
550
  | 'IE_11'
548
551
  | 'IE_11_WIN_10'
552
+ | 'IE_11_WIN_8'
549
553
  | 'NODE_20'
550
554
  | 'NODE_22'
551
555
  | 'NODE_22_12'
package/lib/feature.d.ts CHANGED
@@ -213,7 +213,7 @@ export interface FeatureConstructor extends FeatureAll
213
213
  *
214
214
  * ```js
215
215
  * // true
216
- * JScrewIt.Feature.areCompatible(JScrewIt.Feature.DEFAULT, JScrewIt.Feature.FILL)
216
+ * JScrewIt.Feature.areCompatible(JScrewIt.Feature.DEFAULT, JScrewIt.Feature.FLAT)
217
217
  * ```
218
218
  */
219
219
  areCompatible(...features: FeatureElement[]): boolean;