From 0094dbbafc974e135bd07f9c4cc59f807ed6da23 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Wed, 23 Oct 2024 03:29:03 +0800
Subject: [PATCH 1/9] Fixes #22786, add nodejs data for `File`
---
api/File.json | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/api/File.json b/api/File.json
index b7e34a565dcd91..e846a3dd06fca9 100644
--- a/api/File.json
+++ b/api/File.json
@@ -29,6 +29,21 @@
"ie": {
"version_added": "10"
},
+ "nodejs": [
+ {
+ "version_added": "20.0.0",
+ "notes": "Before 23.0.0, File
instance cann't be cloned."
+ },
+ {
+ "alternative_name": "buffer.File",
+ "version_added": "19.2.0",
+ "version_removed": "20.0.0",
+ "notes": [
+ "Experimental implementation.",
+ "Must be imported using require('buffer').File
or import { File } from 'buffer'
."
+ ]
+ }
+ ],
"oculus": "mirror",
"opera": {
"version_added": "11.5"
@@ -73,6 +88,9 @@
"ie": {
"version_added": false
},
+ "nodejs": {
+ "version_added": "19.2.0"
+ },
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
@@ -113,6 +131,9 @@
"ie": {
"version_added": false
},
+ "nodejs": {
+ "version_added": "19.2.0"
+ },
"oculus": "mirror",
"opera": {
"version_added": "≤15"
@@ -208,6 +229,9 @@
"ie": {
"version_added": "10"
},
+ "nodejs": {
+ "version_added": "19.2.0"
+ },
"oculus": "mirror",
"opera": {
"version_added": "≤15"
From 48e890e9383c0155e237885742665524c8f98b4d Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Wed, 23 Oct 2024 03:42:51 +0800
Subject: [PATCH 2/9] add nodejs release
---
browsers/nodejs.json | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/browsers/nodejs.json b/browsers/nodejs.json
index 82dd311311a1b2..c7b332aa75332e 100644
--- a/browsers/nodejs.json
+++ b/browsers/nodejs.json
@@ -489,6 +489,13 @@
"engine": "V8",
"engine_version": "10.7"
},
+ "19.2.0": {
+ "release_date": "2022-11-29",
+ "release_notes": "https://nodejs.org/en/blog/release/v19.2.0/",
+ "status": "retired",
+ "engine": "V8",
+ "engine_version": "10.7"
+ },
"19.5.0": {
"release_date": "2023-01-24",
"release_notes": "https://nodejs.org/en/blog/release/v19.5.0/",
From fa441897e90aeb87a0bf3ff57851ef00151f995a Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Wed, 23 Oct 2024 09:30:59 +0800
Subject: [PATCH 3/9] Update api/File.json
---
api/File.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/api/File.json b/api/File.json
index e846a3dd06fca9..0eda825ad1a1ed 100644
--- a/api/File.json
+++ b/api/File.json
@@ -37,7 +37,6 @@
{
"alternative_name": "buffer.File",
"version_added": "19.2.0",
- "version_removed": "20.0.0",
"notes": [
"Experimental implementation.",
"Must be imported using require('buffer').File
or import { File } from 'buffer'
."
From ba8eb14e8f0a20e225350ea062bf7841aef90b9d Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Thu, 24 Oct 2024 04:08:38 +0800
Subject: [PATCH 4/9] Update api/File.json
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
---
api/File.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/File.json b/api/File.json
index 0eda825ad1a1ed..33b9c1bda5b9a5 100644
--- a/api/File.json
+++ b/api/File.json
@@ -32,7 +32,7 @@
"nodejs": [
{
"version_added": "20.0.0",
- "notes": "Before 23.0.0, File
instance cann't be cloned."
+ "notes": "Before 23.0.0, File
instance cannot be cloned."
},
{
"alternative_name": "buffer.File",
From 4f5c9ca9395afbfd52b508275e6fd3791d9b094b Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Thu, 24 Oct 2024 14:51:50 +0800
Subject: [PATCH 5/9] Update api/File.json
---
api/File.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/api/File.json b/api/File.json
index 33b9c1bda5b9a5..26d9272cf0103b 100644
--- a/api/File.json
+++ b/api/File.json
@@ -35,11 +35,11 @@
"notes": "Before 23.0.0, File
instance cannot be cloned."
},
{
- "alternative_name": "buffer.File",
"version_added": "19.2.0",
+ "partial_implementation": true,
"notes": [
"Experimental implementation.",
- "Must be imported using require('buffer').File
or import { File } from 'buffer'
."
+ "Available as a part of the buffer
module."
]
}
],
From ee08c8a0d52f9ee676335d7caf62bd5f6569c3f2 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Fri, 25 Oct 2024 01:41:06 +0800
Subject: [PATCH 6/9] Update api/File.json
---
api/File.json | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/api/File.json b/api/File.json
index 26d9272cf0103b..7322250d193aef 100644
--- a/api/File.json
+++ b/api/File.json
@@ -37,10 +37,7 @@
{
"version_added": "19.2.0",
"partial_implementation": true,
- "notes": [
- "Experimental implementation.",
- "Available as a part of the buffer
module."
- ]
+ "notes": "Available as a part of the buffer
module."
}
],
"oculus": "mirror",
From a66a2c53acdcdc2db0d1fd93ac009f4b362300a4 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 27 Oct 2024 00:20:44 +0800
Subject: [PATCH 7/9] Update api/File.json
---
api/File.json | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/api/File.json b/api/File.json
index 7322250d193aef..9b85224d7c949f 100644
--- a/api/File.json
+++ b/api/File.json
@@ -38,6 +38,12 @@
"version_added": "19.2.0",
"partial_implementation": true,
"notes": "Available as a part of the buffer
module."
+ },
+ {
+ "version_added": "18.13.0",
+ "version_removed": "19.0.0",
+ "partial_implementation": true,
+ "notes": "Available as a part of the buffer
module."
}
],
"oculus": "mirror",
From 1180272c102c8a814dac3ba626b317c59c805194 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Sun, 27 Oct 2024 09:47:03 +0800
Subject: [PATCH 8/9] feat: add nodejs version
---
browsers/nodejs.json | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/browsers/nodejs.json b/browsers/nodejs.json
index c7b332aa75332e..99be4cba3eba85 100644
--- a/browsers/nodejs.json
+++ b/browsers/nodejs.json
@@ -447,6 +447,13 @@
"engine": "V8",
"engine_version": "10.1"
},
+ "18.13.0": {
+ "release_date": "2023-01-06",
+ "release_notes": "https://nodejs.org/en/blog/release/v18.13.0/",
+ "status": "retired",
+ "engine": "V8",
+ "engine_version": "10.1"
+ },
"18.16.0": {
"release_date": "2023-04-13",
"release_notes": "https://nodejs.org/en/blog/release/v18.16.0/",
From 334df87121d7fc6e6a7c38f1db2ebbc40b5688f3 Mon Sep 17 00:00:00 2001
From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Date: Wed, 30 Oct 2024 23:31:52 +0800
Subject: [PATCH 9/9] sync data with interface
---
api/File.json | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/api/File.json b/api/File.json
index 9b85224d7c949f..2d84f57d412ff0 100644
--- a/api/File.json
+++ b/api/File.json
@@ -90,9 +90,15 @@
"ie": {
"version_added": false
},
- "nodejs": {
- "version_added": "19.2.0"
- },
+ "nodejs": [
+ {
+ "version_added": "19.2.0"
+ },
+ {
+ "version_added": "18.13.0",
+ "version_removed": "19.0.0"
+ }
+ ],
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
@@ -133,9 +139,15 @@
"ie": {
"version_added": false
},
- "nodejs": {
- "version_added": "19.2.0"
- },
+ "nodejs": [
+ {
+ "version_added": "19.2.0"
+ },
+ {
+ "version_added": "18.13.0",
+ "version_removed": "19.0.0"
+ }
+ ],
"oculus": "mirror",
"opera": {
"version_added": "≤15"
@@ -231,9 +243,15 @@
"ie": {
"version_added": "10"
},
- "nodejs": {
- "version_added": "19.2.0"
- },
+ "nodejs": [
+ {
+ "version_added": "19.2.0"
+ },
+ {
+ "version_added": "18.13.0",
+ "version_removed": "19.0.0"
+ }
+ ],
"oculus": "mirror",
"opera": {
"version_added": "≤15"