summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-08-14 14:33:42 +0200
committerGitHub <noreply@github.com>2024-08-14 12:33:42 +0000
commit533d31bc4e9c0cae2b9047850c39c68bf494595e (patch)
tree2c2b312712a088bbe3e287e3ac20a6aeaeb7cb5e /ext/node/lib.rs
parent3b4cbc189c6548c10a9e3ffc04453bdf5b4c0bf0 (diff)
fix: `node:inspector` not being registered (#25007)
For some reason we didn't register the `node:inspector` module, which lead to a panic when trying to import it. This PR registers it. Related: https://github.com/denoland/deno/issues/25004
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 73b4497fc..a820c4476 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -483,7 +483,6 @@ deno_core::extension!(deno_node,
"_zlib_binding.mjs",
"_zlib.mjs",
"assertion_error.ts",
- "inspector.ts",
"internal_binding/_libuv_winerror.ts",
"internal_binding/_listen.ts",
"internal_binding/_node.ts",
@@ -616,6 +615,7 @@ deno_core::extension!(deno_node,
"node:http" = "http.ts",
"node:http2" = "http2.ts",
"node:https" = "https.ts",
+ "node:inspector" = "inspector.ts",
"node:module" = "01_require.js",
"node:net" = "net.ts",
"node:os" = "os.ts",