Skip to content

Commit 0fd0350

Browse files
feat(no-unsupported): Support node 23.0.0 and 22.10.0 (#358)
1 parent 23d0e84 commit 0fd0350

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

lib/unsupported-features/node-builtins-modules/module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const Module = {
1818
},
1919
},
2020
enableCompileCache: { [READ]: { experimental: ["22.8.0"] } },
21+
flushCompileCache: { [READ]: { experimental: ["23.0.0", "22.10.0"] } },
2122
getCompileCacheDir: { [READ]: { experimental: ["22.8.0"] } },
2223
isBuiltin: { [READ]: { supported: ["18.6.0", "16.17.0"] } },
2324
register: { [READ]: { experimental: ["20.6.0"] } },

lib/unsupported-features/node-builtins-modules/process.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const process = {
1717
execArgv: { [READ]: { supported: ["0.7.7"] } },
1818
execPath: { [READ]: { supported: ["0.1.100"] } },
1919
exitCode: { [READ]: { supported: ["0.11.8"] } },
20+
features: {
21+
require_module: { [READ]: { supported: ["23.0.0", "22.10.0"] } },
22+
typescript: { [READ]: { experimental: ["23.0.0", "22.10.0"] } },
23+
},
2024
finalization: {
2125
register: { [READ]: { experimental: ["22.5.0"] } },
2226
registerBeforeExit: { [READ]: { experimental: ["22.5.0"] } },

lib/unsupported-features/node-builtins-modules/worker_threads.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const worker_threads = {
1616
supported: ["17.5.0", "16.15.0"],
1717
},
1818
},
19+
markAsUncloneable: { [READ]: { supported: ["23.0.0", "22.10.0"] } },
1920
markAsUntransferable: { [READ]: { supported: ["14.5.0", "12.19.0"] } },
2021
isMarkedAsUntransferable: { [READ]: { supported: ["21.0.0"] } },
2122
moveMessagePortToContext: { [READ]: { supported: ["11.13.0"] } },

lib/unsupported-features/node-globals.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,21 @@ const nodeGlobals = {
135135
// module.crypto
136136
crypto: {
137137
...crypto.webcrypto,
138-
[READ]: { experimental: ["17.6.0", "16.15.0"] },
138+
[READ]: { experimental: ["17.6.0", "16.15.0"], supported: ["23.0.0"] },
139+
},
140+
Crypto: {
141+
[READ]: { experimental: ["17.6.0", "16.15.0"], supported: ["23.0.0"] },
142+
},
143+
CryptoKey: {
144+
[READ]: { experimental: ["17.6.0", "16.15.0"], supported: ["23.0.0"] },
139145
},
140-
Crypto: { [READ]: { experimental: ["17.6.0", "16.15.0"] } },
141-
CryptoKey: { [READ]: { experimental: ["17.6.0", "16.15.0"] } },
142146
SubtleCrypto: { [READ]: { experimental: ["17.6.0", "16.15.0"] } },
143147

144148
// module.events
145-
CustomEvent: events.CustomEvent,
149+
CloseEvent: { [READ]: { supported: ["23.0.0"] } },
150+
CustomEvent: {
151+
[READ]: { experimental: ["18.7.0", "16.17.0"], supported: ["23.0.0"] },
152+
},
146153
Event: events.Event,
147154
EventTarget: events.EventTarget,
148155

0 commit comments

Comments
 (0)