diff options
Diffstat (limited to 'ext/node')
-rw-r--r-- | ext/node/lib.rs | 2 | ||||
-rw-r--r-- | ext/node/polyfill.rs | 1 | ||||
-rw-r--r-- | ext/node/polyfills/01_require.js | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index a820c4476..56eb292ae 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -594,7 +594,6 @@ deno_core::extension!(deno_node, "path/mod.ts", "path/separator.ts", "readline/promises.ts", - "wasi.ts", "node:assert" = "assert.ts", "node:assert/strict" = "assert/strict.ts", "node:async_hooks" = "async_hooks.ts", @@ -645,6 +644,7 @@ deno_core::extension!(deno_node, "node:util/types" = "util/types.ts", "node:v8" = "v8.ts", "node:vm" = "vm.js", + "node:wasi" = "wasi.ts", "node:worker_threads" = "worker_threads.ts", "node:zlib" = "zlib.ts", ], diff --git a/ext/node/polyfill.rs b/ext/node/polyfill.rs index 175228a25..a14b75bac 100644 --- a/ext/node/polyfill.rs +++ b/ext/node/polyfill.rs @@ -75,6 +75,7 @@ generate_builtin_node_module_lists! { "util/types", "v8", "vm", + "wasi", "worker_threads", "zlib", } diff --git a/ext/node/polyfills/01_require.js b/ext/node/polyfills/01_require.js index 40bb7f296..7eb549134 100644 --- a/ext/node/polyfills/01_require.js +++ b/ext/node/polyfills/01_require.js @@ -151,7 +151,7 @@ import util from "node:util"; import v8 from "node:v8"; import vm from "node:vm"; import workerThreads from "node:worker_threads"; -import wasi from "ext:deno_node/wasi.ts"; +import wasi from "node:wasi"; import zlib from "node:zlib"; const nativeModuleExports = ObjectCreate(null); |