mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix(ext/node): stub inspector/promises
(#25635)
Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
This commit is contained in:
parent
a14e9f55b4
commit
063f427ddf
2 changed files with 3 additions and 0 deletions
|
@ -615,6 +615,7 @@ deno_core::extension!(deno_node,
|
|||
"node:http2" = "http2.ts",
|
||||
"node:https" = "https.ts",
|
||||
"node:inspector" = "inspector.ts",
|
||||
"node:inspector/promises" = "inspector.ts",
|
||||
"node:module" = "01_require.js",
|
||||
"node:net" = "net.ts",
|
||||
"node:os" = "os.ts",
|
||||
|
|
|
@ -99,6 +99,7 @@ import http from "node:http";
|
|||
import http2 from "node:http2";
|
||||
import https from "node:https";
|
||||
import inspector from "node:inspector";
|
||||
import inspectorPromises from "node:inspector/promises";
|
||||
import internalCp from "ext:deno_node/internal/child_process.ts";
|
||||
import internalCryptoCertificate from "ext:deno_node/internal/crypto/certificate.ts";
|
||||
import internalCryptoCipher from "ext:deno_node/internal/crypto/cipher.ts";
|
||||
|
@ -200,6 +201,7 @@ function setupBuiltinModules() {
|
|||
http2,
|
||||
https,
|
||||
inspector,
|
||||
"inspector/promises": inspectorPromises,
|
||||
"internal/console/constructor": internalConsole,
|
||||
"internal/child_process": internalCp,
|
||||
"internal/crypto/certificate": internalCryptoCertificate,
|
||||
|
|
Loading…
Reference in a new issue