aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/CommonJSModuleRecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/CommonJSModuleRecord.h')
-rw-r--r--src/bun.js/bindings/CommonJSModuleRecord.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bun.js/bindings/CommonJSModuleRecord.h b/src/bun.js/bindings/CommonJSModuleRecord.h
index 86daf875d..ba03d8a71 100644
--- a/src/bun.js/bindings/CommonJSModuleRecord.h
+++ b/src/bun.js/bindings/CommonJSModuleRecord.h
@@ -6,6 +6,8 @@ class GlobalObject;
}
namespace JSC {
class SourceCode;
+class EvalExecutable;
+class SyntheticModuleRecord;
}
namespace Bun {
@@ -17,4 +19,9 @@ JSC::SourceCode createCommonJSModule(
Zig::GlobalObject* globalObject,
ResolvedSource source);
+JSC::JSValue evaluateCommonJSModule(
+ Zig::GlobalObject* globalObject,
+ JSC::SyntheticModuleRecord* syntheticModuleRecord,
+ EvalExecutable* executable);
+
} // namespace Bun