summaryrefslogtreecommitdiff
path: root/ext/node/module_es_shim.js
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2022-09-17 20:35:32 +0900
committerGitHub <noreply@github.com>2022-09-17 20:35:32 +0900
commitd7b27ed63bf74c19b0bc961a52665960c199c53a (patch)
tree2270b7aa8658e3af891a2a2950f8cb5f712dd3b0 /ext/node/module_es_shim.js
parent5fe660ecd76fe164c2065bea00fbba49d39553c2 (diff)
fix(ext/node): fix builtin module module (#15904)
Diffstat (limited to 'ext/node/module_es_shim.js')
-rw-r--r--ext/node/module_es_shim.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/module_es_shim.js b/ext/node/module_es_shim.js
index ab128e7a9..164e18db5 100644
--- a/ext/node/module_es_shim.js
+++ b/ext/node/module_es_shim.js
@@ -1,4 +1,4 @@
-const m = Deno[Deno.internal].require.moduleExports;
+const m = Deno[Deno.internal].require.Module;
export const _cache = m._cache;
export const _extensions = m._extensions;
export const _findPath = m._findPath;