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/fs/30_fs.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fs') diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js index 28d8365f0..b284b7fce 100644 --- a/ext/fs/30_fs.js +++ b/ext/fs/30_fs.js @@ -585,6 +585,7 @@ class FsFile { constructor(rid, symbol) { ObjectDefineProperty(this, internalRidSymbol, { + __proto__: null, enumerable: false, value: rid, }); -- cgit v1.2.3