Skip to content

Commit

Permalink
Specify ITERATOR_HELPER compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Jul 11, 2024
1 parent 29afa95 commit 5ef2b25
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Features.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This table lists features available in the most common engines.
<li><a href="api-doc/interfaces/FeatureAll.md#HTMLDOCUMENT"><code>HTMLDOCUMENT</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#INCR_CHAR"><code>INCR_CHAR</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#INTL"><code>INTL</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#ITERATOR_HELPER"><code>ITERATOR_HELPER</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_INFINITY"><code>LOCALE_INFINITY</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS"><code>LOCALE_NUMERALS</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a>
Expand Down Expand Up @@ -246,6 +247,7 @@ This table lists features available in the most common engines.
<li><a href="api-doc/interfaces/FeatureAll.md#GMT"><code>GMT</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#INCR_CHAR"><code>INCR_CHAR</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#INTL"><code>INTL</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#PLAIN_INTL"><code>PLAIN_INTL</code></a>; Node.js 0.12+)
<li><a href="api-doc/interfaces/FeatureAll.md#ITERATOR_HELPER"><code>ITERATOR_HELPER</code></a> (Node.js 22+)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_INFINITY"><code>LOCALE_INFINITY</code></a> (Node.js 0.12+)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS"><code>LOCALE_NUMERALS</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a> and <a href="api-doc/interfaces/FeatureAll.md#SHORT_LOCALES"><code>SHORT_LOCALES</code></a>; Node.js 13+)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a> (Node.js 13+)
Expand Down
2 changes: 1 addition & 1 deletion api-doc/interfaces/FeatureAll.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ Availability of iterator helpers.

#### Remarks

This feature is not available in any of the supported engines.
Available in Chrome, Edge, Opera, and Node.js 22+.

***

Expand Down
2 changes: 1 addition & 1 deletion api-doc/interfaces/FeatureConstructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ Availability of iterator helpers.

#### Remarks

This feature is not available in any of the supported engines.
Available in Chrome, Edge, Opera, and Node.js 22+.

#### Inherited from

Expand Down
3 changes: 2 additions & 1 deletion src/lib/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ var featureInfos =
'HTMLDOCUMENT',
'INCR_CHAR',
'INTL',
'ITERATOR_HELPER',
'LOCALE_INFINITY',
'LOCALE_NUMERALS_EXT',
'LOCATION',
Expand Down Expand Up @@ -1172,7 +1173,7 @@ var featureInfos =
{
inherits: 'NODE_16_6',
versions: [['22']],
includes: { OBJECT_ARRAY_ENTRIES_CTOR: false },
includes: { ITERATOR_HELPER: true, OBJECT_ARRAY_ENTRIES_CTOR: false },
},
SAFARI_7_0:
{
Expand Down

0 comments on commit 5ef2b25

Please sign in to comment.