From 6a78551635cb87595bc05eb3b76718f181486289 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 17 May 2023 15:23:18 +0300 Subject: fix(ext/node): make nodeGlobalThis configurable (#19163) --- ext/node/polyfills/02_init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/node/polyfills') diff --git a/ext/node/polyfills/02_init.js b/ext/node/polyfills/02_init.js index 3aef00060..dc8955d83 100644 --- a/ext/node/polyfills/02_init.js +++ b/ext/node/polyfills/02_init.js @@ -40,7 +40,7 @@ function initialize( // get node's globalThis ObjectDefineProperty(globalThis, nodeGlobalThisName, { enumerable: false, - writable: true, + configurable: true, value: nodeGlobalThis, }); // FIXME(bartlomieju): not nice to depend on `Deno` namespace here -- cgit v1.2.3