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/lib/jscrewit.js CHANGED
@@ -1,4 +1,4 @@
1
- // JScrewIt 2.35.2 – https://jscrew.it
1
+ // JScrewIt 2.36.0 – https://jscrew.it
2
2
 
3
3
  (function () {
4
4
  'use strict';
@@ -1519,17 +1519,13 @@
1519
1519
  {
1520
1520
  description:
1521
1521
  'The property that the string representation of Array.prototype.entries() evaluates to ' +
1522
- '"[object Array Iterator]" and that Array.prototype.entries().constructor is the global ' +
1523
- 'function Object.',
1522
+ '"[object Array Iterator]".',
1524
1523
  check:
1525
1524
  function ()
1526
1525
  {
1527
1526
  if (Array.prototype.entries)
1528
1527
  {
1529
- var arrayIterator = [].entries();
1530
- var available =
1531
- arrayIterator + '' === '[object Array Iterator]' &&
1532
- arrayIterator.constructor === Object;
1528
+ var available = [].entries() + '' === '[object Array Iterator]';
1533
1529
  return available;
1534
1530
  }
1535
1531
  },
@@ -1550,11 +1546,22 @@
1550
1546
  },
1551
1547
  excludes: ['V8_SRC'],
1552
1548
  },
1549
+ OBJECT_ARRAY_ENTRIES_CTOR:
1550
+ {
1551
+ description:
1552
+ 'The property that the Array.prototype.entries().constructor is the Object constructor.',
1553
+ check:
1554
+ function ()
1555
+ {
1556
+ var available = Array.prototype.entries && [].entries().constructor === Object;
1557
+ return available;
1558
+ },
1559
+ },
1553
1560
  OBJECT_L_LOCATION_CTOR:
1554
1561
  {
1555
1562
  description:
1556
1563
  'Existence of the global function location.constructor whose string representation ' +
1557
- 'starts with "[object L"',
1564
+ 'starts with "[object L".',
1558
1565
  check:
1559
1566
  function ()
1560
1567
  {
@@ -1582,7 +1589,7 @@
1582
1589
  {
1583
1590
  description:
1584
1591
  'The property that the string representation of the global object constructor starts ' +
1585
- 'with "[object W"',
1592
+ 'with "[object W".',
1586
1593
  check:
1587
1594
  function ()
1588
1595
  {
@@ -1595,7 +1602,7 @@
1595
1602
  {
1596
1603
  description:
1597
1604
  'Existence of the global object location.constructor whose string representation starts ' +
1598
- 'with "[object " and ends with "LocationConstructor]"',
1605
+ 'with "[object " and ends with "LocationConstructor]".',
1599
1606
  check:
1600
1607
  function ()
1601
1608
  {
@@ -1608,7 +1615,7 @@
1608
1615
  PLAIN_INTL:
1609
1616
  {
1610
1617
  description:
1611
- 'Existence of the global object Intl having the string representation "[object Object]"',
1618
+ 'Existence of the global object Intl having the string representation "[object Object]".',
1612
1619
  check:
1613
1620
  function ()
1614
1621
  {
@@ -1752,6 +1759,7 @@
1752
1759
  'FILL',
1753
1760
  'FLAT',
1754
1761
  'FROM_CODE_POINT',
1762
+ 'FUNCTION_19_LF',
1755
1763
  'GENERIC_ARRAY_TO_STRING',
1756
1764
  'GLOBAL_UNDEFINED',
1757
1765
  'GMT',
@@ -1818,17 +1826,17 @@
1818
1826
  CHROME_PREV:
1819
1827
  {
1820
1828
  description: describeEngine('the previous to current versions of Chrome and Edge'),
1821
- aliasFor: 'CHROME_92',
1829
+ aliasFor: 'CHROME_122',
1822
1830
  },
1823
1831
  CHROME:
1824
1832
  {
1825
1833
  description: describeEngine('the current stable versions of Chrome, Edge and Opera'),
1826
- aliasFor: 'CHROME_92',
1834
+ aliasFor: 'CHROME_122',
1827
1835
  },
1828
- CHROME_92:
1836
+ CHROME_122:
1829
1837
  {
1830
1838
  families: ['Chrome', 'Edge', 'Opera'],
1831
- versions: [['92'], ['92'], ['78']],
1839
+ versions: [['122'], ['122'], ['108']],
1832
1840
  includes:
1833
1841
  [
1834
1842
  'ARROW',
@@ -1907,6 +1915,7 @@
1907
1915
  'LOCATION',
1908
1916
  'NAME',
1909
1917
  'NO_OLD_SAFARI_ARRAY_ITERATOR',
1918
+ 'OBJECT_ARRAY_ENTRIES_CTOR',
1910
1919
  'REGEXP_STRING_ITERATOR',
1911
1920
  'SHORT_LOCALES',
1912
1921
  'STATUS',
@@ -1993,6 +2002,7 @@
1993
2002
  ESC_HTML_QUOT_ONLY: true,
1994
2003
  LOCALE_INFINITY: true,
1995
2004
  NO_OLD_SAFARI_ARRAY_ITERATOR: true,
2005
+ OBJECT_ARRAY_ENTRIES_CTOR: true,
1996
2006
  PLAIN_INTL: true,
1997
2007
  },
1998
2008
  },
@@ -2103,6 +2113,7 @@
2103
2113
  FROM_CODE_POINT: true,
2104
2114
  FUNCTION_22_LF: true,
2105
2115
  NO_OLD_SAFARI_ARRAY_ITERATOR: true,
2116
+ OBJECT_ARRAY_ENTRIES_CTOR: true,
2106
2117
  },
2107
2118
  },
2108
2119
  SAFARI_10:
@@ -2147,16 +2158,22 @@
2147
2158
  versions: [['14.1',, '15.3']],
2148
2159
  includes: { CONSOLE: false },
2149
2160
  },
2161
+ SAFARI_15_4:
2162
+ {
2163
+ inherits: 'SAFARI_14_1',
2164
+ versions: [['15.4',, '17.3']],
2165
+ includes: { AT: true },
2166
+ },
2150
2167
  SAFARI:
2151
2168
  {
2152
2169
  description: describeEngine('the current stable version of Safari'),
2153
- aliasFor: 'SAFARI_15_4',
2170
+ aliasFor: 'SAFARI_17_4',
2154
2171
  },
2155
- SAFARI_15_4:
2172
+ SAFARI_17_4:
2156
2173
  {
2157
- inherits: 'SAFARI_14_1',
2158
- versions: [['15.4']],
2159
- includes: { AT: true },
2174
+ inherits: 'SAFARI_15_4',
2175
+ versions: [['17.4']],
2176
+ includes: { FUNCTION_19_LF: true, FUNCTION_22_LF: false },
2160
2177
  },
2161
2178
  };
2162
2179
  (function ()
@@ -3111,6 +3128,7 @@
3111
3128
  var NO_IE_SRC = Feature.NO_IE_SRC;
3112
3129
  var NO_OLD_SAFARI_ARRAY_ITERATOR = Feature.NO_OLD_SAFARI_ARRAY_ITERATOR;
3113
3130
  var NO_V8_SRC = Feature.NO_V8_SRC;
3131
+ var OBJECT_ARRAY_ENTRIES_CTOR = Feature.OBJECT_ARRAY_ENTRIES_CTOR;
3114
3132
  var OBJECT_L_LOCATION_CTOR = Feature.OBJECT_L_LOCATION_CTOR;
3115
3133
  var OBJECT_UNDEFINED = Feature.OBJECT_UNDEFINED;
3116
3134
  var OBJECT_W_CTOR = Feature.OBJECT_W_CTOR;
@@ -4072,7 +4090,7 @@
4072
4090
  [
4073
4091
  define('PLAIN_OBJECT.constructor'),
4074
4092
  define('Intl.constructor', INTL),
4075
- define('[].entries().constructor', NO_OLD_SAFARI_ARRAY_ITERATOR),
4093
+ define('[].entries().constructor', OBJECT_ARRAY_ENTRIES_CTOR),
4076
4094
  ],
4077
4095
  RegExp:
4078
4096
  [
@@ -5274,6 +5292,7 @@
5274
5292
  var UNRETURNABLE_WORDS =
5275
5293
  [
5276
5294
  'arguments', // shadowed in function body
5295
+ 'await', // may be an identifier in non-strict mode
5277
5296
  'debugger', // : debugger;
5278
5297
  'delete', // : delete(x);
5279
5298
  'if', // : if(x);