summaryrefslogtreecommitdiff
path: root/std/node/global.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/global.ts')
-rw-r--r--std/node/global.ts42
1 files changed, 0 insertions, 42 deletions
diff --git a/std/node/global.ts b/std/node/global.ts
deleted file mode 100644
index 550f6ddf9..000000000
--- a/std/node/global.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-/// <reference path="./global.d.ts" />
-import processModule from "./process.ts";
-import { Buffer as bufferModule } from "./buffer.ts";
-import timers from "./timers.ts";
-
-Object.defineProperty(globalThis, "global", {
- value: globalThis,
- writable: false,
- enumerable: false,
- configurable: true,
-});
-
-Object.defineProperty(globalThis, "process", {
- value: processModule,
- enumerable: false,
- writable: true,
- configurable: true,
-});
-
-Object.defineProperty(globalThis, "Buffer", {
- value: bufferModule,
- enumerable: false,
- writable: true,
- configurable: true,
-});
-
-Object.defineProperty(globalThis, "setImmediate", {
- value: timers.setImmediate,
- enumerable: true,
- writable: true,
- configurable: true,
-});
-
-Object.defineProperty(globalThis, "clearImmediate", {
- value: timers.clearImmediate,
- enumerable: true,
- writable: true,
- configurable: true,
-});
-
-export {};