Skip to content

Commit

Permalink
Node.js 22.0.0 (#22944)
Browse files Browse the repository at this point in the history
* Set methods

* Update Node.js versions

* add Array.fromAsync compatibility for Node.js v22

* add Iterator helpers compatibility for Node.js v22

* remove 'import attributes with assert syntax' for Node.js v22

* add WebSocket compatibility for Node.js v22

* add Promise.withResolvers compatibility for Node.js v22

* remove 'import attributes with assert syntax' for Node.js v22
  • Loading branch information
jlweston authored May 7, 2024
1 parent a9313d3 commit 8668b50
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 23 deletions.
48 changes: 48 additions & 0 deletions api/WebSocket.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -80,6 +83,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -122,6 +128,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -169,6 +178,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -212,6 +224,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -255,6 +270,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -299,6 +317,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -345,6 +366,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -390,6 +414,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -434,6 +461,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -480,6 +510,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -525,6 +558,9 @@
"ie": {
"version_added": false
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -567,6 +603,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
Expand Down Expand Up @@ -608,6 +647,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -669,6 +711,9 @@
"ie": {
"version_added": "10"
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down Expand Up @@ -712,6 +757,9 @@
"ie": {
"version_added": false
},
"nodejs": {
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": {
"version_added": "12.1"
Expand Down
9 changes: 8 additions & 1 deletion browsers/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,16 @@
"21.2.0": {
"release_date": "2023-11-14",
"release_notes": "https://nodejs.org/en/blog/release/v21.2.0",
"status": "current",
"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",
"status": "current",
"engine": "V8",
"engine_version": "12.4"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion javascript/builtins/Array.json
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down
22 changes: 11 additions & 11 deletions javascript/builtins/Iterator.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -164,7 +164,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -212,7 +212,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -260,7 +260,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -308,7 +308,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -356,7 +356,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -452,7 +452,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -500,7 +500,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -548,7 +548,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -596,7 +596,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -644,7 +644,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down
2 changes: 1 addition & 1 deletion javascript/builtins/Promise.json
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down
14 changes: 7 additions & 7 deletions javascript/builtins/Set.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -542,7 +542,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -592,7 +592,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -642,7 +642,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -692,7 +692,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -880,7 +880,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -930,7 +930,7 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "22.0.0"
},
"oculus": "mirror",
"opera": "mirror",
Expand Down
6 changes: 4 additions & 2 deletions javascript/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,8 @@
"version_added": false
},
"nodejs": {
"version_added": "16.14.0"
"version_added": "16.14.0",
"version_removed": "22.0.0"
},
"oculus": "mirror",
"opera": {
Expand Down Expand Up @@ -1410,7 +1411,8 @@
},
"nodejs": [
{
"version_added": "17.5.0"
"version_added": "17.5.0",
"version_removed": "22.0.0"
},
{
"version_added": "16.15.0",
Expand Down

0 comments on commit 8668b50

Please sign in to comment.