diff options
author | Liam Murphy <43807659+Liamolucko@users.noreply.github.com> | 2021-01-24 12:17:06 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 02:17:06 +0100 |
commit | 25830a10671607df57ec826d3b9e9a7acb6cc30a (patch) | |
tree | ef8a4604b6d19066048fc1ac1fed88431f0f461a /std/node/module.ts | |
parent | a61389a55e7c2df88460f11ee07b415efcdff791 (diff) |
fix(std/node): replace uses of `window` with `globalThis` (#9237)
Diffstat (limited to 'std/node/module.ts')
-rw-r--r-- | std/node/module.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/module.ts b/std/node/module.ts index 6716b02d9..0d6ef9133 100644 --- a/std/node/module.ts +++ b/std/node/module.ts @@ -1021,7 +1021,7 @@ const CircularRequirePrototypeWarningProxy = new Proxy( // Object.prototype and ObjectProtoype refer to our 'primordials' versions // and are not identical to the versions on the global object. -const PublicObjectPrototype = window.Object.prototype; +const PublicObjectPrototype = globalThis.Object.prototype; // deno-lint-ignore no-explicit-any function getExportsForCircularRequire(module: Module): any { |