diff options
Diffstat (limited to 'ext/node/polyfills')
-rw-r--r-- | ext/node/polyfills/01_require.js | 2 | ||||
-rw-r--r-- | ext/node/polyfills/repl.ts | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/node/polyfills/01_require.js b/ext/node/polyfills/01_require.js index acdf8402f..092e7490a 100644 --- a/ext/node/polyfills/01_require.js +++ b/ext/node/polyfills/01_require.js @@ -110,7 +110,7 @@ import process from "node:process"; import querystring from "node:querystring"; import readline from "node:readline"; import readlinePromises from "ext:deno_node/readline/promises.ts"; -import repl from "ext:deno_node/repl.ts"; +import repl from "node:repl"; import stream from "node:stream"; import streamConsumers from "node:stream/consumers"; import streamPromises from "node:stream/promises"; diff --git a/ext/node/polyfills/repl.ts b/ext/node/polyfills/repl.ts index 8a57ce24c..914071ef7 100644 --- a/ext/node/polyfills/repl.ts +++ b/ext/node/polyfills/repl.ts @@ -52,11 +52,13 @@ export const builtinModules = [ "worker_threads", "zlib", ]; +export const _builtinLibs = builtinModules; export function start() { notImplemented("repl.start"); } export default { REPLServer, builtinModules, + _builtinLibs, start, }; |