From 1b3228e5f30c4a70ec0908defc003a19ff607fed Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 19:25:13 +0800
Subject: [PATCH 1/7] Update nodejs data for Web Stream API
---
api/ByteLengthQueuingStrategy.json | 7 ++-----
api/CompressionStream.json | 7 ++-----
api/CountQueuingStrategy.json | 7 ++-----
api/DecompressionStream.json | 7 ++-----
api/ReadableByteStreamController.json | 10 ++++------
api/ReadableStream.json | 12 +++++-------
api/ReadableStreamBYOBReader.json | 7 ++-----
api/ReadableStreamBYOBRequest.json | 7 ++-----
api/ReadableStreamDefaultController.json | 7 ++-----
api/ReadableStreamDefaultReader.json | 7 ++-----
api/TextDecoderStream.json | 7 ++-----
api/TextEncoderStream.json | 7 ++-----
api/TransformStream.json | 9 +++------
api/TransformStreamDefaultController.json | 13 ++++++++++---
api/WritableStream.json | 9 +++------
api/WritableStreamDefaultController.json | 7 ++-----
api/WritableStreamDefaultWriter.json | 7 ++-----
release_notes/v4.md | 2 +-
18 files changed, 50 insertions(+), 89 deletions(-)
diff --git a/api/ByteLengthQueuingStrategy.json b/api/ByteLengthQueuingStrategy.json
index bcb0c6d31a07a2..13065af8727c23 100644
--- a/api/ByteLengthQueuingStrategy.json
+++ b/api/ByteLengthQueuingStrategy.json
@@ -31,11 +31,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/CompressionStream.json b/api/CompressionStream.json
index b70aa76989350c..0867836b113ea1 100644
--- a/api/CompressionStream.json
+++ b/api/CompressionStream.json
@@ -29,11 +29,8 @@
},
{
"version_added": "17.0.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/CountQueuingStrategy.json b/api/CountQueuingStrategy.json
index 27591bddb82c87..01da2249342224 100644
--- a/api/CountQueuingStrategy.json
+++ b/api/CountQueuingStrategy.json
@@ -31,11 +31,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/DecompressionStream.json b/api/DecompressionStream.json
index e828630d4c9a32..723381b22e64f2 100644
--- a/api/DecompressionStream.json
+++ b/api/DecompressionStream.json
@@ -29,11 +29,8 @@
},
{
"version_added": "17.0.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/ReadableByteStreamController.json b/api/ReadableByteStreamController.json
index f29546dbdd13a5..1c1d7a995fa227 100644
--- a/api/ReadableByteStreamController.json
+++ b/api/ReadableByteStreamController.json
@@ -30,15 +30,13 @@
},
"nodejs": [
{
- "version_added": "18.0.0"
+ "version_added": "18.0.0",
+ "notes": "Before 18.10.0, handling a BYOB pull request from a released reader is not supported."
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/ReadableStream.json b/api/ReadableStream.json
index 67fa176178d0b6..970f749eceec9d 100644
--- a/api/ReadableStream.json
+++ b/api/ReadableStream.json
@@ -31,11 +31,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
@@ -392,7 +389,8 @@
"version_added": false
},
"nodejs": {
- "version_added": "16.5.0"
+ "version_added": "16.5.0",
+ "notes": "Before 18.10.0 or 16.18.0, teeing a readable byte stream is not supported."
},
"oculus": "mirror",
"opera": "mirror",
@@ -433,7 +431,7 @@
"version_added": false
},
"nodejs": {
- "version_added": false
+ "version_added": "16.5.0"
},
"oculus": "mirror",
"opera": "mirror",
diff --git a/api/ReadableStreamBYOBReader.json b/api/ReadableStreamBYOBReader.json
index 3b6870d618e3ba..9ae3e051632eda 100644
--- a/api/ReadableStreamBYOBReader.json
+++ b/api/ReadableStreamBYOBReader.json
@@ -26,11 +26,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/ReadableStreamBYOBRequest.json b/api/ReadableStreamBYOBRequest.json
index e573b25ee37145..ca44b142183616 100644
--- a/api/ReadableStreamBYOBRequest.json
+++ b/api/ReadableStreamBYOBRequest.json
@@ -26,11 +26,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/ReadableStreamDefaultController.json b/api/ReadableStreamDefaultController.json
index b9069e58cec4db..8d51549971236e 100644
--- a/api/ReadableStreamDefaultController.json
+++ b/api/ReadableStreamDefaultController.json
@@ -34,11 +34,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/ReadableStreamDefaultReader.json b/api/ReadableStreamDefaultReader.json
index b4f2a13021b3b6..2a3e6b0f430839 100644
--- a/api/ReadableStreamDefaultReader.json
+++ b/api/ReadableStreamDefaultReader.json
@@ -34,11 +34,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/TextDecoderStream.json b/api/TextDecoderStream.json
index e9ae3a524bcf04..4892a55d319c93 100644
--- a/api/TextDecoderStream.json
+++ b/api/TextDecoderStream.json
@@ -26,11 +26,8 @@
},
{
"version_added": "16.6.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/TextEncoderStream.json b/api/TextEncoderStream.json
index 48b8b89de4a9b1..9d302435c638e1 100644
--- a/api/TextEncoderStream.json
+++ b/api/TextEncoderStream.json
@@ -26,11 +26,8 @@
},
{
"version_added": "16.6.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/TransformStream.json b/api/TransformStream.json
index 4623cccea984db..962bc96778747b 100644
--- a/api/TransformStream.json
+++ b/api/TransformStream.json
@@ -26,11 +26,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
@@ -154,7 +151,7 @@
"version_added": false
},
"nodejs": {
- "version_added": false
+ "version_added": "16.5.0"
},
"oculus": "mirror",
"opera": "mirror",
diff --git a/api/TransformStreamDefaultController.json b/api/TransformStreamDefaultController.json
index 4081cc339e68d7..c2c9177b5e7fea 100644
--- a/api/TransformStreamDefaultController.json
+++ b/api/TransformStreamDefaultController.json
@@ -28,9 +28,16 @@
"ie": {
"version_added": false
},
- "nodejs": {
- "version_added": "16.5.0"
- },
+ "nodejs": [
+ {
+ "version_added": "18.0.0"
+ },
+ {
+ "version_added": "16.5.0",
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
+ }
+ ],
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
diff --git a/api/WritableStream.json b/api/WritableStream.json
index 35b13488cce11c..b64c35f600318a 100644
--- a/api/WritableStream.json
+++ b/api/WritableStream.json
@@ -31,11 +31,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
@@ -322,7 +319,7 @@
"version_added": false
},
"nodejs": {
- "version_added": false
+ "version_added": "16.5.0"
},
"oculus": "mirror",
"opera": "mirror",
diff --git a/api/WritableStreamDefaultController.json b/api/WritableStreamDefaultController.json
index b9d9300503580f..564a4c6baf097c 100644
--- a/api/WritableStreamDefaultController.json
+++ b/api/WritableStreamDefaultController.json
@@ -31,11 +31,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/api/WritableStreamDefaultWriter.json b/api/WritableStreamDefaultWriter.json
index f78191b18a4496..849dc75c72b08d 100644
--- a/api/WritableStreamDefaultWriter.json
+++ b/api/WritableStreamDefaultWriter.json
@@ -31,11 +31,8 @@
},
{
"version_added": "16.5.0",
- "version_removed": "18.0.0",
- "notes": [
- "Must be imported using either require('stream/web')
or import * from 'stream/web'
.",
- "Experimental implementation."
- ]
+ "partial_implementation": true,
+ "notes": "Available as a part of the stream/web
module."
}
],
"oculus": "mirror",
diff --git a/release_notes/v4.md b/release_notes/v4.md
index da26761bcbf64e..5560e50d792b16 100644
--- a/release_notes/v4.md
+++ b/release_notes/v4.md
@@ -2214,7 +2214,7 @@ September 16, 2021
- `api.AudioNodeOptions` ([#12366](https://github.com/mdn/browser-compat-data/pull/12366))
- `api.DOMPointInit` ([#12335](https://github.com/mdn/browser-compat-data/pull/12335))
- `api.HTMLSourceElement.keySystem` ([#12383](https://github.com/mdn/browser-compat-data/pull/12383))
- - `api.Transferable` ([#12376](https://github.com/mdn/browser-compat-data/pull/12376)
+ - `api.Transferable` ([#12376](https://github.com/mdn/browser-compat-data/pull/12376))
- `api.Window.routeEvent` ([#12403](https://github.com/mdn/browser-compat-data/pull/12403))
### Known issues
From bf921801fbb45f4202358d080fa5728a20ca0877 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 19:36:53 +0800
Subject: [PATCH 2/7] add data
---
api/ReadableStreamBYOBReader.json | 44 +++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/api/ReadableStreamBYOBReader.json b/api/ReadableStreamBYOBReader.json
index 9ae3e051632eda..e4897d2240fe0b 100644
--- a/api/ReadableStreamBYOBReader.json
+++ b/api/ReadableStreamBYOBReader.json
@@ -210,6 +210,50 @@
"standard_track": true,
"deprecated": false
}
+ },
+ "options_min_parameter": {
+ "description": "options.min
parameter",
+ "support": {
+ "chrome": {
+ "version_added": false
+ },
+ "chrome_android": "mirror",
+ "deno": {
+ "version_added": false
+ },
+ "edge": "mirror",
+ "firefox": {
+ "version_added": false
+ },
+ "firefox_android": "mirror",
+ "ie": {
+ "version_added": false
+ },
+ "nodejs": [
+ {
+ "version_added": "21.7.0"
+ },
+ {
+ "version_added": "20.17.0",
+ "version_removed": "21.0.0"
+ }
+ ],
+ "oculus": "mirror",
+ "opera": "mirror",
+ "opera_android": "mirror",
+ "safari": {
+ "version_added": false
+ },
+ "safari_ios": "mirror",
+ "samsunginternet_android": "mirror",
+ "webview_android": "mirror",
+ "webview_ios": "mirror"
+ },
+ "status": {
+ "experimental": true,
+ "standard_track": true,
+ "deprecated": false
+ }
}
},
"releaseLock": {
From a3f3ba8ca51ad9748ec98a17c61a8b650b522596 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 19:54:05 +0800
Subject: [PATCH 3/7] fix data
---
api/ReadableStreamBYOBReader.json | 82 ++++++++++++++++---------------
1 file changed, 43 insertions(+), 39 deletions(-)
diff --git a/api/ReadableStreamBYOBReader.json b/api/ReadableStreamBYOBReader.json
index e4897d2240fe0b..e389ab0ae6cceb 100644
--- a/api/ReadableStreamBYOBReader.json
+++ b/api/ReadableStreamBYOBReader.json
@@ -212,47 +212,51 @@
}
},
"options_min_parameter": {
- "description": "options.min
parameter",
- "support": {
- "chrome": {
- "version_added": false
- },
- "chrome_android": "mirror",
- "deno": {
- "version_added": false
- },
- "edge": "mirror",
- "firefox": {
- "version_added": false
- },
- "firefox_android": "mirror",
- "ie": {
- "version_added": false
- },
- "nodejs": [
- {
- "version_added": "21.7.0"
+ "__compat": {
+ "description": "options.min
parameter",
+ "support": {
+ "chrome": {
+ "version_added": false,
+ "impl_url": "https://crbug.com/40942083"
},
- {
- "version_added": "20.17.0",
- "version_removed": "21.0.0"
- }
- ],
- "oculus": "mirror",
- "opera": "mirror",
- "opera_android": "mirror",
- "safari": {
- "version_added": false
+ "chrome_android": "mirror",
+ "deno": {
+ "version_added": false
+ },
+ "edge": "mirror",
+ "firefox": {
+ "version_added": "134"
+ },
+ "firefox_android": "mirror",
+ "ie": {
+ "version_added": false
+ },
+ "nodejs": [
+ {
+ "version_added": "21.7.0"
+ },
+ {
+ "version_added": "20.17.0",
+ "version_removed": "21.0.0"
+ }
+ ],
+ "oculus": "mirror",
+ "opera": "mirror",
+ "opera_android": "mirror",
+ "safari": {
+ "version_added": false,
+ "impl_url": "https://webkit.org/b/264731"
+ },
+ "safari_ios": "mirror",
+ "samsunginternet_android": "mirror",
+ "webview_android": "mirror",
+ "webview_ios": "mirror"
},
- "safari_ios": "mirror",
- "samsunginternet_android": "mirror",
- "webview_android": "mirror",
- "webview_ios": "mirror"
- },
- "status": {
- "experimental": true,
- "standard_track": true,
- "deprecated": false
+ "status": {
+ "experimental": true,
+ "standard_track": true,
+ "deprecated": false
+ }
}
}
},
From 941b89c49bdeea27f5cdeb1a85984907e0cbe1ab Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 20:12:41 +0800
Subject: [PATCH 4/7] add missing nodejs versions
---
browsers/nodejs.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/browsers/nodejs.json b/browsers/nodejs.json
index 99be4cba3eba85..aea19bd09cf7eb 100644
--- a/browsers/nodejs.json
+++ b/browsers/nodejs.json
@@ -576,6 +576,13 @@
"20.12.0": {
"release_date": "2024-03-26",
"release_notes": "https://nodejs.org/en/blog/release/v20.12.0",
+ "status": "retired",
+ "engine": "V8",
+ "engine_version": "11.3"
+ },
+ "20.17.0": {
+ "release_date": "2024-08-21",
+ "release_notes": "https://nodejs.org/en/blog/release/v20.17.0",
"status": "esr",
"engine": "V8",
"engine_version": "11.3"
@@ -594,6 +601,13 @@
"engine": "V8",
"engine_version": "11.8"
},
+ "21.7.0": {
+ "release_date": "2024-05-06",
+ "release_notes": "https://nodejs.org/en/blog/release/v21.7.0",
+ "status": "retired",
+ "engine": "V8",
+ "engine_version": "11.8"
+ },
"22.0.0": {
"release_date": "2024-04-25",
"release_notes": "https://nodejs.org/en/blog/release/v22.0.0",
From 8e089be796450373164794e741b35bbb8cd2cb75 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 22:18:27 +0800
Subject: [PATCH 5/7] Update api/ReadableStreamBYOBReader.json
---
api/ReadableStreamBYOBReader.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/api/ReadableStreamBYOBReader.json b/api/ReadableStreamBYOBReader.json
index e389ab0ae6cceb..0a7f138a100eb3 100644
--- a/api/ReadableStreamBYOBReader.json
+++ b/api/ReadableStreamBYOBReader.json
@@ -225,7 +225,8 @@
},
"edge": "mirror",
"firefox": {
- "version_added": "134"
+ "version_added": false,
+ "impl_url": "https://bugzil.la/1864406"
},
"firefox_android": "mirror",
"ie": {
From 565fd1a1508f1b6689367f8f2b01aa6db4c72a0e Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 23:32:54 +0800
Subject: [PATCH 6/7] Update ReadableStreamBYOBReader.json
---
api/ReadableStreamBYOBReader.json | 49 -------------------------------
1 file changed, 49 deletions(-)
diff --git a/api/ReadableStreamBYOBReader.json b/api/ReadableStreamBYOBReader.json
index 0a7f138a100eb3..9ae3e051632eda 100644
--- a/api/ReadableStreamBYOBReader.json
+++ b/api/ReadableStreamBYOBReader.json
@@ -210,55 +210,6 @@
"standard_track": true,
"deprecated": false
}
- },
- "options_min_parameter": {
- "__compat": {
- "description": "options.min
parameter",
- "support": {
- "chrome": {
- "version_added": false,
- "impl_url": "https://crbug.com/40942083"
- },
- "chrome_android": "mirror",
- "deno": {
- "version_added": false
- },
- "edge": "mirror",
- "firefox": {
- "version_added": false,
- "impl_url": "https://bugzil.la/1864406"
- },
- "firefox_android": "mirror",
- "ie": {
- "version_added": false
- },
- "nodejs": [
- {
- "version_added": "21.7.0"
- },
- {
- "version_added": "20.17.0",
- "version_removed": "21.0.0"
- }
- ],
- "oculus": "mirror",
- "opera": "mirror",
- "opera_android": "mirror",
- "safari": {
- "version_added": false,
- "impl_url": "https://webkit.org/b/264731"
- },
- "safari_ios": "mirror",
- "samsunginternet_android": "mirror",
- "webview_android": "mirror",
- "webview_ios": "mirror"
- },
- "status": {
- "experimental": true,
- "standard_track": true,
- "deprecated": false
- }
- }
}
},
"releaseLock": {
From 4b700bc1af8f171a66af7e8654830d8eca0b5c9c Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 3 Nov 2024 23:36:22 +0800
Subject: [PATCH 7/7] Update nodejs.json
---
browsers/nodejs.json | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/browsers/nodejs.json b/browsers/nodejs.json
index aea19bd09cf7eb..99be4cba3eba85 100644
--- a/browsers/nodejs.json
+++ b/browsers/nodejs.json
@@ -576,13 +576,6 @@
"20.12.0": {
"release_date": "2024-03-26",
"release_notes": "https://nodejs.org/en/blog/release/v20.12.0",
- "status": "retired",
- "engine": "V8",
- "engine_version": "11.3"
- },
- "20.17.0": {
- "release_date": "2024-08-21",
- "release_notes": "https://nodejs.org/en/blog/release/v20.17.0",
"status": "esr",
"engine": "V8",
"engine_version": "11.3"
@@ -601,13 +594,6 @@
"engine": "V8",
"engine_version": "11.8"
},
- "21.7.0": {
- "release_date": "2024-05-06",
- "release_notes": "https://nodejs.org/en/blog/release/v21.7.0",
- "status": "retired",
- "engine": "V8",
- "engine_version": "11.8"
- },
"22.0.0": {
"release_date": "2024-04-25",
"release_notes": "https://nodejs.org/en/blog/release/v22.0.0",