jscrewit 2.38.0 → 2.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,6 +156,13 @@ export interface FeatureAll
156
156
  */
157
157
  CONSOLE: ElementaryFeature;
158
158
 
159
+ /**
160
+ * Existence of the function document.createElement.
161
+ *
162
+ * An alias for `ANY_DOCUMENT`.
163
+ */
164
+ CREATE_ELEMENT: ElementaryFeature;
165
+
159
166
  /** Minimum feature level, compatible with all supported engines in all environments. */
160
167
  DEFAULT: PredefinedFeature;
161
168
 
@@ -225,16 +232,16 @@ export interface FeatureAll
225
232
  /**
226
233
  * Features available in the current stable version of Firefox.
227
234
  *
228
- * An alias for `FF_131`.
235
+ * An alias for `FF_134`.
229
236
  */
230
237
  FF: PredefinedFeature;
231
238
 
232
239
  /**
233
- * Features available in Firefox 131 or later.
240
+ * Features available in Firefox 131 to 133.
234
241
  *
235
242
  * @remarks
236
243
  *
237
- * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF` instead of `FF_131` for long term support.
244
+ * This feature may be replaced or removed in the near future when current browser versions become obsolete.
238
245
  *
239
246
  * @see
240
247
  *
@@ -242,12 +249,25 @@ export interface FeatureAll
242
249
  */
243
250
  FF_131: PredefinedFeature;
244
251
 
252
+ /**
253
+ * Features available in Firefox 134 or later.
254
+ *
255
+ * @remarks
256
+ *
257
+ * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF` or `FF_PREV` instead of `FF_134` for long term support.
258
+ *
259
+ * @see
260
+ *
261
+ * [Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy)
262
+ */
263
+ FF_134: PredefinedFeature;
264
+
245
265
  /**
246
266
  * Features available in Firefox 90 to 130.
247
267
  *
248
268
  * @remarks
249
269
  *
250
- * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF_ESR` or `FF_PREV` instead of `FF_90` for long term support.
270
+ * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF_ESR` instead of `FF_90` for long term support.
251
271
  *
252
272
  * @see
253
273
  *
@@ -265,7 +285,7 @@ export interface FeatureAll
265
285
  /**
266
286
  * Features available in the previous to current version of Firefox.
267
287
  *
268
- * An alias for `FF_90`.
288
+ * An alias for `FF_134`.
269
289
  */
270
290
  FF_PREV: PredefinedFeature;
271
291
 
@@ -298,6 +318,13 @@ export interface FeatureAll
298
318
  */
299
319
  FLAT: ElementaryFeature;
300
320
 
321
+ /**
322
+ * Existence of the object document.forms with string representation "\[object HTMLCollection\]".
323
+ *
324
+ * An alias for `ANY_DOCUMENT`.
325
+ */
326
+ FORMS: ElementaryFeature;
327
+
301
328
  /**
302
329
  * Existence of the function String.fromCodePoint.
303
330
  *
@@ -418,7 +445,7 @@ export interface FeatureAll
418
445
  *
419
446
  * @remarks
420
447
  *
421
- * Available in Chrome, Edge, Firefox 131+, Opera, and Node.js 22+.
448
+ * Available in Chrome, Edge, Firefox 131+, Safari 18.4+, Opera, and Node.js 22.0+.
422
449
  */
423
450
  ITERATOR_HELPER: ElementaryFeature;
424
451
 
@@ -449,14 +476,23 @@ export interface FeatureAll
449
476
  */
450
477
  LOCALE_NUMERALS: ElementaryFeature;
451
478
 
479
+ /**
480
+ * Localized number formatting for Bengali.
481
+ *
482
+ * @remarks
483
+ *
484
+ * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+ before 18.4, Opera, Android Browser 4.4, and Node.js 13+.
485
+ */
486
+ LOCALE_NUMERALS_BN: ElementaryFeature;
487
+
452
488
  /**
453
489
  * Extended localized number formatting.
454
490
  *
455
- * This includes all features of LOCALE_NUMERALS plus the output of the first three letters in the second word of the Arabic string representation of NaN \("رقم"\), Bengali digits, the letters in the Russian string representation of NaN \("не число"\) and the letters in the Persian string representation of NaN \("ناعدد"\).
491
+ * This includes all features of LOCALE_NUMERALS plus the output of the first three letters in the second word of the Arabic string representation of NaN \("رقم"\), the letters in the Russian string representation of NaN \("не число"\) and the letters in the Persian string representation of NaN \("ناعدد"\).
456
492
  *
457
493
  * @remarks
458
494
  *
459
- * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 13+.
495
+ * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 13+. This feature is not available inside web workers in Safari 18.4+.
460
496
  */
461
497
  LOCALE_NUMERALS_EXT: ElementaryFeature;
462
498
 
@@ -523,9 +559,12 @@ export interface FeatureAll
523
559
  /** Features available in Node.js 16.6 to 21. */
524
560
  NODE_16_6: PredefinedFeature;
525
561
 
526
- /** Features available in Node.js 22 or later. */
562
+ /** Features available in Node.js 22.0 to 22.11 and Node.js 23.0 to 23.2. */
527
563
  NODE_22: PredefinedFeature;
528
564
 
565
+ /** Features available in Node.js 22.12 to 22.14 and Node.js 23.3 or later. */
566
+ NODE_22_12: PredefinedFeature;
567
+
529
568
  /** Features available in Node.js 4. */
530
569
  NODE_4: PredefinedFeature;
531
570
 
@@ -535,6 +574,13 @@ export interface FeatureAll
535
574
  /** Features available in Node.js 7.6 to 9. */
536
575
  NODE_7_6: PredefinedFeature;
537
576
 
577
+ /**
578
+ * Existence of the string document.nodeName that starts with a number sign \("#"\).
579
+ *
580
+ * An alias for `ANY_DOCUMENT`.
581
+ */
582
+ NODE_NAME: ElementaryFeature;
583
+
538
584
  /**
539
585
  * A string representation of native functions typical for V8 or for Internet Explorer but not for Firefox and Safari.
540
586
  *
@@ -580,7 +626,7 @@ export interface FeatureAll
580
626
  *
581
627
  * @remarks
582
628
  *
583
- * Available in Firefox before 131, Safari 9+, and Node.js 0.12+ before 22.
629
+ * Available in Firefox before 131, Safari 9+ before 18.4, and Node.js 0.12+ before 22.0.
584
630
  */
585
631
  OBJECT_ARRAY_ENTRIES_CTOR: ElementaryFeature;
586
632
 
@@ -641,7 +687,7 @@ export interface FeatureAll
641
687
  /**
642
688
  * Features available in the current stable version of Safari.
643
689
  *
644
- * An alias for `SAFARI_18`.
690
+ * An alias for `SAFARI_18_4`.
645
691
  */
646
692
  SAFARI: PredefinedFeature;
647
693
 
@@ -669,8 +715,11 @@ export interface FeatureAll
669
715
  /** Features available in Safari 17.4 to 17.6. */
670
716
  SAFARI_17_4: PredefinedFeature;
671
717
 
672
- /** Features available in Safari 18 or later. */
673
- SAFARI_18: PredefinedFeature;
718
+ /** Features available in Safari 18.0 to 18.3. */
719
+ SAFARI_18_0: PredefinedFeature;
720
+
721
+ /** Features available in Safari 18.4 or later. */
722
+ SAFARI_18_4: PredefinedFeature;
674
723
 
675
724
  /** Features available in Safari 7.0. */
676
725
  SAFARI_7_0: PredefinedFeature;
@@ -698,7 +747,7 @@ export interface FeatureAll
698
747
  *
699
748
  * @remarks
700
749
  *
701
- * Available in Firefox, Internet Explorer 11, Safari 10.0+ before 18, Android Browser 4.4, and Node.js 13+.
750
+ * Available in Firefox before 134, Internet Explorer 11, Safari 10.0+ before 18.0, Android Browser 4.4, and Node.js 13+ before 22.12–22.14 and 23.3.
702
751
  */
703
752
  SHORT_LOCALES: ElementaryFeature;
704
753
 
@@ -781,6 +830,7 @@ type ElementaryFeatureName =
781
830
  | 'JAPANESE_INFINITY'
782
831
  | 'LOCALE_INFINITY'
783
832
  | 'LOCALE_NUMERALS'
833
+ | 'LOCALE_NUMERALS_BN'
784
834
  | 'LOCALE_NUMERALS_EXT'
785
835
  | 'LOCATION'
786
836
  | 'MOZILLA'
@@ -817,6 +867,7 @@ ElementaryFeatureName
817
867
  | 'COMPACT'
818
868
  | 'DEFAULT'
819
869
  | 'FF_131'
870
+ | 'FF_134'
820
871
  | 'FF_90'
821
872
  | 'IE_10'
822
873
  | 'IE_11'
@@ -832,6 +883,7 @@ ElementaryFeatureName
832
883
  | 'NODE_16_0'
833
884
  | 'NODE_16_6'
834
885
  | 'NODE_22'
886
+ | 'NODE_22_12'
835
887
  | 'NODE_4'
836
888
  | 'NODE_5'
837
889
  | 'NODE_7_6'
@@ -843,7 +895,8 @@ ElementaryFeatureName
843
895
  | 'SAFARI_14_1'
844
896
  | 'SAFARI_15_4'
845
897
  | 'SAFARI_17_4'
846
- | 'SAFARI_18'
898
+ | 'SAFARI_18_0'
899
+ | 'SAFARI_18_4'
847
900
  | 'SAFARI_7_0'
848
901
  | 'SAFARI_7_1'
849
902
  | 'SAFARI_9'
package/lib/jscrewit.d.ts CHANGED
@@ -3,9 +3,9 @@
3
3
  import type { encode } from './encode';
4
4
  import type { Feature } from './feature';
5
5
 
6
- export * from './encode';
7
- export * from './feature';
8
- export * from './feature-all';
6
+ export * from './encode';
7
+ export * from './feature';
8
+ export type * from './feature-all';
9
9
 
10
10
  interface JScrewIt
11
11
  {