aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h
diff options
context:
space:
mode:
authorGravatar Silver <14016168+silversquirl@users.noreply.github.com> 2023-05-19 00:45:18 +0100
committerGravatar GitHub <noreply@github.com> 2023-05-18 16:45:18 -0700
commitac64eb420d6ce29ecca97100b7c64afd63afb26d (patch)
tree96b0d7cd328c037a4d6a9314aafca7bdd64b1466 /src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h
parentb76974a2a8a794db41b72e174b86d8536793f8e6 (diff)
downloadbun-ac64eb420d6ce29ecca97100b7c64afd63afb26d.tar.gz
bun-ac64eb420d6ce29ecca97100b7c64afd63afb26d.tar.zst
bun-ac64eb420d6ce29ecca97100b7c64afd63afb26d.zip
Implement `node:vm` (#2785)
* feat: begin implementing node:vm Script object * refactor: clean up and address review comments * refactor: rename Script to VMModuleScript * fix: expose VMModuleScript.prototype also oops I forgot to commit the new files last time * feat(vm): Implement contexts and scripts * feat(vm): implement globalThis * feat(vm): expose node:vm module with global helper functions * refactor(vm): rename VMModuleScript to NodeVMScript * feat: implement script options * doc: add TODOs for runIn*Context options
Diffstat (limited to 'src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h')
-rw-r--r--src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h b/src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h
index 1f7419c88..75fff16a0 100644
--- a/src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h
+++ b/src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h
@@ -32,6 +32,7 @@ public:
std::unique_ptr<GCClient::IsoSubspace> m_clientSubspaceForNapiExternal;
std::unique_ptr<GCClient::IsoSubspace> m_clientSubspaceForRequireResolveFunction;
std::unique_ptr<GCClient::IsoSubspace> m_clientSubspaceForBundlerPlugin;
+ std::unique_ptr<GCClient::IsoSubspace> m_clientSubspaceForNodeVMScript;
#include "ZigGeneratedClasses+DOMClientIsoSubspaces.h"
/* --- bun --- */