summaryrefslogtreecommitdiff
path: root/tests/specs/run/node_globals_hints/global.out
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-11-14 14:11:29 +0100
committerGitHub <noreply@github.com>2024-11-14 13:11:29 +0000
commitde34c7ed29bcce8b46a65f5effe45090b8493ba5 (patch)
tree5dc23f03d87522682342f0f82215566e8e580298 /tests/specs/run/node_globals_hints/global.out
parent4e899d48cffa95617266dd8f9aef54603a87ad82 (diff)
feat(cli): add `--unstable-node-globals` flag (#26617)
This PR adds a new `--unstable-node-globals` flag to expose Node globals by default. Fixes https://github.com/denoland/deno/issues/26611 --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/run/node_globals_hints/global.out')
-rw-r--r--tests/specs/run/node_globals_hints/global.out3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/specs/run/node_globals_hints/global.out b/tests/specs/run/node_globals_hints/global.out
index e090d32e2..ad01ac426 100644
--- a/tests/specs/run/node_globals_hints/global.out
+++ b/tests/specs/run/node_globals_hints/global.out
@@ -4,4 +4,5 @@ global;
at [WILDCARD]global.js:1:1
info: global is not available in the global scope in Deno.
- hint: Use globalThis instead, or assign globalThis.global = globalThis.
+ hint: Use globalThis instead, or assign globalThis.global = globalThis,
+ or run again with --unstable-node-globals flag to add this global.