From d77510c7ebc4e30611e288c6c551428b22e33a6c Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Mon, 14 Aug 2023 21:25:44 -0400 Subject: [PATCH 1/4] Data for stage 3 iterator-helpers --- javascript/builtins/Iterator.json | 546 ++++++++++++++++++++++++++++++ 1 file changed, 546 insertions(+) diff --git a/javascript/builtins/Iterator.json b/javascript/builtins/Iterator.json index c90b66f908095a..f368925b5d2aed 100644 --- a/javascript/builtins/Iterator.json +++ b/javascript/builtins/Iterator.json @@ -42,6 +42,552 @@ "deprecated": false } }, + "Iterator": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/Iterator", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iterator-constructor", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "drop": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/drop", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.drop", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "every": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/every", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.every", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "filter": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/filter", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.filter", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "find": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/find", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.find", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "flatMap": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/flatMap", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.flatmap", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "forEach": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/forEach", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.foreach", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "from": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/from", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iterator.from", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "map": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/map", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.map", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "reduce": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/reduce", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.reduce", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "some": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/some", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.some", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "take": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/take", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.take", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "toArray": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/toArray", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.toArray", + "support": { + "chrome": { + "version_added": "preview" + }, + "chrome_android": "mirror", + "deno": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false, + "notes": "See bug 1568906." + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "nodejs": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false, + "notes": "See bug 248650." + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "@@iterator": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/@@iterator", From ddc5f8d4b7ce26d4a5b722bd04dec0c6bbe4d794 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Mon, 21 Aug 2023 10:46:01 -0400 Subject: [PATCH 2/4] Update Iterator.json --- javascript/builtins/Iterator.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/javascript/builtins/Iterator.json b/javascript/builtins/Iterator.json index f368925b5d2aed..c234256e2563a3 100644 --- a/javascript/builtins/Iterator.json +++ b/javascript/builtins/Iterator.json @@ -48,7 +48,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iterator-constructor", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -90,7 +90,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.drop", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -132,7 +132,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.every", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -174,7 +174,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.filter", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -216,7 +216,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.find", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -258,7 +258,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.flatmap", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -300,7 +300,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.foreach", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -342,7 +342,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iterator.from", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -384,7 +384,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.map", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -426,7 +426,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.reduce", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -468,7 +468,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.some", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -510,7 +510,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.take", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { @@ -552,7 +552,7 @@ "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.toArray", "support": { "chrome": { - "version_added": "preview" + "version_added": "117" }, "chrome_android": "mirror", "deno": { From e05cec73b54426e982be8d25df3e1b2a5c4af7f7 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Tue, 22 Aug 2023 11:37:27 -0400 Subject: [PATCH 3/4] Fixes --- javascript/builtins/Iterator.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/builtins/Iterator.json b/javascript/builtins/Iterator.json index c234256e2563a3..2a5ba1922994e4 100644 --- a/javascript/builtins/Iterator.json +++ b/javascript/builtins/Iterator.json @@ -44,6 +44,7 @@ }, "Iterator": { "__compat": { + "description": "Iterator() constructor" "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/Iterator", "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iterator-constructor", "support": { @@ -549,7 +550,7 @@ "toArray": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/toArray", - "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.toArray", + "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.toarray", "support": { "chrome": { "version_added": "117" From 1a250faf23b9146c0bee253eb1f0a89efac0d31c Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Wed, 23 Aug 2023 11:43:16 -0400 Subject: [PATCH 4/4] Update javascript/builtins/Iterator.json --- javascript/builtins/Iterator.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/builtins/Iterator.json b/javascript/builtins/Iterator.json index 2a5ba1922994e4..f2819391622989 100644 --- a/javascript/builtins/Iterator.json +++ b/javascript/builtins/Iterator.json @@ -44,7 +44,7 @@ }, "Iterator": { "__compat": { - "description": "Iterator() constructor" + "description": "Iterator() constructor", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator/Iterator", "spec_url": "https://tc39.es/proposal-iterator-helpers/#sec-iterator-constructor", "support": {