summaryrefslogtreecommitdiff
path: root/std/node/module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/module.ts')
-rw-r--r--std/node/module.ts2
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 {