summaryrefslogtreecommitdiff
path: root/tests/specs/run/node_globals_hints/buffer.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/buffer.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/buffer.out')
-rw-r--r--tests/specs/run/node_globals_hints/buffer.out3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/specs/run/node_globals_hints/buffer.out b/tests/specs/run/node_globals_hints/buffer.out
index 4980e6d12..858f404ab 100644
--- a/tests/specs/run/node_globals_hints/buffer.out
+++ b/tests/specs/run/node_globals_hints/buffer.out
@@ -4,4 +4,5 @@ Buffer;
at [WILDCARD]buffer.js:1:1
info: Buffer is not available in the global scope in Deno.
- hint: Import it explicitly with import { Buffer } from "node:buffer";.
+ hint: Import it explicitly with import { Buffer } from "node:buffer";,
+ or run again with --unstable-node-globals flag to add this global.