diff options
author | Marvin Hagemeister <marvin@deno.com> | 2024-11-14 14:11:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-14 13:11:29 +0000 |
commit | de34c7ed29bcce8b46a65f5effe45090b8493ba5 (patch) | |
tree | 5dc23f03d87522682342f0f82215566e8e580298 /tests/specs/run/node_globals_hints/clear_immediate.out | |
parent | 4e899d48cffa95617266dd8f9aef54603a87ad82 (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/clear_immediate.out')
-rw-r--r-- | tests/specs/run/node_globals_hints/clear_immediate.out | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/specs/run/node_globals_hints/clear_immediate.out b/tests/specs/run/node_globals_hints/clear_immediate.out index ecd34babe..a973a3172 100644 --- a/tests/specs/run/node_globals_hints/clear_immediate.out +++ b/tests/specs/run/node_globals_hints/clear_immediate.out @@ -4,4 +4,5 @@ clearImmediate; at [WILDCARD]clear_immediate.js:1:1 info: clearImmediate is not available in the global scope in Deno. - hint: Import it explicitly with import { clearImmediate } from "node:timers";. + hint: Import it explicitly with import { clearImmediate } from "node:timers";, + or run again with --unstable-node-globals flag to add this global. |