diff --git a/lib/unsupported-features/node-builtins-modules/module.js b/lib/unsupported-features/node-builtins-modules/module.js index 78b468e7..88eceb6b 100644 --- a/lib/unsupported-features/node-builtins-modules/module.js +++ b/lib/unsupported-features/node-builtins-modules/module.js @@ -18,6 +18,7 @@ const Module = { }, }, enableCompileCache: { [READ]: { experimental: ["22.8.0"] } }, + flushCompileCache: { [READ]: { experimental: ["23.0.0", "22.10.0"] } }, getCompileCacheDir: { [READ]: { experimental: ["22.8.0"] } }, isBuiltin: { [READ]: { supported: ["18.6.0", "16.17.0"] } }, register: { [READ]: { experimental: ["20.6.0"] } }, diff --git a/lib/unsupported-features/node-builtins-modules/process.js b/lib/unsupported-features/node-builtins-modules/process.js index 6024b778..4a68c92a 100644 --- a/lib/unsupported-features/node-builtins-modules/process.js +++ b/lib/unsupported-features/node-builtins-modules/process.js @@ -17,6 +17,10 @@ const process = { execArgv: { [READ]: { supported: ["0.7.7"] } }, execPath: { [READ]: { supported: ["0.1.100"] } }, exitCode: { [READ]: { supported: ["0.11.8"] } }, + features: { + require_module: { [READ]: { supported: ["23.0.0", "22.10.0"] } }, + typescript: { [READ]: { experimental: ["23.0.0", "22.10.0"] } }, + }, finalization: { register: { [READ]: { experimental: ["22.5.0"] } }, registerBeforeExit: { [READ]: { experimental: ["22.5.0"] } }, diff --git a/lib/unsupported-features/node-builtins-modules/worker_threads.js b/lib/unsupported-features/node-builtins-modules/worker_threads.js index 28c7f5d8..b375edd6 100644 --- a/lib/unsupported-features/node-builtins-modules/worker_threads.js +++ b/lib/unsupported-features/node-builtins-modules/worker_threads.js @@ -16,6 +16,7 @@ const worker_threads = { supported: ["17.5.0", "16.15.0"], }, }, + markAsUncloneable: { [READ]: { supported: ["23.0.0", "22.10.0"] } }, markAsUntransferable: { [READ]: { supported: ["14.5.0", "12.19.0"] } }, isMarkedAsUntransferable: { [READ]: { supported: ["21.0.0"] } }, moveMessagePortToContext: { [READ]: { supported: ["11.13.0"] } }, diff --git a/lib/unsupported-features/node-globals.js b/lib/unsupported-features/node-globals.js index 87723f1d..7b9f722a 100644 --- a/lib/unsupported-features/node-globals.js +++ b/lib/unsupported-features/node-globals.js @@ -135,14 +135,21 @@ const nodeGlobals = { // module.crypto crypto: { ...crypto.webcrypto, - [READ]: { experimental: ["17.6.0", "16.15.0"] }, + [READ]: { experimental: ["17.6.0", "16.15.0"], supported: ["23.0.0"] }, + }, + Crypto: { + [READ]: { experimental: ["17.6.0", "16.15.0"], supported: ["23.0.0"] }, + }, + CryptoKey: { + [READ]: { experimental: ["17.6.0", "16.15.0"], supported: ["23.0.0"] }, }, - Crypto: { [READ]: { experimental: ["17.6.0", "16.15.0"] } }, - CryptoKey: { [READ]: { experimental: ["17.6.0", "16.15.0"] } }, SubtleCrypto: { [READ]: { experimental: ["17.6.0", "16.15.0"] } }, // module.events - CustomEvent: events.CustomEvent, + CloseEvent: { [READ]: { supported: ["23.0.0"] } }, + CustomEvent: { + [READ]: { experimental: ["18.7.0", "16.17.0"], supported: ["23.0.0"] }, + }, Event: events.Event, EventTarget: events.EventTarget,