// clang-format off #pragma once #include "root.h" #include "JSCommonJSModule.h" #include "ImportMetaObject.h" #include "JavaScriptCore/ArgList.h" #include "JavaScriptCore/JSCJSValue.h" #include "JavaScriptCore/JSGlobalObjectInlines.h" #include "_NativeModule.h" #include "isBuiltinModule.h" #include #include using namespace Zig; using namespace JSC; namespace Bun { JSC_DECLARE_HOST_FUNCTION(jsFunctionIsModuleResolveFilenameSlowPathEnabled); void addNodeModuleConstructorProperties(JSC::VM &vm, Zig::GlobalObject *globalObject); } namespace Zig { void generateNativeModule_NodeModule( JSC::JSGlobalObject *lexicalGlobalObject, JSC::Identifier moduleKey, Vector &exportNames, JSC::MarkedArgumentBuffer &exportValues); } // namespace Zig