mirror of
https://github.com/denoland/deno.git
synced 2025-08-02 18:12:39 +00:00
fix(npm): make http2 module available, make 'nodeGlobalThisName' writable (#19092)
This commit is contained in:
parent
18e9f4642c
commit
c926bc0deb
2 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,7 @@ function initialize(
|
|||
// get node's globalThis
|
||||
ObjectDefineProperty(globalThis, nodeGlobalThisName, {
|
||||
enumerable: false,
|
||||
writable: false,
|
||||
writable: true,
|
||||
value: nodeGlobalThis,
|
||||
});
|
||||
// FIXME(bartlomieju): not nice to depend on `Deno` namespace here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue