Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New definitions of "H", "P", "p" and "∞", supposed new Features ASYNC_FUNCTION, ITERATOR and JAPANESE_INFINITY #46

Merged
merged 44 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
bb962ec
Update definitions.js
Clayblockunova Dec 31, 2022
48d4d49
Update definitions.js
Clayblockunova Jan 1, 2023
c82a3a4
Update definitions.js
Clayblockunova Jan 2, 2023
8e8b524
Update definitions.js
Clayblockunova Jul 5, 2024
68bd66c
Update definitions.js
Clayblockunova Jul 6, 2024
fbaaa59
Update definitions.js
Clayblockunova Jul 6, 2024
94cb555
Update definitions.js
Clayblockunova Jul 6, 2024
6e6cfc2
Update definitions.js
Clayblockunova Jul 6, 2024
9cdc383
Update definitions.js
Clayblockunova Jul 7, 2024
d02b991
Merge branch 'fasttime:main' into master
Clayblockunova Jul 7, 2024
0f6def3
Merge branch 'fasttime:main' into master
Clayblockunova Jul 14, 2024
a5c65ee
Update definitions.js
Clayblockunova Jul 14, 2024
6f8680d
Update src/lib/definitions.js
Clayblockunova Jul 14, 2024
a26ff29
Update definitions.js
Clayblockunova Jul 14, 2024
e16929f
Update FeatureAll.md
Clayblockunova Jul 15, 2024
8a7bd6d
Update FeatureConstructor.md
Clayblockunova Jul 15, 2024
e772b70
Update ElementaryFeatureName.md
Clayblockunova Jul 16, 2024
9b23cf4
Update features.js
Clayblockunova Jul 16, 2024
d544c14
Update features.js
Clayblockunova Jul 17, 2024
fbf3957
Update Features.md
Clayblockunova Jul 17, 2024
fe2f59f
Update features.js
Clayblockunova Jul 17, 2024
78f64f3
Update PredefinedFeatureName.md
Clayblockunova Jul 17, 2024
75fd69b
Update PredefinedFeatureName.md
Clayblockunova Jul 17, 2024
a2a36d0
Update features.js
Clayblockunova Jul 17, 2024
bfe99b6
Update FeatureAll.md
Clayblockunova Jul 17, 2024
8636e41
Update src/lib/features.js
Clayblockunova Jul 19, 2024
676d83d
Update src/lib/definitions.js
Clayblockunova Jul 19, 2024
c810661
Update src/lib/features.js
Clayblockunova Jul 19, 2024
d11ad10
Update src/lib/features.js
Clayblockunova Jul 19, 2024
25b94eb
Update feature-emulation.helpers.js
Clayblockunova Jul 22, 2024
5814e4b
Update src/lib/features.js
Clayblockunova Jul 29, 2024
1d46371
Update test/helpers/feature-emulation.helpers.js
Clayblockunova Jul 29, 2024
e8bd6dc
Update test/helpers/feature-emulation.helpers.js
Clayblockunova Jul 29, 2024
2f63e4f
Update test/helpers/feature-emulation.helpers.js
Clayblockunova Jul 29, 2024
658cd2b
Update test/helpers/feature-emulation.helpers.js
Clayblockunova Jul 29, 2024
a16be02
Update features.js
Clayblockunova Jul 29, 2024
3ae7f8b
Update feature-emulation.helpers.js
Clayblockunova Jul 29, 2024
a84fc6a
Update test/helpers/feature-emulation.helpers.js
Clayblockunova Jul 30, 2024
ab85d7c
Update test/helpers/feature-emulation.helpers.js
Clayblockunova Jul 30, 2024
76e3e81
Update feature-emulation.helpers.js
Clayblockunova Jul 30, 2024
d57b350
Update test/helpers/feature-emulation.helpers.js
fasttime Aug 1, 2024
d4bd19d
Update src/lib/features.js
Clayblockunova Aug 2, 2024
c748bf9
Update src/lib/features.js
Clayblockunova Aug 2, 2024
a3afb5f
Update features.js
Clayblockunova Aug 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Features.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This table lists features available in the most common engines.
<li><a href="api-doc/interfaces/FeatureAll.md#ANY_WINDOW"><code>ANY_WINDOW</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#ARRAY_ITERATOR"><code>ARRAY_ITERATOR</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#ARROW"><code>ARROW</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#ASYNC_FUNCTION"><code>ASYNC_FUNCTION</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#AT"><code>AT</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#ATOB"><code>ATOB</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#BARPROP"><code>BARPROP</code></a>
Expand All @@ -32,6 +33,7 @@ This table lists features available in the most common engines.
<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#JAPANESE_INFINITY"><code>JAPANESE_INFINITY</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 All @@ -58,6 +60,7 @@ This table lists features available in the most common engines.
<li><a href="api-doc/interfaces/FeatureAll.md#ANY_WINDOW"><code>ANY_WINDOW</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#ARRAY_ITERATOR"><code>ARRAY_ITERATOR</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#ARROW"><code>ARROW</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#ASYNC_FUNCTION"><code>ASYNC_FUNCTION</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#AT"><code>AT</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#ATOB"><code>ATOB</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#BARPROP"><code>BARPROP</code></a>
Expand All @@ -77,6 +80,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#JAPANESE_INFINITY"><code>JAPANESE_INFINITY</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> and <a href="api-doc/interfaces/FeatureAll.md#SHORT_LOCALES"><code>SHORT_LOCALES</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a>
Expand Down Expand Up @@ -116,6 +120,7 @@ This table lists features available in the most common engines.
<li><a href="api-doc/interfaces/FeatureAll.md#IE_SRC"><code>IE_SRC</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>; Internet Explorer 11)
<li><a href="api-doc/interfaces/FeatureAll.md#JAPANESE_INFINITY"><code>JAPANESE_INFINITY</code></a> (Internet Explorer 11)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_INFINITY"><code>LOCALE_INFINITY</code></a> (Internet Explorer 11 on Windows 10)
<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>; Internet Explorer 11)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a> (Internet Explorer 11 on Windows 10)
Expand All @@ -141,6 +146,7 @@ This table lists features available in the most common engines.
<li><a href="api-doc/interfaces/FeatureAll.md#ANY_WINDOW"><code>ANY_WINDOW</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#WINDOW"><code>WINDOW</code></a>)
<li><a href="api-doc/interfaces/FeatureAll.md#ARRAY_ITERATOR"><code>ARRAY_ITERATOR</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a>; Safari 7.1+)
<li><a href="api-doc/interfaces/FeatureAll.md#ARROW"><code>ARROW</code></a> (Safari 10+)
<li><a href="api-doc/interfaces/FeatureAll.md#ASYNC_FUNCTION"><code>ASYNC_FUNCTION</code></a> (Safari 10.1+)
<li><a href="api-doc/interfaces/FeatureAll.md#AT"><code>AT</code></a> (Safari 15.4+)
<li><a href="api-doc/interfaces/FeatureAll.md#ATOB"><code>ATOB</code></a>
<li><a href="api-doc/interfaces/FeatureAll.md#BARPROP"><code>BARPROP</code></a>
Expand All @@ -162,6 +168,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> (implied by <a href="api-doc/interfaces/FeatureAll.md#PLAIN_INTL"><code>PLAIN_INTL</code></a>; Safari 10+)
<li><a href="api-doc/interfaces/FeatureAll.md#JAPANESE_INFINITY"><code>JAPANESE_INFINITY</code></a> (Safari 10+)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_INFINITY"><code>LOCALE_INFINITY</code></a> (Safari 10+)
<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>; Safari 10+)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a> (Safari 10+)
Expand Down Expand Up @@ -206,6 +213,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> (implied by <a href="api-doc/interfaces/FeatureAll.md#PLAIN_INTL"><code>PLAIN_INTL</code></a>; Android Browser 4.4)
<li><a href="api-doc/interfaces/FeatureAll.md#JAPANESE_INFINITY"><code>JAPANESE_INFINITY</code></a> (Android Browser 4.4)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_INFINITY"><code>LOCALE_INFINITY</code></a> (Android Browser 4.4)
<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>; Android Browser 4.4)
<li><a href="api-doc/interfaces/FeatureAll.md#LOCALE_NUMERALS_EXT"><code>LOCALE_NUMERALS_EXT</code></a> (Android Browser 4.4)
Expand All @@ -230,6 +238,7 @@ This table lists features available in the most common engines.
<ul>
<li><a href="api-doc/interfaces/FeatureAll.md#ARRAY_ITERATOR"><code>ARRAY_ITERATOR</code></a> (implied by <a href="api-doc/interfaces/FeatureAll.md#NO_OLD_SAFARI_ARRAY_ITERATOR"><code>NO_OLD_SAFARI_ARRAY_ITERATOR</code></a>; Node.js 0.12+)
<li><a href="api-doc/interfaces/FeatureAll.md#ARROW"><code>ARROW</code></a> (Node.js 4+)
<li><a href="api-doc/interfaces/FeatureAll.md#ASYNC_FUNCTION"><code>ASYNC_FUNCTION</code></a> (Node.js 7.6+)
<li><a href="api-doc/interfaces/FeatureAll.md#AT"><code>AT</code></a> (Node.js 16.6+)
<li><a href="api-doc/interfaces/FeatureAll.md#ATOB"><code>ATOB</code></a> (Node.js 16.0+)
<li><a href="api-doc/interfaces/FeatureAll.md#ESC_HTML_ALL"><code>ESC_HTML_ALL</code></a> (not in Node.js 0.12+)
Expand All @@ -248,6 +257,7 @@ This table lists features available in the most common engines.
<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#JAPANESE_INFINITY"><code>JAPANESE_INFINITY</code></a> (Node.js 0.12+)
<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
40 changes: 40 additions & 0 deletions api-doc/interfaces/FeatureAll.md
Copy link
Owner

@fasttime fasttime Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generated automatically when you run npx gulp. You just need to add the feature definitions to src/lib/features.js.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, but I tend to edit the code directly in Github.

Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,18 @@ Available in Chrome, Edge, Firefox, Safari 10+, Opera, and Node.js 4+.

***

### ASYNC_FUNCTION

> **ASYNC_FUNCTION**: [`ElementaryFeature`](ElementaryFeature.md)

Support for async functions, which return `Promise` object.

#### Remarks

Available in Chrome, Edge, Firefox, Safari 10.1+, Opera, and Node.js 7.6+.

***

### AT

> **AT**: [`ElementaryFeature`](ElementaryFeature.md)
Expand Down Expand Up @@ -576,6 +588,18 @@ Available in Chrome, Edge, Opera, and Node.js 22+.

***

### JAPANESE_INFINITY

> **JAPANESE_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)

Japanese string representation of Infinity ended with "∞".

#### Remarks

Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10+, Opera, Android Browser 4.4, and Node.js 0.12+.

***

### LOCALE\_INFINITY

> **LOCALE\_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)
Expand Down Expand Up @@ -666,6 +690,14 @@ Features available in Node.js 0.12.

***

### NODE\_7\_6

> **NODE\_7\_6**: [`PredefinedFeature`](PredefinedFeature.md)

Features available in Node.js 7.6.

***

### NODE\_10

> **NODE\_10**: [`PredefinedFeature`](PredefinedFeature.md)
Expand Down Expand Up @@ -900,6 +932,14 @@ Features available in Safari 10 and Safari 11.

***

### SAFARI\_10\_1

> **SAFARI\_10\_1**: [`PredefinedFeature`](PredefinedFeature.md)

Features available in Safari 10.1 and Safari 11.

***

### SAFARI\_12

> **SAFARI\_12**: [`PredefinedFeature`](PredefinedFeature.md)
Expand Down
32 changes: 32 additions & 0 deletions api-doc/interfaces/FeatureConstructor.md
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is also autogenerated.

Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,22 @@ Available in Chrome, Edge, Firefox, Safari 10+, Opera, and Node.js 4+.

***

### ASYNC_FUNCTION

> **ASYNC_FUNCTION**: [`ElementaryFeature`](ElementaryFeature.md)

Support for async functions, which return `Promise` object.

#### Remarks

Available in Chrome, Edge, Firefox, Safari 10.1+, Opera, and Node.js 7.6+.

#### Inherited from

[`FeatureAll`](FeatureAll.md).[`ASYNC_FUNCTION`](FeatureAll.md#async_function)

***

### AT

> **AT**: [`ElementaryFeature`](ElementaryFeature.md)
Expand Down Expand Up @@ -906,6 +922,22 @@ Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 1

***

### JAPANESE_INFINITY

> **JAPANESE_INFINITY**: [`ElementaryFeature`](ElementaryFeature.md)

Japanese string representation of Infinity ended with "∞".

#### Remarks

Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10+, Opera, Android Browser 4.4, and Node.js 0.12+.

#### Inherited from

[`FeatureAll`](FeatureAll.md).[`JAPANESE_INFINITY`](FeatureAll.md#japanese_infinity)

***

### LOCALE\_NUMERALS

> **LOCALE\_NUMERALS**: [`ElementaryFeature`](ElementaryFeature.md)
Expand Down
2 changes: 1 addition & 1 deletion api-doc/type-aliases/ElementaryFeatureName.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

# Type Alias: ElementaryFeatureName

> **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"` \| `"ITERATOR_HELPER"` \| `"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"`
> **ElementaryFeatureName**: `"ANY_DOCUMENT"` \| `"ANY_WINDOW"` \| `"ARRAY_ITERATOR"` \| `"ASYNC_FUNCTION"` \| `"ATOB"` \| `"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"` \| `"ITERATOR_HELPER"` \| `"JAPANESE_INFINITY"` \| `"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"`

Name of an elementary feature.
2 changes: 1 addition & 1 deletion api-doc/type-aliases/PredefinedFeatureName.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

# Type Alias: PredefinedFeatureName

> **PredefinedFeatureName**: [`ElementaryFeatureName`](ElementaryFeatureName.md) \| `"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_22"` \| `"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"`
> **PredefinedFeatureName**: [`ElementaryFeatureName`](ElementaryFeatureName.md) \| `"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_22"` \| `"NODE_4"` \| `"NODE_5"` \| `"NODE_7_6"` \| `"SAFARI_10"` \| `"SAFARI_10_1"` \| `"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"`

Name of a predefined feature.
8 changes: 8 additions & 0 deletions src/lib/definitions.js
fasttime marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ function getFHPaddingEntries(index)
var ANY_WINDOW = Feature.ANY_WINDOW;
var ARRAY_ITERATOR = Feature.ARRAY_ITERATOR;
var ARROW = Feature.ARROW;
var ASYNC_FUNCTION = Feature.ASYNC_FUNCTION;
var AT = Feature.AT;
var ATOB = Feature.ATOB;
var BARPROP = Feature.BARPROP;
Expand Down Expand Up @@ -378,6 +379,8 @@ function getFHPaddingEntries(index)
var IE_SRC = Feature.IE_SRC;
var INCR_CHAR = Feature.INCR_CHAR;
var INTL = Feature.INTL;
var ITERATOR_HELPER = Feature.ITERATOR_HELPER;
var JAPANESE_INFINITY = Feature.JAPANESE_INFINITY;
var LOCALE_INFINITY = Feature.LOCALE_INFINITY;
var LOCALE_NUMERALS = Feature.LOCALE_NUMERALS;
var LOCALE_NUMERALS_EXT = Feature.LOCALE_NUMERALS_EXT;
Expand Down Expand Up @@ -902,6 +905,7 @@ function getFHPaddingEntries(index)
({ expr: '(RP_3_WA + Function("return history")())[11]', optimize: true }, HISTORY),
define('(RP_1_WA + Audio)[10]', HTMLAUDIOELEMENT),
define('(RP_3_WA + document)[11]', HTMLDOCUMENT),
define('(RP_4_A + [].entries().filter(ANY_FUNCTION))[21]', ITERATOR_HELPER),
],
'I': '"Infinity"[0]',
'J':
Expand Down Expand Up @@ -985,6 +989,7 @@ function getFHPaddingEntries(index)
'P':
[
define('String.fromCharCode("80")'),
define('(RP_3_WA + Function("return async function(){}")()())[11]', ASYNC_FUNCTION),
define('atob("01A")[1]', ATOB),
define('btoa("".italics())[0]', ATOB),
define('(RP_0_S + Function("return statusbar")())[11]', BARPROP),
Expand Down Expand Up @@ -1161,6 +1166,7 @@ function getFHPaddingEntries(index)
[
define('211[TO_STRING]("31")[1]'),
define('(RP_3_WA + btoa(undefined))[10]', ATOB),
define('(RP_0_S + [].entries().filter(ANY_FUNCTION))[20]', ITERATOR_HELPER),
],
'q':
[
Expand Down Expand Up @@ -1293,6 +1299,8 @@ function getFHPaddingEntries(index)
'∞':
[
define('Infinity[TO_LOCALE_STRING]()', LOCALE_INFINITY),
define('Infinity[TO_LOCALE_STRING]("ja")[SLICE_OR_SUBSTR]("-1")', JAPANESE_INFINITY),
define('Infinity[TO_LOCALE_STRING]("ja").at("-1")', JAPANESE_INFINITY, AT),
defineCharDefault(),
],
}); // eslint-disable-line @origin-1/bracket-layout
Expand Down
Loading
Loading