From 560ad0331bf99a2564f53201cd086ff902901bfe Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 9 Sep 2024 17:35:41 -0400 Subject: fix(node/byonm): do not accidentally resolve bare node built-ins (#25543) This was accidentally enabled in byonm, but it requires the `--unstable-bare-node-builtins` flag. Closes #25358 --- tests/specs/run/node_prefix_missing/feature_enabled.out | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/specs/run/node_prefix_missing/feature_enabled.out (limited to 'tests/specs/run/node_prefix_missing/feature_enabled.out') diff --git a/tests/specs/run/node_prefix_missing/feature_enabled.out b/tests/specs/run/node_prefix_missing/feature_enabled.out new file mode 100644 index 000000000..3eff4bc32 --- /dev/null +++ b/tests/specs/run/node_prefix_missing/feature_enabled.out @@ -0,0 +1,2 @@ +[WILDCARD]Warning Resolving "fs" as "node:fs" at file:///[WILDCARD]/main.ts:1:16. If you want to use a built-in Node module, add a "node:" prefix. +[Function: writeFile] -- cgit v1.2.3