From f0a3d206422af3177e0f36ed22802c1ccc6f7654 Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Fri, 6 Sep 2024 19:52:59 +0900 Subject: fix(runtime): use more null proto objects again (#25040) proceed with #23921 This PR is a preparation for https://github.com/denoland/deno_lint/pull/1307 --------- Signed-off-by: Kenta Moriuchi Co-authored-by: Luca Casonato --- ext/node/polyfills/util.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/node/polyfills/util.ts') diff --git a/ext/node/polyfills/util.ts b/ext/node/polyfills/util.ts index c94d0f14b..586fae17e 100644 --- a/ext/node/polyfills/util.ts +++ b/ext/node/polyfills/util.ts @@ -177,6 +177,7 @@ export function inherits( ); } ObjectDefineProperty(ctor, "super_", { + __proto__: null, value: superCtor, writable: true, configurable: true, -- cgit v1.2.3