Skip to content

Commit

Permalink
Tag ECMAScript features with their version (#22211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Apr 16, 2024
1 parent 9d29b62 commit 3bcd27d
Show file tree
Hide file tree
Showing 121 changed files with 2,193 additions and 173 deletions.
9 changes: 9 additions & 0 deletions javascript/builtins/AggregateError.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError",
"spec_url": "https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-aggregate-error-objects",
"tags": [
"web-features:snapshot:ecmascript-2021"
],
"support": {
"chrome": {
"version_added": "85"
Expand Down Expand Up @@ -45,6 +48,9 @@
"description": "<code>AggregateError()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError/AggregateError",
"spec_url": "https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-aggregate-error-constructor",
"tags": [
"web-features:snapshot:ecmascript-2021"
],
"support": {
"chrome": {
"version_added": "85"
Expand Down Expand Up @@ -86,6 +92,9 @@
"description": "<code>errors</code>",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError/errors",
"spec_url": "https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-aggregate-error",
"tags": [
"web-features:snapshot:ecmascript-2021"
],
"support": {
"chrome": {
"version_added": "85"
Expand Down
144 changes: 98 additions & 46 deletions javascript/builtins/Array.json

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions javascript/builtins/ArrayBuffer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffer-objects",
"tags": [
"web-features:snapshot:ecmascript-2015"
],
"support": {
"chrome": {
"version_added": "7"
Expand Down Expand Up @@ -55,6 +58,9 @@
"description": "<code>ArrayBuffer()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/ArrayBuffer",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffer-constructor",
"tags": [
"web-features:snapshot:ecmascript-2015"
],
"support": {
"chrome": {
"version_added": "7"
Expand Down Expand Up @@ -104,6 +110,9 @@
"__compat": {
"description": "<code>maxByteLength</code> option",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffer-constructor",
"tags": [
"web-features:snapshot:ecmascript-2024"
],
"support": {
"chrome": {
"version_added": "111"
Expand Down Expand Up @@ -152,6 +161,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/byteLength",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-get-arraybuffer.prototype.bytelength",
"tags": [
"web-features:snapshot:ecmascript-2015"
],
"support": {
"chrome": {
"version_added": "7"
Expand Down Expand Up @@ -202,6 +214,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/detached",
"spec_url": "https://tc39.es/proposal-arraybuffer-transfer/#sec-get-arraybuffer.prototype.detached",
"tags": [
"web-features:arraybuffer-transfer"
],
"support": {
"chrome": {
"version_added": "114"
Expand Down Expand Up @@ -242,6 +257,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffer.isview",
"tags": [
"web-features:snapshot:ecmascript-2015"
],
"support": {
"chrome": {
"version_added": "32"
Expand Down Expand Up @@ -284,6 +302,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-get-arraybuffer.prototype.maxbytelength",
"tags": [
"web-features:snapshot:ecmascript-2024"
],
"support": {
"chrome": {
"version_added": "111"
Expand Down Expand Up @@ -331,6 +352,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resizable",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-get-arraybuffer.prototype.resizable",
"tags": [
"web-features:snapshot:ecmascript-2024"
],
"support": {
"chrome": {
"version_added": "111"
Expand Down Expand Up @@ -378,6 +402,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffer.prototype.resize",
"tags": [
"web-features:snapshot:ecmascript-2024"
],
"support": {
"chrome": {
"version_added": "111"
Expand Down Expand Up @@ -425,6 +452,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/slice",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffer.prototype.slice",
"tags": [
"web-features:snapshot:ecmascript-2015"
],
"support": {
"chrome": {
"version_added": "17"
Expand Down Expand Up @@ -474,6 +504,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer",
"spec_url": "https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer",
"tags": [
"web-features:arraybuffer-transfer"
],
"support": {
"chrome": {
"version_added": "114"
Expand Down Expand Up @@ -514,6 +547,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transferToFixedLength",
"spec_url": "https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength",
"tags": [
"web-features:arraybuffer-transfer"
],
"support": {
"chrome": {
"version_added": "114"
Expand Down Expand Up @@ -554,6 +590,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/@@species",
"spec_url": "https://tc39.es/ecma262/multipage/structured-data.html#sec-get-arraybuffer-@@species",
"tags": [
"web-features:snapshot:ecmascript-2015"
],
"support": {
"chrome": {
"version_added": "51"
Expand Down
6 changes: 4 additions & 2 deletions javascript/builtins/AsyncFunction.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-async-function-objects",
"tags": [
"web-features:async-await"
"web-features:async-await",
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
Expand Down Expand Up @@ -51,7 +52,8 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction/AsyncFunction",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-async-function-constructor",
"tags": [
"web-features:async-await"
"web-features:async-await",
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
Expand Down
12 changes: 12 additions & 0 deletions javascript/builtins/AsyncGenerator.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgenerator-objects",
"tags": [
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down Expand Up @@ -44,6 +47,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/next",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgenerator-prototype-next",
"tags": [
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down Expand Up @@ -84,6 +90,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/return",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgenerator-prototype-return",
"tags": [
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down Expand Up @@ -124,6 +133,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/throw",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgenerator-prototype-throw",
"tags": [
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down
6 changes: 6 additions & 0 deletions javascript/builtins/AsyncGeneratorFunction.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGeneratorFunction",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgeneratorfunction-objects",
"tags": [
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down Expand Up @@ -45,6 +48,9 @@
"description": "<code>AsyncGeneratorFunction()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGeneratorFunction/AsyncGeneratorFunction",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asyncgeneratorfunction-constructor",
"tags": [
"web-features:snapshot:ecmascript-2017"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down
6 changes: 6 additions & 0 deletions javascript/builtins/AsyncIterator.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asynciteratorprototype",
"tags": [
"web-features:snapshot:ecmascript-2018"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down Expand Up @@ -44,6 +47,9 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator/@@asyncIterator",
"spec_url": "https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asynciteratorprototype-asynciterator",
"tags": [
"web-features:snapshot:ecmascript-2018"
],
"support": {
"chrome": {
"version_added": "63"
Expand Down
Loading

0 comments on commit 3bcd27d

Please sign in to comment.