From 1d00bbe47e2ca14e2d2151518e02b2324461a065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 14 Feb 2023 16:48:27 +0100 Subject: fix: loading built-in Node modules embedded in the binary (#17777) Fixes bug introduced in ed3a7ce2f719e64e59cfebb3d131a05a1694523b that caused errors when loading built-in Node modules, when using "deno_graph". --- cli/tests/testdata/run/node_builtin_modules/mod.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/tests/testdata/run/node_builtin_modules/mod.js') diff --git a/cli/tests/testdata/run/node_builtin_modules/mod.js b/cli/tests/testdata/run/node_builtin_modules/mod.js index 70e39be56..4d3f48695 100644 --- a/cli/tests/testdata/run/node_builtin_modules/mod.js +++ b/cli/tests/testdata/run/node_builtin_modules/mod.js @@ -1,2 +1,4 @@ +import { createRequire } from "node:module"; +console.log(createRequire); import process from "node:process"; console.log(process.version); -- cgit v1.2.3