From b333dccee82f4328a65d0c3c45c7aa5c19255220 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 4 Sep 2024 11:04:06 +0200 Subject: feat(cli): give access to `process` global everywhere (#25291) --- tests/node_compat/polyfill_globals.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/node_compat') diff --git a/tests/node_compat/polyfill_globals.js b/tests/node_compat/polyfill_globals.js index 93246d2ef..79e1cc3f9 100644 --- a/tests/node_compat/polyfill_globals.js +++ b/tests/node_compat/polyfill_globals.js @@ -1,5 +1,4 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import process from "node:process"; import { Buffer } from "node:buffer"; import { clearImmediate, @@ -10,15 +9,12 @@ import { setTimeout, } from "node:timers"; import { performance } from "node:perf_hooks"; -import console from "node:console"; globalThis.Buffer = Buffer; globalThis.clearImmediate = clearImmediate; globalThis.clearInterval = clearInterval; globalThis.clearTimeout = clearTimeout; -globalThis.console = console; globalThis.global = globalThis; globalThis.performance = performance; -globalThis.process = process; globalThis.setImmediate = setImmediate; globalThis.setInterval = setInterval; globalThis.setTimeout = setTimeout; -- cgit v1.2.3