From e84b4b48479922635bf44a7a9f5fa92195b4e185 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 30 Dec 2025 00:35:53 +0000 Subject: [PATCH] refactor: rename src/bun.js/ to src/buntime/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 1 of source reorganization - rename the JavaScript runtime directory from bun.js to buntime for better discoverability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude/commands/upgrade-nodejs.md | 4 +- .../implementing-jsc-classes-cpp/SKILL.md | 4 +- .../implementing-jsc-classes-zig/SKILL.md | 4 +- PLAN.md | 1112 +++++++++++++++++ build.zig | 2 +- cmake/Sources.json | 30 +- cmake/analysis/RunClangFormat.cmake | 4 +- cmake/targets/BuildBun.cmake | 68 +- cmake/targets/BuildSQLite.cmake | 2 +- cmake/tools/SetupBun.cmake | 2 +- package.json | 2 +- src/AGENTS.md | 12 +- src/boringssl.zig | 2 +- src/bun.js.zig | 14 +- src/bun.js/bindings/v8/AGENTS.md | 1 - src/bun.zig | 16 +- src/{bun.js => buntime}/AsyncModule.zig | 0 src/{bun.js => buntime}/BuildMessage.zig | 0 src/{bun.js => buntime}/ConsoleObject.zig | 0 src/{bun.js => buntime}/Counters.zig | 0 src/{bun.js => buntime}/Debugger.zig | 0 src/{bun.js => buntime}/DeprecatedStrong.zig | 0 src/{bun.js => buntime}/HardcodedModule.zig | 0 src/{bun.js => buntime}/JSONLineBuffer.zig | 0 src/{bun.js => buntime}/ModuleLoader.zig | 0 src/{bun.js => buntime}/ProcessAutoKiller.zig | 0 src/{bun.js => buntime}/ResolveMessage.zig | 0 .../RuntimeTranspilerCache.zig | 0 .../RuntimeTranspilerStore.zig | 0 src/{bun.js => buntime}/STREAMS.md | 2 +- src/{bun.js => buntime}/SavedSourceMap.zig | 0 src/{bun.js => buntime}/Strong.zig | 0 src/{bun.js => buntime}/VirtualMachine.zig | 0 src/{bun.js => buntime}/Weak.zig | 0 src/{bun.js => buntime}/api.zig | 0 src/{bun.js => buntime}/api/BunObject.bind.ts | 0 .../api/BunObject.classes.ts | 0 src/{bun.js => buntime}/api/BunObject.zig | 0 src/{bun.js => buntime}/api/FFI.h | 2 +- src/{bun.js => buntime}/api/FFIObject.zig | 0 src/{bun.js => buntime}/api/Glob.classes.ts | 0 src/{bun.js => buntime}/api/HashObject.zig | 0 .../api/JSBundler.classes.ts | 0 src/{bun.js => buntime}/api/JSBundler.zig | 0 src/{bun.js => buntime}/api/JSTranspiler.zig | 0 .../api/ParsedShellScript.classes.ts | 0 .../api/ResumableSink.classes.ts | 0 .../api/S3Client.classes.ts | 0 src/{bun.js => buntime}/api/S3Stat.classes.ts | 0 src/{bun.js => buntime}/api/Shell.classes.ts | 0 src/{bun.js => buntime}/api/TOMLObject.zig | 0 .../api/Terminal.classes.ts | 0 src/{bun.js => buntime}/api/Timer.zig | 0 .../api/Timer/DateHeaderTimer.zig | 0 .../api/Timer/EventLoopDelayMonitor.zig | 0 .../api/Timer/EventLoopTimer.zig | 0 .../api/Timer/ImmediateObject.zig | 0 .../api/Timer/TimeoutObject.zig | 0 .../api/Timer/TimerObjectInternals.zig | 0 .../api/Timer/WTFTimer.zig | 0 src/{bun.js => buntime}/api/UnsafeObject.zig | 0 src/{bun.js => buntime}/api/YAMLObject.zig | 0 src/{bun.js => buntime}/api/bun/Terminal.zig | 0 src/{bun.js => buntime}/api/bun/dns.zig | 0 .../api/bun/h2_frame_parser.zig | 0 .../api/bun/js_bun_spawn_bindings.zig | 0 src/{bun.js => buntime}/api/bun/lshpack.zig | 2 +- src/{bun.js => buntime}/api/bun/process.zig | 0 src/{bun.js => buntime}/api/bun/socket.zig | 0 .../api/bun/socket/Handlers.zig | 0 .../api/bun/socket/Listener.zig | 0 .../api/bun/socket/SocketAddress.zig | 0 .../api/bun/socket/SocketConfig.bindv2.ts | 0 .../bun/socket/WindowsNamedPipeContext.zig | 0 .../api/bun/socket/tls_socket_functions.zig | 0 src/{bun.js => buntime}/api/bun/spawn.zig | 0 .../api/bun/spawn/stdio.zig | 0 .../api/bun/ssl_wrapper.zig | 0 .../api/bun/subprocess.zig | 0 .../api/bun/subprocess/Readable.zig | 0 .../api/bun/subprocess/ResourceUsage.zig | 0 .../api/bun/subprocess/StaticPipeWriter.zig | 0 .../bun/subprocess/SubprocessPipeReader.zig | 0 .../api/bun/subprocess/Writable.zig | 0 .../api/bun/udp_socket.zig | 0 src/{bun.js => buntime}/api/bun/x509.zig | 0 src/{bun.js => buntime}/api/crypto.classes.ts | 0 src/{bun.js => buntime}/api/crypto.zig | 0 .../api/crypto/CryptoHasher.zig | 0 src/{bun.js => buntime}/api/crypto/EVP.zig | 0 src/{bun.js => buntime}/api/crypto/HMAC.zig | 0 src/{bun.js => buntime}/api/crypto/PBKDF2.zig | 0 .../api/crypto/PasswordObject.zig | 0 src/{bun.js => buntime}/api/ffi-stdalign.h | 0 src/{bun.js => buntime}/api/ffi-stdarg.h | 0 src/{bun.js => buntime}/api/ffi-stdatomic.h | 0 src/{bun.js => buntime}/api/ffi-stdbool.h | 0 src/{bun.js => buntime}/api/ffi-stddef.h | 0 src/{bun.js => buntime}/api/ffi-stdnoreturn.h | 0 src/{bun.js => buntime}/api/ffi-tgmath.h | 0 src/{bun.js => buntime}/api/ffi.classes.ts | 0 src/{bun.js => buntime}/api/ffi.zig | 0 .../api/filesystem_router.classes.ts | 0 .../api/filesystem_router.zig | 0 src/{bun.js => buntime}/api/glob.zig | 0 src/{bun.js => buntime}/api/h2.classes.ts | 0 .../api/html_rewriter.classes.ts | 0 src/{bun.js => buntime}/api/html_rewriter.zig | 0 .../api/libtcc1.a.macos-aarch64 | Bin src/{bun.js => buntime}/api/libtcc1.c | 0 src/{bun.js => buntime}/api/server.classes.ts | 0 src/{bun.js => buntime}/api/server.zig | 0 .../api/server/AnyRequestContext.zig | 0 .../api/server/FileRoute.zig | 0 .../api/server/HTMLBundle.zig | 0 .../api/server/HTTPStatusText.zig | 0 .../InspectorBunFrontendDevServerAgent.zig | 0 .../api/server/NodeHTTPResponse.zig | 0 .../api/server/RequestContext.zig | 0 .../api/server/SSLConfig.bindv2.ts | 0 .../api/server/SSLConfig.zig | 0 .../api/server/ServerConfig.zig | 0 .../api/server/ServerWebSocket.zig | 0 .../api/server/StaticRoute.zig | 0 .../api/server/WebSocketServerContext.zig | 0 .../api/sockets.classes.ts | 0 .../api/sourcemap.classes.ts | 0 src/{bun.js => buntime}/api/sql.classes.ts | 0 .../api/streams.classes.ts | 0 .../api/streams.classes.zig | 0 src/{bun.js => buntime}/api/valkey.classes.ts | 0 .../api/welcome-page.html.gz | Bin src/{bun.js => buntime}/api/zlib.classes.ts | 0 src/{bun.js => buntime}/bindgen.zig | 0 src/{bun.js => buntime}/bindgen_test.bind.ts | 0 src/{bun.js => buntime}/bindgen_test.zig | 0 .../bindings/.clang-format-ignore | 0 .../bindings/AbortSignal.zig | 0 .../bindings/ActiveDOMCallback.cpp | 0 .../bindings/ActiveDOMCallback.h | 0 src/{bun.js => buntime}/bindings/Algo/Tuple.h | 0 .../bindings/AnyPromise.zig | 0 .../bindings/AsymmetricKeyValue.cpp | 0 .../bindings/AsymmetricKeyValue.h | 0 .../bindings/AsyncContextFrame.cpp | 0 .../bindings/AsyncContextFrame.h | 0 .../bindings/BakeAdditionsToGlobalObject.cpp | 0 .../bindings/BakeAdditionsToGlobalObject.h | 0 .../bindings/Base64Helpers.cpp | 0 .../bindings/Base64Helpers.h | 0 src/{bun.js => buntime}/bindings/Bindgen.h | 0 .../bindings/Bindgen/ExternTraits.h | 0 .../bindings/Bindgen/ExternUnion.h | 0 .../bindings/Bindgen/ExternVectorTraits.h | 0 .../bindings/Bindgen/IDLConvert.h | 0 .../bindings/Bindgen/IDLConvertBase.h | 0 .../bindings/Bindgen/IDLTypes.h | 0 .../bindings/Bindgen/Macros.h | 0 .../bindings/BindgenCustomEnforceRange.h | 0 .../bindings/BufferEncodingType.h | 2 +- .../bindings/BunCPUProfiler.cpp | 0 .../bindings/BunCPUProfiler.h | 0 .../bindings/BunCPUProfiler.zig | 0 .../bindings/BunClientData.cpp | 0 .../bindings/BunClientData.h | 0 .../bindings/BunCommonStrings.cpp | 0 .../bindings/BunCommonStrings.h | 0 .../bindings/BunDebugger.cpp | 0 .../bindings/BunGCOutputConstraint.cpp | 0 .../bindings/BunGCOutputConstraint.h | 0 .../bindings/BunGlobalScope.cpp | 0 .../bindings/BunGlobalScope.h | 0 .../bindings/BunHttp2CommonStrings.cpp | 0 .../bindings/BunHttp2CommonStrings.h | 0 .../bindings/BunIDLConvert.h | 0 .../bindings/BunIDLConvertBase.h | 0 .../bindings/BunIDLConvertBlob.h | 0 .../bindings/BunIDLConvertContext.h | 0 .../bindings/BunIDLConvertNumbers.h | 0 .../bindings/BunIDLHumanReadable.h | 0 .../bindings/BunIDLTypes.h | 0 .../bindings/BunInjectedScriptHost.cpp | 0 .../bindings/BunInjectedScriptHost.h | 0 .../bindings/BunInspector.cpp | 0 .../bindings/BunJSCEventLoop.cpp | 0 .../bindings/BunObject+exports.h | 0 .../bindings/BunObject.cpp | 0 src/{bun.js => buntime}/bindings/BunObject.h | 0 .../bindings/BunPlugin.cpp | 0 src/{bun.js => buntime}/bindings/BunPlugin.h | 0 .../bindings/BunProcess.cpp | 2 +- src/{bun.js => buntime}/bindings/BunProcess.h | 0 .../BunProcessReportObjectWindows.cpp | 0 .../bindings/BunString.cpp | 0 src/{bun.js => buntime}/bindings/BunString.h | 0 .../bindings/BunWorkerGlobalScope.cpp | 0 .../bindings/BunWorkerGlobalScope.h | 0 .../bindings/CPUFeatures.cpp | 0 .../bindings/CPUFeatures.zig | 0 .../bindings/CachedBytecode.zig | 0 .../bindings/CachedScript.h | 0 .../bindings/CallFrame.zig | 0 src/{bun.js => buntime}/bindings/CallSite.cpp | 0 src/{bun.js => buntime}/bindings/CallSite.h | 0 .../bindings/CallSitePrototype.cpp | 0 .../bindings/CallSitePrototype.h | 0 .../bindings/CatchScope.zig | 0 .../bindings/CatchScopeBinding.cpp | 0 .../bindings/CodeCoverage.cpp | 0 .../bindings/CommonAbortReason.zig | 0 .../bindings/CommonStrings.zig | 0 .../bindings/ConcatCStrings.h | 0 .../bindings/ConsoleObject.cpp | 0 .../bindings/ConsoleObject.h | 0 src/{bun.js => buntime}/bindings/Cookie.cpp | 0 src/{bun.js => buntime}/bindings/Cookie.h | 0 .../bindings/CookieMap.cpp | 0 src/{bun.js => buntime}/bindings/CookieMap.h | 0 .../bindings/CustomGetterSetter.zig | 0 .../bindings/DLHandleMap.h | 0 .../bindings/DOMException.cpp | 0 .../bindings/DOMException.h | 0 .../bindings/DOMFormData.cpp | 0 .../bindings/DOMFormData.h | 0 .../bindings/DOMFormData.zig | 0 src/{bun.js => buntime}/bindings/DOMURL.cpp | 0 src/{bun.js => buntime}/bindings/DOMURL.h | 0 src/{bun.js => buntime}/bindings/DOMURL.zig | 0 .../bindings/DOMWrapperWorld-class.h | 0 .../bindings/DOMWrapperWorld.cpp | 0 .../bindings/DOMWrapperWorld.h | 0 .../bindings/DecodeEscapeSequences.h | 0 .../bindings/DecodedJSValue.zig | 0 .../bindings/DeferredError.zig | 0 .../bindings/DeleteCallbackDataTask.h | 0 .../bindings/DoubleFormatter.cpp | 0 .../bindings/EncodeURIComponent.cpp | 0 .../bindings/EncodeURIComponent.h | 0 .../bindings/EncodingTables.cpp | 0 .../bindings/EncodingTables.h | 0 .../bindings/ErrorCode.cpp | 0 src/{bun.js => buntime}/bindings/ErrorCode.h | 0 src/{bun.js => buntime}/bindings/ErrorCode.ts | 0 .../bindings/ErrorCode.zig | 0 .../bindings/ErrorStackFrame.cpp | 0 .../bindings/ErrorStackFrame.h | 0 .../bindings/ErrorStackTrace.cpp | 0 .../bindings/ErrorStackTrace.h | 0 .../bindings/Errorable.zig | 0 .../bindings/EventLoopTask.h | 0 .../bindings/EventLoopTaskNoContext.cpp | 0 .../bindings/EventLoopTaskNoContext.h | 0 .../bindings/EventType.zig | 0 src/{bun.js => buntime}/bindings/Exception.h | 0 .../bindings/Exception.zig | 0 .../bindings/ExceptionCode.h | 2 +- .../bindings/ExceptionOr.h | 0 .../bindings/ExposeNodeModuleGlobals.cpp | 0 src/{bun.js => buntime}/bindings/FFI.zig | 2 +- .../bindings/FetchHeaders.zig | 0 .../bindings/FormatStackTraceForJS.cpp | 0 .../bindings/FormatStackTraceForJS.h | 0 .../bindings/FuzzilliREPRL.cpp | 0 .../bindings/GCDefferalContext.h | 0 src/buntime/bindings/GeneratedBindings.zig | 412 ++++++ src/buntime/bindings/GeneratedJS2Native.zig | 341 +++++ .../bindings/GetterSetter.zig | 0 .../bindings/HTMLEntryPoint.cpp | 0 .../bindings/HTTPServerAgent.zig | 0 src/{bun.js => buntime}/bindings/IDLTypes.h | 0 src/{bun.js => buntime}/bindings/IPC.cpp | 0 .../bindings/ImportMetaObject.cpp | 0 .../bindings/ImportMetaObject.h | 0 .../InspectorBunFrontendDevServerAgent.cpp | 0 .../InspectorBunFrontendDevServerAgent.h | 0 .../bindings/InspectorHTTPServerAgent.cpp | 0 .../bindings/InspectorHTTPServerAgent.h | 0 .../bindings/InspectorLifecycleAgent.cpp | 0 .../bindings/InspectorLifecycleAgent.h | 0 .../bindings/InspectorTestReporterAgent.cpp | 0 .../bindings/InspectorTestReporterAgent.h | 0 .../bindings/InternalForTesting.cpp | 0 .../bindings/InternalForTesting.h | 0 .../bindings/InternalModuleRegistry.cpp | 0 .../bindings/InternalModuleRegistry.h | 2 +- .../bindings/JS2Native.cpp | 0 src/{bun.js => buntime}/bindings/JS2Native.h | 0 src/{bun.js => buntime}/bindings/JSArray.zig | 0 .../bindings/JSArrayIterator.zig | 0 .../bindings/JSBakeResponse.cpp | 0 .../bindings/JSBakeResponse.h | 0 src/{bun.js => buntime}/bindings/JSBigInt.zig | 0 .../bindings/JSBigIntBinding.cpp | 0 src/{bun.js => buntime}/bindings/JSBuffer.cpp | 0 src/{bun.js => buntime}/bindings/JSBuffer.h | 0 .../bindings/JSBufferEncodingType.cpp | 0 .../bindings/JSBufferEncodingType.h | 0 .../bindings/JSBufferList.cpp | 0 .../bindings/JSBufferList.h | 0 .../bindings/JSBunRequest.cpp | 0 .../bindings/JSBunRequest.h | 0 .../bindings/JSBundler+BunPlugin-impl.h | 0 .../bindings/JSBundlerPlugin.cpp | 0 .../bindings/JSBundlerPlugin.h | 0 src/{bun.js => buntime}/bindings/JSCInlines.h | 0 .../bindings/JSCTaskScheduler.cpp | 0 .../bindings/JSCTaskScheduler.h | 0 .../bindings/JSCTestingHelpers.cpp | 0 .../bindings/JSCTestingHelpers.h | 0 src/{bun.js => buntime}/bindings/JSCell.zig | 0 .../bindings/JSCommonJSExtensions.cpp | 0 .../bindings/JSCommonJSExtensions.h | 0 .../bindings/JSCommonJSModule.cpp | 0 .../bindings/JSCommonJSModule.h | 0 .../bindings/JSCompressionStream.cpp | 0 .../bindings/JSCompressionStream.h | 0 .../bindings/JSDOMBinding.h | 0 .../JSDOMConvertBufferSource+JSBuffer.h | 0 .../bindings/JSDOMExceptionHandling.cpp | 0 .../bindings/JSDOMExceptionHandling.h | 0 .../bindings/JSDOMFile.cpp | 0 src/{bun.js => buntime}/bindings/JSDOMFile.h | 0 .../bindings/JSDOMGlobalObject.cpp | 0 .../bindings/JSDOMGlobalObject.h | 0 .../bindings/JSDOMWrapper.cpp | 0 .../bindings/JSDOMWrapper.h | 0 .../bindings/JSDOMWrapperCache.cpp | 0 .../bindings/JSDOMWrapperCache.h | 0 .../bindings/JSDecompressionStream.cpp | 0 .../bindings/JSDecompressionStream.h | 0 .../bindings/JSEnvironmentVariableMap.cpp | 0 .../bindings/JSEnvironmentVariableMap.h | 0 .../bindings/JSErrorCode.zig | 2 +- .../bindings/JSFFIFunction.cpp | 0 .../bindings/JSFFIFunction.h | 0 .../bindings/JSFunction.zig | 0 .../bindings/JSGlobalObject.zig | 0 .../bindings/JSInternalPromise.zig | 0 src/{bun.js => buntime}/bindings/JSMap.zig | 0 .../bindings/JSMockFunction.cpp | 0 .../bindings/JSMockFunction.h | 0 .../bindings/JSModuleLoader.zig | 0 .../bindings/JSNextTickQueue.cpp | 0 .../bindings/JSNextTickQueue.h | 0 .../JSNodePerformanceHooksHistogram.cpp | 0 .../JSNodePerformanceHooksHistogram.h | 0 ...dePerformanceHooksHistogramConstructor.cpp | 0 ...NodePerformanceHooksHistogramConstructor.h | 0 ...NodePerformanceHooksHistogramPrototype.cpp | 0 ...JSNodePerformanceHooksHistogramPrototype.h | 0 src/{bun.js => buntime}/bindings/JSObject.zig | 0 .../bindings/JSPromise.zig | 0 .../bindings/JSPromiseRejectionOperation.zig | 0 .../bindings/JSPropertyIterator.cpp | 0 .../bindings/JSPropertyIterator.zig | 0 src/{bun.js => buntime}/bindings/JSRef.zig | 0 .../bindings/JSRuntimeType.zig | 0 src/{bun.js => buntime}/bindings/JSS3File.cpp | 0 src/{bun.js => buntime}/bindings/JSS3File.h | 0 .../bindings/JSSecrets.cpp | 0 .../bindings/JSSecrets.zig | 0 .../bindings/JSSocketAddressDTO.cpp | 0 .../bindings/JSSocketAddressDTO.h | 0 src/{bun.js => buntime}/bindings/JSString.zig | 0 .../bindings/JSStringDecoder.cpp | 0 .../bindings/JSStringDecoder.h | 0 src/{bun.js => buntime}/bindings/JSType.zig | 0 .../bindings/JSUint8Array.zig | 0 src/{bun.js => buntime}/bindings/JSValue.zig | 2 +- .../bindings/JSWrappingFunction.cpp | 0 .../bindings/JSWrappingFunction.h | 0 .../bindings/JSX509Certificate.cpp | 0 .../bindings/JSX509Certificate.h | 0 .../bindings/JSX509CertificateConstructor.cpp | 0 .../bindings/JSX509CertificateConstructor.h | 0 .../bindings/JSX509CertificatePrototype.cpp | 0 .../bindings/JSX509CertificatePrototype.h | 0 .../bindings/MarkedArgumentBuffer.zig | 0 .../bindings/MarkedArgumentBufferBinding.cpp | 0 .../bindings/MarkingConstraint.cpp | 0 src/{bun.js => buntime}/bindings/MiString.h | 0 .../bindings/MimallocWTFMalloc.h | 0 .../bindings/ModuleLoader.cpp | 0 .../bindings/ModuleLoader.h | 0 .../bindings/NapiClass.cpp | 0 src/{bun.js => buntime}/bindings/NapiRef.cpp | 0 .../bindings/NapiWeakValue.cpp | 0 .../bindings/NoOpForTesting.cpp | 0 .../bindings/NoOpForTesting.h | 0 .../bindings/NodeAsyncHooks.cpp | 0 .../bindings/NodeAsyncHooks.h | 0 .../bindings/NodeConstants.h | 0 .../bindings/NodeDirent.cpp | 0 src/{bun.js => buntime}/bindings/NodeDirent.h | 0 .../bindings/NodeFSStatBinding.cpp | 0 .../bindings/NodeFSStatBinding.h | 0 .../bindings/NodeFSStatFSBinding.cpp | 0 .../bindings/NodeFSStatFSBinding.h | 0 .../bindings/NodeFetch.cpp | 0 src/{bun.js => buntime}/bindings/NodeFetch.h | 0 src/{bun.js => buntime}/bindings/NodeHTTP.cpp | 0 src/{bun.js => buntime}/bindings/NodeHTTP.h | 0 .../bindings/NodeModuleModule.bind.ts | 0 .../bindings/NodeModuleModule.zig | 0 src/{bun.js => buntime}/bindings/NodeTLS.cpp | 0 src/{bun.js => buntime}/bindings/NodeTLS.h | 0 .../bindings/NodeTimerObject.cpp | 0 src/{bun.js => buntime}/bindings/NodeURL.cpp | 0 src/{bun.js => buntime}/bindings/NodeURL.h | 0 src/{bun.js => buntime}/bindings/NodeVM.cpp | 0 src/{bun.js => buntime}/bindings/NodeVM.h | 0 .../bindings/NodeVMModule.cpp | 0 .../bindings/NodeVMModule.h | 0 .../bindings/NodeVMScript.cpp | 0 .../bindings/NodeVMScript.h | 0 .../bindings/NodeVMScriptFetcher.h | 0 .../bindings/NodeVMSourceTextModule.cpp | 0 .../bindings/NodeVMSourceTextModule.h | 0 .../bindings/NodeVMSyntheticModule.cpp | 0 .../bindings/NodeVMSyntheticModule.h | 0 .../bindings/NodeValidator.cpp | 0 .../bindings/NodeValidator.h | 0 .../bindings/ObjectBindings.cpp | 0 .../bindings/ObjectBindings.h | 0 .../bindings/OsBinding.cpp | 0 src/{bun.js => buntime}/bindings/Path.cpp | 0 src/{bun.js => buntime}/bindings/Path.h | 0 .../bindings/PathInlines.h | 0 .../bindings/ProcessBindingBuffer.cpp | 0 .../bindings/ProcessBindingBuffer.h | 0 .../bindings/ProcessBindingConstants.cpp | 0 .../bindings/ProcessBindingConstants.h | 0 .../bindings/ProcessBindingFs.cpp | 0 .../bindings/ProcessBindingFs.h | 0 .../bindings/ProcessBindingHTTPParser.cpp | 0 .../bindings/ProcessBindingHTTPParser.h | 0 .../bindings/ProcessBindingNatives.cpp | 0 .../bindings/ProcessBindingNatives.h | 0 .../bindings/ProcessBindingTTYWrap.cpp | 0 .../bindings/ProcessBindingTTYWrap.h | 0 .../bindings/ProcessBindingUV.cpp | 0 .../bindings/ProcessBindingUV.h | 0 .../bindings/ProcessIdentifier.cpp | 0 .../bindings/ProcessIdentifier.h | 0 .../bindings/RegularExpression.cpp | 0 .../bindings/RegularExpression.zig | 0 .../bindings/ResolvedSource.zig | 0 src/{bun.js => buntime}/bindings/S3Error.cpp | 0 src/{bun.js => buntime}/bindings/S3Error.h | 0 .../bindings/SQLClient.cpp | 0 .../bindings/ScriptExecutionContext.cpp | 0 .../bindings/ScriptExecutionContext.h | 0 .../bindings/ScriptExecutionStatus.zig | 0 src/{bun.js => buntime}/bindings/Secrets.h | 0 .../bindings/SecretsDarwin.cpp | 0 .../bindings/SecretsLinux.cpp | 0 .../bindings/SecretsWindows.cpp | 0 .../bindings/Serialization.cpp | 0 .../bindings/ServerRouteList.cpp | 0 .../bindings/ServerRouteList.h | 0 .../bindings/ShellBindings.cpp | 0 src/{bun.js => buntime}/bindings/Sink.h | 0 .../bindings/SourceProvider.zig | 0 .../bindings/SourceType.zig | 0 .../bindings/StreamGlobals.h | 0 .../bindings/StringAdaptors.h | 0 .../bindings/StringBuilder.zig | 0 .../bindings/StringBuilderBinding.cpp | 0 .../bindings/StrongRef.cpp | 0 src/{bun.js => buntime}/bindings/StrongRef.h | 0 .../bindings/SystemError.zig | 0 .../bindings/TextCodec.cpp | 0 src/{bun.js => buntime}/bindings/TextCodec.h | 0 .../bindings/TextCodec.zig | 0 .../bindings/TextCodecASCIIFastPath.h | 0 .../bindings/TextCodecCJK.cpp | 0 .../bindings/TextCodecCJK.h | 0 .../bindings/TextCodecReplacement.cpp | 0 .../bindings/TextCodecReplacement.h | 0 .../bindings/TextCodecSingleByte.cpp | 0 .../bindings/TextCodecSingleByte.h | 0 .../bindings/TextCodecUserDefined.cpp | 0 .../bindings/TextCodecUserDefined.h | 0 .../bindings/TextCodecWrapper.cpp | 0 .../bindings/TextEncoding.cpp | 0 .../bindings/TextEncoding.h | 0 .../bindings/TextEncodingRegistry.cpp | 0 .../bindings/TextEncodingRegistry.h | 0 src/{bun.js => buntime}/bindings/URL.zig | 0 .../bindings/URLDecomposition.cpp | 0 .../bindings/URLDecomposition.h | 0 .../bindings/URLSearchParams.cpp | 0 .../bindings/URLSearchParams.h | 0 .../bindings/URLSearchParams.zig | 0 .../bindings/Uint8Array.cpp | 0 src/{bun.js => buntime}/bindings/Undici.cpp | 0 src/{bun.js => buntime}/bindings/Undici.h | 0 .../bindings/UnencodableHandling.h | 0 .../bindings/UtilInspect.cpp | 0 .../bindings/UtilInspect.h | 0 src/{bun.js => buntime}/bindings/VM.zig | 0 src/{bun.js => buntime}/bindings/WTF.zig | 0 src/{bun.js => buntime}/bindings/Weak.cpp | 0 .../bindings/WebCoreOpaqueRoot.h | 0 .../bindings/WebCoreOpaqueRootInlines.h | 0 .../bindings/WriteBarrierList.h | 0 .../bindings/ZigErrorType.zig | 0 .../bindings/ZigException.cpp | 0 .../bindings/ZigException.zig | 0 .../bindings/ZigGeneratedCode.cpp | 0 .../bindings/ZigGlobalObject.cpp | 0 .../bindings/ZigGlobalObject.h | 0 .../bindings/ZigGlobalObject.lut.txt | 190 +-- .../bindings/ZigLazyStaticFunctions-inlines.h | 0 .../bindings/ZigLazyStaticFunctions.h | 0 .../bindings/ZigSourceProvider.cpp | 0 .../bindings/ZigSourceProvider.h | 0 .../bindings/ZigStackFrame.zig | 0 .../bindings/ZigStackFrameCode.zig | 0 .../bindings/ZigStackFramePosition.zig | 0 .../bindings/ZigStackTrace.zig | 0 .../bindings/ZigString.zig | 0 src/{bun.js => buntime}/bindings/ares_build.h | 0 src/{bun.js => buntime}/bindings/bindings.cpp | 2 +- src/{bun.js => buntime}/bindings/blob.cpp | 0 src/{bun.js => buntime}/bindings/blob.h | 0 .../bindings/bmalloc_heap_ref.h | 0 .../bindings/bun-simdutf.cpp | 0 .../bindings/bun-simdutf.zig | 0 .../bindings/bun-spawn.cpp | 0 .../bindings/c-bindings.cpp | 0 src/{bun.js => buntime}/bindings/codegen.zig | 0 .../bindings/coroutine.cpp | 0 .../bindings/debug-helpers.h | 0 .../bindings/decodeURIComponentSIMD.cpp | 0 .../bindings/decodeURIComponentSIMD.h | 0 src/{bun.js => buntime}/bindings/dh-primes.h | 0 src/{bun.js => buntime}/bindings/ffi.cpp | 0 .../bindings/generated_classes_list.zig | 0 .../bindings/generated_perf_trace_events.h | 0 .../bindings/headers-cpp.h | 0 .../bindings/headers-handwritten.h | 0 src/{bun.js => buntime}/bindings/headers.h | 0 src/{bun.js => buntime}/bindings/helpers.cpp | 0 src/{bun.js => buntime}/bindings/helpers.h | 0 .../bindings/highway_strings.cpp | 0 src/{bun.js => buntime}/bindings/inlines.cpp | 0 .../bindings/isBuiltinModule.cpp | 0 .../bindings/isBuiltinModule.h | 0 .../bindings/js_classes.ts | 0 .../bindings/libuv/README.md | 0 .../bindings/libuv/bun.lock | 0 .../bindings/libuv/generate_uv_posix_stubs.ts | 0 .../generate_uv_posix_stubs_constants.ts | 0 .../bindings/libuv/package.json | 0 src/{bun.js => buntime}/bindings/libuv/uv.h | 0 .../bindings/libuv/uv/aix.h | 0 .../bindings/libuv/uv/bsd.h | 0 .../bindings/libuv/uv/darwin.h | 0 .../bindings/libuv/uv/errno.h | 0 .../bindings/libuv/uv/linux.h | 0 .../bindings/libuv/uv/os390.h | 0 .../bindings/libuv/uv/posix.h | 0 .../bindings/libuv/uv/sunos.h | 0 .../bindings/libuv/uv/threadpool.h | 0 .../bindings/libuv/uv/tree.h | 0 .../bindings/libuv/uv/unix.h | 0 .../bindings/libuv/uv/version.h | 0 .../bindings/libuv/uv/win.h | 0 .../bindings/linux_perf_tracing.cpp | 0 src/{bun.js => buntime}/bindings/napi.cpp | 2 +- src/{bun.js => buntime}/bindings/napi.h | 0 .../bindings/napi_external.cpp | 0 .../bindings/napi_external.h | 0 .../bindings/napi_finalizer.cpp | 0 .../bindings/napi_finalizer.h | 0 .../bindings/napi_handle_scope.cpp | 0 .../bindings/napi_handle_scope.h | 0 .../bindings/napi_macros.h | 0 .../bindings/napi_type_tag.cpp | 0 .../bindings/napi_type_tag.h | 0 .../bindings/ncrpyto_engine.cpp | 0 src/{bun.js => buntime}/bindings/ncrypto.cpp | 0 src/{bun.js => buntime}/bindings/ncrypto.h | 0 .../bindings/node/JSNodeHTTPServerSocket.cpp | 0 .../bindings/node/JSNodeHTTPServerSocket.h | 0 .../node/JSNodeHTTPServerSocketPrototype.cpp | 0 .../node/JSNodeHTTPServerSocketPrototype.h | 0 .../bindings/node/NodeTimers.cpp | 0 .../bindings/node/NodeTimers.h | 0 .../bindings/node/crypto/CryptoDhJob.cpp | 0 .../bindings/node/crypto/CryptoDhJob.h | 0 .../node/crypto/CryptoGenDhKeyPair.cpp | 0 .../bindings/node/crypto/CryptoGenDhKeyPair.h | 0 .../node/crypto/CryptoGenDsaKeyPair.cpp | 0 .../node/crypto/CryptoGenDsaKeyPair.h | 0 .../node/crypto/CryptoGenEcKeyPair.cpp | 0 .../bindings/node/crypto/CryptoGenEcKeyPair.h | 0 .../bindings/node/crypto/CryptoGenKeyPair.cpp | 0 .../bindings/node/crypto/CryptoGenKeyPair.h | 0 .../node/crypto/CryptoGenNidKeyPair.cpp | 0 .../node/crypto/CryptoGenNidKeyPair.h | 0 .../node/crypto/CryptoGenRsaKeyPair.cpp | 0 .../node/crypto/CryptoGenRsaKeyPair.h | 0 .../bindings/node/crypto/CryptoHkdf.cpp | 0 .../bindings/node/crypto/CryptoHkdf.h | 0 .../bindings/node/crypto/CryptoKeygen.cpp | 0 .../bindings/node/crypto/CryptoKeygen.h | 0 .../bindings/node/crypto/CryptoKeys.cpp | 0 .../bindings/node/crypto/CryptoKeys.h | 0 .../bindings/node/crypto/CryptoPrimes.cpp | 0 .../bindings/node/crypto/CryptoPrimes.h | 0 .../bindings/node/crypto/CryptoSignJob.cpp | 0 .../bindings/node/crypto/CryptoSignJob.h | 0 .../bindings/node/crypto/CryptoUtil.cpp | 0 .../bindings/node/crypto/CryptoUtil.h | 0 .../node/crypto/DiffieHellmanFunctions.h | 0 .../bindings/node/crypto/JSCipher.cpp | 0 .../bindings/node/crypto/JSCipher.h | 0 .../node/crypto/JSCipherConstructor.cpp | 0 .../node/crypto/JSCipherConstructor.h | 0 .../node/crypto/JSCipherPrototype.cpp | 0 .../bindings/node/crypto/JSCipherPrototype.h | 0 .../bindings/node/crypto/JSDiffieHellman.cpp | 0 .../bindings/node/crypto/JSDiffieHellman.h | 0 .../crypto/JSDiffieHellmanConstructor.cpp | 0 .../node/crypto/JSDiffieHellmanConstructor.h | 0 .../node/crypto/JSDiffieHellmanGroup.cpp | 0 .../node/crypto/JSDiffieHellmanGroup.h | 0 .../JSDiffieHellmanGroupConstructor.cpp | 0 .../crypto/JSDiffieHellmanGroupConstructor.h | 0 .../crypto/JSDiffieHellmanGroupPrototype.cpp | 0 .../crypto/JSDiffieHellmanGroupPrototype.h | 0 .../node/crypto/JSDiffieHellmanPrototype.cpp | 0 .../node/crypto/JSDiffieHellmanPrototype.h | 0 .../bindings/node/crypto/JSECDH.cpp | 0 .../bindings/node/crypto/JSECDH.h | 0 .../node/crypto/JSECDHConstructor.cpp | 0 .../bindings/node/crypto/JSECDHConstructor.h | 0 .../bindings/node/crypto/JSECDHPrototype.cpp | 0 .../bindings/node/crypto/JSECDHPrototype.h | 0 .../bindings/node/crypto/JSHash.cpp | 0 .../bindings/node/crypto/JSHash.h | 0 .../bindings/node/crypto/JSHmac.cpp | 0 .../bindings/node/crypto/JSHmac.h | 0 .../bindings/node/crypto/JSKeyObject.cpp | 0 .../bindings/node/crypto/JSKeyObject.h | 0 .../node/crypto/JSKeyObjectConstructor.cpp | 0 .../node/crypto/JSKeyObjectConstructor.h | 0 .../node/crypto/JSKeyObjectPrototype.cpp | 0 .../node/crypto/JSKeyObjectPrototype.h | 0 .../node/crypto/JSPrivateKeyObject.cpp | 0 .../bindings/node/crypto/JSPrivateKeyObject.h | 0 .../crypto/JSPrivateKeyObjectConstructor.cpp | 0 .../crypto/JSPrivateKeyObjectConstructor.h | 0 .../crypto/JSPrivateKeyObjectPrototype.cpp | 0 .../node/crypto/JSPrivateKeyObjectPrototype.h | 0 .../node/crypto/JSPublicKeyObject.cpp | 0 .../bindings/node/crypto/JSPublicKeyObject.h | 0 .../crypto/JSPublicKeyObjectConstructor.cpp | 0 .../crypto/JSPublicKeyObjectConstructor.h | 0 .../crypto/JSPublicKeyObjectPrototype.cpp | 0 .../node/crypto/JSPublicKeyObjectPrototype.h | 0 .../node/crypto/JSSecretKeyObject.cpp | 0 .../bindings/node/crypto/JSSecretKeyObject.h | 0 .../crypto/JSSecretKeyObjectConstructor.cpp | 0 .../crypto/JSSecretKeyObjectConstructor.h | 0 .../crypto/JSSecretKeyObjectPrototype.cpp | 0 .../node/crypto/JSSecretKeyObjectPrototype.h | 0 .../bindings/node/crypto/JSSign.cpp | 0 .../bindings/node/crypto/JSSign.h | 0 .../bindings/node/crypto/JSVerify.cpp | 0 .../bindings/node/crypto/JSVerify.h | 0 .../bindings/node/crypto/KeyObject.cpp | 0 .../bindings/node/crypto/KeyObject.h | 0 .../bindings/node/crypto/KeyObjectData.h | 0 .../node/crypto/node_crypto_binding.cpp | 0 .../node/crypto/node_crypto_binding.h | 0 .../bindings/node/http/JSConnectionsList.cpp | 0 .../bindings/node/http/JSConnectionsList.h | 0 .../http/JSConnectionsListConstructor.cpp | 0 .../node/http/JSConnectionsListConstructor.h | 0 .../node/http/JSConnectionsListPrototype.cpp | 0 .../node/http/JSConnectionsListPrototype.h | 0 .../bindings/node/http/JSHTTPParser.cpp | 0 .../bindings/node/http/JSHTTPParser.h | 0 .../node/http/JSHTTPParserConstructor.cpp | 0 .../node/http/JSHTTPParserConstructor.h | 0 .../node/http/JSHTTPParserPrototype.cpp | 0 .../node/http/JSHTTPParserPrototype.h | 0 .../bindings/node/http/NodeHTTPParser.cpp | 0 .../bindings/node/http/NodeHTTPParser.h | 0 .../bindings/node/http/llhttp/README.md | 2 +- .../bindings/node/http/llhttp/api.c | 0 .../bindings/node/http/llhttp/api.h | 0 .../bindings/node/http/llhttp/http.c | 0 .../bindings/node/http/llhttp/llhttp.c | 0 .../bindings/node/http/llhttp/llhttp.h | 0 src/{bun.js => buntime}/bindings/objects.cpp | 0 src/{bun.js => buntime}/bindings/objects.h | 0 src/{bun.js => buntime}/bindings/root.h | 0 src/{bun.js => buntime}/bindings/sizes.zig | 0 src/{bun.js => buntime}/bindings/spawn.cpp | 0 .../bindings/sqlite/CMakeLists.txt | 0 .../bindings/sqlite/JSSQLStatement.cpp | 0 .../bindings/sqlite/JSSQLStatement.h | 0 .../bindings/sqlite/lazy_sqlite3.h | 0 .../bindings/sqlite/sqlite3.c | 0 .../bindings/sqlite/sqlite3_error_codes.h | 0 .../bindings/sqlite/sqlite3_local.h | 0 .../bindings/static_export.zig | 0 .../bindings/stripANSI.cpp | 0 src/{bun.js => buntime}/bindings/stripANSI.h | 0 .../bindings/uv-posix-polyfills-darwin.c | 0 .../bindings/uv-posix-polyfills-linux.c | 0 .../bindings/uv-posix-polyfills-posix.c | 0 .../bindings/uv-posix-polyfills.c | 0 .../bindings/uv-posix-polyfills.h | 0 .../bindings/uv-posix-stubs.c | 0 .../bindings/uws_bindings.cpp | 0 .../bindings/v8-capture-stack-fixture.cjs | 0 src/buntime/bindings/v8/AGENTS.md | 326 +++++ src/{bun.js => buntime}/bindings/v8/CLAUDE.md | 4 +- .../bindings/v8/V8Array.cpp | 0 src/{bun.js => buntime}/bindings/v8/V8Array.h | 0 .../bindings/v8/V8Boolean.cpp | 0 .../bindings/v8/V8Boolean.h | 0 .../bindings/v8/V8Context.cpp | 0 .../bindings/v8/V8Context.h | 0 src/{bun.js => buntime}/bindings/v8/V8Data.h | 0 .../bindings/v8/V8EscapableHandleScope.cpp | 0 .../bindings/v8/V8EscapableHandleScope.h | 0 .../v8/V8EscapableHandleScopeBase.cpp | 0 .../bindings/v8/V8EscapableHandleScopeBase.h | 0 .../bindings/v8/V8External.cpp | 0 .../bindings/v8/V8External.h | 0 .../bindings/v8/V8Function.cpp | 0 .../bindings/v8/V8Function.h | 0 .../bindings/v8/V8FunctionCallbackInfo.cpp | 0 .../bindings/v8/V8FunctionCallbackInfo.h | 0 .../bindings/v8/V8FunctionTemplate.cpp | 0 .../bindings/v8/V8FunctionTemplate.h | 0 .../bindings/v8/V8HandleScope.cpp | 0 .../bindings/v8/V8HandleScope.h | 0 .../bindings/v8/V8Isolate.cpp | 0 .../bindings/v8/V8Isolate.h | 0 .../bindings/v8/V8Local.cpp | 0 src/{bun.js => buntime}/bindings/v8/V8Local.h | 0 .../bindings/v8/V8Maybe.cpp | 0 src/{bun.js => buntime}/bindings/v8/V8Maybe.h | 0 .../bindings/v8/V8MaybeLocal.h | 0 .../bindings/v8/V8Number.cpp | 0 .../bindings/v8/V8Number.h | 0 .../bindings/v8/V8Object.cpp | 0 .../bindings/v8/V8Object.h | 0 .../bindings/v8/V8ObjectTemplate.cpp | 0 .../bindings/v8/V8ObjectTemplate.h | 0 .../bindings/v8/V8Primitive.h | 0 .../bindings/v8/V8Signature.h | 0 .../bindings/v8/V8String.cpp | 0 .../bindings/v8/V8String.h | 0 .../bindings/v8/V8Template.cpp | 0 .../bindings/v8/V8Template.h | 0 .../bindings/v8/V8Value.cpp | 0 src/{bun.js => buntime}/bindings/v8/V8Value.h | 0 src/{bun.js => buntime}/bindings/v8/node.cpp | 0 src/{bun.js => buntime}/bindings/v8/node.h | 0 src/{bun.js => buntime}/bindings/v8/real_v8.h | 0 .../bindings/v8/shim/Function.cpp | 0 .../bindings/v8/shim/Function.h | 0 .../bindings/v8/shim/FunctionTemplate.cpp | 0 .../bindings/v8/shim/FunctionTemplate.h | 0 .../bindings/v8/shim/GlobalInternals.cpp | 0 .../bindings/v8/shim/GlobalInternals.h | 0 .../bindings/v8/shim/Handle.cpp | 0 .../bindings/v8/shim/Handle.h | 0 .../bindings/v8/shim/HandleScopeBuffer.cpp | 0 .../bindings/v8/shim/HandleScopeBuffer.h | 0 .../bindings/v8/shim/InternalFieldObject.cpp | 0 .../bindings/v8/shim/InternalFieldObject.h | 0 .../bindings/v8/shim/Map.cpp | 0 .../bindings/v8/shim/Map.h | 0 .../bindings/v8/shim/ObjectTemplate.cpp | 0 .../bindings/v8/shim/ObjectTemplate.h | 0 .../bindings/v8/shim/Oddball.cpp | 0 .../bindings/v8/shim/Oddball.h | 0 .../bindings/v8/shim/TaggedPointer.cpp | 0 .../bindings/v8/shim/TaggedPointer.h | 0 src/{bun.js => buntime}/bindings/v8/v8.h | 0 .../bindings/v8/v8_api_internal.cpp | 0 .../bindings/v8/v8_api_internal.h | 0 .../bindings/v8/v8_compatibility_assertions.h | 0 .../bindings/v8/v8_internal.cpp | 0 .../bindings/v8/v8_internal.h | 0 .../bindings/v8/v8config.h | 0 .../bindings/webcore/AbortAlgorithm.h | 0 .../bindings/webcore/AbortAlgorithm.idl | 0 .../bindings/webcore/AbortController.cpp | 0 .../bindings/webcore/AbortController.h | 0 .../bindings/webcore/AbortController.idl | 0 .../bindings/webcore/AbortSignal.cpp | 0 .../bindings/webcore/AbortSignal.h | 0 .../bindings/webcore/AbortSignal.idl | 0 .../bindings/webcore/ActiveDOMObject.cpp | 0 .../bindings/webcore/ActiveDOMObject.h | 0 .../webcore/AddEventListenerOptions.h | 0 .../bindings/webcore/BroadcastChannel.cpp | 0 .../bindings/webcore/BroadcastChannel.h | 0 .../webcore/BroadcastChannelIdentifier.h | 0 .../webcore/BroadcastChannelRegistry.h | 0 .../bindings/webcore/BufferSource.h | 0 .../webcore/BunBroadcastChannelRegistry.cpp | 0 .../webcore/BunBroadcastChannelRegistry.h | 0 .../bindings/webcore/CallbackResult.h | 0 .../bindings/webcore/CloseEvent.cpp | 0 .../bindings/webcore/CloseEvent.h | 0 .../bindings/webcore/CloseEvent.idl | 0 .../bindings/webcore/CommonAtomStrings.cpp | 0 .../bindings/webcore/CommonAtomStrings.h | 0 .../webcore/ContextDestructionObserver.cpp | 0 .../webcore/ContextDestructionObserver.h | 0 .../bindings/webcore/CustomEvent.cpp | 0 .../bindings/webcore/CustomEvent.h | 0 .../bindings/webcore/CustomEvent.idl | 0 .../bindings/webcore/CustomEventCustom.cpp | 0 .../bindings/webcore/DOMClientIsoSubspaces.h | 0 .../bindings/webcore/DOMConstructors.h | 0 .../bindings/webcore/DOMHighResTimeStamp.h | 0 .../bindings/webcore/DOMIsoSubspaces.h | 0 .../bindings/webcore/DOMJITCheckDOM.h | 0 .../bindings/webcore/DOMJITHelpers.cpp | 0 .../bindings/webcore/DOMJITHelpers.h | 0 .../bindings/webcore/DOMJITIDLConvert.h | 0 .../bindings/webcore/DOMJITIDLType.h | 0 .../bindings/webcore/DOMJITIDLTypeFilter.h | 0 .../bindings/webcore/DOMPromiseProxy.h | 0 .../bindings/webcore/ErrorCallback.cpp | 0 .../bindings/webcore/ErrorCallback.h | 0 .../bindings/webcore/ErrorCallback.idl | 0 .../bindings/webcore/ErrorEvent.cpp | 0 .../bindings/webcore/ErrorEvent.h | 0 .../bindings/webcore/ErrorEvent.idl | 0 .../bindings/webcore/Event.cpp | 0 .../bindings/webcore/Event.h | 0 .../bindings/webcore/Event.idl | 0 .../bindings/webcore/EventContext.cpp | 0 .../bindings/webcore/EventContext.h | 0 .../bindings/webcore/EventDispatcher.cpp | 0 .../bindings/webcore/EventDispatcher.h | 0 .../bindings/webcore/EventEmitter.cpp | 0 .../bindings/webcore/EventEmitter.h | 0 .../bindings/webcore/EventFactory.cpp | 0 .../bindings/webcore/EventHeaders.h | 0 .../bindings/webcore/EventInit.h | 0 .../bindings/webcore/EventInit.idl | 0 .../bindings/webcore/EventInterfaces.h | 0 .../bindings/webcore/EventListener.h | 0 .../bindings/webcore/EventListener.idl | 0 .../bindings/webcore/EventListenerMap.cpp | 0 .../bindings/webcore/EventListenerMap.h | 0 .../bindings/webcore/EventListenerOptions.h | 0 .../bindings/webcore/EventListenerOptions.idl | 0 .../bindings/webcore/EventModifierInit.h | 0 .../bindings/webcore/EventNames.cpp | 0 .../bindings/webcore/EventNames.h | 0 .../bindings/webcore/EventNames.in | 0 .../bindings/webcore/EventOptions.h | 0 .../bindings/webcore/EventPath.cpp | 0 .../bindings/webcore/EventPath.h | 0 .../bindings/webcore/EventSender.h | 0 .../bindings/webcore/EventTarget.cpp | 0 .../bindings/webcore/EventTarget.h | 0 .../bindings/webcore/EventTarget.idl | 0 .../bindings/webcore/EventTargetConcrete.cpp | 0 .../bindings/webcore/EventTargetConcrete.h | 0 .../bindings/webcore/EventTargetFactory.cpp | 0 .../bindings/webcore/EventTargetHeaders.h | 0 .../bindings/webcore/EventTargetInterfaces.h | 0 .../bindings/webcore/ExceptionDetails.h | 0 .../webcore/ExtendedDOMClientIsoSubspaces.h | 0 .../webcore/ExtendedDOMIsoSubspaces.h | 0 .../bindings/webcore/FetchHeaders.cpp | 0 .../bindings/webcore/FetchHeaders.h | 0 .../bindings/webcore/FetchHeaders.idl | 0 .../bindings/webcore/HTTPHeaderField.cpp | 0 .../bindings/webcore/HTTPHeaderField.h | 0 .../webcore/HTTPHeaderIdentifiers.cpp | 0 .../bindings/webcore/HTTPHeaderIdentifiers.h | 0 .../bindings/webcore/HTTPHeaderMap.cpp | 0 .../bindings/webcore/HTTPHeaderMap.h | 0 .../bindings/webcore/HTTPHeaderNames.cpp | 0 .../bindings/webcore/HTTPHeaderNames.gperf | 0 .../bindings/webcore/HTTPHeaderNames.h | 0 .../bindings/webcore/HTTPHeaderNames.in | 0 .../bindings/webcore/HTTPHeaderStrings.cpp | 0 .../bindings/webcore/HTTPHeaderValues.cpp | 0 .../bindings/webcore/HTTPHeaderValues.h | 0 .../bindings/webcore/HTTPParsers.cpp | 0 .../bindings/webcore/HTTPParsers.h | 0 .../bindings/webcore/HeaderFieldTokenizer.cpp | 0 .../bindings/webcore/HeaderFieldTokenizer.h | 0 .../webcore/IdentifierEventListenerMap.cpp | 0 .../webcore/IdentifierEventListenerMap.h | 0 .../webcore/InternalWritableStream.cpp | 0 .../bindings/webcore/InternalWritableStream.h | 0 .../bindings/webcore/JSAbortAlgorithm.cpp | 0 .../bindings/webcore/JSAbortAlgorithm.h | 0 .../bindings/webcore/JSAbortController.cpp | 0 .../bindings/webcore/JSAbortController.h | 0 .../bindings/webcore/JSAbortSignal.cpp | 0 .../bindings/webcore/JSAbortSignal.h | 0 .../bindings/webcore/JSAbortSignalCustom.cpp | 0 .../webcore/JSAddEventListenerOptions.cpp | 0 .../webcore/JSAddEventListenerOptions.h | 0 .../bindings/webcore/JSBroadcastChannel.cpp | 0 .../bindings/webcore/JSBroadcastChannel.h | 0 .../webcore/JSByteLengthQueuingStrategy.cpp | 0 .../webcore/JSByteLengthQueuingStrategy.h | 0 .../bindings/webcore/JSCallbackData.cpp | 0 .../bindings/webcore/JSCallbackData.h | 0 .../bindings/webcore/JSCloseEvent.cpp | 0 .../bindings/webcore/JSCloseEvent.h | 0 .../bindings/webcore/JSCookie.cpp | 0 .../bindings/webcore/JSCookie.h | 0 .../bindings/webcore/JSCookieMap.cpp | 0 .../bindings/webcore/JSCookieMap.h | 0 .../webcore/JSCountQueuingStrategy.cpp | 0 .../bindings/webcore/JSCountQueuingStrategy.h | 0 .../bindings/webcore/JSCustomEvent.cpp | 0 .../bindings/webcore/JSCustomEvent.h | 0 .../bindings/webcore/JSDOMAttribute.h | 0 .../bindings/webcore/JSDOMBinding.h | 0 .../webcore/JSDOMBindingInternalsBuiltins.cpp | 0 .../webcore/JSDOMBindingInternalsBuiltins.h | 0 .../webcore/JSDOMBuiltinConstructor.h | 0 .../webcore/JSDOMBuiltinConstructorBase.cpp | 0 .../webcore/JSDOMBuiltinConstructorBase.h | 0 .../bindings/webcore/JSDOMCastThisValue.h | 0 .../bindings/webcore/JSDOMConstructor.h | 0 .../bindings/webcore/JSDOMConstructorBase.cpp | 0 .../bindings/webcore/JSDOMConstructorBase.h | 0 .../webcore/JSDOMConstructorCallable.h | 0 .../webcore/JSDOMConstructorNotCallable.h | 0 .../JSDOMConstructorNotConstructable.h | 0 .../bindings/webcore/JSDOMConvert.h | 0 .../bindings/webcore/JSDOMConvertAny.h | 0 .../bindings/webcore/JSDOMConvertBase.h | 0 .../bindings/webcore/JSDOMConvertBoolean.h | 0 .../webcore/JSDOMConvertBufferSource.h | 0 .../bindings/webcore/JSDOMConvertCallbacks.h | 0 .../bindings/webcore/JSDOMConvertDate.cpp | 0 .../bindings/webcore/JSDOMConvertDate.h | 0 .../bindings/webcore/JSDOMConvertDictionary.h | 0 .../webcore/JSDOMConvertEnumeration.h | 0 .../webcore/JSDOMConvertEventListener.h | 0 .../bindings/webcore/JSDOMConvertInterface.h | 0 .../bindings/webcore/JSDOMConvertJSON.h | 0 .../bindings/webcore/JSDOMConvertNull.h | 0 .../bindings/webcore/JSDOMConvertNullable.h | 0 .../bindings/webcore/JSDOMConvertNumbers.cpp | 0 .../bindings/webcore/JSDOMConvertNumbers.h | 0 .../bindings/webcore/JSDOMConvertObject.h | 0 .../bindings/webcore/JSDOMConvertOptional.h | 0 .../bindings/webcore/JSDOMConvertPromise.h | 0 .../bindings/webcore/JSDOMConvertRecord.h | 0 .../webcore/JSDOMConvertScheduledAction.h | 0 .../bindings/webcore/JSDOMConvertSequences.h | 0 .../JSDOMConvertSerializedScriptValue.h | 0 .../bindings/webcore/JSDOMConvertStrings.cpp | 0 .../bindings/webcore/JSDOMConvertStrings.h | 0 .../bindings/webcore/JSDOMConvertUnion.h | 0 .../bindings/webcore/JSDOMConvertVariadic.h | 0 .../bindings/webcore/JSDOMConvertWebGL.cpp | 0 .../bindings/webcore/JSDOMConvertWebGL.h | 0 .../webcore/JSDOMConvertXPathNSResolver.h | 0 .../bindings/webcore/JSDOMException.cpp | 0 .../bindings/webcore/JSDOMException.h | 0 .../bindings/webcore/JSDOMFormData.cpp | 0 .../bindings/webcore/JSDOMFormData.h | 0 .../webcore/JSDOMGlobalObjectInlines.h | 0 .../bindings/webcore/JSDOMGuardedObject.cpp | 0 .../bindings/webcore/JSDOMGuardedObject.h | 0 .../bindings/webcore/JSDOMIterator.cpp | 0 .../bindings/webcore/JSDOMIterator.h | 0 .../bindings/webcore/JSDOMOperation.cpp | 0 .../bindings/webcore/JSDOMOperation.h | 0 .../webcore/JSDOMOperationReturningPromise.h | 0 .../bindings/webcore/JSDOMPromise.cpp | 0 .../bindings/webcore/JSDOMPromise.h | 0 .../bindings/webcore/JSDOMPromiseDeferred.cpp | 0 .../bindings/webcore/JSDOMPromiseDeferred.h | 0 .../bindings/webcore/JSDOMURL.cpp | 0 .../bindings/webcore/JSDOMURL.h | 0 .../bindings/webcore/JSDOMWindow.h | 0 .../bindings/webcore/JSErrorCallback.cpp | 0 .../bindings/webcore/JSErrorCallback.h | 0 .../bindings/webcore/JSErrorEvent.cpp | 0 .../bindings/webcore/JSErrorEvent.h | 0 .../bindings/webcore/JSErrorEventCustom.cpp | 0 .../bindings/webcore/JSErrorHandler.cpp | 0 .../bindings/webcore/JSErrorHandler.h | 0 .../bindings/webcore/JSEvent.cpp | 0 .../bindings/webcore/JSEvent.h | 0 .../bindings/webcore/JSEventCustom.cpp | 0 .../bindings/webcore/JSEventCustom.h | 0 .../bindings/webcore/JSEventDOMJIT.cpp | 0 .../bindings/webcore/JSEventEmitter.cpp | 0 .../bindings/webcore/JSEventEmitter.h | 0 .../bindings/webcore/JSEventEmitterCustom.cpp | 0 .../bindings/webcore/JSEventEmitterCustom.h | 0 .../bindings/webcore/JSEventInit.cpp | 0 .../bindings/webcore/JSEventInit.h | 0 .../bindings/webcore/JSEventListener.cpp | 0 .../bindings/webcore/JSEventListener.h | 0 .../webcore/JSEventListenerOptions.cpp | 0 .../bindings/webcore/JSEventListenerOptions.h | 0 .../bindings/webcore/JSEventModifierInit.cpp | 0 .../bindings/webcore/JSEventModifierInit.h | 0 .../bindings/webcore/JSEventTarget.cpp | 0 .../bindings/webcore/JSEventTarget.h | 0 .../bindings/webcore/JSEventTargetCustom.cpp | 0 .../bindings/webcore/JSEventTargetCustom.h | 0 .../bindings/webcore/JSEventTargetNode.cpp | 0 .../bindings/webcore/JSEventTargetNode.h | 0 .../bindings/webcore/JSFetchHeaders.cpp | 0 .../bindings/webcore/JSFetchHeaders.h | 0 .../bindings/webcore/JSMIMEBindings.cpp | 0 .../bindings/webcore/JSMIMEBindings.h | 0 .../bindings/webcore/JSMIMEParams.cpp | 0 .../bindings/webcore/JSMIMEParams.h | 0 .../bindings/webcore/JSMIMEType.cpp | 0 .../bindings/webcore/JSMIMEType.h | 0 .../bindings/webcore/JSMessageChannel.cpp | 0 .../bindings/webcore/JSMessageChannel.h | 0 .../webcore/JSMessageChannelCustom.cpp | 0 .../bindings/webcore/JSMessageEvent.cpp | 0 .../bindings/webcore/JSMessageEvent.h | 0 .../bindings/webcore/JSMessageEventCustom.cpp | 0 .../bindings/webcore/JSMessagePort.cpp | 0 .../bindings/webcore/JSMessagePort.h | 0 .../bindings/webcore/JSMessagePortCustom.cpp | 0 .../bindings/webcore/JSPerformance.cpp | 0 .../bindings/webcore/JSPerformance.h | 0 .../bindings/webcore/JSPerformanceEntry.cpp | 0 .../bindings/webcore/JSPerformanceEntry.h | 0 .../webcore/JSPerformanceEntryCustom.cpp | 0 .../bindings/webcore/JSPerformanceMark.cpp | 0 .../bindings/webcore/JSPerformanceMark.h | 0 .../webcore/JSPerformanceMarkOptions.cpp | 0 .../webcore/JSPerformanceMarkOptions.h | 0 .../bindings/webcore/JSPerformanceMeasure.cpp | 0 .../bindings/webcore/JSPerformanceMeasure.h | 0 .../webcore/JSPerformanceMeasureOptions.cpp | 0 .../webcore/JSPerformanceMeasureOptions.h | 0 .../webcore/JSPerformanceObserver.cpp | 0 .../bindings/webcore/JSPerformanceObserver.h | 0 .../webcore/JSPerformanceObserverCallback.cpp | 0 .../webcore/JSPerformanceObserverCallback.h | 0 .../webcore/JSPerformanceObserverCustom.cpp | 0 .../JSPerformanceObserverEntryList.cpp | 0 .../webcore/JSPerformanceObserverEntryList.h | 0 .../webcore/JSPerformanceResourceTiming.cpp | 0 .../webcore/JSPerformanceResourceTiming.h | 0 .../webcore/JSPerformanceServerTiming.cpp | 0 .../webcore/JSPerformanceServerTiming.h | 0 .../bindings/webcore/JSPerformanceTiming.cpp | 0 .../bindings/webcore/JSPerformanceTiming.h | 0 .../JSReadableByteStreamController.cpp | 0 .../webcore/JSReadableByteStreamController.h | 0 .../bindings/webcore/JSReadableStream.cpp | 0 .../bindings/webcore/JSReadableStream.h | 0 .../webcore/JSReadableStreamBYOBReader.cpp | 0 .../webcore/JSReadableStreamBYOBReader.h | 0 .../webcore/JSReadableStreamBYOBRequest.cpp | 0 .../webcore/JSReadableStreamBYOBRequest.h | 0 .../JSReadableStreamDefaultController.cpp | 0 .../JSReadableStreamDefaultController.h | 0 .../webcore/JSReadableStreamDefaultReader.cpp | 0 .../webcore/JSReadableStreamDefaultReader.h | 0 .../bindings/webcore/JSReadableStreamSink.cpp | 0 .../bindings/webcore/JSReadableStreamSink.h | 0 .../webcore/JSReadableStreamSource.cpp | 0 .../bindings/webcore/JSReadableStreamSource.h | 0 .../webcore/JSReadableStreamSourceCustom.cpp | 0 .../bindings/webcore/JSServiceWorker.h | 0 .../webcore/JSStructuredSerializeOptions.cpp | 0 .../webcore/JSStructuredSerializeOptions.h | 0 .../bindings/webcore/JSTextDecoderStream.cpp | 0 .../bindings/webcore/JSTextDecoderStream.h | 0 .../bindings/webcore/JSTextEncoder.cpp | 0 .../bindings/webcore/JSTextEncoder.h | 0 .../bindings/webcore/JSTextEncoderStream.cpp | 0 .../bindings/webcore/JSTextEncoderStream.h | 0 .../bindings/webcore/JSTransformStream.cpp | 0 .../bindings/webcore/JSTransformStream.h | 0 .../JSTransformStreamDefaultController.cpp | 0 .../JSTransformStreamDefaultController.h | 0 .../bindings/webcore/JSURLPattern.cpp | 0 .../bindings/webcore/JSURLPattern.h | 0 .../bindings/webcore/JSURLPatternInit.cpp | 0 .../bindings/webcore/JSURLPatternInit.h | 0 .../bindings/webcore/JSURLPatternOptions.cpp | 0 .../bindings/webcore/JSURLPatternOptions.h | 0 .../bindings/webcore/JSURLPatternResult.cpp | 0 .../bindings/webcore/JSURLPatternResult.h | 0 .../bindings/webcore/JSURLSearchParams.cpp | 0 .../bindings/webcore/JSURLSearchParams.h | 0 .../bindings/webcore/JSValueInWrappedObject.h | 0 .../webcore/JSWasmStreamingCompiler.cpp | 0 .../webcore/JSWasmStreamingCompiler.h | 0 .../bindings/webcore/JSWebSocket.cpp | 0 .../bindings/webcore/JSWebSocket.h | 0 .../bindings/webcore/JSWindowProxy.h | 0 .../bindings/webcore/JSWorker.cpp | 0 .../bindings/webcore/JSWorker.h | 0 .../bindings/webcore/JSWorkerOptions.cpp | 0 .../bindings/webcore/JSWorkerOptions.h | 0 .../bindings/webcore/JSWritableStream.cpp | 0 .../bindings/webcore/JSWritableStream.h | 0 .../JSWritableStreamDefaultController.cpp | 0 .../JSWritableStreamDefaultController.h | 0 .../webcore/JSWritableStreamDefaultWriter.cpp | 0 .../webcore/JSWritableStreamDefaultWriter.h | 0 .../bindings/webcore/JSWritableStreamSink.cpp | 0 .../bindings/webcore/JSWritableStreamSink.h | 0 .../bindings/webcore/MessageChannel.cpp | 0 .../bindings/webcore/MessageChannel.h | 0 .../bindings/webcore/MessageEvent.cpp | 0 .../bindings/webcore/MessageEvent.h | 0 .../bindings/webcore/MessageEvent.idl | 0 .../bindings/webcore/MessagePort.cpp | 0 .../bindings/webcore/MessagePort.h | 0 .../bindings/webcore/MessagePortChannel.cpp | 0 .../bindings/webcore/MessagePortChannel.h | 0 .../webcore/MessagePortChannelProvider.cpp | 0 .../webcore/MessagePortChannelProvider.h | 0 .../MessagePortChannelProviderImpl.cpp | 0 .../webcore/MessagePortChannelProviderImpl.h | 0 .../webcore/MessagePortChannelRegistry.cpp | 0 .../webcore/MessagePortChannelRegistry.h | 0 .../bindings/webcore/MessagePortIdentifier.h | 0 .../webcore/MessageWithMessagePorts.h | 0 .../bindings/webcore/NetworkLoadMetrics.cpp | 0 .../bindings/webcore/NetworkLoadMetrics.h | 0 .../bindings/webcore/Node.h | 0 .../bindings/webcore/Performance.cpp | 0 .../bindings/webcore/Performance.h | 0 .../bindings/webcore/PerformanceEntry.cpp | 0 .../bindings/webcore/PerformanceEntry.h | 0 .../bindings/webcore/PerformanceMark.cpp | 0 .../bindings/webcore/PerformanceMark.h | 0 .../bindings/webcore/PerformanceMarkOptions.h | 0 .../bindings/webcore/PerformanceMeasure.cpp | 0 .../bindings/webcore/PerformanceMeasure.h | 0 .../webcore/PerformanceMeasureOptions.h | 0 .../bindings/webcore/PerformanceObserver.cpp | 0 .../bindings/webcore/PerformanceObserver.h | 0 .../webcore/PerformanceObserverCallback.h | 0 .../webcore/PerformanceObserverEntryList.cpp | 0 .../webcore/PerformanceObserverEntryList.h | 0 .../webcore/PerformanceResourceTiming.cpp | 0 .../webcore/PerformanceResourceTiming.h | 0 .../webcore/PerformanceResourceTiming.idl | 0 .../webcore/PerformanceServerTiming.cpp | 0 .../webcore/PerformanceServerTiming.h | 0 .../webcore/PerformanceServerTiming.idl | 0 .../bindings/webcore/PerformanceTiming.cpp | 0 .../bindings/webcore/PerformanceTiming.h | 0 .../webcore/PerformanceUserTiming.cpp | 0 .../bindings/webcore/PerformanceUserTiming.h | 0 .../bindings/webcore/PortIdentifier.h | 0 .../bindings/webcore/RFC7230.cpp | 0 .../bindings/webcore/RFC7230.h | 0 .../bindings/webcore/ReadableStream.cpp | 0 .../bindings/webcore/ReadableStream.h | 0 .../ReadableStreamDefaultController.cpp | 0 .../webcore/ReadableStreamDefaultController.h | 0 .../bindings/webcore/ReadableStreamSink.cpp | 0 .../bindings/webcore/ReadableStreamSink.h | 0 .../bindings/webcore/ReadableStreamSource.cpp | 0 .../bindings/webcore/ReadableStreamSource.h | 0 .../webcore/RegisteredEventListener.h | 0 .../bindings/webcore/ResourceLoadTiming.h | 0 .../bindings/webcore/ResourceTiming.cpp | 0 .../bindings/webcore/ResourceTiming.h | 0 .../bindings/webcore/ScriptWrappable.h | 0 .../bindings/webcore/ScriptWrappableInlines.h | 0 .../webcore/SerializedScriptValue.cpp | 0 .../bindings/webcore/SerializedScriptValue.h | 0 .../bindings/webcore/ServerTiming.cpp | 0 .../bindings/webcore/ServerTiming.h | 0 .../bindings/webcore/ServerTimingParser.cpp | 0 .../bindings/webcore/ServerTimingParser.h | 0 .../bindings/webcore/StructuredClone.cpp | 0 .../bindings/webcore/StructuredClone.h | 0 .../webcore/StructuredSerializeOptions.h | 0 .../bindings/webcore/TaskSource.h | 0 .../bindings/webcore/TextEncoder.cpp | 0 .../bindings/webcore/TextEncoder.h | 0 .../bindings/webcore/TransferredMessagePort.h | 0 .../bindings/webcore/UIEventInit.h | 0 .../bindings/webcore/URLPattern.cpp | 0 .../bindings/webcore/URLPattern.h | 0 .../bindings/webcore/URLPattern.idl | 0 .../bindings/webcore/URLPatternCanonical.cpp | 0 .../bindings/webcore/URLPatternCanonical.h | 0 .../bindings/webcore/URLPatternComponent.cpp | 0 .../bindings/webcore/URLPatternComponent.h | 0 .../URLPatternConstructorStringParser.cpp | 0 .../URLPatternConstructorStringParser.h | 0 .../bindings/webcore/URLPatternInit.h | 0 .../bindings/webcore/URLPatternInit.idl | 0 .../bindings/webcore/URLPatternOptions.h | 0 .../bindings/webcore/URLPatternOptions.idl | 0 .../bindings/webcore/URLPatternParser.cpp | 0 .../bindings/webcore/URLPatternParser.h | 0 .../bindings/webcore/URLPatternResult.h | 0 .../bindings/webcore/URLPatternResult.idl | 0 .../bindings/webcore/URLPatternTokenizer.cpp | 0 .../bindings/webcore/URLPatternTokenizer.h | 0 .../bindings/webcore/WebCoreJSClientData.h | 0 .../webcore/WebCoreTypedArrayController.cpp | 0 .../webcore/WebCoreTypedArrayController.h | 0 .../bindings/webcore/WebSocket.cpp | 0 .../bindings/webcore/WebSocket.h | 0 .../bindings/webcore/WebSocket.idl | 0 .../bindings/webcore/WebSocketDeflate.h | 0 .../bindings/webcore/WebSocketErrorCode.h | 0 .../bindings/webcore/WebSocketIdentifier.h | 0 .../bindings/webcore/Worker.cpp | 0 .../bindings/webcore/Worker.h | 0 .../bindings/webcore/WorkerOptions.h | 0 .../bindings/webcore/WritableStream.cpp | 0 .../bindings/webcore/WritableStream.h | 0 .../bindings/webcore/WritableStream.idl | 0 .../bindings/webcore/WritableStreamSink.h | 0 .../bindings/webcore/config.h | 0 .../bindings/webcrypto/AesCbcCfbParams.idl | 0 .../bindings/webcrypto/AesCtrParams.idl | 0 .../bindings/webcrypto/AesGcmParams.idl | 0 .../bindings/webcrypto/AesKeyParams.idl | 0 .../webcrypto/CommonCryptoDERUtilities.cpp | 0 .../webcrypto/CommonCryptoDERUtilities.h | 0 .../webcrypto/CryptoAesKeyAlgorithm.h | 0 .../webcrypto/CryptoAesKeyAlgorithm.idl | 0 .../bindings/webcrypto/CryptoAlgorithm.cpp | 0 .../bindings/webcrypto/CryptoAlgorithm.h | 0 .../webcrypto/CryptoAlgorithmAES_CBC.cpp | 0 .../webcrypto/CryptoAlgorithmAES_CBC.h | 0 .../CryptoAlgorithmAES_CBCOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmAES_CFB.cpp | 0 .../webcrypto/CryptoAlgorithmAES_CFB.h | 0 .../CryptoAlgorithmAES_CFBOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmAES_CTR.cpp | 0 .../webcrypto/CryptoAlgorithmAES_CTR.h | 0 .../CryptoAlgorithmAES_CTROpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmAES_GCM.cpp | 0 .../webcrypto/CryptoAlgorithmAES_GCM.h | 0 .../CryptoAlgorithmAES_GCMOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmAES_KW.cpp | 0 .../webcrypto/CryptoAlgorithmAES_KW.h | 0 .../CryptoAlgorithmAES_KWOpenSSL.cpp | 0 .../CryptoAlgorithmAesCbcCfbParams.h | 0 .../webcrypto/CryptoAlgorithmAesCtrParams.h | 0 .../webcrypto/CryptoAlgorithmAesGcmParams.h | 0 .../webcrypto/CryptoAlgorithmAesKeyParams.h | 0 .../webcrypto/CryptoAlgorithmECDH.cpp | 0 .../bindings/webcrypto/CryptoAlgorithmECDH.h | 0 .../webcrypto/CryptoAlgorithmECDHOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmECDSA.cpp | 0 .../bindings/webcrypto/CryptoAlgorithmECDSA.h | 0 .../webcrypto/CryptoAlgorithmECDSAOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmEcKeyParams.h | 0 .../CryptoAlgorithmEcdhKeyDeriveParams.h | 0 .../webcrypto/CryptoAlgorithmEcdsaParams.h | 0 .../webcrypto/CryptoAlgorithmEd25519.cpp | 0 .../webcrypto/CryptoAlgorithmEd25519.h | 0 .../webcrypto/CryptoAlgorithmHKDF.cpp | 0 .../bindings/webcrypto/CryptoAlgorithmHKDF.h | 0 .../webcrypto/CryptoAlgorithmHKDFOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmHMAC.cpp | 0 .../bindings/webcrypto/CryptoAlgorithmHMAC.h | 0 .../webcrypto/CryptoAlgorithmHMACOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmHkdfParams.h | 0 .../webcrypto/CryptoAlgorithmHmacKeyParams.h | 0 .../webcrypto/CryptoAlgorithmIdentifier.h | 0 .../webcrypto/CryptoAlgorithmPBKDF2.cpp | 0 .../webcrypto/CryptoAlgorithmPBKDF2.h | 0 .../CryptoAlgorithmPBKDF2OpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmParameters.h | 0 .../webcrypto/CryptoAlgorithmParameters.idl | 0 .../webcrypto/CryptoAlgorithmPbkdf2Params.h | 0 .../CryptoAlgorithmRSAES_PKCS1_v1_5.cpp | 0 .../CryptoAlgorithmRSAES_PKCS1_v1_5.h | 0 ...CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp | 0 .../CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp | 0 .../CryptoAlgorithmRSASSA_PKCS1_v1_5.h | 0 ...ryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmRSA_OAEP.cpp | 0 .../webcrypto/CryptoAlgorithmRSA_OAEP.h | 0 .../CryptoAlgorithmRSA_OAEPOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmRSA_PSS.cpp | 0 .../webcrypto/CryptoAlgorithmRSA_PSS.h | 0 .../CryptoAlgorithmRSA_PSSOpenSSL.cpp | 0 .../webcrypto/CryptoAlgorithmRegistry.cpp | 0 .../webcrypto/CryptoAlgorithmRegistry.h | 0 .../CryptoAlgorithmRegistryOpenSSL.cpp | 0 .../CryptoAlgorithmRsaHashedImportParams.h | 0 .../CryptoAlgorithmRsaHashedKeyGenParams.h | 0 .../CryptoAlgorithmRsaKeyGenParams.h | 0 .../webcrypto/CryptoAlgorithmRsaOaepParams.h | 0 .../webcrypto/CryptoAlgorithmRsaPssParams.h | 0 .../webcrypto/CryptoAlgorithmSHA1.cpp | 0 .../bindings/webcrypto/CryptoAlgorithmSHA1.h | 0 .../webcrypto/CryptoAlgorithmSHA224.cpp | 0 .../webcrypto/CryptoAlgorithmSHA224.h | 0 .../webcrypto/CryptoAlgorithmSHA256.cpp | 0 .../webcrypto/CryptoAlgorithmSHA256.h | 0 .../webcrypto/CryptoAlgorithmSHA384.cpp | 0 .../webcrypto/CryptoAlgorithmSHA384.h | 0 .../webcrypto/CryptoAlgorithmSHA512.cpp | 0 .../webcrypto/CryptoAlgorithmSHA512.h | 0 .../webcrypto/CryptoAlgorithmX25519.cpp | 0 .../webcrypto/CryptoAlgorithmX25519.h | 0 .../webcrypto/CryptoAlgorithmX25519Params.h | 0 .../bindings/webcrypto/CryptoDigest.cpp | 0 .../bindings/webcrypto/CryptoDigest.h | 0 .../bindings/webcrypto/CryptoEcKeyAlgorithm.h | 0 .../webcrypto/CryptoEcKeyAlgorithm.idl | 0 .../webcrypto/CryptoHmacKeyAlgorithm.h | 0 .../webcrypto/CryptoHmacKeyAlgorithm.idl | 0 .../bindings/webcrypto/CryptoKey.cpp | 0 .../bindings/webcrypto/CryptoKey.h | 0 .../bindings/webcrypto/CryptoKey.idl | 0 .../bindings/webcrypto/CryptoKeyAES.cpp | 0 .../bindings/webcrypto/CryptoKeyAES.h | 0 .../bindings/webcrypto/CryptoKeyAlgorithm.h | 0 .../bindings/webcrypto/CryptoKeyAlgorithm.idl | 0 .../bindings/webcrypto/CryptoKeyEC.cpp | 0 .../bindings/webcrypto/CryptoKeyEC.h | 0 .../bindings/webcrypto/CryptoKeyECOpenSSL.cpp | 0 .../bindings/webcrypto/CryptoKeyFormat.h | 0 .../bindings/webcrypto/CryptoKeyHMAC.cpp | 0 .../bindings/webcrypto/CryptoKeyHMAC.h | 0 .../bindings/webcrypto/CryptoKeyOKP.cpp | 0 .../bindings/webcrypto/CryptoKeyOKP.h | 0 .../webcrypto/CryptoKeyOKPOpenSSL.cpp | 0 .../bindings/webcrypto/CryptoKeyPair.h | 0 .../bindings/webcrypto/CryptoKeyPair.idl | 0 .../bindings/webcrypto/CryptoKeyRSA.cpp | 0 .../bindings/webcrypto/CryptoKeyRSA.h | 0 .../webcrypto/CryptoKeyRSAComponents.cpp | 0 .../webcrypto/CryptoKeyRSAComponents.h | 0 .../webcrypto/CryptoKeyRSAOpenSSL.cpp | 0 .../bindings/webcrypto/CryptoKeyRaw.cpp | 0 .../bindings/webcrypto/CryptoKeyRaw.h | 0 .../bindings/webcrypto/CryptoKeyType.h | 0 .../bindings/webcrypto/CryptoKeyUsage.h | 0 .../bindings/webcrypto/CryptoKeyUsage.idl | 0 .../webcrypto/CryptoRsaHashedKeyAlgorithm.h | 0 .../webcrypto/CryptoRsaHashedKeyAlgorithm.idl | 0 .../webcrypto/CryptoRsaKeyAlgorithm.h | 0 .../webcrypto/CryptoRsaKeyAlgorithm.idl | 0 .../bindings/webcrypto/EcKeyParams.idl | 0 .../webcrypto/EcdhKeyDeriveParams.idl | 0 .../bindings/webcrypto/EcdsaParams.idl | 0 .../bindings/webcrypto/HkdfParams.idl | 0 .../bindings/webcrypto/HmacKeyParams.idl | 0 .../bindings/webcrypto/JSAesCbcCfbParams.cpp | 0 .../bindings/webcrypto/JSAesCbcCfbParams.h | 0 .../bindings/webcrypto/JSAesCtrParams.cpp | 0 .../bindings/webcrypto/JSAesCtrParams.h | 0 .../bindings/webcrypto/JSAesGcmParams.cpp | 0 .../bindings/webcrypto/JSAesGcmParams.h | 0 .../bindings/webcrypto/JSAesKeyParams.cpp | 0 .../bindings/webcrypto/JSAesKeyParams.h | 0 .../webcrypto/JSCryptoAesKeyAlgorithm.cpp | 0 .../webcrypto/JSCryptoAesKeyAlgorithm.h | 0 .../webcrypto/JSCryptoAlgorithmParameters.cpp | 0 .../webcrypto/JSCryptoAlgorithmParameters.h | 0 .../webcrypto/JSCryptoEcKeyAlgorithm.cpp | 0 .../webcrypto/JSCryptoEcKeyAlgorithm.h | 0 .../webcrypto/JSCryptoHmacKeyAlgorithm.cpp | 0 .../webcrypto/JSCryptoHmacKeyAlgorithm.h | 0 .../bindings/webcrypto/JSCryptoKey.cpp | 0 .../bindings/webcrypto/JSCryptoKey.h | 0 .../webcrypto/JSCryptoKeyAlgorithm.cpp | 0 .../bindings/webcrypto/JSCryptoKeyAlgorithm.h | 0 .../bindings/webcrypto/JSCryptoKeyPair.cpp | 0 .../bindings/webcrypto/JSCryptoKeyPair.h | 0 .../bindings/webcrypto/JSCryptoKeyUsage.cpp | 0 .../bindings/webcrypto/JSCryptoKeyUsage.h | 0 .../JSCryptoRsaHashedKeyAlgorithm.cpp | 0 .../webcrypto/JSCryptoRsaHashedKeyAlgorithm.h | 0 .../webcrypto/JSCryptoRsaKeyAlgorithm.cpp | 0 .../webcrypto/JSCryptoRsaKeyAlgorithm.h | 0 .../bindings/webcrypto/JSEcKeyParams.cpp | 0 .../bindings/webcrypto/JSEcKeyParams.h | 0 .../webcrypto/JSEcdhKeyDeriveParams.cpp | 0 .../webcrypto/JSEcdhKeyDeriveParams.h | 0 .../bindings/webcrypto/JSEcdsaParams.cpp | 0 .../bindings/webcrypto/JSEcdsaParams.h | 0 .../bindings/webcrypto/JSHkdfParams.cpp | 0 .../bindings/webcrypto/JSHkdfParams.h | 0 .../bindings/webcrypto/JSHmacKeyParams.cpp | 0 .../bindings/webcrypto/JSHmacKeyParams.h | 0 .../bindings/webcrypto/JSJsonWebKey.cpp | 0 .../bindings/webcrypto/JSJsonWebKey.h | 0 .../bindings/webcrypto/JSPbkdf2Params.cpp | 0 .../bindings/webcrypto/JSPbkdf2Params.h | 0 .../webcrypto/JSRsaHashedImportParams.cpp | 0 .../webcrypto/JSRsaHashedImportParams.h | 0 .../webcrypto/JSRsaHashedKeyGenParams.cpp | 0 .../webcrypto/JSRsaHashedKeyGenParams.h | 0 .../bindings/webcrypto/JSRsaKeyGenParams.cpp | 0 .../bindings/webcrypto/JSRsaKeyGenParams.h | 0 .../bindings/webcrypto/JSRsaOaepParams.cpp | 0 .../bindings/webcrypto/JSRsaOaepParams.h | 0 .../webcrypto/JSRsaOtherPrimesInfo.cpp | 0 .../bindings/webcrypto/JSRsaOtherPrimesInfo.h | 0 .../bindings/webcrypto/JSRsaPssParams.cpp | 0 .../bindings/webcrypto/JSRsaPssParams.h | 0 .../bindings/webcrypto/JSSubtleCrypto.cpp | 0 .../bindings/webcrypto/JSSubtleCrypto.h | 0 .../bindings/webcrypto/JSX25519Params.cpp | 0 .../bindings/webcrypto/JSX25519Params.h | 0 .../bindings/webcrypto/JsonWebKey.h | 0 .../bindings/webcrypto/JsonWebKey.idl | 0 .../webcrypto/OpenSSLCryptoUniquePtr.h | 0 .../bindings/webcrypto/OpenSSLUtilities.cpp | 0 .../bindings/webcrypto/OpenSSLUtilities.h | 0 .../bindings/webcrypto/Pbkdf2Params.idl | 0 .../bindings/webcrypto/PhonyWorkQueue.cpp | 0 .../bindings/webcrypto/PhonyWorkQueue.h | 0 .../webcrypto/RsaHashedImportParams.idl | 0 .../webcrypto/RsaHashedKeyGenParams.idl | 0 .../bindings/webcrypto/RsaKeyGenParams.idl | 0 .../bindings/webcrypto/RsaOaepParams.idl | 0 .../bindings/webcrypto/RsaOtherPrimesInfo.h | 0 .../bindings/webcrypto/RsaOtherPrimesInfo.idl | 0 .../bindings/webcrypto/RsaPssParams.idl | 0 .../webcrypto/SerializedCryptoKeyWrap.h | 0 .../SerializedCryptoKeyWrapOpenSSL.cpp | 0 .../bindings/webcrypto/SubtleCrypto.cpp | 0 .../bindings/webcrypto/SubtleCrypto.h | 0 .../bindings/webcrypto/SubtleCrypto.idl | 0 .../bindings/windows/rescle-binding.cpp | 0 .../bindings/windows/rescle.cpp | 0 .../bindings/windows/rescle.h | 0 .../bindings/workaround-missing-symbols.cpp | 0 .../bindings/wtf-bindings.cpp | 0 .../bindings/wtf-bindings.h | 0 src/{bun.js => buntime}/config.zig | 0 src/{bun.js => buntime}/event_loop.zig | 0 .../event_loop/AnyEventLoop.zig | 0 .../event_loop/AnyTask.zig | 0 .../event_loop/AnyTaskWithExtraContext.zig | 0 .../event_loop/ConcurrentPromiseTask.zig | 0 .../event_loop/ConcurrentTask.zig | 0 .../event_loop/CppTask.zig | 0 .../event_loop/DeferredTaskQueue.zig | 0 .../event_loop/EventLoopHandle.zig | 0 .../GarbageCollectionController.zig | 0 .../event_loop/JSCScheduler.zig | 0 .../event_loop/ManagedTask.zig | 0 .../event_loop/MiniEventLoop.zig | 0 .../event_loop/PosixSignalHandle.zig | 0 src/{bun.js => buntime}/event_loop/README.md | 6 +- .../event_loop/SpawnSyncEventLoop.zig | 0 src/{bun.js => buntime}/event_loop/Task.zig | 2 +- .../event_loop/WorkTask.zig | 0 src/{bun.js => buntime}/headergen/sizegen.cpp | 2 +- src/{bun.js => buntime}/hot_reloader.zig | 0 src/{bun.js => buntime}/ipc.zig | 0 .../javascript_core_c_api.zig | 0 src/{bun.js => buntime}/jsc.zig | 4 +- src/{bun.js => buntime}/jsc/RefString.zig | 0 src/{bun.js => buntime}/jsc/array_buffer.zig | 0 src/{bun.js => buntime}/jsc/dom_call.zig | 0 src/{bun.js => buntime}/jsc/host_fn.zig | 0 .../modules/AbortControllerModuleModule.h | 0 .../modules/BunAppModule.h | 0 .../modules/BunJSCModule.h | 0 .../modules/BunObjectModule.h | 0 .../modules/BunTestModule.h | 0 .../modules/NodeBufferModule.h | 0 .../modules/NodeConstantsModule.h | 0 .../modules/NodeModuleModule.cpp | 0 .../modules/NodeModuleModule.h | 0 .../modules/NodeProcessModule.h | 0 .../modules/NodeStringDecoderModule.h | 0 .../modules/NodeTTYModule.cpp | 0 .../modules/NodeTTYModule.h | 0 .../modules/NodeUtilTypesModule.cpp | 0 .../modules/NodeUtilTypesModule.h | 0 .../modules/ObjectModule.cpp | 0 .../modules/ObjectModule.h | 0 .../modules/UTF8ValidateModule.h | 0 .../modules/_NativeModule.h | 0 src/{bun.js => buntime}/node.zig | 0 src/{bun.js => buntime}/node/Stat.zig | 0 src/{bun.js => buntime}/node/StatFS.zig | 0 .../node/assert/myers_diff.zig | 0 src/{bun.js => buntime}/node/buffer.zig | 0 src/{bun.js => buntime}/node/dir_iterator.zig | 0 src/{bun.js => buntime}/node/fs_events.zig | 0 .../node/net/BlockList.zig | 0 src/{bun.js => buntime}/node/node.classes.ts | 0 src/{bun.js => buntime}/node/node_assert.zig | 0 .../node/node_assert_binding.zig | 0 .../node/node_cluster_binding.zig | 0 .../node/node_crypto_binding.zig | 0 .../node/node_error_binding.zig | 0 src/{bun.js => buntime}/node/node_fs.zig | 0 .../node/node_fs_binding.zig | 0 .../node/node_fs_constant.zig | 0 .../node/node_fs_stat_watcher.zig | 0 .../node/node_fs_watcher.zig | 0 .../node/node_http_binding.zig | 0 .../node/node_net_binding.zig | 0 src/{bun.js => buntime}/node/node_os.bind.ts | 0 src/{bun.js => buntime}/node/node_os.zig | 0 src/{bun.js => buntime}/node/node_process.zig | 0 .../node/node_util_binding.zig | 0 .../node/node_zlib_binding.zig | 0 .../node/nodejs_error_code.zig | 0 src/{bun.js => buntime}/node/os/constants.zig | 0 src/{bun.js => buntime}/node/path.zig | 0 src/{bun.js => buntime}/node/path_watcher.zig | 0 src/{bun.js => buntime}/node/time_like.zig | 0 src/{bun.js => buntime}/node/types.zig | 2 +- .../node/util/parse_args.zig | 0 .../node/util/parse_args_utils.zig | 0 .../node/util/validators.zig | 0 src/{bun.js => buntime}/node/win_watcher.zig | 0 .../node/zlib/NativeBrotli.zig | 0 .../node/zlib/NativeZlib.zig | 0 .../node/zlib/NativeZstd.zig | 0 src/{bun.js => buntime}/rare_data.zig | 0 .../resolve_message.classes.ts | 0 src/{bun.js => buntime}/test/Collection.zig | 0 src/{bun.js => buntime}/test/DoneCallback.zig | 0 src/{bun.js => buntime}/test/Execution.zig | 0 src/{bun.js => buntime}/test/Order.zig | 0 .../test/ScopeFunctions.zig | 0 src/{bun.js => buntime}/test/bun_test.zig | 0 src/{bun.js => buntime}/test/debug.zig | 0 .../test/diff/diff_match_patch.zig | 0 .../test/diff/printDiff.zig | 0 src/{bun.js => buntime}/test/diff_format.zig | 0 src/{bun.js => buntime}/test/expect.zig | 0 src/{bun.js => buntime}/test/expect/toBe.zig | 0 .../test/expect/toBeArray.zig | 0 .../test/expect/toBeArrayOfSize.zig | 0 .../test/expect/toBeBoolean.zig | 0 .../test/expect/toBeCloseTo.zig | 0 .../test/expect/toBeDate.zig | 0 .../test/expect/toBeDefined.zig | 0 .../test/expect/toBeEmpty.zig | 0 .../test/expect/toBeEmptyObject.zig | 0 .../test/expect/toBeEven.zig | 0 .../test/expect/toBeFalse.zig | 0 .../test/expect/toBeFalsy.zig | 0 .../test/expect/toBeFinite.zig | 0 .../test/expect/toBeFunction.zig | 0 .../test/expect/toBeGreaterThan.zig | 0 .../test/expect/toBeGreaterThanOrEqual.zig | 0 .../test/expect/toBeInstanceOf.zig | 0 .../test/expect/toBeInteger.zig | 0 .../test/expect/toBeLessThan.zig | 0 .../test/expect/toBeLessThanOrEqual.zig | 0 .../test/expect/toBeNaN.zig | 0 .../test/expect/toBeNegative.zig | 0 .../test/expect/toBeNil.zig | 0 .../test/expect/toBeNull.zig | 0 .../test/expect/toBeNumber.zig | 0 .../test/expect/toBeObject.zig | 0 .../test/expect/toBeOdd.zig | 0 .../test/expect/toBeOneOf.zig | 0 .../test/expect/toBePositive.zig | 0 .../test/expect/toBeString.zig | 0 .../test/expect/toBeSymbol.zig | 0 .../test/expect/toBeTrue.zig | 0 .../test/expect/toBeTruthy.zig | 0 .../test/expect/toBeTypeOf.zig | 0 .../test/expect/toBeUndefined.zig | 0 .../test/expect/toBeValidDate.zig | 0 .../test/expect/toBeWithin.zig | 0 .../test/expect/toContain.zig | 0 .../test/expect/toContainAllKeys.zig | 0 .../test/expect/toContainAllValues.zig | 0 .../test/expect/toContainAnyKeys.zig | 0 .../test/expect/toContainAnyValues.zig | 0 .../test/expect/toContainEqual.zig | 0 .../test/expect/toContainKey.zig | 0 .../test/expect/toContainKeys.zig | 0 .../test/expect/toContainValue.zig | 0 .../test/expect/toContainValues.zig | 0 .../test/expect/toEndWith.zig | 0 .../test/expect/toEqual.zig | 0 .../test/expect/toEqualIgnoringWhitespace.zig | 0 .../test/expect/toHaveBeenCalled.zig | 0 .../test/expect/toHaveBeenCalledOnce.zig | 0 .../test/expect/toHaveBeenCalledTimes.zig | 0 .../test/expect/toHaveBeenCalledWith.zig | 0 .../test/expect/toHaveBeenLastCalledWith.zig | 0 .../test/expect/toHaveBeenNthCalledWith.zig | 0 .../test/expect/toHaveLastReturnedWith.zig | 0 .../test/expect/toHaveLength.zig | 0 .../test/expect/toHaveNthReturnedWith.zig | 0 .../test/expect/toHaveProperty.zig | 0 .../test/expect/toHaveReturned.zig | 0 .../test/expect/toHaveReturnedTimes.zig | 0 .../test/expect/toHaveReturnedWith.zig | 0 .../test/expect/toInclude.zig | 0 .../test/expect/toIncludeRepeated.zig | 0 .../test/expect/toMatch.zig | 0 .../test/expect/toMatchInlineSnapshot.zig | 0 .../test/expect/toMatchObject.zig | 0 .../test/expect/toMatchSnapshot.zig | 0 .../test/expect/toSatisfy.zig | 0 .../test/expect/toStartWith.zig | 0 .../test/expect/toStrictEqual.zig | 0 .../test/expect/toThrow.zig | 0 .../toThrowErrorMatchingInlineSnapshot.zig | 0 .../expect/toThrowErrorMatchingSnapshot.zig | 0 src/{bun.js => buntime}/test/jest.classes.ts | 0 src/{bun.js => buntime}/test/jest.zig | 0 .../test/pretty_format.zig | 0 src/{bun.js => buntime}/test/snapshot.zig | 0 src/{bun.js => buntime}/test/test.zig | 0 .../test/timers/FakeTimers.zig | 0 .../test/timers/FakeTimersConfig.bindv2.ts | 0 src/{bun.js => buntime}/uuid.zig | 0 .../virtual_machine_exports.zig | 0 src/{bun.js => buntime}/web_worker.zig | 0 src/{bun.js => buntime}/webcore.zig | 0 .../webcore/ArrayBufferSink.zig | 0 .../webcore/AutoFlusher.zig | 0 .../webcore/BakeResponse.zig | 2 +- src/{bun.js => buntime}/webcore/Blob.zig | 0 src/{bun.js => buntime}/webcore/Body.zig | 0 .../webcore/ByteBlobLoader.zig | 0 .../webcore/ByteStream.zig | 0 src/{bun.js => buntime}/webcore/CookieMap.zig | 0 src/{bun.js => buntime}/webcore/Crypto.zig | 0 .../webcore/EncodingLabel.zig | 0 .../webcore/FileReader.zig | 0 src/{bun.js => buntime}/webcore/FileSink.zig | 0 .../webcore/ObjectURLRegistry.zig | 0 .../webcore/ReadableStream.zig | 0 src/{bun.js => buntime}/webcore/Request.zig | 0 src/{bun.js => buntime}/webcore/Response.zig | 0 .../webcore/ResumableSink.zig | 0 src/{bun.js => buntime}/webcore/S3Client.zig | 0 src/{bun.js => buntime}/webcore/S3File.zig | 0 src/{bun.js => buntime}/webcore/S3Stat.zig | 0 .../webcore/ScriptExecutionContext.zig | 0 src/{bun.js => buntime}/webcore/Sink.zig | 0 .../webcore/TextDecoder.zig | 0 .../webcore/TextEncoder.zig | 0 .../webcore/TextEncoderStreamEncoder.zig | 0 .../webcore/blob/Store.zig | 0 .../webcore/blob/copy_file.zig | 0 .../webcore/blob/read_file.zig | 0 .../webcore/blob/write_file.zig | 0 .../webcore/encoding.classes.ts | 0 src/{bun.js => buntime}/webcore/encoding.zig | 0 src/{bun.js => buntime}/webcore/fetch.zig | 0 .../webcore/fetch/FetchTasklet.zig | 0 src/{bun.js => buntime}/webcore/prompt.zig | 0 .../webcore/response.classes.ts | 0 src/{bun.js => buntime}/webcore/streams.zig | 0 src/cli/exec_command.zig | 2 +- src/cli/test_command.zig | 2 +- src/codegen/bindgen.ts | 2 +- src/codegen/bundle-modules.ts | 6 +- src/codegen/generate-classes.ts | 6 +- src/codegen/generate-node-errors.ts | 6 +- .../internal-module-registry-scanner.ts | 2 +- src/codegen/replacements.ts | 4 +- src/crash_handler.zig | 2 +- src/deps/uws/UpgradedDuplex.zig | 2 +- src/deps/uws/WindowsNamedPipe.zig | 2 +- src/glob/GlobWalker.zig | 6 +- src/http/ProxyTunnel.zig | 2 +- src/js/AGENTS.md | 107 +- src/js/node/dns.ts | 4 +- src/js/node/fs.ts | 4 +- src/js/private.d.ts | 4 +- src/main_test.zig | 2 +- src/napi/napi.zig | 2 +- src/options.zig | 2 +- src/pool.zig | 2 +- src/s3/client.zig | 2 +- src/shell/subproc.zig | 2 +- src/tsconfig.json | 2 +- src/unit_test.zig | 2 +- src/valkey/js_valkey.zig | 2 +- src/windows.zig | 2 +- test/internal/ban-words.test.ts | 2 +- test/js/bun/util/zstd.test.ts | 2 +- test/napi/uv.test.ts | 4 +- test/napi/uv_stub.test.ts | 4 +- 1704 files changed, 2548 insertions(+), 243 deletions(-) create mode 100644 PLAN.md mode change 120000 => 100644 src/AGENTS.md delete mode 120000 src/bun.js/bindings/v8/AGENTS.md rename src/{bun.js => buntime}/AsyncModule.zig (100%) rename src/{bun.js => buntime}/BuildMessage.zig (100%) rename src/{bun.js => buntime}/ConsoleObject.zig (100%) rename src/{bun.js => buntime}/Counters.zig (100%) rename src/{bun.js => buntime}/Debugger.zig (100%) rename src/{bun.js => buntime}/DeprecatedStrong.zig (100%) rename src/{bun.js => buntime}/HardcodedModule.zig (100%) rename src/{bun.js => buntime}/JSONLineBuffer.zig (100%) rename src/{bun.js => buntime}/ModuleLoader.zig (100%) rename src/{bun.js => buntime}/ProcessAutoKiller.zig (100%) rename src/{bun.js => buntime}/ResolveMessage.zig (100%) rename src/{bun.js => buntime}/RuntimeTranspilerCache.zig (100%) rename src/{bun.js => buntime}/RuntimeTranspilerStore.zig (100%) rename src/{bun.js => buntime}/STREAMS.md (99%) rename src/{bun.js => buntime}/SavedSourceMap.zig (100%) rename src/{bun.js => buntime}/Strong.zig (100%) rename src/{bun.js => buntime}/VirtualMachine.zig (100%) rename src/{bun.js => buntime}/Weak.zig (100%) rename src/{bun.js => buntime}/api.zig (100%) rename src/{bun.js => buntime}/api/BunObject.bind.ts (100%) rename src/{bun.js => buntime}/api/BunObject.classes.ts (100%) rename src/{bun.js => buntime}/api/BunObject.zig (100%) rename src/{bun.js => buntime}/api/FFI.h (99%) rename src/{bun.js => buntime}/api/FFIObject.zig (100%) rename src/{bun.js => buntime}/api/Glob.classes.ts (100%) rename src/{bun.js => buntime}/api/HashObject.zig (100%) rename src/{bun.js => buntime}/api/JSBundler.classes.ts (100%) rename src/{bun.js => buntime}/api/JSBundler.zig (100%) rename src/{bun.js => buntime}/api/JSTranspiler.zig (100%) rename src/{bun.js => buntime}/api/ParsedShellScript.classes.ts (100%) rename src/{bun.js => buntime}/api/ResumableSink.classes.ts (100%) rename src/{bun.js => buntime}/api/S3Client.classes.ts (100%) rename src/{bun.js => buntime}/api/S3Stat.classes.ts (100%) rename src/{bun.js => buntime}/api/Shell.classes.ts (100%) rename src/{bun.js => buntime}/api/TOMLObject.zig (100%) rename src/{bun.js => buntime}/api/Terminal.classes.ts (100%) rename src/{bun.js => buntime}/api/Timer.zig (100%) rename src/{bun.js => buntime}/api/Timer/DateHeaderTimer.zig (100%) rename src/{bun.js => buntime}/api/Timer/EventLoopDelayMonitor.zig (100%) rename src/{bun.js => buntime}/api/Timer/EventLoopTimer.zig (100%) rename src/{bun.js => buntime}/api/Timer/ImmediateObject.zig (100%) rename src/{bun.js => buntime}/api/Timer/TimeoutObject.zig (100%) rename src/{bun.js => buntime}/api/Timer/TimerObjectInternals.zig (100%) rename src/{bun.js => buntime}/api/Timer/WTFTimer.zig (100%) rename src/{bun.js => buntime}/api/UnsafeObject.zig (100%) rename src/{bun.js => buntime}/api/YAMLObject.zig (100%) rename src/{bun.js => buntime}/api/bun/Terminal.zig (100%) rename src/{bun.js => buntime}/api/bun/dns.zig (100%) rename src/{bun.js => buntime}/api/bun/h2_frame_parser.zig (100%) rename src/{bun.js => buntime}/api/bun/js_bun_spawn_bindings.zig (100%) rename src/{bun.js => buntime}/api/bun/lshpack.zig (97%) rename src/{bun.js => buntime}/api/bun/process.zig (100%) rename src/{bun.js => buntime}/api/bun/socket.zig (100%) rename src/{bun.js => buntime}/api/bun/socket/Handlers.zig (100%) rename src/{bun.js => buntime}/api/bun/socket/Listener.zig (100%) rename src/{bun.js => buntime}/api/bun/socket/SocketAddress.zig (100%) rename src/{bun.js => buntime}/api/bun/socket/SocketConfig.bindv2.ts (100%) rename src/{bun.js => buntime}/api/bun/socket/WindowsNamedPipeContext.zig (100%) rename src/{bun.js => buntime}/api/bun/socket/tls_socket_functions.zig (100%) rename src/{bun.js => buntime}/api/bun/spawn.zig (100%) rename src/{bun.js => buntime}/api/bun/spawn/stdio.zig (100%) rename src/{bun.js => buntime}/api/bun/ssl_wrapper.zig (100%) rename src/{bun.js => buntime}/api/bun/subprocess.zig (100%) rename src/{bun.js => buntime}/api/bun/subprocess/Readable.zig (100%) rename src/{bun.js => buntime}/api/bun/subprocess/ResourceUsage.zig (100%) rename src/{bun.js => buntime}/api/bun/subprocess/StaticPipeWriter.zig (100%) rename src/{bun.js => buntime}/api/bun/subprocess/SubprocessPipeReader.zig (100%) rename src/{bun.js => buntime}/api/bun/subprocess/Writable.zig (100%) rename src/{bun.js => buntime}/api/bun/udp_socket.zig (100%) rename src/{bun.js => buntime}/api/bun/x509.zig (100%) rename src/{bun.js => buntime}/api/crypto.classes.ts (100%) rename src/{bun.js => buntime}/api/crypto.zig (100%) rename src/{bun.js => buntime}/api/crypto/CryptoHasher.zig (100%) rename src/{bun.js => buntime}/api/crypto/EVP.zig (100%) rename src/{bun.js => buntime}/api/crypto/HMAC.zig (100%) rename src/{bun.js => buntime}/api/crypto/PBKDF2.zig (100%) rename src/{bun.js => buntime}/api/crypto/PasswordObject.zig (100%) rename src/{bun.js => buntime}/api/ffi-stdalign.h (100%) rename src/{bun.js => buntime}/api/ffi-stdarg.h (100%) rename src/{bun.js => buntime}/api/ffi-stdatomic.h (100%) rename src/{bun.js => buntime}/api/ffi-stdbool.h (100%) rename src/{bun.js => buntime}/api/ffi-stddef.h (100%) rename src/{bun.js => buntime}/api/ffi-stdnoreturn.h (100%) rename src/{bun.js => buntime}/api/ffi-tgmath.h (100%) rename src/{bun.js => buntime}/api/ffi.classes.ts (100%) rename src/{bun.js => buntime}/api/ffi.zig (100%) rename src/{bun.js => buntime}/api/filesystem_router.classes.ts (100%) rename src/{bun.js => buntime}/api/filesystem_router.zig (100%) rename src/{bun.js => buntime}/api/glob.zig (100%) rename src/{bun.js => buntime}/api/h2.classes.ts (100%) rename src/{bun.js => buntime}/api/html_rewriter.classes.ts (100%) rename src/{bun.js => buntime}/api/html_rewriter.zig (100%) rename src/{bun.js => buntime}/api/libtcc1.a.macos-aarch64 (100%) rename src/{bun.js => buntime}/api/libtcc1.c (100%) rename src/{bun.js => buntime}/api/server.classes.ts (100%) rename src/{bun.js => buntime}/api/server.zig (100%) rename src/{bun.js => buntime}/api/server/AnyRequestContext.zig (100%) rename src/{bun.js => buntime}/api/server/FileRoute.zig (100%) rename src/{bun.js => buntime}/api/server/HTMLBundle.zig (100%) rename src/{bun.js => buntime}/api/server/HTTPStatusText.zig (100%) rename src/{bun.js => buntime}/api/server/InspectorBunFrontendDevServerAgent.zig (100%) rename src/{bun.js => buntime}/api/server/NodeHTTPResponse.zig (100%) rename src/{bun.js => buntime}/api/server/RequestContext.zig (100%) rename src/{bun.js => buntime}/api/server/SSLConfig.bindv2.ts (100%) rename src/{bun.js => buntime}/api/server/SSLConfig.zig (100%) rename src/{bun.js => buntime}/api/server/ServerConfig.zig (100%) rename src/{bun.js => buntime}/api/server/ServerWebSocket.zig (100%) rename src/{bun.js => buntime}/api/server/StaticRoute.zig (100%) rename src/{bun.js => buntime}/api/server/WebSocketServerContext.zig (100%) rename src/{bun.js => buntime}/api/sockets.classes.ts (100%) rename src/{bun.js => buntime}/api/sourcemap.classes.ts (100%) rename src/{bun.js => buntime}/api/sql.classes.ts (100%) rename src/{bun.js => buntime}/api/streams.classes.ts (100%) rename src/{bun.js => buntime}/api/streams.classes.zig (100%) rename src/{bun.js => buntime}/api/valkey.classes.ts (100%) rename src/{bun.js => buntime}/api/welcome-page.html.gz (100%) rename src/{bun.js => buntime}/api/zlib.classes.ts (100%) rename src/{bun.js => buntime}/bindgen.zig (100%) rename src/{bun.js => buntime}/bindgen_test.bind.ts (100%) rename src/{bun.js => buntime}/bindgen_test.zig (100%) rename src/{bun.js => buntime}/bindings/.clang-format-ignore (100%) rename src/{bun.js => buntime}/bindings/AbortSignal.zig (100%) rename src/{bun.js => buntime}/bindings/ActiveDOMCallback.cpp (100%) rename src/{bun.js => buntime}/bindings/ActiveDOMCallback.h (100%) rename src/{bun.js => buntime}/bindings/Algo/Tuple.h (100%) rename src/{bun.js => buntime}/bindings/AnyPromise.zig (100%) rename src/{bun.js => buntime}/bindings/AsymmetricKeyValue.cpp (100%) rename src/{bun.js => buntime}/bindings/AsymmetricKeyValue.h (100%) rename src/{bun.js => buntime}/bindings/AsyncContextFrame.cpp (100%) rename src/{bun.js => buntime}/bindings/AsyncContextFrame.h (100%) rename src/{bun.js => buntime}/bindings/BakeAdditionsToGlobalObject.cpp (100%) rename src/{bun.js => buntime}/bindings/BakeAdditionsToGlobalObject.h (100%) rename src/{bun.js => buntime}/bindings/Base64Helpers.cpp (100%) rename src/{bun.js => buntime}/bindings/Base64Helpers.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/ExternTraits.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/ExternUnion.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/ExternVectorTraits.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/IDLConvert.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/IDLConvertBase.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/IDLTypes.h (100%) rename src/{bun.js => buntime}/bindings/Bindgen/Macros.h (100%) rename src/{bun.js => buntime}/bindings/BindgenCustomEnforceRange.h (100%) rename src/{bun.js => buntime}/bindings/BufferEncodingType.h (85%) rename src/{bun.js => buntime}/bindings/BunCPUProfiler.cpp (100%) rename src/{bun.js => buntime}/bindings/BunCPUProfiler.h (100%) rename src/{bun.js => buntime}/bindings/BunCPUProfiler.zig (100%) rename src/{bun.js => buntime}/bindings/BunClientData.cpp (100%) rename src/{bun.js => buntime}/bindings/BunClientData.h (100%) rename src/{bun.js => buntime}/bindings/BunCommonStrings.cpp (100%) rename src/{bun.js => buntime}/bindings/BunCommonStrings.h (100%) rename src/{bun.js => buntime}/bindings/BunDebugger.cpp (100%) rename src/{bun.js => buntime}/bindings/BunGCOutputConstraint.cpp (100%) rename src/{bun.js => buntime}/bindings/BunGCOutputConstraint.h (100%) rename src/{bun.js => buntime}/bindings/BunGlobalScope.cpp (100%) rename src/{bun.js => buntime}/bindings/BunGlobalScope.h (100%) rename src/{bun.js => buntime}/bindings/BunHttp2CommonStrings.cpp (100%) rename src/{bun.js => buntime}/bindings/BunHttp2CommonStrings.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLConvert.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLConvertBase.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLConvertBlob.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLConvertContext.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLConvertNumbers.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLHumanReadable.h (100%) rename src/{bun.js => buntime}/bindings/BunIDLTypes.h (100%) rename src/{bun.js => buntime}/bindings/BunInjectedScriptHost.cpp (100%) rename src/{bun.js => buntime}/bindings/BunInjectedScriptHost.h (100%) rename src/{bun.js => buntime}/bindings/BunInspector.cpp (100%) rename src/{bun.js => buntime}/bindings/BunJSCEventLoop.cpp (100%) rename src/{bun.js => buntime}/bindings/BunObject+exports.h (100%) rename src/{bun.js => buntime}/bindings/BunObject.cpp (100%) rename src/{bun.js => buntime}/bindings/BunObject.h (100%) rename src/{bun.js => buntime}/bindings/BunPlugin.cpp (100%) rename src/{bun.js => buntime}/bindings/BunPlugin.h (100%) rename src/{bun.js => buntime}/bindings/BunProcess.cpp (99%) rename src/{bun.js => buntime}/bindings/BunProcess.h (100%) rename src/{bun.js => buntime}/bindings/BunProcessReportObjectWindows.cpp (100%) rename src/{bun.js => buntime}/bindings/BunString.cpp (100%) rename src/{bun.js => buntime}/bindings/BunString.h (100%) rename src/{bun.js => buntime}/bindings/BunWorkerGlobalScope.cpp (100%) rename src/{bun.js => buntime}/bindings/BunWorkerGlobalScope.h (100%) rename src/{bun.js => buntime}/bindings/CPUFeatures.cpp (100%) rename src/{bun.js => buntime}/bindings/CPUFeatures.zig (100%) rename src/{bun.js => buntime}/bindings/CachedBytecode.zig (100%) rename src/{bun.js => buntime}/bindings/CachedScript.h (100%) rename src/{bun.js => buntime}/bindings/CallFrame.zig (100%) rename src/{bun.js => buntime}/bindings/CallSite.cpp (100%) rename src/{bun.js => buntime}/bindings/CallSite.h (100%) rename src/{bun.js => buntime}/bindings/CallSitePrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/CallSitePrototype.h (100%) rename src/{bun.js => buntime}/bindings/CatchScope.zig (100%) rename src/{bun.js => buntime}/bindings/CatchScopeBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/CodeCoverage.cpp (100%) rename src/{bun.js => buntime}/bindings/CommonAbortReason.zig (100%) rename src/{bun.js => buntime}/bindings/CommonStrings.zig (100%) rename src/{bun.js => buntime}/bindings/ConcatCStrings.h (100%) rename src/{bun.js => buntime}/bindings/ConsoleObject.cpp (100%) rename src/{bun.js => buntime}/bindings/ConsoleObject.h (100%) rename src/{bun.js => buntime}/bindings/Cookie.cpp (100%) rename src/{bun.js => buntime}/bindings/Cookie.h (100%) rename src/{bun.js => buntime}/bindings/CookieMap.cpp (100%) rename src/{bun.js => buntime}/bindings/CookieMap.h (100%) rename src/{bun.js => buntime}/bindings/CustomGetterSetter.zig (100%) rename src/{bun.js => buntime}/bindings/DLHandleMap.h (100%) rename src/{bun.js => buntime}/bindings/DOMException.cpp (100%) rename src/{bun.js => buntime}/bindings/DOMException.h (100%) rename src/{bun.js => buntime}/bindings/DOMFormData.cpp (100%) rename src/{bun.js => buntime}/bindings/DOMFormData.h (100%) rename src/{bun.js => buntime}/bindings/DOMFormData.zig (100%) rename src/{bun.js => buntime}/bindings/DOMURL.cpp (100%) rename src/{bun.js => buntime}/bindings/DOMURL.h (100%) rename src/{bun.js => buntime}/bindings/DOMURL.zig (100%) rename src/{bun.js => buntime}/bindings/DOMWrapperWorld-class.h (100%) rename src/{bun.js => buntime}/bindings/DOMWrapperWorld.cpp (100%) rename src/{bun.js => buntime}/bindings/DOMWrapperWorld.h (100%) rename src/{bun.js => buntime}/bindings/DecodeEscapeSequences.h (100%) rename src/{bun.js => buntime}/bindings/DecodedJSValue.zig (100%) rename src/{bun.js => buntime}/bindings/DeferredError.zig (100%) rename src/{bun.js => buntime}/bindings/DeleteCallbackDataTask.h (100%) rename src/{bun.js => buntime}/bindings/DoubleFormatter.cpp (100%) rename src/{bun.js => buntime}/bindings/EncodeURIComponent.cpp (100%) rename src/{bun.js => buntime}/bindings/EncodeURIComponent.h (100%) rename src/{bun.js => buntime}/bindings/EncodingTables.cpp (100%) rename src/{bun.js => buntime}/bindings/EncodingTables.h (100%) rename src/{bun.js => buntime}/bindings/ErrorCode.cpp (100%) rename src/{bun.js => buntime}/bindings/ErrorCode.h (100%) rename src/{bun.js => buntime}/bindings/ErrorCode.ts (100%) rename src/{bun.js => buntime}/bindings/ErrorCode.zig (100%) rename src/{bun.js => buntime}/bindings/ErrorStackFrame.cpp (100%) rename src/{bun.js => buntime}/bindings/ErrorStackFrame.h (100%) rename src/{bun.js => buntime}/bindings/ErrorStackTrace.cpp (100%) rename src/{bun.js => buntime}/bindings/ErrorStackTrace.h (100%) rename src/{bun.js => buntime}/bindings/Errorable.zig (100%) rename src/{bun.js => buntime}/bindings/EventLoopTask.h (100%) rename src/{bun.js => buntime}/bindings/EventLoopTaskNoContext.cpp (100%) rename src/{bun.js => buntime}/bindings/EventLoopTaskNoContext.h (100%) rename src/{bun.js => buntime}/bindings/EventType.zig (100%) rename src/{bun.js => buntime}/bindings/Exception.h (100%) rename src/{bun.js => buntime}/bindings/Exception.zig (100%) rename src/{bun.js => buntime}/bindings/ExceptionCode.h (98%) rename src/{bun.js => buntime}/bindings/ExceptionOr.h (100%) rename src/{bun.js => buntime}/bindings/ExposeNodeModuleGlobals.cpp (100%) rename src/{bun.js => buntime}/bindings/FFI.zig (99%) rename src/{bun.js => buntime}/bindings/FetchHeaders.zig (100%) rename src/{bun.js => buntime}/bindings/FormatStackTraceForJS.cpp (100%) rename src/{bun.js => buntime}/bindings/FormatStackTraceForJS.h (100%) rename src/{bun.js => buntime}/bindings/FuzzilliREPRL.cpp (100%) rename src/{bun.js => buntime}/bindings/GCDefferalContext.h (100%) create mode 100644 src/buntime/bindings/GeneratedBindings.zig create mode 100644 src/buntime/bindings/GeneratedJS2Native.zig rename src/{bun.js => buntime}/bindings/GetterSetter.zig (100%) rename src/{bun.js => buntime}/bindings/HTMLEntryPoint.cpp (100%) rename src/{bun.js => buntime}/bindings/HTTPServerAgent.zig (100%) rename src/{bun.js => buntime}/bindings/IDLTypes.h (100%) rename src/{bun.js => buntime}/bindings/IPC.cpp (100%) rename src/{bun.js => buntime}/bindings/ImportMetaObject.cpp (100%) rename src/{bun.js => buntime}/bindings/ImportMetaObject.h (100%) rename src/{bun.js => buntime}/bindings/InspectorBunFrontendDevServerAgent.cpp (100%) rename src/{bun.js => buntime}/bindings/InspectorBunFrontendDevServerAgent.h (100%) rename src/{bun.js => buntime}/bindings/InspectorHTTPServerAgent.cpp (100%) rename src/{bun.js => buntime}/bindings/InspectorHTTPServerAgent.h (100%) rename src/{bun.js => buntime}/bindings/InspectorLifecycleAgent.cpp (100%) rename src/{bun.js => buntime}/bindings/InspectorLifecycleAgent.h (100%) rename src/{bun.js => buntime}/bindings/InspectorTestReporterAgent.cpp (100%) rename src/{bun.js => buntime}/bindings/InspectorTestReporterAgent.h (100%) rename src/{bun.js => buntime}/bindings/InternalForTesting.cpp (100%) rename src/{bun.js => buntime}/bindings/InternalForTesting.h (100%) rename src/{bun.js => buntime}/bindings/InternalModuleRegistry.cpp (100%) rename src/{bun.js => buntime}/bindings/InternalModuleRegistry.h (97%) rename src/{bun.js => buntime}/bindings/JS2Native.cpp (100%) rename src/{bun.js => buntime}/bindings/JS2Native.h (100%) rename src/{bun.js => buntime}/bindings/JSArray.zig (100%) rename src/{bun.js => buntime}/bindings/JSArrayIterator.zig (100%) rename src/{bun.js => buntime}/bindings/JSBakeResponse.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBakeResponse.h (100%) rename src/{bun.js => buntime}/bindings/JSBigInt.zig (100%) rename src/{bun.js => buntime}/bindings/JSBigIntBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBuffer.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBuffer.h (100%) rename src/{bun.js => buntime}/bindings/JSBufferEncodingType.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBufferEncodingType.h (100%) rename src/{bun.js => buntime}/bindings/JSBufferList.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBufferList.h (100%) rename src/{bun.js => buntime}/bindings/JSBunRequest.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBunRequest.h (100%) rename src/{bun.js => buntime}/bindings/JSBundler+BunPlugin-impl.h (100%) rename src/{bun.js => buntime}/bindings/JSBundlerPlugin.cpp (100%) rename src/{bun.js => buntime}/bindings/JSBundlerPlugin.h (100%) rename src/{bun.js => buntime}/bindings/JSCInlines.h (100%) rename src/{bun.js => buntime}/bindings/JSCTaskScheduler.cpp (100%) rename src/{bun.js => buntime}/bindings/JSCTaskScheduler.h (100%) rename src/{bun.js => buntime}/bindings/JSCTestingHelpers.cpp (100%) rename src/{bun.js => buntime}/bindings/JSCTestingHelpers.h (100%) rename src/{bun.js => buntime}/bindings/JSCell.zig (100%) rename src/{bun.js => buntime}/bindings/JSCommonJSExtensions.cpp (100%) rename src/{bun.js => buntime}/bindings/JSCommonJSExtensions.h (100%) rename src/{bun.js => buntime}/bindings/JSCommonJSModule.cpp (100%) rename src/{bun.js => buntime}/bindings/JSCommonJSModule.h (100%) rename src/{bun.js => buntime}/bindings/JSCompressionStream.cpp (100%) rename src/{bun.js => buntime}/bindings/JSCompressionStream.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMBinding.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMConvertBufferSource+JSBuffer.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMExceptionHandling.cpp (100%) rename src/{bun.js => buntime}/bindings/JSDOMExceptionHandling.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMFile.cpp (100%) rename src/{bun.js => buntime}/bindings/JSDOMFile.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMGlobalObject.cpp (100%) rename src/{bun.js => buntime}/bindings/JSDOMGlobalObject.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMWrapper.cpp (100%) rename src/{bun.js => buntime}/bindings/JSDOMWrapper.h (100%) rename src/{bun.js => buntime}/bindings/JSDOMWrapperCache.cpp (100%) rename src/{bun.js => buntime}/bindings/JSDOMWrapperCache.h (100%) rename src/{bun.js => buntime}/bindings/JSDecompressionStream.cpp (100%) rename src/{bun.js => buntime}/bindings/JSDecompressionStream.h (100%) rename src/{bun.js => buntime}/bindings/JSEnvironmentVariableMap.cpp (100%) rename src/{bun.js => buntime}/bindings/JSEnvironmentVariableMap.h (100%) rename src/{bun.js => buntime}/bindings/JSErrorCode.zig (96%) rename src/{bun.js => buntime}/bindings/JSFFIFunction.cpp (100%) rename src/{bun.js => buntime}/bindings/JSFFIFunction.h (100%) rename src/{bun.js => buntime}/bindings/JSFunction.zig (100%) rename src/{bun.js => buntime}/bindings/JSGlobalObject.zig (100%) rename src/{bun.js => buntime}/bindings/JSInternalPromise.zig (100%) rename src/{bun.js => buntime}/bindings/JSMap.zig (100%) rename src/{bun.js => buntime}/bindings/JSMockFunction.cpp (100%) rename src/{bun.js => buntime}/bindings/JSMockFunction.h (100%) rename src/{bun.js => buntime}/bindings/JSModuleLoader.zig (100%) rename src/{bun.js => buntime}/bindings/JSNextTickQueue.cpp (100%) rename src/{bun.js => buntime}/bindings/JSNextTickQueue.h (100%) rename src/{bun.js => buntime}/bindings/JSNodePerformanceHooksHistogram.cpp (100%) rename src/{bun.js => buntime}/bindings/JSNodePerformanceHooksHistogram.h (100%) rename src/{bun.js => buntime}/bindings/JSNodePerformanceHooksHistogramConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/JSNodePerformanceHooksHistogramConstructor.h (100%) rename src/{bun.js => buntime}/bindings/JSNodePerformanceHooksHistogramPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/JSNodePerformanceHooksHistogramPrototype.h (100%) rename src/{bun.js => buntime}/bindings/JSObject.zig (100%) rename src/{bun.js => buntime}/bindings/JSPromise.zig (100%) rename src/{bun.js => buntime}/bindings/JSPromiseRejectionOperation.zig (100%) rename src/{bun.js => buntime}/bindings/JSPropertyIterator.cpp (100%) rename src/{bun.js => buntime}/bindings/JSPropertyIterator.zig (100%) rename src/{bun.js => buntime}/bindings/JSRef.zig (100%) rename src/{bun.js => buntime}/bindings/JSRuntimeType.zig (100%) rename src/{bun.js => buntime}/bindings/JSS3File.cpp (100%) rename src/{bun.js => buntime}/bindings/JSS3File.h (100%) rename src/{bun.js => buntime}/bindings/JSSecrets.cpp (100%) rename src/{bun.js => buntime}/bindings/JSSecrets.zig (100%) rename src/{bun.js => buntime}/bindings/JSSocketAddressDTO.cpp (100%) rename src/{bun.js => buntime}/bindings/JSSocketAddressDTO.h (100%) rename src/{bun.js => buntime}/bindings/JSString.zig (100%) rename src/{bun.js => buntime}/bindings/JSStringDecoder.cpp (100%) rename src/{bun.js => buntime}/bindings/JSStringDecoder.h (100%) rename src/{bun.js => buntime}/bindings/JSType.zig (100%) rename src/{bun.js => buntime}/bindings/JSUint8Array.zig (100%) rename src/{bun.js => buntime}/bindings/JSValue.zig (99%) rename src/{bun.js => buntime}/bindings/JSWrappingFunction.cpp (100%) rename src/{bun.js => buntime}/bindings/JSWrappingFunction.h (100%) rename src/{bun.js => buntime}/bindings/JSX509Certificate.cpp (100%) rename src/{bun.js => buntime}/bindings/JSX509Certificate.h (100%) rename src/{bun.js => buntime}/bindings/JSX509CertificateConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/JSX509CertificateConstructor.h (100%) rename src/{bun.js => buntime}/bindings/JSX509CertificatePrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/JSX509CertificatePrototype.h (100%) rename src/{bun.js => buntime}/bindings/MarkedArgumentBuffer.zig (100%) rename src/{bun.js => buntime}/bindings/MarkedArgumentBufferBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/MarkingConstraint.cpp (100%) rename src/{bun.js => buntime}/bindings/MiString.h (100%) rename src/{bun.js => buntime}/bindings/MimallocWTFMalloc.h (100%) rename src/{bun.js => buntime}/bindings/ModuleLoader.cpp (100%) rename src/{bun.js => buntime}/bindings/ModuleLoader.h (100%) rename src/{bun.js => buntime}/bindings/NapiClass.cpp (100%) rename src/{bun.js => buntime}/bindings/NapiRef.cpp (100%) rename src/{bun.js => buntime}/bindings/NapiWeakValue.cpp (100%) rename src/{bun.js => buntime}/bindings/NoOpForTesting.cpp (100%) rename src/{bun.js => buntime}/bindings/NoOpForTesting.h (100%) rename src/{bun.js => buntime}/bindings/NodeAsyncHooks.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeAsyncHooks.h (100%) rename src/{bun.js => buntime}/bindings/NodeConstants.h (100%) rename src/{bun.js => buntime}/bindings/NodeDirent.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeDirent.h (100%) rename src/{bun.js => buntime}/bindings/NodeFSStatBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeFSStatBinding.h (100%) rename src/{bun.js => buntime}/bindings/NodeFSStatFSBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeFSStatFSBinding.h (100%) rename src/{bun.js => buntime}/bindings/NodeFetch.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeFetch.h (100%) rename src/{bun.js => buntime}/bindings/NodeHTTP.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeHTTP.h (100%) rename src/{bun.js => buntime}/bindings/NodeModuleModule.bind.ts (100%) rename src/{bun.js => buntime}/bindings/NodeModuleModule.zig (100%) rename src/{bun.js => buntime}/bindings/NodeTLS.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeTLS.h (100%) rename src/{bun.js => buntime}/bindings/NodeTimerObject.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeURL.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeURL.h (100%) rename src/{bun.js => buntime}/bindings/NodeVM.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeVM.h (100%) rename src/{bun.js => buntime}/bindings/NodeVMModule.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeVMModule.h (100%) rename src/{bun.js => buntime}/bindings/NodeVMScript.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeVMScript.h (100%) rename src/{bun.js => buntime}/bindings/NodeVMScriptFetcher.h (100%) rename src/{bun.js => buntime}/bindings/NodeVMSourceTextModule.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeVMSourceTextModule.h (100%) rename src/{bun.js => buntime}/bindings/NodeVMSyntheticModule.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeVMSyntheticModule.h (100%) rename src/{bun.js => buntime}/bindings/NodeValidator.cpp (100%) rename src/{bun.js => buntime}/bindings/NodeValidator.h (100%) rename src/{bun.js => buntime}/bindings/ObjectBindings.cpp (100%) rename src/{bun.js => buntime}/bindings/ObjectBindings.h (100%) rename src/{bun.js => buntime}/bindings/OsBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/Path.cpp (100%) rename src/{bun.js => buntime}/bindings/Path.h (100%) rename src/{bun.js => buntime}/bindings/PathInlines.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingBuffer.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingBuffer.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingConstants.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingConstants.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingFs.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingFs.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingHTTPParser.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingHTTPParser.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingNatives.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingNatives.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingTTYWrap.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingTTYWrap.h (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingUV.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessBindingUV.h (100%) rename src/{bun.js => buntime}/bindings/ProcessIdentifier.cpp (100%) rename src/{bun.js => buntime}/bindings/ProcessIdentifier.h (100%) rename src/{bun.js => buntime}/bindings/RegularExpression.cpp (100%) rename src/{bun.js => buntime}/bindings/RegularExpression.zig (100%) rename src/{bun.js => buntime}/bindings/ResolvedSource.zig (100%) rename src/{bun.js => buntime}/bindings/S3Error.cpp (100%) rename src/{bun.js => buntime}/bindings/S3Error.h (100%) rename src/{bun.js => buntime}/bindings/SQLClient.cpp (100%) rename src/{bun.js => buntime}/bindings/ScriptExecutionContext.cpp (100%) rename src/{bun.js => buntime}/bindings/ScriptExecutionContext.h (100%) rename src/{bun.js => buntime}/bindings/ScriptExecutionStatus.zig (100%) rename src/{bun.js => buntime}/bindings/Secrets.h (100%) rename src/{bun.js => buntime}/bindings/SecretsDarwin.cpp (100%) rename src/{bun.js => buntime}/bindings/SecretsLinux.cpp (100%) rename src/{bun.js => buntime}/bindings/SecretsWindows.cpp (100%) rename src/{bun.js => buntime}/bindings/Serialization.cpp (100%) rename src/{bun.js => buntime}/bindings/ServerRouteList.cpp (100%) rename src/{bun.js => buntime}/bindings/ServerRouteList.h (100%) rename src/{bun.js => buntime}/bindings/ShellBindings.cpp (100%) rename src/{bun.js => buntime}/bindings/Sink.h (100%) rename src/{bun.js => buntime}/bindings/SourceProvider.zig (100%) rename src/{bun.js => buntime}/bindings/SourceType.zig (100%) rename src/{bun.js => buntime}/bindings/StreamGlobals.h (100%) rename src/{bun.js => buntime}/bindings/StringAdaptors.h (100%) rename src/{bun.js => buntime}/bindings/StringBuilder.zig (100%) rename src/{bun.js => buntime}/bindings/StringBuilderBinding.cpp (100%) rename src/{bun.js => buntime}/bindings/StrongRef.cpp (100%) rename src/{bun.js => buntime}/bindings/StrongRef.h (100%) rename src/{bun.js => buntime}/bindings/SystemError.zig (100%) rename src/{bun.js => buntime}/bindings/TextCodec.cpp (100%) rename src/{bun.js => buntime}/bindings/TextCodec.h (100%) rename src/{bun.js => buntime}/bindings/TextCodec.zig (100%) rename src/{bun.js => buntime}/bindings/TextCodecASCIIFastPath.h (100%) rename src/{bun.js => buntime}/bindings/TextCodecCJK.cpp (100%) rename src/{bun.js => buntime}/bindings/TextCodecCJK.h (100%) rename src/{bun.js => buntime}/bindings/TextCodecReplacement.cpp (100%) rename src/{bun.js => buntime}/bindings/TextCodecReplacement.h (100%) rename src/{bun.js => buntime}/bindings/TextCodecSingleByte.cpp (100%) rename src/{bun.js => buntime}/bindings/TextCodecSingleByte.h (100%) rename src/{bun.js => buntime}/bindings/TextCodecUserDefined.cpp (100%) rename src/{bun.js => buntime}/bindings/TextCodecUserDefined.h (100%) rename src/{bun.js => buntime}/bindings/TextCodecWrapper.cpp (100%) rename src/{bun.js => buntime}/bindings/TextEncoding.cpp (100%) rename src/{bun.js => buntime}/bindings/TextEncoding.h (100%) rename src/{bun.js => buntime}/bindings/TextEncodingRegistry.cpp (100%) rename src/{bun.js => buntime}/bindings/TextEncodingRegistry.h (100%) rename src/{bun.js => buntime}/bindings/URL.zig (100%) rename src/{bun.js => buntime}/bindings/URLDecomposition.cpp (100%) rename src/{bun.js => buntime}/bindings/URLDecomposition.h (100%) rename src/{bun.js => buntime}/bindings/URLSearchParams.cpp (100%) rename src/{bun.js => buntime}/bindings/URLSearchParams.h (100%) rename src/{bun.js => buntime}/bindings/URLSearchParams.zig (100%) rename src/{bun.js => buntime}/bindings/Uint8Array.cpp (100%) rename src/{bun.js => buntime}/bindings/Undici.cpp (100%) rename src/{bun.js => buntime}/bindings/Undici.h (100%) rename src/{bun.js => buntime}/bindings/UnencodableHandling.h (100%) rename src/{bun.js => buntime}/bindings/UtilInspect.cpp (100%) rename src/{bun.js => buntime}/bindings/UtilInspect.h (100%) rename src/{bun.js => buntime}/bindings/VM.zig (100%) rename src/{bun.js => buntime}/bindings/WTF.zig (100%) rename src/{bun.js => buntime}/bindings/Weak.cpp (100%) rename src/{bun.js => buntime}/bindings/WebCoreOpaqueRoot.h (100%) rename src/{bun.js => buntime}/bindings/WebCoreOpaqueRootInlines.h (100%) rename src/{bun.js => buntime}/bindings/WriteBarrierList.h (100%) rename src/{bun.js => buntime}/bindings/ZigErrorType.zig (100%) rename src/{bun.js => buntime}/bindings/ZigException.cpp (100%) rename src/{bun.js => buntime}/bindings/ZigException.zig (100%) rename src/{bun.js => buntime}/bindings/ZigGeneratedCode.cpp (100%) rename src/{bun.js => buntime}/bindings/ZigGlobalObject.cpp (100%) rename src/{bun.js => buntime}/bindings/ZigGlobalObject.h (100%) rename src/{bun.js => buntime}/bindings/ZigGlobalObject.lut.txt (98%) rename src/{bun.js => buntime}/bindings/ZigLazyStaticFunctions-inlines.h (100%) rename src/{bun.js => buntime}/bindings/ZigLazyStaticFunctions.h (100%) rename src/{bun.js => buntime}/bindings/ZigSourceProvider.cpp (100%) rename src/{bun.js => buntime}/bindings/ZigSourceProvider.h (100%) rename src/{bun.js => buntime}/bindings/ZigStackFrame.zig (100%) rename src/{bun.js => buntime}/bindings/ZigStackFrameCode.zig (100%) rename src/{bun.js => buntime}/bindings/ZigStackFramePosition.zig (100%) rename src/{bun.js => buntime}/bindings/ZigStackTrace.zig (100%) rename src/{bun.js => buntime}/bindings/ZigString.zig (100%) rename src/{bun.js => buntime}/bindings/ares_build.h (100%) rename src/{bun.js => buntime}/bindings/bindings.cpp (99%) rename src/{bun.js => buntime}/bindings/blob.cpp (100%) rename src/{bun.js => buntime}/bindings/blob.h (100%) rename src/{bun.js => buntime}/bindings/bmalloc_heap_ref.h (100%) rename src/{bun.js => buntime}/bindings/bun-simdutf.cpp (100%) rename src/{bun.js => buntime}/bindings/bun-simdutf.zig (100%) rename src/{bun.js => buntime}/bindings/bun-spawn.cpp (100%) rename src/{bun.js => buntime}/bindings/c-bindings.cpp (100%) rename src/{bun.js => buntime}/bindings/codegen.zig (100%) rename src/{bun.js => buntime}/bindings/coroutine.cpp (100%) rename src/{bun.js => buntime}/bindings/debug-helpers.h (100%) rename src/{bun.js => buntime}/bindings/decodeURIComponentSIMD.cpp (100%) rename src/{bun.js => buntime}/bindings/decodeURIComponentSIMD.h (100%) rename src/{bun.js => buntime}/bindings/dh-primes.h (100%) rename src/{bun.js => buntime}/bindings/ffi.cpp (100%) rename src/{bun.js => buntime}/bindings/generated_classes_list.zig (100%) rename src/{bun.js => buntime}/bindings/generated_perf_trace_events.h (100%) rename src/{bun.js => buntime}/bindings/headers-cpp.h (100%) rename src/{bun.js => buntime}/bindings/headers-handwritten.h (100%) rename src/{bun.js => buntime}/bindings/headers.h (100%) rename src/{bun.js => buntime}/bindings/helpers.cpp (100%) rename src/{bun.js => buntime}/bindings/helpers.h (100%) rename src/{bun.js => buntime}/bindings/highway_strings.cpp (100%) rename src/{bun.js => buntime}/bindings/inlines.cpp (100%) rename src/{bun.js => buntime}/bindings/isBuiltinModule.cpp (100%) rename src/{bun.js => buntime}/bindings/isBuiltinModule.h (100%) rename src/{bun.js => buntime}/bindings/js_classes.ts (100%) rename src/{bun.js => buntime}/bindings/libuv/README.md (100%) rename src/{bun.js => buntime}/bindings/libuv/bun.lock (100%) rename src/{bun.js => buntime}/bindings/libuv/generate_uv_posix_stubs.ts (100%) rename src/{bun.js => buntime}/bindings/libuv/generate_uv_posix_stubs_constants.ts (100%) rename src/{bun.js => buntime}/bindings/libuv/package.json (100%) rename src/{bun.js => buntime}/bindings/libuv/uv.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/aix.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/bsd.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/darwin.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/errno.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/linux.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/os390.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/posix.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/sunos.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/threadpool.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/tree.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/unix.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/version.h (100%) rename src/{bun.js => buntime}/bindings/libuv/uv/win.h (100%) rename src/{bun.js => buntime}/bindings/linux_perf_tracing.cpp (100%) rename src/{bun.js => buntime}/bindings/napi.cpp (99%) rename src/{bun.js => buntime}/bindings/napi.h (100%) rename src/{bun.js => buntime}/bindings/napi_external.cpp (100%) rename src/{bun.js => buntime}/bindings/napi_external.h (100%) rename src/{bun.js => buntime}/bindings/napi_finalizer.cpp (100%) rename src/{bun.js => buntime}/bindings/napi_finalizer.h (100%) rename src/{bun.js => buntime}/bindings/napi_handle_scope.cpp (100%) rename src/{bun.js => buntime}/bindings/napi_handle_scope.h (100%) rename src/{bun.js => buntime}/bindings/napi_macros.h (100%) rename src/{bun.js => buntime}/bindings/napi_type_tag.cpp (100%) rename src/{bun.js => buntime}/bindings/napi_type_tag.h (100%) rename src/{bun.js => buntime}/bindings/ncrpyto_engine.cpp (100%) rename src/{bun.js => buntime}/bindings/ncrypto.cpp (100%) rename src/{bun.js => buntime}/bindings/ncrypto.h (100%) rename src/{bun.js => buntime}/bindings/node/JSNodeHTTPServerSocket.cpp (100%) rename src/{bun.js => buntime}/bindings/node/JSNodeHTTPServerSocket.h (100%) rename src/{bun.js => buntime}/bindings/node/JSNodeHTTPServerSocketPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/JSNodeHTTPServerSocketPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/NodeTimers.cpp (100%) rename src/{bun.js => buntime}/bindings/node/NodeTimers.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoDhJob.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoDhJob.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenDhKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenDhKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenDsaKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenDsaKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenEcKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenEcKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenNidKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenNidKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenRsaKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoGenRsaKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoHkdf.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoHkdf.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoKeygen.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoKeygen.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoKeys.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoKeys.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoPrimes.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoPrimes.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoSignJob.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoSignJob.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoUtil.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/CryptoUtil.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/DiffieHellmanFunctions.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSCipher.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSCipher.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSCipherConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSCipherConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSCipherPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSCipherPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellman.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellman.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanGroup.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanGroup.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanGroupConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanGroupConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanGroupPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanGroupPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSDiffieHellmanPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSECDH.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSECDH.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSECDHConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSECDHConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSECDHPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSECDHPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSHash.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSHash.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSHmac.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSHmac.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSKeyObject.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSKeyObject.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSKeyObjectConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSKeyObjectConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSKeyObjectPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSKeyObjectPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPrivateKeyObject.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPrivateKeyObject.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPrivateKeyObjectConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPrivateKeyObjectConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPrivateKeyObjectPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPrivateKeyObjectPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPublicKeyObject.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPublicKeyObject.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPublicKeyObjectConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPublicKeyObjectConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPublicKeyObjectPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSPublicKeyObjectPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSecretKeyObject.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSecretKeyObject.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSecretKeyObjectConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSecretKeyObjectConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSecretKeyObjectPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSecretKeyObjectPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSign.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSSign.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSVerify.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/JSVerify.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/KeyObject.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/KeyObject.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/KeyObjectData.h (100%) rename src/{bun.js => buntime}/bindings/node/crypto/node_crypto_binding.cpp (100%) rename src/{bun.js => buntime}/bindings/node/crypto/node_crypto_binding.h (100%) rename src/{bun.js => buntime}/bindings/node/http/JSConnectionsList.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/JSConnectionsList.h (100%) rename src/{bun.js => buntime}/bindings/node/http/JSConnectionsListConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/JSConnectionsListConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/http/JSConnectionsListPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/JSConnectionsListPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/http/JSHTTPParser.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/JSHTTPParser.h (100%) rename src/{bun.js => buntime}/bindings/node/http/JSHTTPParserConstructor.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/JSHTTPParserConstructor.h (100%) rename src/{bun.js => buntime}/bindings/node/http/JSHTTPParserPrototype.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/JSHTTPParserPrototype.h (100%) rename src/{bun.js => buntime}/bindings/node/http/NodeHTTPParser.cpp (100%) rename src/{bun.js => buntime}/bindings/node/http/NodeHTTPParser.h (100%) rename src/{bun.js => buntime}/bindings/node/http/llhttp/README.md (85%) rename src/{bun.js => buntime}/bindings/node/http/llhttp/api.c (100%) rename src/{bun.js => buntime}/bindings/node/http/llhttp/api.h (100%) rename src/{bun.js => buntime}/bindings/node/http/llhttp/http.c (100%) rename src/{bun.js => buntime}/bindings/node/http/llhttp/llhttp.c (100%) rename src/{bun.js => buntime}/bindings/node/http/llhttp/llhttp.h (100%) rename src/{bun.js => buntime}/bindings/objects.cpp (100%) rename src/{bun.js => buntime}/bindings/objects.h (100%) rename src/{bun.js => buntime}/bindings/root.h (100%) rename src/{bun.js => buntime}/bindings/sizes.zig (100%) rename src/{bun.js => buntime}/bindings/spawn.cpp (100%) rename src/{bun.js => buntime}/bindings/sqlite/CMakeLists.txt (100%) rename src/{bun.js => buntime}/bindings/sqlite/JSSQLStatement.cpp (100%) rename src/{bun.js => buntime}/bindings/sqlite/JSSQLStatement.h (100%) rename src/{bun.js => buntime}/bindings/sqlite/lazy_sqlite3.h (100%) rename src/{bun.js => buntime}/bindings/sqlite/sqlite3.c (100%) rename src/{bun.js => buntime}/bindings/sqlite/sqlite3_error_codes.h (100%) rename src/{bun.js => buntime}/bindings/sqlite/sqlite3_local.h (100%) rename src/{bun.js => buntime}/bindings/static_export.zig (100%) rename src/{bun.js => buntime}/bindings/stripANSI.cpp (100%) rename src/{bun.js => buntime}/bindings/stripANSI.h (100%) rename src/{bun.js => buntime}/bindings/uv-posix-polyfills-darwin.c (100%) rename src/{bun.js => buntime}/bindings/uv-posix-polyfills-linux.c (100%) rename src/{bun.js => buntime}/bindings/uv-posix-polyfills-posix.c (100%) rename src/{bun.js => buntime}/bindings/uv-posix-polyfills.c (100%) rename src/{bun.js => buntime}/bindings/uv-posix-polyfills.h (100%) rename src/{bun.js => buntime}/bindings/uv-posix-stubs.c (100%) rename src/{bun.js => buntime}/bindings/uws_bindings.cpp (100%) rename src/{bun.js => buntime}/bindings/v8-capture-stack-fixture.cjs (100%) create mode 100644 src/buntime/bindings/v8/AGENTS.md rename src/{bun.js => buntime}/bindings/v8/CLAUDE.md (98%) rename src/{bun.js => buntime}/bindings/v8/V8Array.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Array.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Boolean.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Boolean.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Context.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Context.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Data.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8EscapableHandleScope.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8EscapableHandleScope.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8EscapableHandleScopeBase.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8EscapableHandleScopeBase.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8External.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8External.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Function.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Function.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8FunctionCallbackInfo.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8FunctionCallbackInfo.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8FunctionTemplate.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8FunctionTemplate.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8HandleScope.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8HandleScope.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Isolate.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Isolate.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Local.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Local.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Maybe.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Maybe.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8MaybeLocal.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Number.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Number.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Object.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Object.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8ObjectTemplate.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8ObjectTemplate.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Primitive.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Signature.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8String.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8String.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Template.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Template.h (100%) rename src/{bun.js => buntime}/bindings/v8/V8Value.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/V8Value.h (100%) rename src/{bun.js => buntime}/bindings/v8/node.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/node.h (100%) rename src/{bun.js => buntime}/bindings/v8/real_v8.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Function.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Function.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/FunctionTemplate.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/FunctionTemplate.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/GlobalInternals.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/GlobalInternals.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Handle.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Handle.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/HandleScopeBuffer.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/HandleScopeBuffer.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/InternalFieldObject.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/InternalFieldObject.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Map.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Map.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/ObjectTemplate.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/ObjectTemplate.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Oddball.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/Oddball.h (100%) rename src/{bun.js => buntime}/bindings/v8/shim/TaggedPointer.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/shim/TaggedPointer.h (100%) rename src/{bun.js => buntime}/bindings/v8/v8.h (100%) rename src/{bun.js => buntime}/bindings/v8/v8_api_internal.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/v8_api_internal.h (100%) rename src/{bun.js => buntime}/bindings/v8/v8_compatibility_assertions.h (100%) rename src/{bun.js => buntime}/bindings/v8/v8_internal.cpp (100%) rename src/{bun.js => buntime}/bindings/v8/v8_internal.h (100%) rename src/{bun.js => buntime}/bindings/v8/v8config.h (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortController.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortSignal.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortSignal.h (100%) rename src/{bun.js => buntime}/bindings/webcore/AbortSignal.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/ActiveDOMObject.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ActiveDOMObject.h (100%) rename src/{bun.js => buntime}/bindings/webcore/AddEventListenerOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/BroadcastChannel.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/BroadcastChannel.h (100%) rename src/{bun.js => buntime}/bindings/webcore/BroadcastChannelIdentifier.h (100%) rename src/{bun.js => buntime}/bindings/webcore/BroadcastChannelRegistry.h (100%) rename src/{bun.js => buntime}/bindings/webcore/BufferSource.h (100%) rename src/{bun.js => buntime}/bindings/webcore/BunBroadcastChannelRegistry.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/BunBroadcastChannelRegistry.h (100%) rename src/{bun.js => buntime}/bindings/webcore/CallbackResult.h (100%) rename src/{bun.js => buntime}/bindings/webcore/CloseEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/CloseEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/CloseEvent.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/CommonAtomStrings.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/CommonAtomStrings.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ContextDestructionObserver.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ContextDestructionObserver.h (100%) rename src/{bun.js => buntime}/bindings/webcore/CustomEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/CustomEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/CustomEvent.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/CustomEventCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMClientIsoSubspaces.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMConstructors.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMHighResTimeStamp.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMIsoSubspaces.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMJITCheckDOM.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMJITHelpers.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMJITHelpers.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMJITIDLConvert.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMJITIDLType.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMJITIDLTypeFilter.h (100%) rename src/{bun.js => buntime}/bindings/webcore/DOMPromiseProxy.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ErrorCallback.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ErrorCallback.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ErrorCallback.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/ErrorEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ErrorEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ErrorEvent.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/Event.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/Event.h (100%) rename src/{bun.js => buntime}/bindings/webcore/Event.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/EventContext.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventContext.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventDispatcher.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventDispatcher.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventEmitter.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventEmitter.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventFactory.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventHeaders.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventInit.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/EventInterfaces.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventListener.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventListener.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/EventListenerMap.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventListenerMap.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventListenerOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventListenerOptions.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/EventModifierInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventNames.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventNames.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventNames.in (100%) rename src/{bun.js => buntime}/bindings/webcore/EventOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventPath.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventPath.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventSender.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTarget.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTarget.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTarget.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTargetConcrete.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTargetConcrete.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTargetFactory.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTargetHeaders.h (100%) rename src/{bun.js => buntime}/bindings/webcore/EventTargetInterfaces.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ExceptionDetails.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ExtendedDOMClientIsoSubspaces.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ExtendedDOMIsoSubspaces.h (100%) rename src/{bun.js => buntime}/bindings/webcore/FetchHeaders.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/FetchHeaders.h (100%) rename src/{bun.js => buntime}/bindings/webcore/FetchHeaders.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderField.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderField.h (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderIdentifiers.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderIdentifiers.h (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderMap.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderMap.h (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderNames.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderNames.gperf (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderNames.h (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderNames.in (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderStrings.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderValues.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPHeaderValues.h (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPParsers.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HTTPParsers.h (100%) rename src/{bun.js => buntime}/bindings/webcore/HeaderFieldTokenizer.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/HeaderFieldTokenizer.h (100%) rename src/{bun.js => buntime}/bindings/webcore/IdentifierEventListenerMap.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/IdentifierEventListenerMap.h (100%) rename src/{bun.js => buntime}/bindings/webcore/InternalWritableStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/InternalWritableStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortSignal.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortSignal.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAbortSignalCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAddEventListenerOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSAddEventListenerOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSBroadcastChannel.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSBroadcastChannel.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSByteLengthQueuingStrategy.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSByteLengthQueuingStrategy.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCallbackData.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCallbackData.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCloseEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCloseEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCookie.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCookie.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCookieMap.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCookieMap.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCountQueuingStrategy.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCountQueuingStrategy.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCustomEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSCustomEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMAttribute.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMBinding.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMBindingInternalsBuiltins.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMBindingInternalsBuiltins.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMBuiltinConstructor.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMBuiltinConstructorBase.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMBuiltinConstructorBase.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMCastThisValue.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConstructor.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConstructorBase.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConstructorBase.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConstructorCallable.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConstructorNotCallable.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConstructorNotConstructable.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvert.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertAny.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertBase.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertBoolean.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertBufferSource.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertCallbacks.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertDate.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertDate.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertDictionary.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertEnumeration.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertEventListener.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertInterface.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertJSON.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertNull.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertNullable.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertNumbers.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertNumbers.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertObject.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertOptional.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertPromise.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertRecord.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertScheduledAction.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertSequences.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertSerializedScriptValue.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertStrings.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertStrings.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertUnion.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertVariadic.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertWebGL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertWebGL.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMConvertXPathNSResolver.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMException.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMException.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMFormData.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMFormData.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMGlobalObjectInlines.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMGuardedObject.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMGuardedObject.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMIterator.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMIterator.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMOperation.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMOperation.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMOperationReturningPromise.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMPromise.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMPromise.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMPromiseDeferred.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMPromiseDeferred.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMURL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMURL.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSDOMWindow.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorCallback.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorCallback.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorEventCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorHandler.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSErrorHandler.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventCustom.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventDOMJIT.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventEmitter.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventEmitter.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventEmitterCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventEmitterCustom.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventInit.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventListener.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventListener.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventListenerOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventListenerOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventModifierInit.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventModifierInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventTarget.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventTarget.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventTargetCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventTargetCustom.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventTargetNode.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSEventTargetNode.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSFetchHeaders.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSFetchHeaders.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMIMEBindings.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMIMEBindings.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMIMEParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMIMEParams.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMIMEType.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMIMEType.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessageChannel.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessageChannel.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessageChannelCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessageEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessageEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessageEventCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessagePort.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessagePort.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSMessagePortCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformance.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformance.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceEntry.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceEntry.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceEntryCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMark.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMark.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMarkOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMarkOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMeasure.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMeasure.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMeasureOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceMeasureOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserver.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserver.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserverCallback.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserverCallback.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserverCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserverEntryList.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceObserverEntryList.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceResourceTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceResourceTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceServerTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceServerTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSPerformanceTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableByteStreamController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableByteStreamController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamBYOBReader.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamBYOBReader.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamBYOBRequest.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamBYOBRequest.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamDefaultController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamDefaultController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamDefaultReader.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamDefaultReader.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamSink.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamSink.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamSource.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamSource.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSReadableStreamSourceCustom.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSServiceWorker.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSStructuredSerializeOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSStructuredSerializeOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTextDecoderStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTextDecoderStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTextEncoder.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTextEncoder.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTextEncoderStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTextEncoderStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTransformStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTransformStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTransformStreamDefaultController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSTransformStreamDefaultController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPattern.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPattern.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPatternInit.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPatternInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPatternOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPatternOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPatternResult.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLPatternResult.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLSearchParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSURLSearchParams.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSValueInWrappedObject.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWasmStreamingCompiler.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWasmStreamingCompiler.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWebSocket.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWebSocket.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWindowProxy.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWorker.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWorker.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWorkerOptions.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWorkerOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStreamDefaultController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStreamDefaultController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStreamDefaultWriter.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStreamDefaultWriter.h (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStreamSink.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/JSWritableStreamSink.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessageChannel.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessageChannel.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessageEvent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessageEvent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessageEvent.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePort.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePort.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannel.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannel.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannelProvider.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannelProvider.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannelProviderImpl.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannelProviderImpl.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannelRegistry.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortChannelRegistry.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessagePortIdentifier.h (100%) rename src/{bun.js => buntime}/bindings/webcore/MessageWithMessagePorts.h (100%) rename src/{bun.js => buntime}/bindings/webcore/NetworkLoadMetrics.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/NetworkLoadMetrics.h (100%) rename src/{bun.js => buntime}/bindings/webcore/Node.h (100%) rename src/{bun.js => buntime}/bindings/webcore/Performance.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/Performance.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceEntry.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceEntry.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceMark.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceMark.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceMarkOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceMeasure.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceMeasure.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceMeasureOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceObserver.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceObserver.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceObserverCallback.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceObserverEntryList.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceObserverEntryList.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceResourceTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceResourceTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceResourceTiming.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceServerTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceServerTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceServerTiming.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceUserTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/PerformanceUserTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/PortIdentifier.h (100%) rename src/{bun.js => buntime}/bindings/webcore/RFC7230.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/RFC7230.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStreamDefaultController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStreamDefaultController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStreamSink.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStreamSink.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStreamSource.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ReadableStreamSource.h (100%) rename src/{bun.js => buntime}/bindings/webcore/RegisteredEventListener.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ResourceLoadTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ResourceTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ResourceTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ScriptWrappable.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ScriptWrappableInlines.h (100%) rename src/{bun.js => buntime}/bindings/webcore/SerializedScriptValue.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/SerializedScriptValue.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ServerTiming.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ServerTiming.h (100%) rename src/{bun.js => buntime}/bindings/webcore/ServerTimingParser.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/ServerTimingParser.h (100%) rename src/{bun.js => buntime}/bindings/webcore/StructuredClone.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/StructuredClone.h (100%) rename src/{bun.js => buntime}/bindings/webcore/StructuredSerializeOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/TaskSource.h (100%) rename src/{bun.js => buntime}/bindings/webcore/TextEncoder.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/TextEncoder.h (100%) rename src/{bun.js => buntime}/bindings/webcore/TransferredMessagePort.h (100%) rename src/{bun.js => buntime}/bindings/webcore/UIEventInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPattern.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPattern.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPattern.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternCanonical.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternCanonical.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternComponent.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternComponent.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternConstructorStringParser.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternConstructorStringParser.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternInit.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternInit.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternOptions.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternParser.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternParser.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternResult.h (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternResult.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternTokenizer.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/URLPatternTokenizer.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WebCoreJSClientData.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WebCoreTypedArrayController.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/WebCoreTypedArrayController.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WebSocket.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/WebSocket.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WebSocket.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/WebSocketDeflate.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WebSocketErrorCode.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WebSocketIdentifier.h (100%) rename src/{bun.js => buntime}/bindings/webcore/Worker.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/Worker.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WorkerOptions.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WritableStream.cpp (100%) rename src/{bun.js => buntime}/bindings/webcore/WritableStream.h (100%) rename src/{bun.js => buntime}/bindings/webcore/WritableStream.idl (100%) rename src/{bun.js => buntime}/bindings/webcore/WritableStreamSink.h (100%) rename src/{bun.js => buntime}/bindings/webcore/config.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/AesCbcCfbParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/AesCtrParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/AesGcmParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/AesKeyParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CommonCryptoDERUtilities.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CommonCryptoDERUtilities.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAesKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAesKeyAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CBC.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CBC.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CBCOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CFB.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CFB.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CFBOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CTR.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CTR.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_CTROpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_GCM.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_GCM.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_GCMOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_KW.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_KW.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAES_KWOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAesCbcCfbParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAesCtrParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAesGcmParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmAesKeyParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmECDH.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmECDH.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmECDHOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmECDSA.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmECDSA.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmECDSAOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmEcKeyParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmEcdhKeyDeriveParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmEcdsaParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmEd25519.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmEd25519.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHKDF.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHKDF.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHKDFOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHMAC.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHMAC.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHkdfParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmHmacKeyParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmIdentifier.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmPBKDF2.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmPBKDF2.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmPBKDF2OpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmParameters.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmParameters.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmPbkdf2Params.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSA_OAEPOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSA_PSS.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSA_PSS.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRSA_PSSOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRegistry.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRegistry.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRsaHashedImportParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRsaHashedKeyGenParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRsaKeyGenParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRsaOaepParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmRsaPssParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA1.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA1.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA224.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA224.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA256.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA256.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA384.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA384.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA512.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmSHA512.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmX25519.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmX25519.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoAlgorithmX25519Params.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoDigest.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoDigest.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoEcKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoEcKeyAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoHmacKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoHmacKeyAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKey.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKey.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKey.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyAES.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyAES.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyEC.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyEC.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyECOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyFormat.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyHMAC.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyHMAC.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyOKP.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyOKP.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyOKPOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyPair.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRSA.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRSA.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRSAComponents.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRSAComponents.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRSAOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRaw.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyRaw.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyType.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyUsage.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoKeyUsage.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoRsaKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/CryptoRsaKeyAlgorithm.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/EcKeyParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/EcdhKeyDeriveParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/EcdsaParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/HkdfParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/HmacKeyParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesCbcCfbParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesCbcCfbParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesCtrParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesCtrParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesGcmParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesGcmParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesKeyParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSAesKeyParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoAesKeyAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoAesKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoAlgorithmParameters.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoAlgorithmParameters.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoEcKeyAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoEcKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKey.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKey.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKeyAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKeyPair.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKeyPair.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKeyUsage.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoKeyUsage.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSEcKeyParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSEcKeyParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSEcdhKeyDeriveParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSEcdhKeyDeriveParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSEcdsaParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSEcdsaParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSHkdfParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSHkdfParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSHmacKeyParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSHmacKeyParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSJsonWebKey.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSJsonWebKey.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSPbkdf2Params.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSPbkdf2Params.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaHashedImportParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaHashedImportParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaHashedKeyGenParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaHashedKeyGenParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaKeyGenParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaKeyGenParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaOaepParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaOaepParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaOtherPrimesInfo.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaOtherPrimesInfo.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaPssParams.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSRsaPssParams.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSSubtleCrypto.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSSubtleCrypto.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSX25519Params.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JSX25519Params.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JsonWebKey.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/JsonWebKey.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/OpenSSLCryptoUniquePtr.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/OpenSSLUtilities.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/OpenSSLUtilities.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/Pbkdf2Params.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/PhonyWorkQueue.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/PhonyWorkQueue.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaHashedImportParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaHashedKeyGenParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaKeyGenParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaOaepParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaOtherPrimesInfo.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaOtherPrimesInfo.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/RsaPssParams.idl (100%) rename src/{bun.js => buntime}/bindings/webcrypto/SerializedCryptoKeyWrap.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/SerializedCryptoKeyWrapOpenSSL.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/SubtleCrypto.cpp (100%) rename src/{bun.js => buntime}/bindings/webcrypto/SubtleCrypto.h (100%) rename src/{bun.js => buntime}/bindings/webcrypto/SubtleCrypto.idl (100%) rename src/{bun.js => buntime}/bindings/windows/rescle-binding.cpp (100%) rename src/{bun.js => buntime}/bindings/windows/rescle.cpp (100%) rename src/{bun.js => buntime}/bindings/windows/rescle.h (100%) rename src/{bun.js => buntime}/bindings/workaround-missing-symbols.cpp (100%) rename src/{bun.js => buntime}/bindings/wtf-bindings.cpp (100%) rename src/{bun.js => buntime}/bindings/wtf-bindings.h (100%) rename src/{bun.js => buntime}/config.zig (100%) rename src/{bun.js => buntime}/event_loop.zig (100%) rename src/{bun.js => buntime}/event_loop/AnyEventLoop.zig (100%) rename src/{bun.js => buntime}/event_loop/AnyTask.zig (100%) rename src/{bun.js => buntime}/event_loop/AnyTaskWithExtraContext.zig (100%) rename src/{bun.js => buntime}/event_loop/ConcurrentPromiseTask.zig (100%) rename src/{bun.js => buntime}/event_loop/ConcurrentTask.zig (100%) rename src/{bun.js => buntime}/event_loop/CppTask.zig (100%) rename src/{bun.js => buntime}/event_loop/DeferredTaskQueue.zig (100%) rename src/{bun.js => buntime}/event_loop/EventLoopHandle.zig (100%) rename src/{bun.js => buntime}/event_loop/GarbageCollectionController.zig (100%) rename src/{bun.js => buntime}/event_loop/JSCScheduler.zig (100%) rename src/{bun.js => buntime}/event_loop/ManagedTask.zig (100%) rename src/{bun.js => buntime}/event_loop/MiniEventLoop.zig (100%) rename src/{bun.js => buntime}/event_loop/PosixSignalHandle.zig (100%) rename src/{bun.js => buntime}/event_loop/README.md (98%) rename src/{bun.js => buntime}/event_loop/SpawnSyncEventLoop.zig (100%) rename src/{bun.js => buntime}/event_loop/Task.zig (99%) rename src/{bun.js => buntime}/event_loop/WorkTask.zig (100%) rename src/{bun.js => buntime}/headergen/sizegen.cpp (97%) rename src/{bun.js => buntime}/hot_reloader.zig (100%) rename src/{bun.js => buntime}/ipc.zig (100%) rename src/{bun.js => buntime}/javascript_core_c_api.zig (100%) rename src/{bun.js => buntime}/jsc.zig (99%) rename src/{bun.js => buntime}/jsc/RefString.zig (100%) rename src/{bun.js => buntime}/jsc/array_buffer.zig (100%) rename src/{bun.js => buntime}/jsc/dom_call.zig (100%) rename src/{bun.js => buntime}/jsc/host_fn.zig (100%) rename src/{bun.js => buntime}/modules/AbortControllerModuleModule.h (100%) rename src/{bun.js => buntime}/modules/BunAppModule.h (100%) rename src/{bun.js => buntime}/modules/BunJSCModule.h (100%) rename src/{bun.js => buntime}/modules/BunObjectModule.h (100%) rename src/{bun.js => buntime}/modules/BunTestModule.h (100%) rename src/{bun.js => buntime}/modules/NodeBufferModule.h (100%) rename src/{bun.js => buntime}/modules/NodeConstantsModule.h (100%) rename src/{bun.js => buntime}/modules/NodeModuleModule.cpp (100%) rename src/{bun.js => buntime}/modules/NodeModuleModule.h (100%) rename src/{bun.js => buntime}/modules/NodeProcessModule.h (100%) rename src/{bun.js => buntime}/modules/NodeStringDecoderModule.h (100%) rename src/{bun.js => buntime}/modules/NodeTTYModule.cpp (100%) rename src/{bun.js => buntime}/modules/NodeTTYModule.h (100%) rename src/{bun.js => buntime}/modules/NodeUtilTypesModule.cpp (100%) rename src/{bun.js => buntime}/modules/NodeUtilTypesModule.h (100%) rename src/{bun.js => buntime}/modules/ObjectModule.cpp (100%) rename src/{bun.js => buntime}/modules/ObjectModule.h (100%) rename src/{bun.js => buntime}/modules/UTF8ValidateModule.h (100%) rename src/{bun.js => buntime}/modules/_NativeModule.h (100%) rename src/{bun.js => buntime}/node.zig (100%) rename src/{bun.js => buntime}/node/Stat.zig (100%) rename src/{bun.js => buntime}/node/StatFS.zig (100%) rename src/{bun.js => buntime}/node/assert/myers_diff.zig (100%) rename src/{bun.js => buntime}/node/buffer.zig (100%) rename src/{bun.js => buntime}/node/dir_iterator.zig (100%) rename src/{bun.js => buntime}/node/fs_events.zig (100%) rename src/{bun.js => buntime}/node/net/BlockList.zig (100%) rename src/{bun.js => buntime}/node/node.classes.ts (100%) rename src/{bun.js => buntime}/node/node_assert.zig (100%) rename src/{bun.js => buntime}/node/node_assert_binding.zig (100%) rename src/{bun.js => buntime}/node/node_cluster_binding.zig (100%) rename src/{bun.js => buntime}/node/node_crypto_binding.zig (100%) rename src/{bun.js => buntime}/node/node_error_binding.zig (100%) rename src/{bun.js => buntime}/node/node_fs.zig (100%) rename src/{bun.js => buntime}/node/node_fs_binding.zig (100%) rename src/{bun.js => buntime}/node/node_fs_constant.zig (100%) rename src/{bun.js => buntime}/node/node_fs_stat_watcher.zig (100%) rename src/{bun.js => buntime}/node/node_fs_watcher.zig (100%) rename src/{bun.js => buntime}/node/node_http_binding.zig (100%) rename src/{bun.js => buntime}/node/node_net_binding.zig (100%) rename src/{bun.js => buntime}/node/node_os.bind.ts (100%) rename src/{bun.js => buntime}/node/node_os.zig (100%) rename src/{bun.js => buntime}/node/node_process.zig (100%) rename src/{bun.js => buntime}/node/node_util_binding.zig (100%) rename src/{bun.js => buntime}/node/node_zlib_binding.zig (100%) rename src/{bun.js => buntime}/node/nodejs_error_code.zig (100%) rename src/{bun.js => buntime}/node/os/constants.zig (100%) rename src/{bun.js => buntime}/node/path.zig (100%) rename src/{bun.js => buntime}/node/path_watcher.zig (100%) rename src/{bun.js => buntime}/node/time_like.zig (100%) rename src/{bun.js => buntime}/node/types.zig (99%) rename src/{bun.js => buntime}/node/util/parse_args.zig (100%) rename src/{bun.js => buntime}/node/util/parse_args_utils.zig (100%) rename src/{bun.js => buntime}/node/util/validators.zig (100%) rename src/{bun.js => buntime}/node/win_watcher.zig (100%) rename src/{bun.js => buntime}/node/zlib/NativeBrotli.zig (100%) rename src/{bun.js => buntime}/node/zlib/NativeZlib.zig (100%) rename src/{bun.js => buntime}/node/zlib/NativeZstd.zig (100%) rename src/{bun.js => buntime}/rare_data.zig (100%) rename src/{bun.js => buntime}/resolve_message.classes.ts (100%) rename src/{bun.js => buntime}/test/Collection.zig (100%) rename src/{bun.js => buntime}/test/DoneCallback.zig (100%) rename src/{bun.js => buntime}/test/Execution.zig (100%) rename src/{bun.js => buntime}/test/Order.zig (100%) rename src/{bun.js => buntime}/test/ScopeFunctions.zig (100%) rename src/{bun.js => buntime}/test/bun_test.zig (100%) rename src/{bun.js => buntime}/test/debug.zig (100%) rename src/{bun.js => buntime}/test/diff/diff_match_patch.zig (100%) rename src/{bun.js => buntime}/test/diff/printDiff.zig (100%) rename src/{bun.js => buntime}/test/diff_format.zig (100%) rename src/{bun.js => buntime}/test/expect.zig (100%) rename src/{bun.js => buntime}/test/expect/toBe.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeArray.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeArrayOfSize.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeBoolean.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeCloseTo.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeDate.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeDefined.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeEmpty.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeEmptyObject.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeEven.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeFalse.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeFalsy.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeFinite.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeFunction.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeGreaterThan.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeGreaterThanOrEqual.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeInstanceOf.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeInteger.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeLessThan.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeLessThanOrEqual.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeNaN.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeNegative.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeNil.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeNull.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeNumber.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeObject.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeOdd.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeOneOf.zig (100%) rename src/{bun.js => buntime}/test/expect/toBePositive.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeString.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeSymbol.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeTrue.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeTruthy.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeTypeOf.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeUndefined.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeValidDate.zig (100%) rename src/{bun.js => buntime}/test/expect/toBeWithin.zig (100%) rename src/{bun.js => buntime}/test/expect/toContain.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainAllKeys.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainAllValues.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainAnyKeys.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainAnyValues.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainEqual.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainKey.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainKeys.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainValue.zig (100%) rename src/{bun.js => buntime}/test/expect/toContainValues.zig (100%) rename src/{bun.js => buntime}/test/expect/toEndWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toEqual.zig (100%) rename src/{bun.js => buntime}/test/expect/toEqualIgnoringWhitespace.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveBeenCalled.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveBeenCalledOnce.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveBeenCalledTimes.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveBeenCalledWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveBeenLastCalledWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveBeenNthCalledWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveLastReturnedWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveLength.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveNthReturnedWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveProperty.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveReturned.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveReturnedTimes.zig (100%) rename src/{bun.js => buntime}/test/expect/toHaveReturnedWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toInclude.zig (100%) rename src/{bun.js => buntime}/test/expect/toIncludeRepeated.zig (100%) rename src/{bun.js => buntime}/test/expect/toMatch.zig (100%) rename src/{bun.js => buntime}/test/expect/toMatchInlineSnapshot.zig (100%) rename src/{bun.js => buntime}/test/expect/toMatchObject.zig (100%) rename src/{bun.js => buntime}/test/expect/toMatchSnapshot.zig (100%) rename src/{bun.js => buntime}/test/expect/toSatisfy.zig (100%) rename src/{bun.js => buntime}/test/expect/toStartWith.zig (100%) rename src/{bun.js => buntime}/test/expect/toStrictEqual.zig (100%) rename src/{bun.js => buntime}/test/expect/toThrow.zig (100%) rename src/{bun.js => buntime}/test/expect/toThrowErrorMatchingInlineSnapshot.zig (100%) rename src/{bun.js => buntime}/test/expect/toThrowErrorMatchingSnapshot.zig (100%) rename src/{bun.js => buntime}/test/jest.classes.ts (100%) rename src/{bun.js => buntime}/test/jest.zig (100%) rename src/{bun.js => buntime}/test/pretty_format.zig (100%) rename src/{bun.js => buntime}/test/snapshot.zig (100%) rename src/{bun.js => buntime}/test/test.zig (100%) rename src/{bun.js => buntime}/test/timers/FakeTimers.zig (100%) rename src/{bun.js => buntime}/test/timers/FakeTimersConfig.bindv2.ts (100%) rename src/{bun.js => buntime}/uuid.zig (100%) rename src/{bun.js => buntime}/virtual_machine_exports.zig (100%) rename src/{bun.js => buntime}/web_worker.zig (100%) rename src/{bun.js => buntime}/webcore.zig (100%) rename src/{bun.js => buntime}/webcore/ArrayBufferSink.zig (100%) rename src/{bun.js => buntime}/webcore/AutoFlusher.zig (100%) rename src/{bun.js => buntime}/webcore/BakeResponse.zig (99%) rename src/{bun.js => buntime}/webcore/Blob.zig (100%) rename src/{bun.js => buntime}/webcore/Body.zig (100%) rename src/{bun.js => buntime}/webcore/ByteBlobLoader.zig (100%) rename src/{bun.js => buntime}/webcore/ByteStream.zig (100%) rename src/{bun.js => buntime}/webcore/CookieMap.zig (100%) rename src/{bun.js => buntime}/webcore/Crypto.zig (100%) rename src/{bun.js => buntime}/webcore/EncodingLabel.zig (100%) rename src/{bun.js => buntime}/webcore/FileReader.zig (100%) rename src/{bun.js => buntime}/webcore/FileSink.zig (100%) rename src/{bun.js => buntime}/webcore/ObjectURLRegistry.zig (100%) rename src/{bun.js => buntime}/webcore/ReadableStream.zig (100%) rename src/{bun.js => buntime}/webcore/Request.zig (100%) rename src/{bun.js => buntime}/webcore/Response.zig (100%) rename src/{bun.js => buntime}/webcore/ResumableSink.zig (100%) rename src/{bun.js => buntime}/webcore/S3Client.zig (100%) rename src/{bun.js => buntime}/webcore/S3File.zig (100%) rename src/{bun.js => buntime}/webcore/S3Stat.zig (100%) rename src/{bun.js => buntime}/webcore/ScriptExecutionContext.zig (100%) rename src/{bun.js => buntime}/webcore/Sink.zig (100%) rename src/{bun.js => buntime}/webcore/TextDecoder.zig (100%) rename src/{bun.js => buntime}/webcore/TextEncoder.zig (100%) rename src/{bun.js => buntime}/webcore/TextEncoderStreamEncoder.zig (100%) rename src/{bun.js => buntime}/webcore/blob/Store.zig (100%) rename src/{bun.js => buntime}/webcore/blob/copy_file.zig (100%) rename src/{bun.js => buntime}/webcore/blob/read_file.zig (100%) rename src/{bun.js => buntime}/webcore/blob/write_file.zig (100%) rename src/{bun.js => buntime}/webcore/encoding.classes.ts (100%) rename src/{bun.js => buntime}/webcore/encoding.zig (100%) rename src/{bun.js => buntime}/webcore/fetch.zig (100%) rename src/{bun.js => buntime}/webcore/fetch/FetchTasklet.zig (100%) rename src/{bun.js => buntime}/webcore/prompt.zig (100%) rename src/{bun.js => buntime}/webcore/response.classes.ts (100%) rename src/{bun.js => buntime}/webcore/streams.zig (100%) mode change 120000 => 100644 src/js/AGENTS.md diff --git a/.claude/commands/upgrade-nodejs.md b/.claude/commands/upgrade-nodejs.md index 6ba1832ce6..001f8937be 100644 --- a/.claude/commands/upgrade-nodejs.md +++ b/.claude/commands/upgrade-nodejs.md @@ -22,7 +22,7 @@ Bun reports a Node.js version for compatibility with the Node.js ecosystem. This - `NODEJS_ABI_VERSION` - The ABI version number (find using command below) ### 3. Version Strings -- `src/bun.js/bindings/BunProcess.cpp` +- `src/buntime/bindings/BunProcess.cpp` - Update `Bun__versions_node` with the Node.js version - Update `Bun__versions_v8` with the V8 version (find using command below) @@ -33,7 +33,7 @@ Bun reports a Node.js version for compatibility with the Node.js ecosystem. This ## Files That May Need Updates Only check these if the build fails or tests crash after updating version numbers: -- V8 compatibility files in `src/bun.js/bindings/v8/` (if V8 API changed) +- V8 compatibility files in `src/buntime/bindings/v8/` (if V8 API changed) - Test files (if Node.js requires newer C++ standard) ## Quick Commands to Find Version Info diff --git a/.claude/skills/implementing-jsc-classes-cpp/SKILL.md b/.claude/skills/implementing-jsc-classes-cpp/SKILL.md index 27a2e5fd4d..cf1ce22fdb 100644 --- a/.claude/skills/implementing-jsc-classes-cpp/SKILL.md +++ b/.claude/skills/implementing-jsc-classes-cpp/SKILL.md @@ -19,8 +19,8 @@ No public constructor? Only Prototype and class needed. Classes with C++ fields need subspaces in: -- `src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h` -- `src/bun.js/bindings/webcore/DOMIsoSubspaces.h` +- `src/buntime/bindings/webcore/DOMClientIsoSubspaces.h` +- `src/buntime/bindings/webcore/DOMIsoSubspaces.h` ```cpp template diff --git a/.claude/skills/implementing-jsc-classes-zig/SKILL.md b/.claude/skills/implementing-jsc-classes-zig/SKILL.md index bf2e5a5368..d45da3aa8e 100644 --- a/.claude/skills/implementing-jsc-classes-zig/SKILL.md +++ b/.claude/skills/implementing-jsc-classes-zig/SKILL.md @@ -89,7 +89,7 @@ pub const TextDecoder = struct { - Use `bun.JSError!JSValue` return type for error handling - Use `globalObject` not `ctx` - `deinit()` for cleanup, `finalize()` called by GC -- Update `src/bun.js/bindings/generated_classes_list.zig` +- Update `src/buntime/bindings/generated_classes_list.zig` ## CallFrame Access @@ -196,7 +196,7 @@ pub const MyClass = struct { }; ``` -3. Add to `src/bun.js/bindings/generated_classes_list.zig` +3. Add to `src/buntime/bindings/generated_classes_list.zig` ## Generated Components diff --git a/PLAN.md b/PLAN.md new file mode 100644 index 0000000000..45ab75043a --- /dev/null +++ b/PLAN.md @@ -0,0 +1,1112 @@ +# Bun Source Reorganization + +## The Goal: Guessability + +Claude should be able to **guess** where code lives without searching. + +| User says | Claude guesses | +| --------------------- | --------------------------------------------------- | +| "Fix the transpiler" | `src/transpiler/` | +| "Fix the test runner" | `src/test_runner/` | +| "Fix the bundler" | `src/bundler/` | +| "Fix bun install" | `src/install/` | +| "Fix CSS parsing" | `src/css/` | +| "Fix the shell" | `src/shell/` | +| "Fix Postgres" | `src/sql/postgres/` | +| "Fix MySQL" | `src/sql/mysql/` | +| "Fix Valkey/Redis" | `src/valkey/` | +| "Fix S3" | `src/s3/` (core) or `buntime/api/s3/` (JS bindings) | +| "Fix Bake" | `src/bake/` | +| "Fix Bun.serve()" | `src/buntime/api/server/` | +| "Fix fetch()" | `src/buntime/web/fetch/` | +| "Fix WebSocket" | `src/buntime/web/websocket/` | +| "Fix node:fs" | `src/buntime/node/fs/` | +| "Fix node:crypto" | `src/buntime/node/crypto/` | +| "Fix crypto.subtle" | `src/buntime/web/webcrypto/` | +| "Fix N-API" | `src/buntime/compat/napi/` | +| "Fix V8 compat" | `src/buntime/compat/v8/` | + +--- + +## Step 1: Rename `src/bun.js/` → `src/buntime/` + +```bash +git mv src/bun.js src/buntime +``` + +Update imports in `src/bun.zig`. Most code uses `bun.foo` namespaces, so they won't break. + +--- + +## Step 2: Create `src/transpiler/` + +Move the JS/TS transpiler from root: + +```bash +mkdir -p src/transpiler +git mv src/js_parser.zig src/transpiler/parser.zig +git mv src/js_lexer.zig src/transpiler/lexer.zig +git mv src/js_lexer_tables.zig src/transpiler/lexer_tables.zig +git mv src/js_printer.zig src/transpiler/printer.zig +git mv src/transpiler.zig src/transpiler/transpiler.zig +git mv src/js_lexer src/transpiler/js_lexer +``` + +--- + +## Step 3: Create `src/test_runner/` + +Move from `buntime/test/`: + +```bash +mkdir -p src/test_runner +git mv src/buntime/test/* src/test_runner/ +``` + +Files moved: + +- `bun_test.zig` +- `Collection.zig` +- `debug.zig` +- `diff/` (entire directory) +- `diff_format.zig` +- `DoneCallback.zig` +- `Execution.zig` +- `expect/` (entire directory with 70+ matchers) +- `expect.zig` +- `jest.classes.ts` +- `jest.zig` +- `Order.zig` +- `pretty_format.zig` +- `ScopeFunctions.zig` +- `snapshot.zig` +- `test.zig` +- `timers/` (FakeTimers.zig, FakeTimersConfig.bindv2.ts) + +--- + +## Step 4: Dissolve `bindings/` by Domain + +### 4.1 → `api/console/` + +``` +ConsoleObject.cpp +ConsoleObject.h +UtilInspect.cpp +UtilInspect.h +``` + +Plus from buntime root: `ConsoleObject.zig` + +### 4.2 → `api/inspector/` + +``` +BunCPUProfiler.cpp +BunCPUProfiler.h +BunCPUProfiler.zig +BunDebugger.cpp +BunInjectedScriptHost.cpp +BunInjectedScriptHost.h +BunInspector.cpp +CodeCoverage.cpp +generated_perf_trace_events.h +InspectorBunFrontendDevServerAgent.cpp +InspectorBunFrontendDevServerAgent.h +InspectorHTTPServerAgent.cpp +InspectorHTTPServerAgent.h +InspectorLifecycleAgent.cpp +InspectorLifecycleAgent.h +InspectorTestReporterAgent.cpp +InspectorTestReporterAgent.h +linux_perf_tracing.cpp +``` + +Plus from buntime root: `Debugger.zig` + +### 4.3 → `api/error/` + +``` +CallSite.cpp +CallSite.h +CallSitePrototype.cpp +CallSitePrototype.h +DeferredError.zig +DOMException.cpp +DOMException.h +Errorable.zig +ErrorCode.cpp +ErrorCode.h +ErrorCode.ts +ErrorCode.zig +ErrorStackFrame.cpp +ErrorStackFrame.h +ErrorStackTrace.cpp +ErrorStackTrace.h +Exception.h +Exception.zig +ExceptionCode.h +ExceptionOr.h +FormatStackTraceForJS.cpp +FormatStackTraceForJS.h +JSErrorCode.zig +SystemError.zig +ZigErrorType.zig +ZigException.cpp +ZigException.zig +ZigStackFrame.zig +ZigStackFrameCode.zig +ZigStackFramePosition.zig +ZigStackTrace.zig +``` + +### 4.4 → `api/cookie/` + +``` +Cookie.cpp +Cookie.h +CookieMap.cpp +CookieMap.h +``` + +Plus from webcore: `JSCookie.cpp`, `JSCookie.h`, `JSCookieMap.cpp`, `JSCookieMap.h` +Plus from buntime/webcore: `CookieMap.zig` + +### 4.5 → `api/s3/` + +``` +JSS3File.cpp +JSS3File.h +S3Error.cpp +S3Error.h +``` + +### 4.6 → `api/secrets/` + +``` +JSSecrets.cpp +JSSecrets.zig +Secrets.h +SecretsDarwin.cpp +SecretsLinux.cpp +SecretsWindows.cpp +``` + +### 4.7 → `api/ffi/` + +``` +DLHandleMap.h +ffi.cpp +FFI.zig +JSFFIFunction.cpp +JSFFIFunction.h +``` + +### 4.8 → `api/sqlite/` + +Entire `bindings/sqlite/` directory: + +``` +CMakeLists.txt +JSSQLStatement.cpp +JSSQLStatement.h +lazy_sqlite3.h +sqlite3.c +sqlite3_error_codes.h +sqlite3_local.h +``` + +### 4.9 → `api/sql/` + +``` +SQLClient.cpp +``` + +### 4.10 → `api/shell/` + +``` +ShellBindings.cpp +``` + +### 4.11 → `api/ipc/` + +``` +IPC.cpp +``` + +### 4.12 → `api/test/` + +``` +FuzzilliREPRL.cpp +InternalForTesting.cpp +InternalForTesting.h +JSCTestingHelpers.cpp +JSCTestingHelpers.h +JSMockFunction.cpp +JSMockFunction.h +NoOpForTesting.cpp +NoOpForTesting.h +``` + +### 4.13 → `api/server/` + +``` +BunHttp2CommonStrings.cpp +BunHttp2CommonStrings.h +HTTPServerAgent.zig +JSBunRequest.cpp +JSBunRequest.h +ServerRouteList.cpp +ServerRouteList.h +uws_bindings.cpp +``` + +### 4.14 → `api/plugin/` + +``` +BunPlugin.cpp +BunPlugin.h +JSBundler+BunPlugin-impl.h +JSBundlerPlugin.cpp +JSBundlerPlugin.h +``` + +--- + +### 4.20 → `web/fetch/` + +``` +FetchHeaders.zig +NodeFetch.cpp +NodeFetch.h +Undici.cpp +Undici.h +``` + +Plus from webcore: `FetchHeaders.cpp`, `FetchHeaders.h`, `JSFetchHeaders.cpp`, `JSFetchHeaders.h`, `HTTPHeader*.cpp/h` + +### 4.21 → `web/url/` + +``` +decodeURIComponentSIMD.cpp +decodeURIComponentSIMD.h +DOMURL.cpp +DOMURL.h +DOMURL.zig +EncodeURIComponent.cpp +EncodeURIComponent.h +NodeURL.cpp +NodeURL.h +URL.zig +URLDecomposition.cpp +URLDecomposition.h +URLSearchParams.cpp +URLSearchParams.h +URLSearchParams.zig +``` + +Plus from webcore: `JSDOMURL.cpp/h`, `JSURLSearchParams.cpp/h`, `URLPattern*.cpp/h`, `JSURLPattern*.cpp/h` + +### 4.22 → `web/blob/` + +``` +blob.cpp +blob.h +DOMFormData.cpp +DOMFormData.h +DOMFormData.zig +JSDOMFile.cpp +JSDOMFile.h +``` + +Plus from webcore: `JSDOMFormData.cpp/h` + +### 4.23 → `web/encoding/` + +``` +Base64Helpers.cpp +Base64Helpers.h +DecodeEscapeSequences.h +EncodingTables.cpp +EncodingTables.h +TextCodec.cpp +TextCodec.h +TextCodec.zig +TextCodecASCIIFastPath.h +TextCodecCJK.cpp +TextCodecCJK.h +TextCodecReplacement.cpp +TextCodecReplacement.h +TextCodecSingleByte.cpp +TextCodecSingleByte.h +TextCodecUserDefined.cpp +TextCodecUserDefined.h +TextCodecWrapper.cpp +TextEncoding.cpp +TextEncoding.h +TextEncodingRegistry.cpp +TextEncodingRegistry.h +UnencodableHandling.h +``` + +Plus from webcore: `JSTextEncoder.cpp/h`, `JSTextEncoderStream.cpp/h`, `JSTextDecoderStream.cpp/h`, `TextEncoder.cpp/h` + +### 4.24 → `web/compression/` + +``` +JSCompressionStream.cpp +JSCompressionStream.h +JSDecompressionStream.cpp +JSDecompressionStream.h +``` + +### 4.25 → `web/events/` + +From webcore directory: + +``` +AbortAlgorithm.h +AbortController.cpp/h +AbortSignal.cpp/h +BroadcastChannel.cpp/h +CloseEvent.cpp/h +CustomEvent.cpp/h +ErrorCallback.cpp/h +ErrorEvent.cpp/h +Event.cpp/h +EventContext.cpp/h +EventDispatcher.cpp/h +EventEmitter.cpp/h +EventFactory.cpp +EventListener.h +EventListenerMap.cpp/h +EventNames.cpp/h +EventPath.cpp/h +EventSender.h +EventTarget.cpp/h +EventTargetConcrete.cpp/h +EventTargetFactory.cpp +JSAbort*.cpp/h +JSBroadcastChannel.cpp/h +JSCloseEvent.cpp/h +JSCustomEvent.cpp/h +JSErrorCallback.cpp/h +JSErrorEvent.cpp/h +JSEvent*.cpp/h +MessageChannel.cpp/h +MessageEvent.cpp/h +MessagePort.cpp/h +MessagePortChannel*.cpp/h +JSMessage*.cpp/h +``` + +### 4.26 → `web/streams/` + +From webcore directory: + +``` +InternalWritableStream.cpp/h +JSByteLengthQueuingStrategy.cpp/h +JSCountQueuingStrategy.cpp/h +JSReadableByteStreamController.cpp/h +JSReadableStream.cpp/h +JSReadableStreamBYOBReader.cpp/h +JSReadableStreamBYOBRequest.cpp/h +JSReadableStreamDefaultController.cpp/h +JSReadableStreamDefaultReader.cpp/h +JSReadableStreamSink.cpp/h +JSReadableStreamSource.cpp/h +JSTransformStream.cpp/h +JSTransformStreamDefaultController.cpp/h +JSWritableStream.cpp/h +JSWritableStreamDefaultController.cpp/h +JSWritableStreamDefaultWriter.cpp/h +JSWritableStreamSink.cpp/h +ReadableStream.cpp/h +ReadableStreamDefaultController.cpp/h +ReadableStreamSink.cpp/h +ReadableStreamSource.cpp/h +WritableStream.cpp/h +WritableStreamSink.h +``` + +### 4.27 → `web/performance/` + +From webcore directory: + +``` +JSPerformance.cpp/h +JSPerformanceEntry.cpp/h +JSPerformanceMark.cpp/h +JSPerformanceMarkOptions.cpp/h +JSPerformanceMeasure.cpp/h +JSPerformanceMeasureOptions.cpp/h +JSPerformanceObserver.cpp/h +JSPerformanceObserverCallback.cpp/h +JSPerformanceObserverEntryList.cpp/h +JSPerformanceResourceTiming.cpp/h +JSPerformanceServerTiming.cpp/h +JSPerformanceTiming.cpp/h +NetworkLoadMetrics.cpp/h +Performance.cpp/h +PerformanceEntry.cpp/h +PerformanceMark.cpp/h +PerformanceMeasure.cpp/h +PerformanceObserver.cpp/h +PerformanceObserverEntryList.cpp/h +PerformanceResourceTiming.cpp/h +PerformanceServerTiming.cpp/h +PerformanceTiming.cpp/h +PerformanceUserTiming.cpp/h +ResourceLoadTiming.h +ResourceTiming.cpp/h +ServerTiming.cpp/h +ServerTimingParser.cpp/h +``` + +### 4.28 → `web/websocket/` + +From webcore directory: + +``` +JSWebSocket.cpp/h +WebSocket.cpp/h +WebSocketDeflate.h +WebSocketErrorCode.h +WebSocketIdentifier.h +``` + +### 4.29 → `web/webcrypto/` + +Entire `bindings/webcrypto/` directory (120+ files): + +- All `CryptoAlgorithm*.cpp/h` +- All `CryptoKey*.cpp/h` +- All `JSCrypto*.cpp/h` +- All `JS*Params.cpp/h` +- All `.idl` files +- `OpenSSL*.cpp/h` +- `SubtleCrypto.cpp/h` +- etc. + +--- + +### 4.30 → `node/buffer/` + +``` +BufferEncodingType.h +JSBuffer.cpp +JSBuffer.h +JSBufferEncodingType.cpp +JSBufferEncodingType.h +JSBufferList.cpp +JSBufferList.h +JSStringDecoder.cpp +JSStringDecoder.h +JSUint8Array.zig +Uint8Array.cpp +``` + +### 4.31 → `node/process/` + +``` +BunProcess.cpp +BunProcess.h +BunProcessReportObjectWindows.cpp +ExposeNodeModuleGlobals.cpp +JSEnvironmentVariableMap.cpp +JSEnvironmentVariableMap.h +JSNextTickQueue.cpp +JSNextTickQueue.h +ProcessBindingBuffer.cpp/h +ProcessBindingConstants.cpp/h +ProcessBindingFs.cpp/h +ProcessBindingHTTPParser.cpp/h +ProcessBindingNatives.cpp/h +ProcessBindingTTYWrap.cpp/h +ProcessBindingUV.cpp/h +ProcessIdentifier.cpp/h +``` + +### 4.32 → `node/vm/` + +``` +NodeVM.cpp +NodeVM.h +NodeVMModule.cpp +NodeVMModule.h +NodeVMScript.cpp +NodeVMScript.h +NodeVMScriptFetcher.h +NodeVMSourceTextModule.cpp +NodeVMSourceTextModule.h +NodeVMSyntheticModule.cpp +NodeVMSyntheticModule.h +``` + +### 4.33 → `node/crypto/` + +From bindings root: + +``` +AsymmetricKeyValue.cpp/h +dh-primes.h +JSX509Certificate.cpp/h +JSX509CertificateConstructor.cpp/h +JSX509CertificatePrototype.cpp/h +ncrpyto_engine.cpp +ncrypto.cpp +ncrypto.h +NodeTLS.cpp +NodeTLS.h +``` + +Plus entire `bindings/node/crypto/` directory (70+ files): + +- `CryptoDhJob.cpp/h` +- `CryptoGen*.cpp/h` +- `CryptoHkdf.cpp/h` +- `CryptoKeygen.cpp/h` +- `CryptoKeys.cpp/h` +- `CryptoPrimes.cpp/h` +- `CryptoSignJob.cpp/h` +- `CryptoUtil.cpp/h` +- `DiffieHellmanFunctions.h` +- `JSCipher*.cpp/h` +- `JSDiffieHellman*.cpp/h` +- `JSECDH*.cpp/h` +- `JSHash.cpp/h` +- `JSHmac.cpp/h` +- `JSKeyObject*.cpp/h` +- `JSPrivateKeyObject*.cpp/h` +- `JSPublicKeyObject*.cpp/h` +- `JSSecretKeyObject*.cpp/h` +- `JSSign.cpp/h` +- `JSVerify.cpp/h` +- `KeyObject.cpp/h` +- `KeyObjectData.h` +- `node_crypto_binding.cpp/h` + +### 4.34 → `node/http/` + +``` +NodeHTTP.cpp +NodeHTTP.h +``` + +Plus entire `bindings/node/http/` directory: + +- `JSConnectionsList*.cpp/h` +- `JSHTTPParser*.cpp/h` +- `llhttp/` subdirectory +- `NodeHTTPParser.cpp/h` + +Plus `bindings/node/`: + +- `JSNodeHTTPServerSocket.cpp/h` +- `JSNodeHTTPServerSocketPrototype.cpp/h` + +### 4.35 → `node/fs/` + +``` +NodeDirent.cpp +NodeDirent.h +NodeFSStatBinding.cpp +NodeFSStatBinding.h +NodeFSStatFSBinding.cpp +NodeFSStatFSBinding.h +``` + +### 4.36 → `node/os/` + +``` +OsBinding.cpp +``` + +### 4.37 → `node/path/` + +``` +Path.cpp +Path.h +PathInlines.h +``` + +### 4.38 → `node/util/` + +``` +NodeValidator.cpp +NodeValidator.h +``` + +### 4.39 → `node/timers/` + +``` +NodeTimerObject.cpp +``` + +Plus from `bindings/node/`: `NodeTimers.cpp/h` + +### 4.40 → `node/async_hooks/` + +``` +AsyncContextFrame.cpp +AsyncContextFrame.h +NodeAsyncHooks.cpp +NodeAsyncHooks.h +``` + +### 4.41 → `node/perf_hooks/` + +``` +JSNodePerformanceHooksHistogram.cpp +JSNodePerformanceHooksHistogram.h +JSNodePerformanceHooksHistogramConstructor.cpp +JSNodePerformanceHooksHistogramConstructor.h +JSNodePerformanceHooksHistogramPrototype.cpp +JSNodePerformanceHooksHistogramPrototype.h +``` + +### 4.42 → `node/constants/` + +``` +NodeConstants.h +``` + +--- + +### 4.50 → `compat/napi/` + +``` +napi.cpp +napi.h +napi_external.cpp +napi_external.h +napi_finalizer.cpp +napi_finalizer.h +napi_handle_scope.cpp +napi_handle_scope.h +napi_macros.h +napi_type_tag.cpp +napi_type_tag.h +NapiClass.cpp +NapiRef.cpp +NapiWeakValue.cpp +``` + +### 4.51 → `compat/v8/` + +Entire `bindings/v8/` directory (60+ files): + +- `CLAUDE.md` +- `node.cpp/h` +- `real_v8.h` +- `shim/` subdirectory (20 files) +- `v8.h` +- `v8_api_internal.cpp/h` +- `v8_compatibility_assertions.h` +- `v8_internal.cpp/h` +- `V8Array.cpp/h` +- `V8Boolean.cpp/h` +- `v8config.h` +- `V8Context.cpp/h` +- `V8Data.h` +- `V8EscapableHandleScope*.cpp/h` +- `V8External.cpp/h` +- `V8Function*.cpp/h` +- `V8HandleScope.cpp/h` +- `V8Isolate.cpp/h` +- `V8Local.cpp/h` +- `V8Maybe*.cpp/h` +- `V8Number.cpp/h` +- `V8Object*.cpp/h` +- `V8Primitive.h` +- `V8Signature.h` +- `V8String.cpp/h` +- `V8Template.cpp/h` +- `V8Value.cpp/h` + +### 4.52 → `compat/libuv/` + +Entire `bindings/libuv/` directory: + +- `uv.h` +- `uv/` subdirectory (platform headers) +- Generator scripts + +Plus from bindings root: + +``` +uv-posix-polyfills.c +uv-posix-polyfills.h +uv-posix-polyfills-darwin.c +uv-posix-polyfills-linux.c +uv-posix-polyfills-posix.c +uv-posix-stubs.c +``` + +### 4.53 → `compat/windows/` + +Entire `bindings/windows/` directory: + +``` +rescle-binding.cpp +rescle.cpp +rescle.h +``` + +--- + +### 4.60 → `jsc/types/` + +``` +AbortSignal.zig +AnyPromise.zig +CachedBytecode.zig +CallFrame.zig +CatchScope.zig +CommonAbortReason.zig +CommonStrings.zig +CustomGetterSetter.zig +DecodedJSValue.zig +EventType.zig +GetterSetter.zig +JSArray.zig +JSArrayIterator.zig +JSBigInt.zig +JSCell.zig +JSFunction.zig +JSGlobalObject.zig +JSInternalPromise.zig +JSMap.zig +JSObject.zig +JSPromise.zig +JSPromiseRejectionOperation.zig +JSPropertyIterator.zig +JSRef.zig +JSRuntimeType.zig +JSString.zig +JSType.zig +JSValue.zig +MarkedArgumentBuffer.zig +RegularExpression.cpp +RegularExpression.zig +ResolvedSource.zig +ScriptExecutionStatus.zig +SourceProvider.zig +SourceType.zig +VM.zig +``` + +### 4.61 → `jsc/global/` + +``` +BunGlobalScope.cpp +BunGlobalScope.h +BunObject.cpp +BunObject.h +BunObject+exports.h +BunWorkerGlobalScope.cpp +BunWorkerGlobalScope.h +DOMWrapperWorld-class.h +DOMWrapperWorld.cpp +DOMWrapperWorld.h +JSDOMGlobalObject.cpp +JSDOMGlobalObject.h +ScriptExecutionContext.cpp +ScriptExecutionContext.h +ZigGeneratedCode.cpp +ZigGlobalObject.cpp +ZigGlobalObject.h +ZigGlobalObject.lut.txt +ZigLazyStaticFunctions-inlines.h +ZigLazyStaticFunctions.h +ZigSourceProvider.cpp +ZigSourceProvider.h +``` + +### 4.62 → `jsc/gc/` + +``` +bmalloc_heap_ref.h +BunGCOutputConstraint.cpp +BunGCOutputConstraint.h +GCDefferalContext.h +MarkingConstraint.cpp +MimallocWTFMalloc.h +StrongRef.cpp +StrongRef.h +Weak.cpp +WebCoreOpaqueRoot.h +WebCoreOpaqueRootInlines.h +WriteBarrierList.h +``` + +### 4.63 → `jsc/interop/` + +``` +ActiveDOMCallback.cpp +ActiveDOMCallback.h +Algo/Tuple.h +ares_build.h +Bindgen/ (entire directory) +Bindgen.h +BindgenCustomEnforceRange.h +bindings.cpp +BunClientData.cpp +BunClientData.h +BunIDLConvert.h +BunIDLConvertBase.h +BunIDLConvertBlob.h +BunIDLConvertContext.h +BunIDLConvertNumbers.h +BunIDLHumanReadable.h +BunIDLTypes.h +BunJSCEventLoop.cpp +c-bindings.cpp +CachedScript.h +CatchScopeBinding.cpp +ConcatCStrings.h +coroutine.cpp +CPUFeatures.cpp +CPUFeatures.zig +debug-helpers.h +DeleteCallbackDataTask.h +EventLoopTask.h +EventLoopTaskNoContext.cpp +EventLoopTaskNoContext.h +headers-cpp.h +headers-handwritten.h +headers.h +helpers.cpp +helpers.h +IDLTypes.h +inlines.cpp +JSDOMBinding.h +JSDOMConvertBufferSource+JSBuffer.h +JSDOMExceptionHandling.cpp +JSDOMExceptionHandling.h +JSDOMWrapper.cpp +JSDOMWrapper.h +JSDOMWrapperCache.cpp +JSDOMWrapperCache.h +JSPropertyIterator.cpp +JSBigIntBinding.cpp +JSCTaskScheduler.cpp +JSCTaskScheduler.h +JSSocketAddressDTO.cpp +JSSocketAddressDTO.h +JSWrappingFunction.cpp +JSWrappingFunction.h +MarkedArgumentBufferBinding.cpp +ObjectBindings.cpp +ObjectBindings.h +objects.cpp +objects.h +root.h +Serialization.cpp +Sink.h +sizes.zig +static_export.zig +StreamGlobals.h +workaround-missing-symbols.cpp +wtf-bindings.cpp +wtf-bindings.h +WTF.zig +ZigString.zig +``` + +### 4.64 → `jsc/generated/` + +``` +codegen.zig +generated_classes_list.zig +GeneratedBindings.zig +GeneratedJS2Native.zig +JS2Native.cpp +JS2Native.h +js_classes.ts +``` + +--- + +### 4.70 → `module/` + +``` +ImportMetaObject.cpp +ImportMetaObject.h +InternalModuleRegistry.cpp +InternalModuleRegistry.h +isBuiltinModule.cpp +isBuiltinModule.h +JSCommonJSExtensions.cpp +JSCommonJSExtensions.h +JSCommonJSModule.cpp +JSCommonJSModule.h +JSModuleLoader.zig +ModuleLoader.cpp +ModuleLoader.h +NodeModuleModule.bind.ts +NodeModuleModule.zig +``` + +--- + +### 4.80 → `src/string/` + +``` +bun-simdutf.cpp +bun-simdutf.zig +BunCommonStrings.cpp +BunCommonStrings.h +BunString.cpp +BunString.h +DoubleFormatter.cpp +highway_strings.cpp +MiString.h +StringAdaptors.h +StringBuilder.zig +StringBuilderBinding.cpp +stripANSI.cpp +stripANSI.h +``` + +--- + +### 4.90 → `src/bake/` + +``` +BakeAdditionsToGlobalObject.cpp +BakeAdditionsToGlobalObject.h +HTMLEntryPoint.cpp +JSBakeResponse.cpp +JSBakeResponse.h +``` + +--- + +## Step 5: Move remaining webcore C++ + +From `bindings/webcore/` to appropriate `web/` subdirectories: + +- DOM helpers → `web/dom/` +- Structured clone → `web/` +- Worker → `web/worker/` +- MIME → `web/mime/` +- etc. + +--- + +## Final Structure + +``` +src/ +├── transpiler/ # JS/TS transpiler +├── test_runner/ # bun:test +├── bundler/ # bun build +├── resolver/ # Module resolution +├── install/ # Package manager +├── css/ # CSS parser +├── shell/ # Bun.$ +├── bake/ # Bake framework +├── sql/ # SQL (mysql/, postgres/) +├── s3/ # S3 core +├── valkey/ # Valkey/Redis +├── http/ # HTTP client +├── string/ # String utilities +├── ast/ # AST types +├── js/ # TypeScript modules +│ +└── buntime/ # JavaScript runtime + ├── api/ # Bun.* APIs + │ ├── server/ + │ ├── console/ + │ ├── inspector/ + │ ├── error/ + │ ├── cookie/ + │ ├── s3/ + │ ├── ffi/ + │ ├── sqlite/ + │ ├── sql/ + │ ├── shell/ + │ ├── ipc/ + │ ├── plugin/ + │ ├── secrets/ + │ └── test/ + │ + ├── web/ # Web Standards + │ ├── fetch/ + │ ├── url/ + │ ├── blob/ + │ ├── encoding/ + │ ├── compression/ + │ ├── events/ + │ ├── streams/ + │ ├── performance/ + │ ├── websocket/ + │ └── webcrypto/ + │ + ├── node/ # Node.js Compatibility + │ ├── buffer/ + │ ├── process/ + │ ├── vm/ + │ ├── crypto/ + │ ├── http/ + │ ├── fs/ + │ ├── os/ + │ ├── path/ + │ ├── util/ + │ ├── timers/ + │ ├── async_hooks/ + │ ├── perf_hooks/ + │ └── constants/ + │ + ├── compat/ # Native Addon Compat + │ ├── napi/ + │ ├── v8/ + │ ├── libuv/ + │ └── windows/ + │ + ├── jsc/ # JSC Integration + │ ├── types/ + │ ├── global/ + │ ├── gc/ + │ ├── interop/ + │ └── generated/ + │ + ├── module/ # Module System + └── event_loop/ # Event Loop +``` + +--- + +## Key Principle: Namespace Imports + +Bun uses `@import("bun")` namespaces: + +```zig +const bun = @import("bun"); +bun.sys // Not @import("./sys.zig") +bun.shell // Not @import("./shell/shell.zig") +``` + +Most code won't break - just update `bun.zig` exports. + +--- + +## Verification + +After each step: + +```bash +bun bd 2>&1 > out.txt | cat out.txt | head -50 +``` + +--- + +## Don't Forget + +1. **Strings go to `src/string/`** - simdutf, highway_strings, etc. +2. **RegularExpression goes to `jsc/types/`** - it's JSC-related +3. **S3 is a Bun API** → `api/s3/`, not `web/s3/` +4. **`webcrypto/` not `crypto/`** in web/ - distinguishes from node/crypto/ +5. **Keep `module/` flat** - no subdirectories needed +6. **bun-spawn.cpp, spawn.cpp** → `api/bun/spawn/` diff --git a/build.zig b/build.zig index cea24a8dfe..acd95d5a4a 100644 --- a/build.zig +++ b/build.zig @@ -42,7 +42,7 @@ const BunBuildOptions = struct { /// is set (to allow CI to build a portable executable). Affected files: /// /// - src/bake/runtime.ts (bundled) - /// - src/bun.js/api/FFI.h + /// - src/buntime/api/FFI.h /// /// A similar technique is used in C++ code for JavaScript builtins codegen_embed: bool = false, diff --git a/cmake/Sources.json b/cmake/Sources.json index 5ae4930693..2f9046a60f 100644 --- a/cmake/Sources.json +++ b/cmake/Sources.json @@ -9,7 +9,7 @@ }, { "output": "ZigGeneratedClassesSources.txt", - "paths": ["src/bun.js/*.classes.ts", "src/bun.js/{api,node,test,webcore}/*.classes.ts"] + "paths": ["src/buntime/*.classes.ts", "src/buntime/{api,node,test,webcore}/*.classes.ts"] }, { "output": "JavaScriptSources.txt", @@ -47,17 +47,17 @@ "output": "CxxSources.txt", "paths": [ "src/io/*.cpp", - "src/bun.js/modules/*.cpp", - "src/bun.js/bindings/*.cpp", - "src/bun.js/bindings/webcore/*.cpp", - "src/bun.js/bindings/sqlite/*.cpp", - "src/bun.js/bindings/webcrypto/*.cpp", - "src/bun.js/bindings/webcrypto/*/*.cpp", - "src/bun.js/bindings/node/*.cpp", - "src/bun.js/bindings/node/crypto/*.cpp", - "src/bun.js/bindings/node/http/*.cpp", - "src/bun.js/bindings/v8/*.cpp", - "src/bun.js/bindings/v8/shim/*.cpp", + "src/buntime/modules/*.cpp", + "src/buntime/bindings/*.cpp", + "src/buntime/bindings/webcore/*.cpp", + "src/buntime/bindings/sqlite/*.cpp", + "src/buntime/bindings/webcrypto/*.cpp", + "src/buntime/bindings/webcrypto/*/*.cpp", + "src/buntime/bindings/node/*.cpp", + "src/buntime/bindings/node/crypto/*.cpp", + "src/buntime/bindings/node/http/*.cpp", + "src/buntime/bindings/v8/*.cpp", + "src/buntime/bindings/v8/shim/*.cpp", "src/bake/*.cpp", "src/deps/*.cpp", "src/vm/*.cpp", @@ -71,10 +71,10 @@ "packages/bun-usockets/src/eventing/*.c", "packages/bun-usockets/src/internal/*.c", "packages/bun-usockets/src/crypto/*.c", - "src/bun.js/bindings/uv-posix-polyfills.c", - "src/bun.js/bindings/uv-posix-stubs.c", + "src/buntime/bindings/uv-posix-polyfills.c", + "src/buntime/bindings/uv-posix-stubs.c", "src/*.c", - "src/bun.js/bindings/node/http/llhttp/*.c" + "src/buntime/bindings/node/http/llhttp/*.c" ] } ] diff --git a/cmake/analysis/RunClangFormat.cmake b/cmake/analysis/RunClangFormat.cmake index f290116b53..1f7b404a0a 100644 --- a/cmake/analysis/RunClangFormat.cmake +++ b/cmake/analysis/RunClangFormat.cmake @@ -1,8 +1,8 @@ # https://clang.llvm.org/docs/ClangFormat.html file(GLOB BUN_H_SOURCES LIST_DIRECTORIES false ${CONFIGURE_DEPENDS} - ${CWD}/src/bun.js/bindings/*.h - ${CWD}/src/bun.js/modules/*.h + ${CWD}/src/buntime/bindings/*.h + ${CWD}/src/buntime/modules/*.h ) set(CLANG_FORMAT_SOURCES ${BUN_C_SOURCES} ${BUN_CXX_SOURCES} ${BUN_H_SOURCES}) diff --git a/cmake/targets/BuildBun.cmake b/cmake/targets/BuildBun.cmake index 74580efaf9..3f11778990 100644 --- a/cmake/targets/BuildBun.cmake +++ b/cmake/targets/BuildBun.cmake @@ -225,9 +225,9 @@ set(BUN_ERROR_CODE_SCRIPT ${CWD}/src/codegen/generate-node-errors.ts) set(BUN_ERROR_CODE_SOURCES ${BUN_ERROR_CODE_SCRIPT} - ${CWD}/src/bun.js/bindings/ErrorCode.ts - ${CWD}/src/bun.js/bindings/ErrorCode.cpp - ${CWD}/src/bun.js/bindings/ErrorCode.h + ${CWD}/src/buntime/bindings/ErrorCode.ts + ${CWD}/src/buntime/bindings/ErrorCode.cpp + ${CWD}/src/buntime/bindings/ErrorCode.h ) set(BUN_ERROR_CODE_OUTPUTS @@ -295,7 +295,7 @@ absolute_sources(BUN_JAVASCRIPT_SOURCES ${CWD}/cmake/sources/JavaScriptSources.t absolute_sources(BUN_JAVASCRIPT_CODEGEN_SOURCES ${CWD}/cmake/sources/JavaScriptCodegenSources.txt) list(APPEND BUN_JAVASCRIPT_CODEGEN_SOURCES - ${CWD}/src/bun.js/bindings/InternalModuleRegistry.cpp + ${CWD}/src/buntime/bindings/InternalModuleRegistry.cpp ) set(BUN_JAVASCRIPT_OUTPUTS @@ -310,7 +310,7 @@ set(BUN_JAVASCRIPT_OUTPUTS ${CODEGEN_PATH}/SyntheticModuleType.h ${CODEGEN_PATH}/GeneratedJS2Native.h # Zig will complain if files are outside of the source directory - ${CWD}/src/bun.js/bindings/GeneratedJS2Native.zig + ${CWD}/src/buntime/bindings/GeneratedJS2Native.zig ) set(BUN_CPP_OUTPUTS @@ -377,7 +377,7 @@ set(BUN_BAKE_RUNTIME_CODEGEN_SCRIPT ${CWD}/src/codegen/bake-codegen.ts) absolute_sources(BUN_BAKE_RUNTIME_SOURCES ${CWD}/cmake/sources/BakeRuntimeSources.txt) list(APPEND BUN_BAKE_RUNTIME_CODEGEN_SOURCES - ${CWD}/src/bun.js/bindings/InternalModuleRegistry.cpp + ${CWD}/src/buntime/bindings/InternalModuleRegistry.cpp ) set(BUN_BAKE_RUNTIME_OUTPUTS @@ -462,7 +462,7 @@ set(BUN_BINDGEN_CPP_OUTPUTS ) set(BUN_BINDGEN_ZIG_OUTPUTS - ${CWD}/src/bun.js/bindings/GeneratedBindings.zig + ${CWD}/src/buntime/bindings/GeneratedBindings.zig ) register_command( @@ -516,16 +516,16 @@ register_command( set(BUN_OBJECT_LUT_SCRIPT ${CWD}/src/codegen/create-hash-table.ts) set(BUN_OBJECT_LUT_SOURCES - ${CWD}/src/bun.js/bindings/BunObject.cpp - ${CWD}/src/bun.js/bindings/ZigGlobalObject.lut.txt - ${CWD}/src/bun.js/bindings/JSBuffer.cpp - ${CWD}/src/bun.js/bindings/BunProcess.cpp - ${CWD}/src/bun.js/bindings/ProcessBindingBuffer.cpp - ${CWD}/src/bun.js/bindings/ProcessBindingConstants.cpp - ${CWD}/src/bun.js/bindings/ProcessBindingFs.cpp - ${CWD}/src/bun.js/bindings/ProcessBindingNatives.cpp - ${CWD}/src/bun.js/bindings/ProcessBindingHTTPParser.cpp - ${CWD}/src/bun.js/modules/NodeModuleModule.cpp + ${CWD}/src/buntime/bindings/BunObject.cpp + ${CWD}/src/buntime/bindings/ZigGlobalObject.lut.txt + ${CWD}/src/buntime/bindings/JSBuffer.cpp + ${CWD}/src/buntime/bindings/BunProcess.cpp + ${CWD}/src/buntime/bindings/ProcessBindingBuffer.cpp + ${CWD}/src/buntime/bindings/ProcessBindingConstants.cpp + ${CWD}/src/buntime/bindings/ProcessBindingFs.cpp + ${CWD}/src/buntime/bindings/ProcessBindingNatives.cpp + ${CWD}/src/buntime/bindings/ProcessBindingHTTPParser.cpp + ${CWD}/src/buntime/modules/NodeModuleModule.cpp ${CODEGEN_PATH}/ZigGeneratedClasses.lut.txt ) @@ -591,24 +591,24 @@ foreach(i RANGE 0 ${BUN_OBJECT_LUT_SOURCES_MAX_INDEX}) endforeach() WEBKIT_ADD_SOURCE_DEPENDENCIES( - ${CWD}/src/bun.js/bindings/ErrorCode.cpp + ${CWD}/src/buntime/bindings/ErrorCode.cpp ${CODEGEN_PATH}/ErrorCode+List.h ) WEBKIT_ADD_SOURCE_DEPENDENCIES( - ${CWD}/src/bun.js/bindings/ErrorCode.h + ${CWD}/src/buntime/bindings/ErrorCode.h ${CODEGEN_PATH}/ErrorCode+Data.h ) WEBKIT_ADD_SOURCE_DEPENDENCIES( - ${CWD}/src/bun.js/bindings/ZigGlobalObject.cpp + ${CWD}/src/buntime/bindings/ZigGlobalObject.cpp ${CODEGEN_PATH}/ZigGlobalObject.lut.h ) WEBKIT_ADD_SOURCE_DEPENDENCIES( - ${CWD}/src/bun.js/bindings/InternalModuleRegistry.cpp + ${CWD}/src/buntime/bindings/InternalModuleRegistry.cpp ${CODEGEN_PATH}/InternalModuleRegistryConstants.h ) @@ -727,8 +727,8 @@ set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "build.zig") set(BUN_USOCKETS_SOURCE ${CWD}/packages/bun-usockets) if(WIN32) - list(APPEND BUN_CXX_SOURCES ${CWD}/src/bun.js/bindings/windows/rescle.cpp) - list(APPEND BUN_CXX_SOURCES ${CWD}/src/bun.js/bindings/windows/rescle-binding.cpp) + list(APPEND BUN_CXX_SOURCES ${CWD}/src/buntime/bindings/windows/rescle.cpp) + list(APPEND BUN_CXX_SOURCES ${CWD}/src/buntime/bindings/windows/rescle-binding.cpp) endif() register_repository( @@ -843,7 +843,7 @@ if (NOT WIN32) # 2. In CI AND BUN_CPP_ONLY is enabled if(NOT CI OR (CI AND BUN_CPP_ONLY)) target_precompile_headers(${bun} PRIVATE - "$<$:${CWD}/src/bun.js/bindings/root.h>" + "$<$:${CWD}/src/buntime/bindings/root.h>" ) endif() endif() @@ -851,21 +851,21 @@ endif() # --- C/C++ Includes --- if(WIN32) - target_include_directories(${bun} PRIVATE ${CWD}/src/bun.js/bindings/windows) + target_include_directories(${bun} PRIVATE ${CWD}/src/buntime/bindings/windows) endif() target_include_directories(${bun} PRIVATE ${CWD}/packages ${CWD}/packages/bun-usockets ${CWD}/packages/bun-usockets/src - ${CWD}/src/bun.js/bindings - ${CWD}/src/bun.js/bindings/webcore - ${CWD}/src/bun.js/bindings/webcrypto - ${CWD}/src/bun.js/bindings/node/crypto - ${CWD}/src/bun.js/bindings/node/http - ${CWD}/src/bun.js/bindings/sqlite - ${CWD}/src/bun.js/bindings/v8 - ${CWD}/src/bun.js/modules + ${CWD}/src/buntime/bindings + ${CWD}/src/buntime/bindings/webcore + ${CWD}/src/buntime/bindings/webcrypto + ${CWD}/src/buntime/bindings/node/crypto + ${CWD}/src/buntime/bindings/node/http + ${CWD}/src/buntime/bindings/sqlite + ${CWD}/src/buntime/bindings/v8 + ${CWD}/src/buntime/modules ${CWD}/src/js/builtins ${CWD}/src/napi ${CWD}/src/deps @@ -878,7 +878,7 @@ target_include_directories(${bun} PRIVATE ) if(NOT WIN32) - target_include_directories(${bun} PRIVATE ${CWD}/src/bun.js/bindings/libuv) + target_include_directories(${bun} PRIVATE ${CWD}/src/buntime/bindings/libuv) endif() if(LINUX) diff --git a/cmake/targets/BuildSQLite.cmake b/cmake/targets/BuildSQLite.cmake index ce4cd8da24..53425d7c42 100644 --- a/cmake/targets/BuildSQLite.cmake +++ b/cmake/targets/BuildSQLite.cmake @@ -2,7 +2,7 @@ register_cmake_command( TARGET sqlite CWD - ${CWD}/src/bun.js/bindings/sqlite + ${CWD}/src/buntime/bindings/sqlite LIBRARIES sqlite3 INCLUDES diff --git a/cmake/tools/SetupBun.cmake b/cmake/tools/SetupBun.cmake index 3cb77ff4be..16b0fb631f 100644 --- a/cmake/tools/SetupBun.cmake +++ b/cmake/tools/SetupBun.cmake @@ -18,7 +18,7 @@ if (NOT CI) endif() # If this is not set, some advanced features are not checked. -# https://github.com/oven-sh/bun/blob/cd7f6a1589db7f1e39dc4e3f4a17234afbe7826c/src/bun.js/javascript.zig#L1069-L1072 +# https://github.com/oven-sh/bun/blob/cd7f6a1589db7f1e39dc4e3f4a17234afbe7826c/src/buntime/javascript.zig#L1069-L1072 setenv(BUN_GARBAGE_COLLECTOR_LEVEL 1) setenv(BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING 1) setenv(BUN_DEBUG_QUIET_LOGS 1) diff --git a/package.json b/package.json index 3284a54a31..0fc4a96dc3 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "build:debug-zig-release": "cmake . -DCMAKE_BUILD_TYPE=Release -DZIG_OPTIMIZE=Debug -GNinja -Bbuild-debug-zig-release && ninja -Cbuild-debug-zig-release", "run:linux": "docker run --rm -v \"$PWD:/root/bun/\" -w /root/bun ghcr.io/oven-sh/bun-development-docker-image", "css-properties": "bun run src/css/properties/generate_properties.ts", - "uv-posix-stubs": "bun run src/bun.js/bindings/libuv/generate_uv_posix_stubs.ts", + "uv-posix-stubs": "bun run src/buntime/bindings/libuv/generate_uv_posix_stubs.ts", "bump": "bun ./scripts/bump.ts", "jsc:build": "bun ./scripts/build-jsc.ts release", "jsc:build:debug": "bun ./scripts/build-jsc.ts debug", diff --git a/src/AGENTS.md b/src/AGENTS.md deleted file mode 120000 index 681311eb9c..0000000000 --- a/src/AGENTS.md +++ /dev/null @@ -1 +0,0 @@ -CLAUDE.md \ No newline at end of file diff --git a/src/AGENTS.md b/src/AGENTS.md new file mode 100644 index 0000000000..7b394aa69f --- /dev/null +++ b/src/AGENTS.md @@ -0,0 +1,11 @@ +## Zig + +Syntax reminders: + +- Private fields are fully supported in Zig with the `#` prefix. `struct { #foo: u32 };` makes a struct with a private field named `#foo`. +- Decl literals in Zig are recommended. `const decl: Decl = .{ .binding = 0, .value = 0 };` + +Conventions: + +- Prefer `@import` at the **bottom** of the file, but the auto formatter will move them so you don't need to worry about it. +- You must be patient with the build. diff --git a/src/boringssl.zig b/src/boringssl.zig index 16e2d500d7..83688bdcac 100644 --- a/src/boringssl.zig +++ b/src/boringssl.zig @@ -219,7 +219,7 @@ pub fn ERR_toJS(globalThis: *jsc.JSGlobalObject, err_code: u32) jsc.JSValue { return globalThis.ERR(.BORINGSSL, "{s}", .{error_message}).toJS(); } -const X509 = @import("./bun.js/api/bun/x509.zig"); +const X509 = @import("./buntime/api/bun/x509.zig"); const boring = @import("./deps/boringssl.translated.zig"); const builtin = @import("builtin"); const c_ares = @import("./deps/c_ares.zig"); diff --git a/src/bun.js.zig b/src/bun.js.zig index bcd1af82d4..633a9e4bb6 100644 --- a/src/bun.js.zig +++ b/src/bun.js.zig @@ -1,7 +1,7 @@ -pub const jsc = @import("./bun.js/jsc.zig"); -pub const webcore = @import("./bun.js/webcore.zig"); -pub const api = @import("./bun.js/api.zig"); -pub const bindgen = @import("./bun.js/bindgen.zig"); +pub const jsc = @import("./buntime/jsc.zig"); +pub const webcore = @import("./buntime/webcore.zig"); +pub const api = @import("./buntime/api.zig"); +pub const bindgen = @import("./buntime/bindgen.zig"); pub const Run = struct { ctx: Command.Context, @@ -147,7 +147,7 @@ pub const Run = struct { var bundle = try bun.Transpiler.init( ctx.allocator, ctx.log, - try @import("./bun.js/config.zig").configureTransformOptionsForBunVM(ctx.allocator, ctx.args), + try @import("./buntime/config.zig").configureTransformOptionsForBunVM(ctx.allocator, ctx.args), null, ); try bundle.runEnvLoader(bundle.options.env.disable_default_env_files); @@ -496,7 +496,7 @@ pub const Run = struct { bun.api.napi.fixDeadCodeElimination(); bun.webcore.BakeResponse.fixDeadCodeElimination(); bun.crash_handler.fixDeadCodeElimination(); - @import("./bun.js/bindings/JSSecrets.zig").fixDeadCodeElimination(); + @import("./buntime/bindings/JSSecrets.zig").fixDeadCodeElimination(); vm.globalExit(); } @@ -551,7 +551,7 @@ const VirtualMachine = jsc.VirtualMachine; const string = []const u8; -const CPUProfiler = @import("./bun.js/bindings/BunCPUProfiler.zig"); +const CPUProfiler = @import("./buntime/bindings/BunCPUProfiler.zig"); const options = @import("./options.zig"); const std = @import("std"); const Command = @import("./cli.zig").Command; diff --git a/src/bun.js/bindings/v8/AGENTS.md b/src/bun.js/bindings/v8/AGENTS.md deleted file mode 120000 index 681311eb9c..0000000000 --- a/src/bun.js/bindings/v8/AGENTS.md +++ /dev/null @@ -1 +0,0 @@ -CLAUDE.md \ No newline at end of file diff --git a/src/bun.zig b/src/bun.zig index ca572ae8af..1b6b8c68b3 100644 --- a/src/bun.zig +++ b/src/bun.zig @@ -198,19 +198,19 @@ pub const meta = @import("./meta.zig"); pub const base64 = @import("./base64/base64.zig"); pub const path = @import("./resolver/resolve_path.zig"); pub const resolver = @import("./resolver/resolver.zig"); -pub const DirIterator = @import("./bun.js/node/dir_iterator.zig"); +pub const DirIterator = @import("./buntime/node/dir_iterator.zig"); pub const PackageJSON = @import("./resolver/package_json.zig").PackageJSON; pub const fmt = @import("./fmt.zig"); // This file is gennerated, but cant be placed in the build/debug/codegen // folder because zig will complain about outside-of-module stuff /// All functions and interfaces provided from Bun's `bindgen` utility. -pub const gen = @import("./bun.js/bindings/GeneratedBindings.zig"); +pub const gen = @import("./buntime/bindings/GeneratedBindings.zig"); comptime { // This file is gennerated, but cant be placed in the build/debug/codegen // folder because zig will complain about outside-of-module stuff - _ = &@import("./bun.js/bindings/GeneratedJS2Native.zig"); + _ = &@import("./buntime/bindings/GeneratedJS2Native.zig"); _ = &gen; // reference bindings } @@ -231,7 +231,7 @@ pub const bits = @import("./bits.zig"); pub const css = @import("./css/css_parser.zig"); pub const SmallList = css.SmallList; pub const csrf = @import("./csrf.zig"); -pub const validators = @import("./bun.js/node/util/validators.zig"); +pub const validators = @import("./buntime/node/util/validators.zig"); pub const shell = @import("./shell/shell.zig"); @@ -731,7 +731,7 @@ pub const LOLHTML = @import("./deps/lol-html.zig"); pub const clap = @import("./deps/zig-clap/clap.zig"); pub const analytics = @import("./analytics.zig"); pub const zlib = @import("./zlib.zig"); -pub const simdutf = @import("./bun.js/bindings/bun-simdutf.zig"); +pub const simdutf = @import("./buntime/bindings/bun-simdutf.zig"); pub var start_time: i128 = 0; @@ -1380,7 +1380,7 @@ pub fn asByteSlice(buffer: anytype) []const u8 { } comptime { - _ = @import("./bun.js/node/buffer.zig").BufferVectorized.fill; + _ = @import("./buntime/node/buffer.zig").BufferVectorized.fill; _ = @import("./cli/upgrade_command.zig").Version; } @@ -2102,7 +2102,7 @@ pub fn initArgv(allocator: std.mem.Allocator) !void { } } -pub const spawn = @import("./bun.js/api/bun/spawn.zig").PosixSpawn; +pub const spawn = @import("./buntime/api/bun/spawn.zig").PosixSpawn; pub fn isRegularFile(mode: anytype) bool { return S.ISREG(@intCast(mode)); @@ -3304,7 +3304,7 @@ pub const timespec = extern struct { } }; -pub const UUID = @import("./bun.js/uuid.zig"); +pub const UUID = @import("./buntime/uuid.zig"); /// An abstract number of element in a sequence. The sequence has a first element. /// This type should be used instead of integer because 2 contradicting traditions can diff --git a/src/bun.js/AsyncModule.zig b/src/buntime/AsyncModule.zig similarity index 100% rename from src/bun.js/AsyncModule.zig rename to src/buntime/AsyncModule.zig diff --git a/src/bun.js/BuildMessage.zig b/src/buntime/BuildMessage.zig similarity index 100% rename from src/bun.js/BuildMessage.zig rename to src/buntime/BuildMessage.zig diff --git a/src/bun.js/ConsoleObject.zig b/src/buntime/ConsoleObject.zig similarity index 100% rename from src/bun.js/ConsoleObject.zig rename to src/buntime/ConsoleObject.zig diff --git a/src/bun.js/Counters.zig b/src/buntime/Counters.zig similarity index 100% rename from src/bun.js/Counters.zig rename to src/buntime/Counters.zig diff --git a/src/bun.js/Debugger.zig b/src/buntime/Debugger.zig similarity index 100% rename from src/bun.js/Debugger.zig rename to src/buntime/Debugger.zig diff --git a/src/bun.js/DeprecatedStrong.zig b/src/buntime/DeprecatedStrong.zig similarity index 100% rename from src/bun.js/DeprecatedStrong.zig rename to src/buntime/DeprecatedStrong.zig diff --git a/src/bun.js/HardcodedModule.zig b/src/buntime/HardcodedModule.zig similarity index 100% rename from src/bun.js/HardcodedModule.zig rename to src/buntime/HardcodedModule.zig diff --git a/src/bun.js/JSONLineBuffer.zig b/src/buntime/JSONLineBuffer.zig similarity index 100% rename from src/bun.js/JSONLineBuffer.zig rename to src/buntime/JSONLineBuffer.zig diff --git a/src/bun.js/ModuleLoader.zig b/src/buntime/ModuleLoader.zig similarity index 100% rename from src/bun.js/ModuleLoader.zig rename to src/buntime/ModuleLoader.zig diff --git a/src/bun.js/ProcessAutoKiller.zig b/src/buntime/ProcessAutoKiller.zig similarity index 100% rename from src/bun.js/ProcessAutoKiller.zig rename to src/buntime/ProcessAutoKiller.zig diff --git a/src/bun.js/ResolveMessage.zig b/src/buntime/ResolveMessage.zig similarity index 100% rename from src/bun.js/ResolveMessage.zig rename to src/buntime/ResolveMessage.zig diff --git a/src/bun.js/RuntimeTranspilerCache.zig b/src/buntime/RuntimeTranspilerCache.zig similarity index 100% rename from src/bun.js/RuntimeTranspilerCache.zig rename to src/buntime/RuntimeTranspilerCache.zig diff --git a/src/bun.js/RuntimeTranspilerStore.zig b/src/buntime/RuntimeTranspilerStore.zig similarity index 100% rename from src/bun.js/RuntimeTranspilerStore.zig rename to src/buntime/RuntimeTranspilerStore.zig diff --git a/src/bun.js/STREAMS.md b/src/buntime/STREAMS.md similarity index 99% rename from src/bun.js/STREAMS.md rename to src/buntime/STREAMS.md index 8199e29a87..dd6c8f0778 100644 --- a/src/bun.js/STREAMS.md +++ b/src/buntime/STREAMS.md @@ -40,7 +40,7 @@ Identifying the _source_ of a `ReadableStream` at the native level unlocks many - **Identification:** A C++ binding, `ReadableStreamTag__tagged` (from `ReadableStream.zig`), is the primary entry point for this identification. When native code needs to consume a stream (e.g., when sending a `Response` body), it calls this function on the JS `ReadableStream` object to determine its origin. ```zig -// src/bun.js/webcore/ReadableStream.zig +// src/buntime/webcore/ReadableStream.zig pub const Tag = enum(i32) { JavaScript = 0, // A generic, user-defined stream. This is the "slow path". Blob = 1, // An in-memory blob. Fast path available. diff --git a/src/bun.js/SavedSourceMap.zig b/src/buntime/SavedSourceMap.zig similarity index 100% rename from src/bun.js/SavedSourceMap.zig rename to src/buntime/SavedSourceMap.zig diff --git a/src/bun.js/Strong.zig b/src/buntime/Strong.zig similarity index 100% rename from src/bun.js/Strong.zig rename to src/buntime/Strong.zig diff --git a/src/bun.js/VirtualMachine.zig b/src/buntime/VirtualMachine.zig similarity index 100% rename from src/bun.js/VirtualMachine.zig rename to src/buntime/VirtualMachine.zig diff --git a/src/bun.js/Weak.zig b/src/buntime/Weak.zig similarity index 100% rename from src/bun.js/Weak.zig rename to src/buntime/Weak.zig diff --git a/src/bun.js/api.zig b/src/buntime/api.zig similarity index 100% rename from src/bun.js/api.zig rename to src/buntime/api.zig diff --git a/src/bun.js/api/BunObject.bind.ts b/src/buntime/api/BunObject.bind.ts similarity index 100% rename from src/bun.js/api/BunObject.bind.ts rename to src/buntime/api/BunObject.bind.ts diff --git a/src/bun.js/api/BunObject.classes.ts b/src/buntime/api/BunObject.classes.ts similarity index 100% rename from src/bun.js/api/BunObject.classes.ts rename to src/buntime/api/BunObject.classes.ts diff --git a/src/bun.js/api/BunObject.zig b/src/buntime/api/BunObject.zig similarity index 100% rename from src/bun.js/api/BunObject.zig rename to src/buntime/api/BunObject.zig diff --git a/src/bun.js/api/FFI.h b/src/buntime/api/FFI.h similarity index 99% rename from src/bun.js/api/FFI.h rename to src/buntime/api/FFI.h index bdd032dc0a..50e452694b 100644 --- a/src/bun.js/api/FFI.h +++ b/src/buntime/api/FFI.h @@ -1,6 +1,6 @@ // This file is part of Bun! // You can find the original source: -// https://github.com/oven-sh/bun/blob/main/src/bun.js/api/FFI.h +// https://github.com/oven-sh/bun/blob/main/src/buntime/api/FFI.h // // clang-format off // This file is only compatible with 64 bit CPUs diff --git a/src/bun.js/api/FFIObject.zig b/src/buntime/api/FFIObject.zig similarity index 100% rename from src/bun.js/api/FFIObject.zig rename to src/buntime/api/FFIObject.zig diff --git a/src/bun.js/api/Glob.classes.ts b/src/buntime/api/Glob.classes.ts similarity index 100% rename from src/bun.js/api/Glob.classes.ts rename to src/buntime/api/Glob.classes.ts diff --git a/src/bun.js/api/HashObject.zig b/src/buntime/api/HashObject.zig similarity index 100% rename from src/bun.js/api/HashObject.zig rename to src/buntime/api/HashObject.zig diff --git a/src/bun.js/api/JSBundler.classes.ts b/src/buntime/api/JSBundler.classes.ts similarity index 100% rename from src/bun.js/api/JSBundler.classes.ts rename to src/buntime/api/JSBundler.classes.ts diff --git a/src/bun.js/api/JSBundler.zig b/src/buntime/api/JSBundler.zig similarity index 100% rename from src/bun.js/api/JSBundler.zig rename to src/buntime/api/JSBundler.zig diff --git a/src/bun.js/api/JSTranspiler.zig b/src/buntime/api/JSTranspiler.zig similarity index 100% rename from src/bun.js/api/JSTranspiler.zig rename to src/buntime/api/JSTranspiler.zig diff --git a/src/bun.js/api/ParsedShellScript.classes.ts b/src/buntime/api/ParsedShellScript.classes.ts similarity index 100% rename from src/bun.js/api/ParsedShellScript.classes.ts rename to src/buntime/api/ParsedShellScript.classes.ts diff --git a/src/bun.js/api/ResumableSink.classes.ts b/src/buntime/api/ResumableSink.classes.ts similarity index 100% rename from src/bun.js/api/ResumableSink.classes.ts rename to src/buntime/api/ResumableSink.classes.ts diff --git a/src/bun.js/api/S3Client.classes.ts b/src/buntime/api/S3Client.classes.ts similarity index 100% rename from src/bun.js/api/S3Client.classes.ts rename to src/buntime/api/S3Client.classes.ts diff --git a/src/bun.js/api/S3Stat.classes.ts b/src/buntime/api/S3Stat.classes.ts similarity index 100% rename from src/bun.js/api/S3Stat.classes.ts rename to src/buntime/api/S3Stat.classes.ts diff --git a/src/bun.js/api/Shell.classes.ts b/src/buntime/api/Shell.classes.ts similarity index 100% rename from src/bun.js/api/Shell.classes.ts rename to src/buntime/api/Shell.classes.ts diff --git a/src/bun.js/api/TOMLObject.zig b/src/buntime/api/TOMLObject.zig similarity index 100% rename from src/bun.js/api/TOMLObject.zig rename to src/buntime/api/TOMLObject.zig diff --git a/src/bun.js/api/Terminal.classes.ts b/src/buntime/api/Terminal.classes.ts similarity index 100% rename from src/bun.js/api/Terminal.classes.ts rename to src/buntime/api/Terminal.classes.ts diff --git a/src/bun.js/api/Timer.zig b/src/buntime/api/Timer.zig similarity index 100% rename from src/bun.js/api/Timer.zig rename to src/buntime/api/Timer.zig diff --git a/src/bun.js/api/Timer/DateHeaderTimer.zig b/src/buntime/api/Timer/DateHeaderTimer.zig similarity index 100% rename from src/bun.js/api/Timer/DateHeaderTimer.zig rename to src/buntime/api/Timer/DateHeaderTimer.zig diff --git a/src/bun.js/api/Timer/EventLoopDelayMonitor.zig b/src/buntime/api/Timer/EventLoopDelayMonitor.zig similarity index 100% rename from src/bun.js/api/Timer/EventLoopDelayMonitor.zig rename to src/buntime/api/Timer/EventLoopDelayMonitor.zig diff --git a/src/bun.js/api/Timer/EventLoopTimer.zig b/src/buntime/api/Timer/EventLoopTimer.zig similarity index 100% rename from src/bun.js/api/Timer/EventLoopTimer.zig rename to src/buntime/api/Timer/EventLoopTimer.zig diff --git a/src/bun.js/api/Timer/ImmediateObject.zig b/src/buntime/api/Timer/ImmediateObject.zig similarity index 100% rename from src/bun.js/api/Timer/ImmediateObject.zig rename to src/buntime/api/Timer/ImmediateObject.zig diff --git a/src/bun.js/api/Timer/TimeoutObject.zig b/src/buntime/api/Timer/TimeoutObject.zig similarity index 100% rename from src/bun.js/api/Timer/TimeoutObject.zig rename to src/buntime/api/Timer/TimeoutObject.zig diff --git a/src/bun.js/api/Timer/TimerObjectInternals.zig b/src/buntime/api/Timer/TimerObjectInternals.zig similarity index 100% rename from src/bun.js/api/Timer/TimerObjectInternals.zig rename to src/buntime/api/Timer/TimerObjectInternals.zig diff --git a/src/bun.js/api/Timer/WTFTimer.zig b/src/buntime/api/Timer/WTFTimer.zig similarity index 100% rename from src/bun.js/api/Timer/WTFTimer.zig rename to src/buntime/api/Timer/WTFTimer.zig diff --git a/src/bun.js/api/UnsafeObject.zig b/src/buntime/api/UnsafeObject.zig similarity index 100% rename from src/bun.js/api/UnsafeObject.zig rename to src/buntime/api/UnsafeObject.zig diff --git a/src/bun.js/api/YAMLObject.zig b/src/buntime/api/YAMLObject.zig similarity index 100% rename from src/bun.js/api/YAMLObject.zig rename to src/buntime/api/YAMLObject.zig diff --git a/src/bun.js/api/bun/Terminal.zig b/src/buntime/api/bun/Terminal.zig similarity index 100% rename from src/bun.js/api/bun/Terminal.zig rename to src/buntime/api/bun/Terminal.zig diff --git a/src/bun.js/api/bun/dns.zig b/src/buntime/api/bun/dns.zig similarity index 100% rename from src/bun.js/api/bun/dns.zig rename to src/buntime/api/bun/dns.zig diff --git a/src/bun.js/api/bun/h2_frame_parser.zig b/src/buntime/api/bun/h2_frame_parser.zig similarity index 100% rename from src/bun.js/api/bun/h2_frame_parser.zig rename to src/buntime/api/bun/h2_frame_parser.zig diff --git a/src/bun.js/api/bun/js_bun_spawn_bindings.zig b/src/buntime/api/bun/js_bun_spawn_bindings.zig similarity index 100% rename from src/bun.js/api/bun/js_bun_spawn_bindings.zig rename to src/buntime/api/bun/js_bun_spawn_bindings.zig diff --git a/src/bun.js/api/bun/lshpack.zig b/src/buntime/api/bun/lshpack.zig similarity index 97% rename from src/bun.js/api/bun/lshpack.zig rename to src/buntime/api/bun/lshpack.zig index 1415f3d590..ec168ba323 100644 --- a/src/bun.js/api/bun/lshpack.zig +++ b/src/buntime/api/bun/lshpack.zig @@ -7,7 +7,7 @@ const lshpack_header = extern struct { hpack_index: u16 = 255, }; -/// wrapper implemented at src/bun.js/bindings/c-bindings.cpp +/// wrapper implemented at src/buntime/bindings/c-bindings.cpp pub const HPACK = extern struct { self: *anyopaque, diff --git a/src/bun.js/api/bun/process.zig b/src/buntime/api/bun/process.zig similarity index 100% rename from src/bun.js/api/bun/process.zig rename to src/buntime/api/bun/process.zig diff --git a/src/bun.js/api/bun/socket.zig b/src/buntime/api/bun/socket.zig similarity index 100% rename from src/bun.js/api/bun/socket.zig rename to src/buntime/api/bun/socket.zig diff --git a/src/bun.js/api/bun/socket/Handlers.zig b/src/buntime/api/bun/socket/Handlers.zig similarity index 100% rename from src/bun.js/api/bun/socket/Handlers.zig rename to src/buntime/api/bun/socket/Handlers.zig diff --git a/src/bun.js/api/bun/socket/Listener.zig b/src/buntime/api/bun/socket/Listener.zig similarity index 100% rename from src/bun.js/api/bun/socket/Listener.zig rename to src/buntime/api/bun/socket/Listener.zig diff --git a/src/bun.js/api/bun/socket/SocketAddress.zig b/src/buntime/api/bun/socket/SocketAddress.zig similarity index 100% rename from src/bun.js/api/bun/socket/SocketAddress.zig rename to src/buntime/api/bun/socket/SocketAddress.zig diff --git a/src/bun.js/api/bun/socket/SocketConfig.bindv2.ts b/src/buntime/api/bun/socket/SocketConfig.bindv2.ts similarity index 100% rename from src/bun.js/api/bun/socket/SocketConfig.bindv2.ts rename to src/buntime/api/bun/socket/SocketConfig.bindv2.ts diff --git a/src/bun.js/api/bun/socket/WindowsNamedPipeContext.zig b/src/buntime/api/bun/socket/WindowsNamedPipeContext.zig similarity index 100% rename from src/bun.js/api/bun/socket/WindowsNamedPipeContext.zig rename to src/buntime/api/bun/socket/WindowsNamedPipeContext.zig diff --git a/src/bun.js/api/bun/socket/tls_socket_functions.zig b/src/buntime/api/bun/socket/tls_socket_functions.zig similarity index 100% rename from src/bun.js/api/bun/socket/tls_socket_functions.zig rename to src/buntime/api/bun/socket/tls_socket_functions.zig diff --git a/src/bun.js/api/bun/spawn.zig b/src/buntime/api/bun/spawn.zig similarity index 100% rename from src/bun.js/api/bun/spawn.zig rename to src/buntime/api/bun/spawn.zig diff --git a/src/bun.js/api/bun/spawn/stdio.zig b/src/buntime/api/bun/spawn/stdio.zig similarity index 100% rename from src/bun.js/api/bun/spawn/stdio.zig rename to src/buntime/api/bun/spawn/stdio.zig diff --git a/src/bun.js/api/bun/ssl_wrapper.zig b/src/buntime/api/bun/ssl_wrapper.zig similarity index 100% rename from src/bun.js/api/bun/ssl_wrapper.zig rename to src/buntime/api/bun/ssl_wrapper.zig diff --git a/src/bun.js/api/bun/subprocess.zig b/src/buntime/api/bun/subprocess.zig similarity index 100% rename from src/bun.js/api/bun/subprocess.zig rename to src/buntime/api/bun/subprocess.zig diff --git a/src/bun.js/api/bun/subprocess/Readable.zig b/src/buntime/api/bun/subprocess/Readable.zig similarity index 100% rename from src/bun.js/api/bun/subprocess/Readable.zig rename to src/buntime/api/bun/subprocess/Readable.zig diff --git a/src/bun.js/api/bun/subprocess/ResourceUsage.zig b/src/buntime/api/bun/subprocess/ResourceUsage.zig similarity index 100% rename from src/bun.js/api/bun/subprocess/ResourceUsage.zig rename to src/buntime/api/bun/subprocess/ResourceUsage.zig diff --git a/src/bun.js/api/bun/subprocess/StaticPipeWriter.zig b/src/buntime/api/bun/subprocess/StaticPipeWriter.zig similarity index 100% rename from src/bun.js/api/bun/subprocess/StaticPipeWriter.zig rename to src/buntime/api/bun/subprocess/StaticPipeWriter.zig diff --git a/src/bun.js/api/bun/subprocess/SubprocessPipeReader.zig b/src/buntime/api/bun/subprocess/SubprocessPipeReader.zig similarity index 100% rename from src/bun.js/api/bun/subprocess/SubprocessPipeReader.zig rename to src/buntime/api/bun/subprocess/SubprocessPipeReader.zig diff --git a/src/bun.js/api/bun/subprocess/Writable.zig b/src/buntime/api/bun/subprocess/Writable.zig similarity index 100% rename from src/bun.js/api/bun/subprocess/Writable.zig rename to src/buntime/api/bun/subprocess/Writable.zig diff --git a/src/bun.js/api/bun/udp_socket.zig b/src/buntime/api/bun/udp_socket.zig similarity index 100% rename from src/bun.js/api/bun/udp_socket.zig rename to src/buntime/api/bun/udp_socket.zig diff --git a/src/bun.js/api/bun/x509.zig b/src/buntime/api/bun/x509.zig similarity index 100% rename from src/bun.js/api/bun/x509.zig rename to src/buntime/api/bun/x509.zig diff --git a/src/bun.js/api/crypto.classes.ts b/src/buntime/api/crypto.classes.ts similarity index 100% rename from src/bun.js/api/crypto.classes.ts rename to src/buntime/api/crypto.classes.ts diff --git a/src/bun.js/api/crypto.zig b/src/buntime/api/crypto.zig similarity index 100% rename from src/bun.js/api/crypto.zig rename to src/buntime/api/crypto.zig diff --git a/src/bun.js/api/crypto/CryptoHasher.zig b/src/buntime/api/crypto/CryptoHasher.zig similarity index 100% rename from src/bun.js/api/crypto/CryptoHasher.zig rename to src/buntime/api/crypto/CryptoHasher.zig diff --git a/src/bun.js/api/crypto/EVP.zig b/src/buntime/api/crypto/EVP.zig similarity index 100% rename from src/bun.js/api/crypto/EVP.zig rename to src/buntime/api/crypto/EVP.zig diff --git a/src/bun.js/api/crypto/HMAC.zig b/src/buntime/api/crypto/HMAC.zig similarity index 100% rename from src/bun.js/api/crypto/HMAC.zig rename to src/buntime/api/crypto/HMAC.zig diff --git a/src/bun.js/api/crypto/PBKDF2.zig b/src/buntime/api/crypto/PBKDF2.zig similarity index 100% rename from src/bun.js/api/crypto/PBKDF2.zig rename to src/buntime/api/crypto/PBKDF2.zig diff --git a/src/bun.js/api/crypto/PasswordObject.zig b/src/buntime/api/crypto/PasswordObject.zig similarity index 100% rename from src/bun.js/api/crypto/PasswordObject.zig rename to src/buntime/api/crypto/PasswordObject.zig diff --git a/src/bun.js/api/ffi-stdalign.h b/src/buntime/api/ffi-stdalign.h similarity index 100% rename from src/bun.js/api/ffi-stdalign.h rename to src/buntime/api/ffi-stdalign.h diff --git a/src/bun.js/api/ffi-stdarg.h b/src/buntime/api/ffi-stdarg.h similarity index 100% rename from src/bun.js/api/ffi-stdarg.h rename to src/buntime/api/ffi-stdarg.h diff --git a/src/bun.js/api/ffi-stdatomic.h b/src/buntime/api/ffi-stdatomic.h similarity index 100% rename from src/bun.js/api/ffi-stdatomic.h rename to src/buntime/api/ffi-stdatomic.h diff --git a/src/bun.js/api/ffi-stdbool.h b/src/buntime/api/ffi-stdbool.h similarity index 100% rename from src/bun.js/api/ffi-stdbool.h rename to src/buntime/api/ffi-stdbool.h diff --git a/src/bun.js/api/ffi-stddef.h b/src/buntime/api/ffi-stddef.h similarity index 100% rename from src/bun.js/api/ffi-stddef.h rename to src/buntime/api/ffi-stddef.h diff --git a/src/bun.js/api/ffi-stdnoreturn.h b/src/buntime/api/ffi-stdnoreturn.h similarity index 100% rename from src/bun.js/api/ffi-stdnoreturn.h rename to src/buntime/api/ffi-stdnoreturn.h diff --git a/src/bun.js/api/ffi-tgmath.h b/src/buntime/api/ffi-tgmath.h similarity index 100% rename from src/bun.js/api/ffi-tgmath.h rename to src/buntime/api/ffi-tgmath.h diff --git a/src/bun.js/api/ffi.classes.ts b/src/buntime/api/ffi.classes.ts similarity index 100% rename from src/bun.js/api/ffi.classes.ts rename to src/buntime/api/ffi.classes.ts diff --git a/src/bun.js/api/ffi.zig b/src/buntime/api/ffi.zig similarity index 100% rename from src/bun.js/api/ffi.zig rename to src/buntime/api/ffi.zig diff --git a/src/bun.js/api/filesystem_router.classes.ts b/src/buntime/api/filesystem_router.classes.ts similarity index 100% rename from src/bun.js/api/filesystem_router.classes.ts rename to src/buntime/api/filesystem_router.classes.ts diff --git a/src/bun.js/api/filesystem_router.zig b/src/buntime/api/filesystem_router.zig similarity index 100% rename from src/bun.js/api/filesystem_router.zig rename to src/buntime/api/filesystem_router.zig diff --git a/src/bun.js/api/glob.zig b/src/buntime/api/glob.zig similarity index 100% rename from src/bun.js/api/glob.zig rename to src/buntime/api/glob.zig diff --git a/src/bun.js/api/h2.classes.ts b/src/buntime/api/h2.classes.ts similarity index 100% rename from src/bun.js/api/h2.classes.ts rename to src/buntime/api/h2.classes.ts diff --git a/src/bun.js/api/html_rewriter.classes.ts b/src/buntime/api/html_rewriter.classes.ts similarity index 100% rename from src/bun.js/api/html_rewriter.classes.ts rename to src/buntime/api/html_rewriter.classes.ts diff --git a/src/bun.js/api/html_rewriter.zig b/src/buntime/api/html_rewriter.zig similarity index 100% rename from src/bun.js/api/html_rewriter.zig rename to src/buntime/api/html_rewriter.zig diff --git a/src/bun.js/api/libtcc1.a.macos-aarch64 b/src/buntime/api/libtcc1.a.macos-aarch64 similarity index 100% rename from src/bun.js/api/libtcc1.a.macos-aarch64 rename to src/buntime/api/libtcc1.a.macos-aarch64 diff --git a/src/bun.js/api/libtcc1.c b/src/buntime/api/libtcc1.c similarity index 100% rename from src/bun.js/api/libtcc1.c rename to src/buntime/api/libtcc1.c diff --git a/src/bun.js/api/server.classes.ts b/src/buntime/api/server.classes.ts similarity index 100% rename from src/bun.js/api/server.classes.ts rename to src/buntime/api/server.classes.ts diff --git a/src/bun.js/api/server.zig b/src/buntime/api/server.zig similarity index 100% rename from src/bun.js/api/server.zig rename to src/buntime/api/server.zig diff --git a/src/bun.js/api/server/AnyRequestContext.zig b/src/buntime/api/server/AnyRequestContext.zig similarity index 100% rename from src/bun.js/api/server/AnyRequestContext.zig rename to src/buntime/api/server/AnyRequestContext.zig diff --git a/src/bun.js/api/server/FileRoute.zig b/src/buntime/api/server/FileRoute.zig similarity index 100% rename from src/bun.js/api/server/FileRoute.zig rename to src/buntime/api/server/FileRoute.zig diff --git a/src/bun.js/api/server/HTMLBundle.zig b/src/buntime/api/server/HTMLBundle.zig similarity index 100% rename from src/bun.js/api/server/HTMLBundle.zig rename to src/buntime/api/server/HTMLBundle.zig diff --git a/src/bun.js/api/server/HTTPStatusText.zig b/src/buntime/api/server/HTTPStatusText.zig similarity index 100% rename from src/bun.js/api/server/HTTPStatusText.zig rename to src/buntime/api/server/HTTPStatusText.zig diff --git a/src/bun.js/api/server/InspectorBunFrontendDevServerAgent.zig b/src/buntime/api/server/InspectorBunFrontendDevServerAgent.zig similarity index 100% rename from src/bun.js/api/server/InspectorBunFrontendDevServerAgent.zig rename to src/buntime/api/server/InspectorBunFrontendDevServerAgent.zig diff --git a/src/bun.js/api/server/NodeHTTPResponse.zig b/src/buntime/api/server/NodeHTTPResponse.zig similarity index 100% rename from src/bun.js/api/server/NodeHTTPResponse.zig rename to src/buntime/api/server/NodeHTTPResponse.zig diff --git a/src/bun.js/api/server/RequestContext.zig b/src/buntime/api/server/RequestContext.zig similarity index 100% rename from src/bun.js/api/server/RequestContext.zig rename to src/buntime/api/server/RequestContext.zig diff --git a/src/bun.js/api/server/SSLConfig.bindv2.ts b/src/buntime/api/server/SSLConfig.bindv2.ts similarity index 100% rename from src/bun.js/api/server/SSLConfig.bindv2.ts rename to src/buntime/api/server/SSLConfig.bindv2.ts diff --git a/src/bun.js/api/server/SSLConfig.zig b/src/buntime/api/server/SSLConfig.zig similarity index 100% rename from src/bun.js/api/server/SSLConfig.zig rename to src/buntime/api/server/SSLConfig.zig diff --git a/src/bun.js/api/server/ServerConfig.zig b/src/buntime/api/server/ServerConfig.zig similarity index 100% rename from src/bun.js/api/server/ServerConfig.zig rename to src/buntime/api/server/ServerConfig.zig diff --git a/src/bun.js/api/server/ServerWebSocket.zig b/src/buntime/api/server/ServerWebSocket.zig similarity index 100% rename from src/bun.js/api/server/ServerWebSocket.zig rename to src/buntime/api/server/ServerWebSocket.zig diff --git a/src/bun.js/api/server/StaticRoute.zig b/src/buntime/api/server/StaticRoute.zig similarity index 100% rename from src/bun.js/api/server/StaticRoute.zig rename to src/buntime/api/server/StaticRoute.zig diff --git a/src/bun.js/api/server/WebSocketServerContext.zig b/src/buntime/api/server/WebSocketServerContext.zig similarity index 100% rename from src/bun.js/api/server/WebSocketServerContext.zig rename to src/buntime/api/server/WebSocketServerContext.zig diff --git a/src/bun.js/api/sockets.classes.ts b/src/buntime/api/sockets.classes.ts similarity index 100% rename from src/bun.js/api/sockets.classes.ts rename to src/buntime/api/sockets.classes.ts diff --git a/src/bun.js/api/sourcemap.classes.ts b/src/buntime/api/sourcemap.classes.ts similarity index 100% rename from src/bun.js/api/sourcemap.classes.ts rename to src/buntime/api/sourcemap.classes.ts diff --git a/src/bun.js/api/sql.classes.ts b/src/buntime/api/sql.classes.ts similarity index 100% rename from src/bun.js/api/sql.classes.ts rename to src/buntime/api/sql.classes.ts diff --git a/src/bun.js/api/streams.classes.ts b/src/buntime/api/streams.classes.ts similarity index 100% rename from src/bun.js/api/streams.classes.ts rename to src/buntime/api/streams.classes.ts diff --git a/src/bun.js/api/streams.classes.zig b/src/buntime/api/streams.classes.zig similarity index 100% rename from src/bun.js/api/streams.classes.zig rename to src/buntime/api/streams.classes.zig diff --git a/src/bun.js/api/valkey.classes.ts b/src/buntime/api/valkey.classes.ts similarity index 100% rename from src/bun.js/api/valkey.classes.ts rename to src/buntime/api/valkey.classes.ts diff --git a/src/bun.js/api/welcome-page.html.gz b/src/buntime/api/welcome-page.html.gz similarity index 100% rename from src/bun.js/api/welcome-page.html.gz rename to src/buntime/api/welcome-page.html.gz diff --git a/src/bun.js/api/zlib.classes.ts b/src/buntime/api/zlib.classes.ts similarity index 100% rename from src/bun.js/api/zlib.classes.ts rename to src/buntime/api/zlib.classes.ts diff --git a/src/bun.js/bindgen.zig b/src/buntime/bindgen.zig similarity index 100% rename from src/bun.js/bindgen.zig rename to src/buntime/bindgen.zig diff --git a/src/bun.js/bindgen_test.bind.ts b/src/buntime/bindgen_test.bind.ts similarity index 100% rename from src/bun.js/bindgen_test.bind.ts rename to src/buntime/bindgen_test.bind.ts diff --git a/src/bun.js/bindgen_test.zig b/src/buntime/bindgen_test.zig similarity index 100% rename from src/bun.js/bindgen_test.zig rename to src/buntime/bindgen_test.zig diff --git a/src/bun.js/bindings/.clang-format-ignore b/src/buntime/bindings/.clang-format-ignore similarity index 100% rename from src/bun.js/bindings/.clang-format-ignore rename to src/buntime/bindings/.clang-format-ignore diff --git a/src/bun.js/bindings/AbortSignal.zig b/src/buntime/bindings/AbortSignal.zig similarity index 100% rename from src/bun.js/bindings/AbortSignal.zig rename to src/buntime/bindings/AbortSignal.zig diff --git a/src/bun.js/bindings/ActiveDOMCallback.cpp b/src/buntime/bindings/ActiveDOMCallback.cpp similarity index 100% rename from src/bun.js/bindings/ActiveDOMCallback.cpp rename to src/buntime/bindings/ActiveDOMCallback.cpp diff --git a/src/bun.js/bindings/ActiveDOMCallback.h b/src/buntime/bindings/ActiveDOMCallback.h similarity index 100% rename from src/bun.js/bindings/ActiveDOMCallback.h rename to src/buntime/bindings/ActiveDOMCallback.h diff --git a/src/bun.js/bindings/Algo/Tuple.h b/src/buntime/bindings/Algo/Tuple.h similarity index 100% rename from src/bun.js/bindings/Algo/Tuple.h rename to src/buntime/bindings/Algo/Tuple.h diff --git a/src/bun.js/bindings/AnyPromise.zig b/src/buntime/bindings/AnyPromise.zig similarity index 100% rename from src/bun.js/bindings/AnyPromise.zig rename to src/buntime/bindings/AnyPromise.zig diff --git a/src/bun.js/bindings/AsymmetricKeyValue.cpp b/src/buntime/bindings/AsymmetricKeyValue.cpp similarity index 100% rename from src/bun.js/bindings/AsymmetricKeyValue.cpp rename to src/buntime/bindings/AsymmetricKeyValue.cpp diff --git a/src/bun.js/bindings/AsymmetricKeyValue.h b/src/buntime/bindings/AsymmetricKeyValue.h similarity index 100% rename from src/bun.js/bindings/AsymmetricKeyValue.h rename to src/buntime/bindings/AsymmetricKeyValue.h diff --git a/src/bun.js/bindings/AsyncContextFrame.cpp b/src/buntime/bindings/AsyncContextFrame.cpp similarity index 100% rename from src/bun.js/bindings/AsyncContextFrame.cpp rename to src/buntime/bindings/AsyncContextFrame.cpp diff --git a/src/bun.js/bindings/AsyncContextFrame.h b/src/buntime/bindings/AsyncContextFrame.h similarity index 100% rename from src/bun.js/bindings/AsyncContextFrame.h rename to src/buntime/bindings/AsyncContextFrame.h diff --git a/src/bun.js/bindings/BakeAdditionsToGlobalObject.cpp b/src/buntime/bindings/BakeAdditionsToGlobalObject.cpp similarity index 100% rename from src/bun.js/bindings/BakeAdditionsToGlobalObject.cpp rename to src/buntime/bindings/BakeAdditionsToGlobalObject.cpp diff --git a/src/bun.js/bindings/BakeAdditionsToGlobalObject.h b/src/buntime/bindings/BakeAdditionsToGlobalObject.h similarity index 100% rename from src/bun.js/bindings/BakeAdditionsToGlobalObject.h rename to src/buntime/bindings/BakeAdditionsToGlobalObject.h diff --git a/src/bun.js/bindings/Base64Helpers.cpp b/src/buntime/bindings/Base64Helpers.cpp similarity index 100% rename from src/bun.js/bindings/Base64Helpers.cpp rename to src/buntime/bindings/Base64Helpers.cpp diff --git a/src/bun.js/bindings/Base64Helpers.h b/src/buntime/bindings/Base64Helpers.h similarity index 100% rename from src/bun.js/bindings/Base64Helpers.h rename to src/buntime/bindings/Base64Helpers.h diff --git a/src/bun.js/bindings/Bindgen.h b/src/buntime/bindings/Bindgen.h similarity index 100% rename from src/bun.js/bindings/Bindgen.h rename to src/buntime/bindings/Bindgen.h diff --git a/src/bun.js/bindings/Bindgen/ExternTraits.h b/src/buntime/bindings/Bindgen/ExternTraits.h similarity index 100% rename from src/bun.js/bindings/Bindgen/ExternTraits.h rename to src/buntime/bindings/Bindgen/ExternTraits.h diff --git a/src/bun.js/bindings/Bindgen/ExternUnion.h b/src/buntime/bindings/Bindgen/ExternUnion.h similarity index 100% rename from src/bun.js/bindings/Bindgen/ExternUnion.h rename to src/buntime/bindings/Bindgen/ExternUnion.h diff --git a/src/bun.js/bindings/Bindgen/ExternVectorTraits.h b/src/buntime/bindings/Bindgen/ExternVectorTraits.h similarity index 100% rename from src/bun.js/bindings/Bindgen/ExternVectorTraits.h rename to src/buntime/bindings/Bindgen/ExternVectorTraits.h diff --git a/src/bun.js/bindings/Bindgen/IDLConvert.h b/src/buntime/bindings/Bindgen/IDLConvert.h similarity index 100% rename from src/bun.js/bindings/Bindgen/IDLConvert.h rename to src/buntime/bindings/Bindgen/IDLConvert.h diff --git a/src/bun.js/bindings/Bindgen/IDLConvertBase.h b/src/buntime/bindings/Bindgen/IDLConvertBase.h similarity index 100% rename from src/bun.js/bindings/Bindgen/IDLConvertBase.h rename to src/buntime/bindings/Bindgen/IDLConvertBase.h diff --git a/src/bun.js/bindings/Bindgen/IDLTypes.h b/src/buntime/bindings/Bindgen/IDLTypes.h similarity index 100% rename from src/bun.js/bindings/Bindgen/IDLTypes.h rename to src/buntime/bindings/Bindgen/IDLTypes.h diff --git a/src/bun.js/bindings/Bindgen/Macros.h b/src/buntime/bindings/Bindgen/Macros.h similarity index 100% rename from src/bun.js/bindings/Bindgen/Macros.h rename to src/buntime/bindings/Bindgen/Macros.h diff --git a/src/bun.js/bindings/BindgenCustomEnforceRange.h b/src/buntime/bindings/BindgenCustomEnforceRange.h similarity index 100% rename from src/bun.js/bindings/BindgenCustomEnforceRange.h rename to src/buntime/bindings/BindgenCustomEnforceRange.h diff --git a/src/bun.js/bindings/BufferEncodingType.h b/src/buntime/bindings/BufferEncodingType.h similarity index 85% rename from src/bun.js/bindings/BufferEncodingType.h rename to src/buntime/bindings/BufferEncodingType.h index afe5589f0d..d6f23c94c5 100644 --- a/src/bun.js/bindings/BufferEncodingType.h +++ b/src/buntime/bindings/BufferEncodingType.h @@ -4,7 +4,7 @@ namespace WebCore { -// must match src/bun.js/node/types.zig#Encoding +// must match src/buntime/node/types.zig#Encoding enum class BufferEncodingType : uint8_t { utf8 = 0, ucs2 = 1, diff --git a/src/bun.js/bindings/BunCPUProfiler.cpp b/src/buntime/bindings/BunCPUProfiler.cpp similarity index 100% rename from src/bun.js/bindings/BunCPUProfiler.cpp rename to src/buntime/bindings/BunCPUProfiler.cpp diff --git a/src/bun.js/bindings/BunCPUProfiler.h b/src/buntime/bindings/BunCPUProfiler.h similarity index 100% rename from src/bun.js/bindings/BunCPUProfiler.h rename to src/buntime/bindings/BunCPUProfiler.h diff --git a/src/bun.js/bindings/BunCPUProfiler.zig b/src/buntime/bindings/BunCPUProfiler.zig similarity index 100% rename from src/bun.js/bindings/BunCPUProfiler.zig rename to src/buntime/bindings/BunCPUProfiler.zig diff --git a/src/bun.js/bindings/BunClientData.cpp b/src/buntime/bindings/BunClientData.cpp similarity index 100% rename from src/bun.js/bindings/BunClientData.cpp rename to src/buntime/bindings/BunClientData.cpp diff --git a/src/bun.js/bindings/BunClientData.h b/src/buntime/bindings/BunClientData.h similarity index 100% rename from src/bun.js/bindings/BunClientData.h rename to src/buntime/bindings/BunClientData.h diff --git a/src/bun.js/bindings/BunCommonStrings.cpp b/src/buntime/bindings/BunCommonStrings.cpp similarity index 100% rename from src/bun.js/bindings/BunCommonStrings.cpp rename to src/buntime/bindings/BunCommonStrings.cpp diff --git a/src/bun.js/bindings/BunCommonStrings.h b/src/buntime/bindings/BunCommonStrings.h similarity index 100% rename from src/bun.js/bindings/BunCommonStrings.h rename to src/buntime/bindings/BunCommonStrings.h diff --git a/src/bun.js/bindings/BunDebugger.cpp b/src/buntime/bindings/BunDebugger.cpp similarity index 100% rename from src/bun.js/bindings/BunDebugger.cpp rename to src/buntime/bindings/BunDebugger.cpp diff --git a/src/bun.js/bindings/BunGCOutputConstraint.cpp b/src/buntime/bindings/BunGCOutputConstraint.cpp similarity index 100% rename from src/bun.js/bindings/BunGCOutputConstraint.cpp rename to src/buntime/bindings/BunGCOutputConstraint.cpp diff --git a/src/bun.js/bindings/BunGCOutputConstraint.h b/src/buntime/bindings/BunGCOutputConstraint.h similarity index 100% rename from src/bun.js/bindings/BunGCOutputConstraint.h rename to src/buntime/bindings/BunGCOutputConstraint.h diff --git a/src/bun.js/bindings/BunGlobalScope.cpp b/src/buntime/bindings/BunGlobalScope.cpp similarity index 100% rename from src/bun.js/bindings/BunGlobalScope.cpp rename to src/buntime/bindings/BunGlobalScope.cpp diff --git a/src/bun.js/bindings/BunGlobalScope.h b/src/buntime/bindings/BunGlobalScope.h similarity index 100% rename from src/bun.js/bindings/BunGlobalScope.h rename to src/buntime/bindings/BunGlobalScope.h diff --git a/src/bun.js/bindings/BunHttp2CommonStrings.cpp b/src/buntime/bindings/BunHttp2CommonStrings.cpp similarity index 100% rename from src/bun.js/bindings/BunHttp2CommonStrings.cpp rename to src/buntime/bindings/BunHttp2CommonStrings.cpp diff --git a/src/bun.js/bindings/BunHttp2CommonStrings.h b/src/buntime/bindings/BunHttp2CommonStrings.h similarity index 100% rename from src/bun.js/bindings/BunHttp2CommonStrings.h rename to src/buntime/bindings/BunHttp2CommonStrings.h diff --git a/src/bun.js/bindings/BunIDLConvert.h b/src/buntime/bindings/BunIDLConvert.h similarity index 100% rename from src/bun.js/bindings/BunIDLConvert.h rename to src/buntime/bindings/BunIDLConvert.h diff --git a/src/bun.js/bindings/BunIDLConvertBase.h b/src/buntime/bindings/BunIDLConvertBase.h similarity index 100% rename from src/bun.js/bindings/BunIDLConvertBase.h rename to src/buntime/bindings/BunIDLConvertBase.h diff --git a/src/bun.js/bindings/BunIDLConvertBlob.h b/src/buntime/bindings/BunIDLConvertBlob.h similarity index 100% rename from src/bun.js/bindings/BunIDLConvertBlob.h rename to src/buntime/bindings/BunIDLConvertBlob.h diff --git a/src/bun.js/bindings/BunIDLConvertContext.h b/src/buntime/bindings/BunIDLConvertContext.h similarity index 100% rename from src/bun.js/bindings/BunIDLConvertContext.h rename to src/buntime/bindings/BunIDLConvertContext.h diff --git a/src/bun.js/bindings/BunIDLConvertNumbers.h b/src/buntime/bindings/BunIDLConvertNumbers.h similarity index 100% rename from src/bun.js/bindings/BunIDLConvertNumbers.h rename to src/buntime/bindings/BunIDLConvertNumbers.h diff --git a/src/bun.js/bindings/BunIDLHumanReadable.h b/src/buntime/bindings/BunIDLHumanReadable.h similarity index 100% rename from src/bun.js/bindings/BunIDLHumanReadable.h rename to src/buntime/bindings/BunIDLHumanReadable.h diff --git a/src/bun.js/bindings/BunIDLTypes.h b/src/buntime/bindings/BunIDLTypes.h similarity index 100% rename from src/bun.js/bindings/BunIDLTypes.h rename to src/buntime/bindings/BunIDLTypes.h diff --git a/src/bun.js/bindings/BunInjectedScriptHost.cpp b/src/buntime/bindings/BunInjectedScriptHost.cpp similarity index 100% rename from src/bun.js/bindings/BunInjectedScriptHost.cpp rename to src/buntime/bindings/BunInjectedScriptHost.cpp diff --git a/src/bun.js/bindings/BunInjectedScriptHost.h b/src/buntime/bindings/BunInjectedScriptHost.h similarity index 100% rename from src/bun.js/bindings/BunInjectedScriptHost.h rename to src/buntime/bindings/BunInjectedScriptHost.h diff --git a/src/bun.js/bindings/BunInspector.cpp b/src/buntime/bindings/BunInspector.cpp similarity index 100% rename from src/bun.js/bindings/BunInspector.cpp rename to src/buntime/bindings/BunInspector.cpp diff --git a/src/bun.js/bindings/BunJSCEventLoop.cpp b/src/buntime/bindings/BunJSCEventLoop.cpp similarity index 100% rename from src/bun.js/bindings/BunJSCEventLoop.cpp rename to src/buntime/bindings/BunJSCEventLoop.cpp diff --git a/src/bun.js/bindings/BunObject+exports.h b/src/buntime/bindings/BunObject+exports.h similarity index 100% rename from src/bun.js/bindings/BunObject+exports.h rename to src/buntime/bindings/BunObject+exports.h diff --git a/src/bun.js/bindings/BunObject.cpp b/src/buntime/bindings/BunObject.cpp similarity index 100% rename from src/bun.js/bindings/BunObject.cpp rename to src/buntime/bindings/BunObject.cpp diff --git a/src/bun.js/bindings/BunObject.h b/src/buntime/bindings/BunObject.h similarity index 100% rename from src/bun.js/bindings/BunObject.h rename to src/buntime/bindings/BunObject.h diff --git a/src/bun.js/bindings/BunPlugin.cpp b/src/buntime/bindings/BunPlugin.cpp similarity index 100% rename from src/bun.js/bindings/BunPlugin.cpp rename to src/buntime/bindings/BunPlugin.cpp diff --git a/src/bun.js/bindings/BunPlugin.h b/src/buntime/bindings/BunPlugin.h similarity index 100% rename from src/bun.js/bindings/BunPlugin.h rename to src/buntime/bindings/BunPlugin.h diff --git a/src/bun.js/bindings/BunProcess.cpp b/src/buntime/bindings/BunProcess.cpp similarity index 99% rename from src/bun.js/bindings/BunProcess.cpp rename to src/buntime/bindings/BunProcess.cpp index f0e77d579c..db499bdd04 100644 --- a/src/bun.js/bindings/BunProcess.cpp +++ b/src/buntime/bindings/BunProcess.cpp @@ -205,7 +205,7 @@ static JSValue constructVersions(VM& vm, JSObject* processObject) // https://github.com/oven-sh/bun/issues/7921 // BoringSSL is a fork of OpenSSL 1.1.0, so we can report OpenSSL 1.1.0 object->putDirect(vm, JSC::Identifier::fromString(vm, "openssl"_s), JSC::jsOwnedString(vm, String("1.1.0"_s))); - // keep in sync with src/bun.js/bindings/node/http/llhttp/README.md + // keep in sync with src/buntime/bindings/node/http/llhttp/README.md object->putDirect(vm, JSC::Identifier::fromString(vm, "llhttp"_s), JSC::jsOwnedString(vm, String("9.3.0"_s))); object->putDirect(vm, JSC::Identifier::fromString(vm, "libarchive"_s), JSC::jsOwnedString(vm, ASCIILiteral::fromLiteralUnsafe(BUN_VERSION_LIBARCHIVE)), 0); object->putDirect(vm, JSC::Identifier::fromString(vm, "mimalloc"_s), JSC::jsOwnedString(vm, ASCIILiteral::fromLiteralUnsafe(BUN_VERSION_MIMALLOC)), 0); diff --git a/src/bun.js/bindings/BunProcess.h b/src/buntime/bindings/BunProcess.h similarity index 100% rename from src/bun.js/bindings/BunProcess.h rename to src/buntime/bindings/BunProcess.h diff --git a/src/bun.js/bindings/BunProcessReportObjectWindows.cpp b/src/buntime/bindings/BunProcessReportObjectWindows.cpp similarity index 100% rename from src/bun.js/bindings/BunProcessReportObjectWindows.cpp rename to src/buntime/bindings/BunProcessReportObjectWindows.cpp diff --git a/src/bun.js/bindings/BunString.cpp b/src/buntime/bindings/BunString.cpp similarity index 100% rename from src/bun.js/bindings/BunString.cpp rename to src/buntime/bindings/BunString.cpp diff --git a/src/bun.js/bindings/BunString.h b/src/buntime/bindings/BunString.h similarity index 100% rename from src/bun.js/bindings/BunString.h rename to src/buntime/bindings/BunString.h diff --git a/src/bun.js/bindings/BunWorkerGlobalScope.cpp b/src/buntime/bindings/BunWorkerGlobalScope.cpp similarity index 100% rename from src/bun.js/bindings/BunWorkerGlobalScope.cpp rename to src/buntime/bindings/BunWorkerGlobalScope.cpp diff --git a/src/bun.js/bindings/BunWorkerGlobalScope.h b/src/buntime/bindings/BunWorkerGlobalScope.h similarity index 100% rename from src/bun.js/bindings/BunWorkerGlobalScope.h rename to src/buntime/bindings/BunWorkerGlobalScope.h diff --git a/src/bun.js/bindings/CPUFeatures.cpp b/src/buntime/bindings/CPUFeatures.cpp similarity index 100% rename from src/bun.js/bindings/CPUFeatures.cpp rename to src/buntime/bindings/CPUFeatures.cpp diff --git a/src/bun.js/bindings/CPUFeatures.zig b/src/buntime/bindings/CPUFeatures.zig similarity index 100% rename from src/bun.js/bindings/CPUFeatures.zig rename to src/buntime/bindings/CPUFeatures.zig diff --git a/src/bun.js/bindings/CachedBytecode.zig b/src/buntime/bindings/CachedBytecode.zig similarity index 100% rename from src/bun.js/bindings/CachedBytecode.zig rename to src/buntime/bindings/CachedBytecode.zig diff --git a/src/bun.js/bindings/CachedScript.h b/src/buntime/bindings/CachedScript.h similarity index 100% rename from src/bun.js/bindings/CachedScript.h rename to src/buntime/bindings/CachedScript.h diff --git a/src/bun.js/bindings/CallFrame.zig b/src/buntime/bindings/CallFrame.zig similarity index 100% rename from src/bun.js/bindings/CallFrame.zig rename to src/buntime/bindings/CallFrame.zig diff --git a/src/bun.js/bindings/CallSite.cpp b/src/buntime/bindings/CallSite.cpp similarity index 100% rename from src/bun.js/bindings/CallSite.cpp rename to src/buntime/bindings/CallSite.cpp diff --git a/src/bun.js/bindings/CallSite.h b/src/buntime/bindings/CallSite.h similarity index 100% rename from src/bun.js/bindings/CallSite.h rename to src/buntime/bindings/CallSite.h diff --git a/src/bun.js/bindings/CallSitePrototype.cpp b/src/buntime/bindings/CallSitePrototype.cpp similarity index 100% rename from src/bun.js/bindings/CallSitePrototype.cpp rename to src/buntime/bindings/CallSitePrototype.cpp diff --git a/src/bun.js/bindings/CallSitePrototype.h b/src/buntime/bindings/CallSitePrototype.h similarity index 100% rename from src/bun.js/bindings/CallSitePrototype.h rename to src/buntime/bindings/CallSitePrototype.h diff --git a/src/bun.js/bindings/CatchScope.zig b/src/buntime/bindings/CatchScope.zig similarity index 100% rename from src/bun.js/bindings/CatchScope.zig rename to src/buntime/bindings/CatchScope.zig diff --git a/src/bun.js/bindings/CatchScopeBinding.cpp b/src/buntime/bindings/CatchScopeBinding.cpp similarity index 100% rename from src/bun.js/bindings/CatchScopeBinding.cpp rename to src/buntime/bindings/CatchScopeBinding.cpp diff --git a/src/bun.js/bindings/CodeCoverage.cpp b/src/buntime/bindings/CodeCoverage.cpp similarity index 100% rename from src/bun.js/bindings/CodeCoverage.cpp rename to src/buntime/bindings/CodeCoverage.cpp diff --git a/src/bun.js/bindings/CommonAbortReason.zig b/src/buntime/bindings/CommonAbortReason.zig similarity index 100% rename from src/bun.js/bindings/CommonAbortReason.zig rename to src/buntime/bindings/CommonAbortReason.zig diff --git a/src/bun.js/bindings/CommonStrings.zig b/src/buntime/bindings/CommonStrings.zig similarity index 100% rename from src/bun.js/bindings/CommonStrings.zig rename to src/buntime/bindings/CommonStrings.zig diff --git a/src/bun.js/bindings/ConcatCStrings.h b/src/buntime/bindings/ConcatCStrings.h similarity index 100% rename from src/bun.js/bindings/ConcatCStrings.h rename to src/buntime/bindings/ConcatCStrings.h diff --git a/src/bun.js/bindings/ConsoleObject.cpp b/src/buntime/bindings/ConsoleObject.cpp similarity index 100% rename from src/bun.js/bindings/ConsoleObject.cpp rename to src/buntime/bindings/ConsoleObject.cpp diff --git a/src/bun.js/bindings/ConsoleObject.h b/src/buntime/bindings/ConsoleObject.h similarity index 100% rename from src/bun.js/bindings/ConsoleObject.h rename to src/buntime/bindings/ConsoleObject.h diff --git a/src/bun.js/bindings/Cookie.cpp b/src/buntime/bindings/Cookie.cpp similarity index 100% rename from src/bun.js/bindings/Cookie.cpp rename to src/buntime/bindings/Cookie.cpp diff --git a/src/bun.js/bindings/Cookie.h b/src/buntime/bindings/Cookie.h similarity index 100% rename from src/bun.js/bindings/Cookie.h rename to src/buntime/bindings/Cookie.h diff --git a/src/bun.js/bindings/CookieMap.cpp b/src/buntime/bindings/CookieMap.cpp similarity index 100% rename from src/bun.js/bindings/CookieMap.cpp rename to src/buntime/bindings/CookieMap.cpp diff --git a/src/bun.js/bindings/CookieMap.h b/src/buntime/bindings/CookieMap.h similarity index 100% rename from src/bun.js/bindings/CookieMap.h rename to src/buntime/bindings/CookieMap.h diff --git a/src/bun.js/bindings/CustomGetterSetter.zig b/src/buntime/bindings/CustomGetterSetter.zig similarity index 100% rename from src/bun.js/bindings/CustomGetterSetter.zig rename to src/buntime/bindings/CustomGetterSetter.zig diff --git a/src/bun.js/bindings/DLHandleMap.h b/src/buntime/bindings/DLHandleMap.h similarity index 100% rename from src/bun.js/bindings/DLHandleMap.h rename to src/buntime/bindings/DLHandleMap.h diff --git a/src/bun.js/bindings/DOMException.cpp b/src/buntime/bindings/DOMException.cpp similarity index 100% rename from src/bun.js/bindings/DOMException.cpp rename to src/buntime/bindings/DOMException.cpp diff --git a/src/bun.js/bindings/DOMException.h b/src/buntime/bindings/DOMException.h similarity index 100% rename from src/bun.js/bindings/DOMException.h rename to src/buntime/bindings/DOMException.h diff --git a/src/bun.js/bindings/DOMFormData.cpp b/src/buntime/bindings/DOMFormData.cpp similarity index 100% rename from src/bun.js/bindings/DOMFormData.cpp rename to src/buntime/bindings/DOMFormData.cpp diff --git a/src/bun.js/bindings/DOMFormData.h b/src/buntime/bindings/DOMFormData.h similarity index 100% rename from src/bun.js/bindings/DOMFormData.h rename to src/buntime/bindings/DOMFormData.h diff --git a/src/bun.js/bindings/DOMFormData.zig b/src/buntime/bindings/DOMFormData.zig similarity index 100% rename from src/bun.js/bindings/DOMFormData.zig rename to src/buntime/bindings/DOMFormData.zig diff --git a/src/bun.js/bindings/DOMURL.cpp b/src/buntime/bindings/DOMURL.cpp similarity index 100% rename from src/bun.js/bindings/DOMURL.cpp rename to src/buntime/bindings/DOMURL.cpp diff --git a/src/bun.js/bindings/DOMURL.h b/src/buntime/bindings/DOMURL.h similarity index 100% rename from src/bun.js/bindings/DOMURL.h rename to src/buntime/bindings/DOMURL.h diff --git a/src/bun.js/bindings/DOMURL.zig b/src/buntime/bindings/DOMURL.zig similarity index 100% rename from src/bun.js/bindings/DOMURL.zig rename to src/buntime/bindings/DOMURL.zig diff --git a/src/bun.js/bindings/DOMWrapperWorld-class.h b/src/buntime/bindings/DOMWrapperWorld-class.h similarity index 100% rename from src/bun.js/bindings/DOMWrapperWorld-class.h rename to src/buntime/bindings/DOMWrapperWorld-class.h diff --git a/src/bun.js/bindings/DOMWrapperWorld.cpp b/src/buntime/bindings/DOMWrapperWorld.cpp similarity index 100% rename from src/bun.js/bindings/DOMWrapperWorld.cpp rename to src/buntime/bindings/DOMWrapperWorld.cpp diff --git a/src/bun.js/bindings/DOMWrapperWorld.h b/src/buntime/bindings/DOMWrapperWorld.h similarity index 100% rename from src/bun.js/bindings/DOMWrapperWorld.h rename to src/buntime/bindings/DOMWrapperWorld.h diff --git a/src/bun.js/bindings/DecodeEscapeSequences.h b/src/buntime/bindings/DecodeEscapeSequences.h similarity index 100% rename from src/bun.js/bindings/DecodeEscapeSequences.h rename to src/buntime/bindings/DecodeEscapeSequences.h diff --git a/src/bun.js/bindings/DecodedJSValue.zig b/src/buntime/bindings/DecodedJSValue.zig similarity index 100% rename from src/bun.js/bindings/DecodedJSValue.zig rename to src/buntime/bindings/DecodedJSValue.zig diff --git a/src/bun.js/bindings/DeferredError.zig b/src/buntime/bindings/DeferredError.zig similarity index 100% rename from src/bun.js/bindings/DeferredError.zig rename to src/buntime/bindings/DeferredError.zig diff --git a/src/bun.js/bindings/DeleteCallbackDataTask.h b/src/buntime/bindings/DeleteCallbackDataTask.h similarity index 100% rename from src/bun.js/bindings/DeleteCallbackDataTask.h rename to src/buntime/bindings/DeleteCallbackDataTask.h diff --git a/src/bun.js/bindings/DoubleFormatter.cpp b/src/buntime/bindings/DoubleFormatter.cpp similarity index 100% rename from src/bun.js/bindings/DoubleFormatter.cpp rename to src/buntime/bindings/DoubleFormatter.cpp diff --git a/src/bun.js/bindings/EncodeURIComponent.cpp b/src/buntime/bindings/EncodeURIComponent.cpp similarity index 100% rename from src/bun.js/bindings/EncodeURIComponent.cpp rename to src/buntime/bindings/EncodeURIComponent.cpp diff --git a/src/bun.js/bindings/EncodeURIComponent.h b/src/buntime/bindings/EncodeURIComponent.h similarity index 100% rename from src/bun.js/bindings/EncodeURIComponent.h rename to src/buntime/bindings/EncodeURIComponent.h diff --git a/src/bun.js/bindings/EncodingTables.cpp b/src/buntime/bindings/EncodingTables.cpp similarity index 100% rename from src/bun.js/bindings/EncodingTables.cpp rename to src/buntime/bindings/EncodingTables.cpp diff --git a/src/bun.js/bindings/EncodingTables.h b/src/buntime/bindings/EncodingTables.h similarity index 100% rename from src/bun.js/bindings/EncodingTables.h rename to src/buntime/bindings/EncodingTables.h diff --git a/src/bun.js/bindings/ErrorCode.cpp b/src/buntime/bindings/ErrorCode.cpp similarity index 100% rename from src/bun.js/bindings/ErrorCode.cpp rename to src/buntime/bindings/ErrorCode.cpp diff --git a/src/bun.js/bindings/ErrorCode.h b/src/buntime/bindings/ErrorCode.h similarity index 100% rename from src/bun.js/bindings/ErrorCode.h rename to src/buntime/bindings/ErrorCode.h diff --git a/src/bun.js/bindings/ErrorCode.ts b/src/buntime/bindings/ErrorCode.ts similarity index 100% rename from src/bun.js/bindings/ErrorCode.ts rename to src/buntime/bindings/ErrorCode.ts diff --git a/src/bun.js/bindings/ErrorCode.zig b/src/buntime/bindings/ErrorCode.zig similarity index 100% rename from src/bun.js/bindings/ErrorCode.zig rename to src/buntime/bindings/ErrorCode.zig diff --git a/src/bun.js/bindings/ErrorStackFrame.cpp b/src/buntime/bindings/ErrorStackFrame.cpp similarity index 100% rename from src/bun.js/bindings/ErrorStackFrame.cpp rename to src/buntime/bindings/ErrorStackFrame.cpp diff --git a/src/bun.js/bindings/ErrorStackFrame.h b/src/buntime/bindings/ErrorStackFrame.h similarity index 100% rename from src/bun.js/bindings/ErrorStackFrame.h rename to src/buntime/bindings/ErrorStackFrame.h diff --git a/src/bun.js/bindings/ErrorStackTrace.cpp b/src/buntime/bindings/ErrorStackTrace.cpp similarity index 100% rename from src/bun.js/bindings/ErrorStackTrace.cpp rename to src/buntime/bindings/ErrorStackTrace.cpp diff --git a/src/bun.js/bindings/ErrorStackTrace.h b/src/buntime/bindings/ErrorStackTrace.h similarity index 100% rename from src/bun.js/bindings/ErrorStackTrace.h rename to src/buntime/bindings/ErrorStackTrace.h diff --git a/src/bun.js/bindings/Errorable.zig b/src/buntime/bindings/Errorable.zig similarity index 100% rename from src/bun.js/bindings/Errorable.zig rename to src/buntime/bindings/Errorable.zig diff --git a/src/bun.js/bindings/EventLoopTask.h b/src/buntime/bindings/EventLoopTask.h similarity index 100% rename from src/bun.js/bindings/EventLoopTask.h rename to src/buntime/bindings/EventLoopTask.h diff --git a/src/bun.js/bindings/EventLoopTaskNoContext.cpp b/src/buntime/bindings/EventLoopTaskNoContext.cpp similarity index 100% rename from src/bun.js/bindings/EventLoopTaskNoContext.cpp rename to src/buntime/bindings/EventLoopTaskNoContext.cpp diff --git a/src/bun.js/bindings/EventLoopTaskNoContext.h b/src/buntime/bindings/EventLoopTaskNoContext.h similarity index 100% rename from src/bun.js/bindings/EventLoopTaskNoContext.h rename to src/buntime/bindings/EventLoopTaskNoContext.h diff --git a/src/bun.js/bindings/EventType.zig b/src/buntime/bindings/EventType.zig similarity index 100% rename from src/bun.js/bindings/EventType.zig rename to src/buntime/bindings/EventType.zig diff --git a/src/bun.js/bindings/Exception.h b/src/buntime/bindings/Exception.h similarity index 100% rename from src/bun.js/bindings/Exception.h rename to src/buntime/bindings/Exception.h diff --git a/src/bun.js/bindings/Exception.zig b/src/buntime/bindings/Exception.zig similarity index 100% rename from src/bun.js/bindings/Exception.zig rename to src/buntime/bindings/Exception.zig diff --git a/src/bun.js/bindings/ExceptionCode.h b/src/buntime/bindings/ExceptionCode.h similarity index 98% rename from src/bun.js/bindings/ExceptionCode.h rename to src/buntime/bindings/ExceptionCode.h index 87a7741186..0167e0a109 100644 --- a/src/bun.js/bindings/ExceptionCode.h +++ b/src/buntime/bindings/ExceptionCode.h @@ -24,7 +24,7 @@ namespace WebCore { -// keep in sync with DOMExceptionCode in src/bun.js/bindings/JSErrorCode.Zig +// keep in sync with DOMExceptionCode in src/buntime/bindings/JSErrorCode.Zig enum ExceptionCode : uint8_t { // DOMException error names (https://webidl.spec.whatwg.org/#idl-DOMException-error-names). // Those need to be kept in sync with the array in DOMException.cpp. diff --git a/src/bun.js/bindings/ExceptionOr.h b/src/buntime/bindings/ExceptionOr.h similarity index 100% rename from src/bun.js/bindings/ExceptionOr.h rename to src/buntime/bindings/ExceptionOr.h diff --git a/src/bun.js/bindings/ExposeNodeModuleGlobals.cpp b/src/buntime/bindings/ExposeNodeModuleGlobals.cpp similarity index 100% rename from src/bun.js/bindings/ExposeNodeModuleGlobals.cpp rename to src/buntime/bindings/ExposeNodeModuleGlobals.cpp diff --git a/src/bun.js/bindings/FFI.zig b/src/buntime/bindings/FFI.zig similarity index 99% rename from src/bun.js/bindings/FFI.zig rename to src/buntime/bindings/FFI.zig index 35c0425916..3d703ecf15 100644 --- a/src/bun.js/bindings/FFI.zig +++ b/src/buntime/bindings/FFI.zig @@ -133,7 +133,7 @@ pub const __nonnull = @compileError("unable to translate macro: undefined identi pub const __null_unspecified = @compileError("unable to translate macro: undefined identifier `_Null_unspecified`"); // (no file):323:9 pub const __nullable = @compileError("unable to translate macro: undefined identifier `_Nullable`"); // (no file):324:9 pub const __weak = @compileError("unable to translate macro: undefined identifier `__attribute__`"); // (no file):382:9 -pub const LOAD_ARGUMENTS_FROM_CALL_FRAME = @compileError("unable to translate macro: undefined identifier `argsPtr`"); // /Users/jarred/Code/bun/src/bun.js/api/FFI.h:95:9 +pub const LOAD_ARGUMENTS_FROM_CALL_FRAME = @compileError("unable to translate macro: undefined identifier `argsPtr`"); // /Users/jarred/Code/bun/src/buntime/api/FFI.h:95:9 pub const __llvm__ = @as(c_int, 1); pub const __clang__ = @as(c_int, 1); pub const __clang_major__ = @as(c_int, 13); diff --git a/src/bun.js/bindings/FetchHeaders.zig b/src/buntime/bindings/FetchHeaders.zig similarity index 100% rename from src/bun.js/bindings/FetchHeaders.zig rename to src/buntime/bindings/FetchHeaders.zig diff --git a/src/bun.js/bindings/FormatStackTraceForJS.cpp b/src/buntime/bindings/FormatStackTraceForJS.cpp similarity index 100% rename from src/bun.js/bindings/FormatStackTraceForJS.cpp rename to src/buntime/bindings/FormatStackTraceForJS.cpp diff --git a/src/bun.js/bindings/FormatStackTraceForJS.h b/src/buntime/bindings/FormatStackTraceForJS.h similarity index 100% rename from src/bun.js/bindings/FormatStackTraceForJS.h rename to src/buntime/bindings/FormatStackTraceForJS.h diff --git a/src/bun.js/bindings/FuzzilliREPRL.cpp b/src/buntime/bindings/FuzzilliREPRL.cpp similarity index 100% rename from src/bun.js/bindings/FuzzilliREPRL.cpp rename to src/buntime/bindings/FuzzilliREPRL.cpp diff --git a/src/bun.js/bindings/GCDefferalContext.h b/src/buntime/bindings/GCDefferalContext.h similarity index 100% rename from src/bun.js/bindings/GCDefferalContext.h rename to src/buntime/bindings/GCDefferalContext.h diff --git a/src/buntime/bindings/GeneratedBindings.zig b/src/buntime/bindings/GeneratedBindings.zig new file mode 100644 index 0000000000..56db3d994b --- /dev/null +++ b/src/buntime/bindings/GeneratedBindings.zig @@ -0,0 +1,412 @@ +const bun = @import("bun"); +const jsc = bun.jsc; +const JSHostFunctionType = jsc.JSHostFn; + +/// Generated for "src/bake.zig" +pub const bake = struct { +}; + +/// Generated for "src/bake/DevServer.zig" +pub const DevServer = struct { + pub const jsGetDeinitCountForTesting = @extern(*const JSHostFunctionType, .{ .name = "bindgen_DevServer_jsGetDeinitCountForTesting" }); + + pub fn createGetDeinitCountForTestingCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("getDeinitCountForTesting"), 0, jsGetDeinitCountForTesting, false, null); + } +}; + +/// Generated for "src/buntime/api/BunObject.zig" +pub const BunObject = struct { + pub const jsBraces = @extern(*const JSHostFunctionType, .{ .name = "bindgen_BunObject_jsBraces" }); + pub const jsGc = @extern(*const JSHostFunctionType, .{ .name = "bindgen_BunObject_jsGc" }); + pub const jsStringWidth = @extern(*const JSHostFunctionType, .{ .name = "bindgen_BunObject_jsStringWidth" }); + + pub fn createBracesCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("braces"), 3, jsBraces, false, null); + } + pub fn createGcCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("gc"), 2, jsGc, false, null); + } + pub fn createStringWidthCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("stringWidth"), 2, jsStringWidth, false, null); + } + + pub const BracesOptions = extern struct { + parse: bool, + tokenize: bool, + }; + pub const StringWidthOptions = extern struct { + ambiguous_is_narrow: bool, + count_ansi_escape_codes: bool, + }; +}; + +/// Generated for "src/buntime/bindgen_test.zig" +pub const bindgen_test = struct { + pub const jsAdd = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Bindgen_test_jsAdd" }); + pub const jsRequiredAndOptionalArg = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Bindgen_test_jsRequiredAndOptionalArg" }); + + pub fn createAddCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("add"), 3, jsAdd, false, null); + } + pub fn createRequiredAndOptionalArgCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("requiredAndOptionalArg"), 4, jsRequiredAndOptionalArg, false, null); + } +}; + +/// Generated for "src/buntime/bindings/NodeModuleModule.zig" +pub const NodeModuleModule = struct { + pub const js_stat = @extern(*const JSHostFunctionType, .{ .name = "bindgen_NodeModuleModule_js_stat" }); + + pub fn create_statCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("_stat"), 1, js_stat, false, null); + } +}; + +/// Generated for "src/buntime/node/node_os.zig" +pub const node_os = struct { + pub const jsCpus = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsCpus" }); + pub const jsFreemem = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsFreemem" }); + pub const jsGetPriority = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsGetPriority" }); + pub const jsHomedir = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsHomedir" }); + pub const jsHostname = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsHostname" }); + pub const jsLoadavg = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsLoadavg" }); + pub const jsNetworkInterfaces = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsNetworkInterfaces" }); + pub const jsRelease = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsRelease" }); + pub const jsTotalmem = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsTotalmem" }); + pub const jsUptime = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsUptime" }); + pub const jsUserInfo = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsUserInfo" }); + pub const jsVersion = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsVersion" }); + pub const jsSetPriority = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Node_os_jsSetPriority" }); + + pub fn createCpusCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("cpus"), 1, jsCpus, false, null); + } + pub fn createFreememCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("freemem"), 0, jsFreemem, false, null); + } + pub fn createGetPriorityCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("getPriority"), 2, jsGetPriority, false, null); + } + pub fn createHomedirCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("homedir"), 1, jsHomedir, false, null); + } + pub fn createHostnameCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("hostname"), 1, jsHostname, false, null); + } + pub fn createLoadavgCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("loadavg"), 1, jsLoadavg, false, null); + } + pub fn createNetworkInterfacesCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("networkInterfaces"), 1, jsNetworkInterfaces, false, null); + } + pub fn createReleaseCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("release"), 0, jsRelease, false, null); + } + pub fn createTotalmemCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("totalmem"), 0, jsTotalmem, false, null); + } + pub fn createUptimeCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("uptime"), 1, jsUptime, false, null); + } + pub fn createUserInfoCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("userInfo"), 2, jsUserInfo, false, null); + } + pub fn createVersionCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("version"), 0, jsVersion, false, null); + } + pub fn createSetPriorityCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("setPriority"), 2, jsSetPriority, false, null); + } + + pub const UserInfoOptions = extern struct { + encoding: bun.String, + }; +}; + +/// Generated for "src/fmt.zig" +pub const fmt = struct { + pub const jsFmtString = @extern(*const JSHostFunctionType, .{ .name = "bindgen_Fmt_jsFmtString" }); + + pub fn createFmtStringCallback(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.host_fn.NewRuntimeFunction(global, jsc.ZigString.static("fmtString"), 3, jsFmtString, false, null); + } + + pub const Formatter = enum(u8) { + escape_powershell, + highlight_javascript, + }; +}; + +const binding_internals = struct { + const import_bake = @import("../../bake.zig"); + const import_DevServer = @import("../../bake/DevServer.zig"); + export fn bindgen_DevServer_dispatchGetDeinitCountForTesting1(global: *jsc.JSGlobalObject, out: *usize) bool { + if (!@hasDecl(import_DevServer, "getDeinitCountForTesting")) + @compileError("Missing binding declaration \"getDeinitCountForTesting\" in \"DevServer.zig\""); + out.* = @as(bun.JSError!usize, import_DevServer.getDeinitCountForTesting( + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + const import_BunObject = @import("../../buntime/api/BunObject.zig"); + export fn bindgen_BunObject_dispatchBraces1(arg_global: *jsc.JSGlobalObject, arg_input: *const bun.String, arg_options: *const BunObject.BracesOptions) jsc.JSValue { + if (!@hasDecl(import_BunObject, "braces")) + @compileError("Missing binding declaration \"braces\" in \"BunObject.zig\""); + return jsc.toJSHostCall(arg_global, @src(), import_BunObject.braces, .{ + arg_global, + arg_input.*, + arg_options.*, + }); + } + export fn bindgen_BunObject_dispatchGc1(global: *jsc.JSGlobalObject, arg_force: *const bool, out: *usize) bool { + if (!@hasDecl(import_BunObject, "gc")) + @compileError("Missing binding declaration \"gc\" in \"BunObject.zig\""); + out.* = @as(bun.JSError!usize, import_BunObject.gc( + global.bunVM(), + arg_force.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_BunObject_dispatchStringWidth1(global: *jsc.JSGlobalObject, arg_str: *const bun.String, arg_opts: *const BunObject.StringWidthOptions, out: *usize) bool { + if (!@hasDecl(import_BunObject, "stringWidth")) + @compileError("Missing binding declaration \"stringWidth\" in \"BunObject.zig\""); + out.* = @as(bun.JSError!usize, import_BunObject.stringWidth( + arg_str.*, + arg_opts.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + const import_bindgen_test = @import("../../buntime/bindgen_test.zig"); + export fn bindgen_Bindgen_test_dispatchAdd1(arg_global: *jsc.JSGlobalObject, arg_a: *const i32, arg_b: *const i32, out: *i32) bool { + if (!@hasDecl(import_bindgen_test, "add")) + @compileError("Missing binding declaration \"add\" in \"bindgen_test.zig\""); + out.* = @as(bun.JSError!i32, import_bindgen_test.add( + arg_global, + arg_a.*, + arg_b.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + const BindgenTestRequiredAndOptionalArgArguments = extern struct { + b_set: bool, + d_set: bool, + d_value: u8, + b_value: usize, + }; + export fn bindgen_Bindgen_test_dispatchRequiredAndOptionalArg1(global: *jsc.JSGlobalObject, arg_a: *const bool, arg_c: *const i32, buf: *BindgenTestRequiredAndOptionalArgArguments, out: *i32) bool { + if (!@hasDecl(import_bindgen_test, "requiredAndOptionalArg")) + @compileError("Missing binding declaration \"requiredAndOptionalArg\" in \"bindgen_test.zig\""); + out.* = @as(bun.JSError!i32, import_bindgen_test.requiredAndOptionalArg( + arg_a.*, + if (buf.b_set) buf.b_value else null, + arg_c.*, + if (buf.d_set) buf.d_value else null, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + const import_NodeModuleModule = @import("../../buntime/bindings/NodeModuleModule.zig"); + export fn bindgen_NodeModuleModule_dispatch_stat1(global: *jsc.JSGlobalObject, arg_str: *const bun.String, out: *i32) bool { + if (!@hasDecl(import_NodeModuleModule, "_stat")) + @compileError("Missing binding declaration \"_stat\" in \"NodeModuleModule.zig\""); + const arg_str_utf8 = arg_str.toUTF8(bun.default_allocator); + defer arg_str_utf8.deinit(); + out.* = @as(bun.JSError!i32, import_NodeModuleModule._stat( + arg_str_utf8.slice(), + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + const import_node_os = @import("../../buntime/node/node_os.zig"); + export fn bindgen_Node_os_dispatchCpus1(arg_global: *jsc.JSGlobalObject) jsc.JSValue { + if (!@hasDecl(import_node_os, "cpus")) + @compileError("Missing binding declaration \"cpus\" in \"node_os.zig\""); + return jsc.toJSHostCall(arg_global, @src(), import_node_os.cpus, .{ + arg_global, + }); + } + export fn bindgen_Node_os_dispatchFreemem1(global: *jsc.JSGlobalObject, out: *u64) bool { + if (!@hasDecl(import_node_os, "freemem")) + @compileError("Missing binding declaration \"freemem\" in \"node_os.zig\""); + out.* = @as(bun.JSError!u64, import_node_os.freemem( + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchGetPriority1(arg_global: *jsc.JSGlobalObject, arg_pid: *const i32, out: *i32) bool { + if (!@hasDecl(import_node_os, "getPriority")) + @compileError("Missing binding declaration \"getPriority\" in \"node_os.zig\""); + out.* = @as(bun.JSError!i32, import_node_os.getPriority( + arg_global, + arg_pid.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchHomedir1(arg_global: *jsc.JSGlobalObject, out: *bun.String) bool { + if (!@hasDecl(import_node_os, "homedir")) + @compileError("Missing binding declaration \"homedir\" in \"node_os.zig\""); + out.* = @as(bun.JSError!bun.String, import_node_os.homedir( + arg_global, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchHostname1(arg_global: *jsc.JSGlobalObject) jsc.JSValue { + if (!@hasDecl(import_node_os, "hostname")) + @compileError("Missing binding declaration \"hostname\" in \"node_os.zig\""); + return jsc.toJSHostCall(arg_global, @src(), import_node_os.hostname, .{ + arg_global, + }); + } + export fn bindgen_Node_os_dispatchLoadavg1(arg_global: *jsc.JSGlobalObject) jsc.JSValue { + if (!@hasDecl(import_node_os, "loadavg")) + @compileError("Missing binding declaration \"loadavg\" in \"node_os.zig\""); + return jsc.toJSHostCall(arg_global, @src(), import_node_os.loadavg, .{ + arg_global, + }); + } + export fn bindgen_Node_os_dispatchNetworkInterfaces1(arg_global: *jsc.JSGlobalObject) jsc.JSValue { + if (!@hasDecl(import_node_os, "networkInterfaces")) + @compileError("Missing binding declaration \"networkInterfaces\" in \"node_os.zig\""); + return jsc.toJSHostCall(arg_global, @src(), import_node_os.networkInterfaces, .{ + arg_global, + }); + } + export fn bindgen_Node_os_dispatchRelease1(global: *jsc.JSGlobalObject, out: *bun.String) bool { + if (!@hasDecl(import_node_os, "release")) + @compileError("Missing binding declaration \"release\" in \"node_os.zig\""); + out.* = @as(bun.JSError!bun.String, import_node_os.release( + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchTotalmem1(global: *jsc.JSGlobalObject, out: *u64) bool { + if (!@hasDecl(import_node_os, "totalmem")) + @compileError("Missing binding declaration \"totalmem\" in \"node_os.zig\""); + out.* = @as(bun.JSError!u64, import_node_os.totalmem( + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchUptime1(arg_global: *jsc.JSGlobalObject, out: *f64) bool { + if (!@hasDecl(import_node_os, "uptime")) + @compileError("Missing binding declaration \"uptime\" in \"node_os.zig\""); + out.* = @as(bun.JSError!f64, import_node_os.uptime( + arg_global, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchUserInfo1(arg_global: *jsc.JSGlobalObject, arg_options: *const node_os.UserInfoOptions) jsc.JSValue { + if (!@hasDecl(import_node_os, "userInfo")) + @compileError("Missing binding declaration \"userInfo\" in \"node_os.zig\""); + return jsc.toJSHostCall(arg_global, @src(), import_node_os.userInfo, .{ + arg_global, + arg_options.*, + }); + } + export fn bindgen_Node_os_dispatchVersion1(global: *jsc.JSGlobalObject, out: *bun.String) bool { + if (!@hasDecl(import_node_os, "version")) + @compileError("Missing binding declaration \"version\" in \"node_os.zig\""); + out.* = @as(bun.JSError!bun.String, import_node_os.version( + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchSetPriority1(arg_global: *jsc.JSGlobalObject, arg_pid: *const i32, arg_priority: *const i32) bool { + if (!@hasDecl(import_node_os, "setPriority1")) + @compileError("Missing binding declaration \"setPriority1\" in \"node_os.zig\""); + @as(bun.JSError!void, import_node_os.setPriority1( + arg_global, + arg_pid.*, + arg_priority.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + export fn bindgen_Node_os_dispatchSetPriority2(arg_global: *jsc.JSGlobalObject, arg_priority: *const i32) bool { + if (!@hasDecl(import_node_os, "setPriority2")) + @compileError("Missing binding declaration \"setPriority2\" in \"node_os.zig\""); + @as(bun.JSError!void, import_node_os.setPriority2( + arg_global, + arg_priority.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } + const import_fmt = @import("../../fmt.zig"); + export fn bindgen_Fmt_dispatchFmtString1(arg_global: *jsc.JSGlobalObject, arg_code: *const bun.String, arg_formatter: *const fmt.Formatter, out: *bun.String) bool { + if (!@hasDecl(import_fmt.js_bindings, "fmtString")) + @compileError("Missing binding declaration \"js_bindings.fmtString\" in \"fmt.zig\""); + const arg_code_utf8 = arg_code.toUTF8(bun.default_allocator); + defer arg_code_utf8.deinit(); + out.* = @as(bun.JSError!bun.String, import_fmt.js_bindings.fmtString( + arg_global, + arg_code_utf8.slice(), + arg_formatter.*, + )) catch |err| switch (err) { + error.JSError => return false, + error.OutOfMemory => arg_global.throwOutOfMemory() catch return false, + error.JSTerminated => return false, + }; + return true; + } +}; + +comptime { + if (bun.Environment.export_cpp_apis) { + for (@typeInfo(binding_internals).@"struct".decls) |decl| { + _ = &@field(binding_internals, decl.name); + } + } +} diff --git a/src/buntime/bindings/GeneratedJS2Native.zig b/src/buntime/bindings/GeneratedJS2Native.zig new file mode 100644 index 0000000000..d88cc89966 --- /dev/null +++ b/src/buntime/bindings/GeneratedJS2Native.zig @@ -0,0 +1,341 @@ +//! This file is generated by src/codegen/generate-js2native.ts based on seen calls to the $zig() JS macro +const bun = @import("bun"); +const jsc = bun.jsc; +export fn JS2Zig___src_buntime_node_node_assert_binding_zig__generate_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_assert_binding.zig").generate, .{global}); +} +export fn JS2Zig___src_sql_mysql_zig__createBinding_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../sql/mysql.zig").createBinding, .{global}); +} +export fn JS2Zig___src_sql_postgres_zig__createBinding_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../sql/postgres.zig").createBinding, .{global}); +} +export fn JS2Zig___src_buntime_node_node_crypto_binding_zig__createNodeCryptoBindingZig_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_crypto_binding.zig").createNodeCryptoBindingZig, .{global}); +} +export fn JS2Zig___src_buntime_node_node_fs_binding_zig__createBinding_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_fs_binding.zig").createBinding, .{global}); +} +export fn JS2Zig___src_buntime_api_bun_h__frame_parser_zig__H_FrameParserConstructor_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../api/bun/h2_frame_parser.zig").H2FrameParserConstructor, .{global}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__getDefaultAutoSelectFamily_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_net_binding.zig").getDefaultAutoSelectFamily, .{global}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__setDefaultAutoSelectFamily_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_net_binding.zig").setDefaultAutoSelectFamily, .{global}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__getDefaultAutoSelectFamilyAttemptTimeout_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_net_binding.zig").getDefaultAutoSelectFamilyAttemptTimeout, .{global}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__setDefaultAutoSelectFamilyAttemptTimeout_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_net_binding.zig").setDefaultAutoSelectFamilyAttemptTimeout, .{global}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__SocketAddress_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_net_binding.zig").SocketAddress, .{global}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__BlockList_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_net_binding.zig").BlockList, .{global}); +} +export fn JS2Zig___src_buntime_node_node_os_zig__createNodeOsBinding_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_os.zig").createNodeOsBinding, .{global}); +} +export fn JS2Zig___src_buntime_node_node_zlib_binding_zig__NativeZlib_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_zlib_binding.zig").NativeZlib, .{global}); +} +export fn JS2Zig___src_buntime_node_node_zlib_binding_zig__NativeBrotli_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_zlib_binding.zig").NativeBrotli, .{global}); +} +export fn JS2Zig___src_buntime_node_node_zlib_binding_zig__NativeZstd_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../node/node_zlib_binding.zig").NativeZstd, .{global}); +} +export fn JS2Zig___src_crash_handler_zig__js_bindings_generate_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../crash_handler.zig").js_bindings.generate, .{global}); +} +export fn JS2Zig___src_cli_upgrade_command_zig__upgrade_js_bindings_generate_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../cli/upgrade_command.zig").upgrade_js_bindings.generate, .{global}); +} +export fn JS2Zig___src_install_install_binding_zig__bun_install_js_bindings_generate_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../install/install_binding.zig").bun_install_js_bindings.generate, .{global}); +} +export fn JS2Zig___src_install_npm_zig__PackageManifest_bindings_generate_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../install/npm.zig").PackageManifest.bindings.generate, .{global}); +} +export fn JS2Zig___src_bake_FrameworkRouter_zig__JSFrameworkRouter_getBindings_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../../bake/FrameworkRouter.zig").JSFrameworkRouter.getBindings, .{global}); +} +export fn JS2Zig___src_buntime_bindgen_test_zig__getBindgenTestFunctions_workaround(global: *jsc.JSGlobalObject) callconv(jsc.conv) jsc.JSValue { + return jsc.toJSHostCall(global, @src(), @import("../bindgen_test.zig").getBindgenTestFunctions, .{global}); +} +export fn JS2Zig___src_buntime_api_ffi_zig__Bun__FFI__cc(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/ffi.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.Bun__FFI__cc), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_cluster_binding_zig__sendHelperPrimary(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_cluster_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.sendHelperPrimary), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_cluster_binding_zig__sendHelperChild(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_cluster_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.sendHelperChild), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_cluster_binding_zig__onInternalMessageChild(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_cluster_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.onInternalMessageChild), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_cluster_binding_zig__channelIgnoreOneDisconnectEventListener(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_cluster_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.channelIgnoreOneDisconnectEventListener), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_cluster_binding_zig__onInternalMessagePrimary(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_cluster_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.onInternalMessagePrimary), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_http_binding_zig__setMaxHTTPHeaderSize(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_http_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.setMaxHTTPHeaderSize), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_http_binding_zig__getMaxHTTPHeaderSize(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_http_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.getMaxHTTPHeaderSize), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_util_binding_zig__extractedSplitNewLinesFastPathStringsOnly(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_util_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.extractedSplitNewLinesFastPathStringsOnly), .{global, call_frame}); +} +export fn JS2Zig___src_string_zig__String_jsGetStringWidth(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../string.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.String.jsGetStringWidth), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_util_binding_zig__normalizeEncoding(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_util_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.normalizeEncoding), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_http_binding_zig__getBunServerAllClosedPromise(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_http_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.getBunServerAllClosedPromise), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_util_binding_zig__etimedoutErrorCode(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_util_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.etimedoutErrorCode), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_util_binding_zig__enobufsErrorCode(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_util_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.enobufsErrorCode), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_udp_socket_zig__UDPSocket_jsConnect(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/udp_socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.UDPSocket.jsConnect), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_udp_socket_zig__UDPSocket_jsDisconnect(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/udp_socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.UDPSocket.jsDisconnect), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_dns_zig__Resolver_getRuntimeDefaultResultOrderOption(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/dns.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.Resolver.getRuntimeDefaultResultOrderOption), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_dns_zig__Resolver_newResolver(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/dns.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.Resolver.newResolver), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_types_zig__jsAssertEncodingValid(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/types.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsAssertEncodingValid), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_h__frame_parser_zig__jsAssertSettings(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/h2_frame_parser.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsAssertSettings), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_h__frame_parser_zig__jsGetPackedSettings(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/h2_frame_parser.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsGetPackedSettings), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_h__frame_parser_zig__jsGetUnpackedSettings(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/h2_frame_parser.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsGetUnpackedSettings), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__newDetachedSocket(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_net_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.newDetachedSocket), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_net_binding_zig__doConnect(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_net_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.doConnect), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_socket_Listener_zig__jsAddServerName(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/socket/Listener.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsAddServerName), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_socket_zig__jsUpgradeDuplexToTLS(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsUpgradeDuplexToTLS), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_socket_zig__jsIsNamedPipeSocket(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsIsNamedPipeSocket), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_socket_zig__jsGetBufferedAmount(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsGetBufferedAmount), .{global, call_frame}); +} +export fn JS2Zig___src_bun_zig__getUseSystemCA(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../bun.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.getUseSystemCA), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_util_binding_zig__internalErrorName(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_util_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.internalErrorName), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_util_binding_zig__parseEnv(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_util_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.parseEnv), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_util_parse_args_zig__parseArgs(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/util/parse_args.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.parseArgs), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_zlib_binding_zig__crc__(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_zlib_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.crc32), .{global, call_frame}); +} +export fn JS2Zig___src_patch_zig__TestingAPIs_parse(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../patch.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.parse), .{global, call_frame}); +} +export fn JS2Zig___src_patch_zig__TestingAPIs_apply(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../patch.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.apply), .{global, call_frame}); +} +export fn JS2Zig___src_patch_zig__TestingAPIs_makeDiff(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../patch.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.makeDiff), .{global, call_frame}); +} +export fn JS2Zig___src_shell_shell_zig__TestingAPIs_shellLex(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../shell/shell.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.shellLex), .{global, call_frame}); +} +export fn JS2Zig___src_shell_shell_zig__TestingAPIs_shellParse(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../shell/shell.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.shellParse), .{global, call_frame}); +} +export fn JS2Zig___src_string_escapeRegExp_zig__jsEscapeRegExp(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../string/escapeRegExp.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsEscapeRegExp), .{global, call_frame}); +} +export fn JS2Zig___src_string_escapeRegExp_zig__jsEscapeRegExpForPackageNameMatching(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../string/escapeRegExp.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsEscapeRegExpForPackageNameMatching), .{global, call_frame}); +} +export fn JS2Zig___src_shell_shell_zig__TestingAPIs_disabledOnThisPlatform(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../shell/shell.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.disabledOnThisPlatform), .{global, call_frame}); +} +export fn JS2Zig___src_ini_zig__IniTestingAPIs_parse(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../ini.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.IniTestingAPIs.parse), .{global, call_frame}); +} +export fn JS2Zig___src_ini_zig__IniTestingAPIs_loadNpmrcFromJS(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../ini.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.IniTestingAPIs.loadNpmrcFromJS), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__minifyTestWithOptions(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.minifyTestWithOptions), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__minifyErrorTestWithOptions(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.minifyErrorTestWithOptions), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__testWithOptions(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.testWithOptions), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__prefixTestWithOptions(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.prefixTestWithOptions), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__minifyTest(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.minifyTest), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__prefixTest(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.prefixTest), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig___test(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function._test), .{global, call_frame}); +} +export fn JS2Zig___src_css_css_internals_zig__attrTest(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../css/css_internals.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.attrTest), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_fs_binding_zig__createMemfdForTesting(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_fs_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.createMemfdForTesting), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_virtual_machine_exports_zig__Bun__setSyntheticAllocationLimitForTesting(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../virtual_machine_exports.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.Bun__setSyntheticAllocationLimitForTesting), .{global, call_frame}); +} +export fn JS2Zig___src_install_dependency_zig__fromJS(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../install/dependency.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.fromJS), .{global, call_frame}); +} +export fn JS2Zig___src_install_dependency_zig__Version_Tag_inferFromJS(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../install/dependency.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.Version.Tag.inferFromJS), .{global, call_frame}); +} +export fn JS2Zig___src_cli_pack_command_zig__bindings_jsReadTarball(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../cli/pack_command.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.bindings.jsReadTarball), .{global, call_frame}); +} +export fn JS2Zig___src_install_npm_zig__Architecture_jsFunctionArchitectureIsMatch(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../install/npm.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.Architecture.jsFunctionArchitectureIsMatch), .{global, call_frame}); +} +export fn JS2Zig___src_install_npm_zig__OperatingSystem_jsFunctionOperatingSystemIsMatch(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../install/npm.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.OperatingSystem.jsFunctionOperatingSystemIsMatch), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_socket_zig__jsCreateSocketPair(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsCreateSocketPair), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_Timer_zig__internal_bindings_timerClockMs(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/Timer.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.internal_bindings.timerClockMs), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_Counters_zig__createCountersObject(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../Counters.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.createCountersObject), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_api_bun_socket_zig__jsSetSocketOptions(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../api/bun/socket.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.jsSetSocketOptions), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_event_loop_zig__getActiveTasks(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../event_loop.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.getActiveTasks), .{global, call_frame}); +} +export fn JS2Zig___src_install_hosted_git_info_zig__TestingAPIs_jsParseUrl(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../install/hosted_git_info.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.jsParseUrl), .{global, call_frame}); +} +export fn JS2Zig___src_install_hosted_git_info_zig__TestingAPIs_jsFromUrl(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../../install/hosted_git_info.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.TestingAPIs.jsFromUrl), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_ipc_zig__emitHandleIPCMessage(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../ipc.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.emitHandleIPCMessage), .{global, call_frame}); +} +export fn JS2Zig___src_buntime_node_node_cluster_binding_zig__setRef(global: *jsc.JSGlobalObject, call_frame: *jsc.CallFrame) callconv(jsc.conv) jsc.JSValue { + const function = @import("../node/node_cluster_binding.zig"); + return @call(bun.callmod_inline, jsc.toJSHostFn(function.setRef), .{global, call_frame}); +} +comptime { + @export(&bun.gen.fmt.createFmtStringCallback, .{ .name = "js2native_bindgen_fmt_fmtString" }); + @export(&bun.gen.DevServer.createGetDeinitCountForTestingCallback, .{ .name = "js2native_bindgen_DevServer_getDeinitCountForTesting" }); +} diff --git a/src/bun.js/bindings/GetterSetter.zig b/src/buntime/bindings/GetterSetter.zig similarity index 100% rename from src/bun.js/bindings/GetterSetter.zig rename to src/buntime/bindings/GetterSetter.zig diff --git a/src/bun.js/bindings/HTMLEntryPoint.cpp b/src/buntime/bindings/HTMLEntryPoint.cpp similarity index 100% rename from src/bun.js/bindings/HTMLEntryPoint.cpp rename to src/buntime/bindings/HTMLEntryPoint.cpp diff --git a/src/bun.js/bindings/HTTPServerAgent.zig b/src/buntime/bindings/HTTPServerAgent.zig similarity index 100% rename from src/bun.js/bindings/HTTPServerAgent.zig rename to src/buntime/bindings/HTTPServerAgent.zig diff --git a/src/bun.js/bindings/IDLTypes.h b/src/buntime/bindings/IDLTypes.h similarity index 100% rename from src/bun.js/bindings/IDLTypes.h rename to src/buntime/bindings/IDLTypes.h diff --git a/src/bun.js/bindings/IPC.cpp b/src/buntime/bindings/IPC.cpp similarity index 100% rename from src/bun.js/bindings/IPC.cpp rename to src/buntime/bindings/IPC.cpp diff --git a/src/bun.js/bindings/ImportMetaObject.cpp b/src/buntime/bindings/ImportMetaObject.cpp similarity index 100% rename from src/bun.js/bindings/ImportMetaObject.cpp rename to src/buntime/bindings/ImportMetaObject.cpp diff --git a/src/bun.js/bindings/ImportMetaObject.h b/src/buntime/bindings/ImportMetaObject.h similarity index 100% rename from src/bun.js/bindings/ImportMetaObject.h rename to src/buntime/bindings/ImportMetaObject.h diff --git a/src/bun.js/bindings/InspectorBunFrontendDevServerAgent.cpp b/src/buntime/bindings/InspectorBunFrontendDevServerAgent.cpp similarity index 100% rename from src/bun.js/bindings/InspectorBunFrontendDevServerAgent.cpp rename to src/buntime/bindings/InspectorBunFrontendDevServerAgent.cpp diff --git a/src/bun.js/bindings/InspectorBunFrontendDevServerAgent.h b/src/buntime/bindings/InspectorBunFrontendDevServerAgent.h similarity index 100% rename from src/bun.js/bindings/InspectorBunFrontendDevServerAgent.h rename to src/buntime/bindings/InspectorBunFrontendDevServerAgent.h diff --git a/src/bun.js/bindings/InspectorHTTPServerAgent.cpp b/src/buntime/bindings/InspectorHTTPServerAgent.cpp similarity index 100% rename from src/bun.js/bindings/InspectorHTTPServerAgent.cpp rename to src/buntime/bindings/InspectorHTTPServerAgent.cpp diff --git a/src/bun.js/bindings/InspectorHTTPServerAgent.h b/src/buntime/bindings/InspectorHTTPServerAgent.h similarity index 100% rename from src/bun.js/bindings/InspectorHTTPServerAgent.h rename to src/buntime/bindings/InspectorHTTPServerAgent.h diff --git a/src/bun.js/bindings/InspectorLifecycleAgent.cpp b/src/buntime/bindings/InspectorLifecycleAgent.cpp similarity index 100% rename from src/bun.js/bindings/InspectorLifecycleAgent.cpp rename to src/buntime/bindings/InspectorLifecycleAgent.cpp diff --git a/src/bun.js/bindings/InspectorLifecycleAgent.h b/src/buntime/bindings/InspectorLifecycleAgent.h similarity index 100% rename from src/bun.js/bindings/InspectorLifecycleAgent.h rename to src/buntime/bindings/InspectorLifecycleAgent.h diff --git a/src/bun.js/bindings/InspectorTestReporterAgent.cpp b/src/buntime/bindings/InspectorTestReporterAgent.cpp similarity index 100% rename from src/bun.js/bindings/InspectorTestReporterAgent.cpp rename to src/buntime/bindings/InspectorTestReporterAgent.cpp diff --git a/src/bun.js/bindings/InspectorTestReporterAgent.h b/src/buntime/bindings/InspectorTestReporterAgent.h similarity index 100% rename from src/bun.js/bindings/InspectorTestReporterAgent.h rename to src/buntime/bindings/InspectorTestReporterAgent.h diff --git a/src/bun.js/bindings/InternalForTesting.cpp b/src/buntime/bindings/InternalForTesting.cpp similarity index 100% rename from src/bun.js/bindings/InternalForTesting.cpp rename to src/buntime/bindings/InternalForTesting.cpp diff --git a/src/bun.js/bindings/InternalForTesting.h b/src/buntime/bindings/InternalForTesting.h similarity index 100% rename from src/bun.js/bindings/InternalForTesting.h rename to src/buntime/bindings/InternalForTesting.h diff --git a/src/bun.js/bindings/InternalModuleRegistry.cpp b/src/buntime/bindings/InternalModuleRegistry.cpp similarity index 100% rename from src/bun.js/bindings/InternalModuleRegistry.cpp rename to src/buntime/bindings/InternalModuleRegistry.cpp diff --git a/src/bun.js/bindings/InternalModuleRegistry.h b/src/buntime/bindings/InternalModuleRegistry.h similarity index 97% rename from src/bun.js/bindings/InternalModuleRegistry.h rename to src/buntime/bindings/InternalModuleRegistry.h index 78bb392307..b72495ca9d 100644 --- a/src/bun.js/bindings/InternalModuleRegistry.h +++ b/src/buntime/bindings/InternalModuleRegistry.h @@ -16,7 +16,7 @@ using namespace JSC; // // Modules come from two sources: // - some are written in JS (src/js, there is a readme file that explain those files more. -// - others are native code (src/bun.js/modules), see _NativeModule.h in there. +// - others are native code (src/buntime/modules), see _NativeModule.h in there. class InternalModuleRegistry : public JSInternalFieldObjectImpl { public: using Base = JSInternalFieldObjectImpl; diff --git a/src/bun.js/bindings/JS2Native.cpp b/src/buntime/bindings/JS2Native.cpp similarity index 100% rename from src/bun.js/bindings/JS2Native.cpp rename to src/buntime/bindings/JS2Native.cpp diff --git a/src/bun.js/bindings/JS2Native.h b/src/buntime/bindings/JS2Native.h similarity index 100% rename from src/bun.js/bindings/JS2Native.h rename to src/buntime/bindings/JS2Native.h diff --git a/src/bun.js/bindings/JSArray.zig b/src/buntime/bindings/JSArray.zig similarity index 100% rename from src/bun.js/bindings/JSArray.zig rename to src/buntime/bindings/JSArray.zig diff --git a/src/bun.js/bindings/JSArrayIterator.zig b/src/buntime/bindings/JSArrayIterator.zig similarity index 100% rename from src/bun.js/bindings/JSArrayIterator.zig rename to src/buntime/bindings/JSArrayIterator.zig diff --git a/src/bun.js/bindings/JSBakeResponse.cpp b/src/buntime/bindings/JSBakeResponse.cpp similarity index 100% rename from src/bun.js/bindings/JSBakeResponse.cpp rename to src/buntime/bindings/JSBakeResponse.cpp diff --git a/src/bun.js/bindings/JSBakeResponse.h b/src/buntime/bindings/JSBakeResponse.h similarity index 100% rename from src/bun.js/bindings/JSBakeResponse.h rename to src/buntime/bindings/JSBakeResponse.h diff --git a/src/bun.js/bindings/JSBigInt.zig b/src/buntime/bindings/JSBigInt.zig similarity index 100% rename from src/bun.js/bindings/JSBigInt.zig rename to src/buntime/bindings/JSBigInt.zig diff --git a/src/bun.js/bindings/JSBigIntBinding.cpp b/src/buntime/bindings/JSBigIntBinding.cpp similarity index 100% rename from src/bun.js/bindings/JSBigIntBinding.cpp rename to src/buntime/bindings/JSBigIntBinding.cpp diff --git a/src/bun.js/bindings/JSBuffer.cpp b/src/buntime/bindings/JSBuffer.cpp similarity index 100% rename from src/bun.js/bindings/JSBuffer.cpp rename to src/buntime/bindings/JSBuffer.cpp diff --git a/src/bun.js/bindings/JSBuffer.h b/src/buntime/bindings/JSBuffer.h similarity index 100% rename from src/bun.js/bindings/JSBuffer.h rename to src/buntime/bindings/JSBuffer.h diff --git a/src/bun.js/bindings/JSBufferEncodingType.cpp b/src/buntime/bindings/JSBufferEncodingType.cpp similarity index 100% rename from src/bun.js/bindings/JSBufferEncodingType.cpp rename to src/buntime/bindings/JSBufferEncodingType.cpp diff --git a/src/bun.js/bindings/JSBufferEncodingType.h b/src/buntime/bindings/JSBufferEncodingType.h similarity index 100% rename from src/bun.js/bindings/JSBufferEncodingType.h rename to src/buntime/bindings/JSBufferEncodingType.h diff --git a/src/bun.js/bindings/JSBufferList.cpp b/src/buntime/bindings/JSBufferList.cpp similarity index 100% rename from src/bun.js/bindings/JSBufferList.cpp rename to src/buntime/bindings/JSBufferList.cpp diff --git a/src/bun.js/bindings/JSBufferList.h b/src/buntime/bindings/JSBufferList.h similarity index 100% rename from src/bun.js/bindings/JSBufferList.h rename to src/buntime/bindings/JSBufferList.h diff --git a/src/bun.js/bindings/JSBunRequest.cpp b/src/buntime/bindings/JSBunRequest.cpp similarity index 100% rename from src/bun.js/bindings/JSBunRequest.cpp rename to src/buntime/bindings/JSBunRequest.cpp diff --git a/src/bun.js/bindings/JSBunRequest.h b/src/buntime/bindings/JSBunRequest.h similarity index 100% rename from src/bun.js/bindings/JSBunRequest.h rename to src/buntime/bindings/JSBunRequest.h diff --git a/src/bun.js/bindings/JSBundler+BunPlugin-impl.h b/src/buntime/bindings/JSBundler+BunPlugin-impl.h similarity index 100% rename from src/bun.js/bindings/JSBundler+BunPlugin-impl.h rename to src/buntime/bindings/JSBundler+BunPlugin-impl.h diff --git a/src/bun.js/bindings/JSBundlerPlugin.cpp b/src/buntime/bindings/JSBundlerPlugin.cpp similarity index 100% rename from src/bun.js/bindings/JSBundlerPlugin.cpp rename to src/buntime/bindings/JSBundlerPlugin.cpp diff --git a/src/bun.js/bindings/JSBundlerPlugin.h b/src/buntime/bindings/JSBundlerPlugin.h similarity index 100% rename from src/bun.js/bindings/JSBundlerPlugin.h rename to src/buntime/bindings/JSBundlerPlugin.h diff --git a/src/bun.js/bindings/JSCInlines.h b/src/buntime/bindings/JSCInlines.h similarity index 100% rename from src/bun.js/bindings/JSCInlines.h rename to src/buntime/bindings/JSCInlines.h diff --git a/src/bun.js/bindings/JSCTaskScheduler.cpp b/src/buntime/bindings/JSCTaskScheduler.cpp similarity index 100% rename from src/bun.js/bindings/JSCTaskScheduler.cpp rename to src/buntime/bindings/JSCTaskScheduler.cpp diff --git a/src/bun.js/bindings/JSCTaskScheduler.h b/src/buntime/bindings/JSCTaskScheduler.h similarity index 100% rename from src/bun.js/bindings/JSCTaskScheduler.h rename to src/buntime/bindings/JSCTaskScheduler.h diff --git a/src/bun.js/bindings/JSCTestingHelpers.cpp b/src/buntime/bindings/JSCTestingHelpers.cpp similarity index 100% rename from src/bun.js/bindings/JSCTestingHelpers.cpp rename to src/buntime/bindings/JSCTestingHelpers.cpp diff --git a/src/bun.js/bindings/JSCTestingHelpers.h b/src/buntime/bindings/JSCTestingHelpers.h similarity index 100% rename from src/bun.js/bindings/JSCTestingHelpers.h rename to src/buntime/bindings/JSCTestingHelpers.h diff --git a/src/bun.js/bindings/JSCell.zig b/src/buntime/bindings/JSCell.zig similarity index 100% rename from src/bun.js/bindings/JSCell.zig rename to src/buntime/bindings/JSCell.zig diff --git a/src/bun.js/bindings/JSCommonJSExtensions.cpp b/src/buntime/bindings/JSCommonJSExtensions.cpp similarity index 100% rename from src/bun.js/bindings/JSCommonJSExtensions.cpp rename to src/buntime/bindings/JSCommonJSExtensions.cpp diff --git a/src/bun.js/bindings/JSCommonJSExtensions.h b/src/buntime/bindings/JSCommonJSExtensions.h similarity index 100% rename from src/bun.js/bindings/JSCommonJSExtensions.h rename to src/buntime/bindings/JSCommonJSExtensions.h diff --git a/src/bun.js/bindings/JSCommonJSModule.cpp b/src/buntime/bindings/JSCommonJSModule.cpp similarity index 100% rename from src/bun.js/bindings/JSCommonJSModule.cpp rename to src/buntime/bindings/JSCommonJSModule.cpp diff --git a/src/bun.js/bindings/JSCommonJSModule.h b/src/buntime/bindings/JSCommonJSModule.h similarity index 100% rename from src/bun.js/bindings/JSCommonJSModule.h rename to src/buntime/bindings/JSCommonJSModule.h diff --git a/src/bun.js/bindings/JSCompressionStream.cpp b/src/buntime/bindings/JSCompressionStream.cpp similarity index 100% rename from src/bun.js/bindings/JSCompressionStream.cpp rename to src/buntime/bindings/JSCompressionStream.cpp diff --git a/src/bun.js/bindings/JSCompressionStream.h b/src/buntime/bindings/JSCompressionStream.h similarity index 100% rename from src/bun.js/bindings/JSCompressionStream.h rename to src/buntime/bindings/JSCompressionStream.h diff --git a/src/bun.js/bindings/JSDOMBinding.h b/src/buntime/bindings/JSDOMBinding.h similarity index 100% rename from src/bun.js/bindings/JSDOMBinding.h rename to src/buntime/bindings/JSDOMBinding.h diff --git a/src/bun.js/bindings/JSDOMConvertBufferSource+JSBuffer.h b/src/buntime/bindings/JSDOMConvertBufferSource+JSBuffer.h similarity index 100% rename from src/bun.js/bindings/JSDOMConvertBufferSource+JSBuffer.h rename to src/buntime/bindings/JSDOMConvertBufferSource+JSBuffer.h diff --git a/src/bun.js/bindings/JSDOMExceptionHandling.cpp b/src/buntime/bindings/JSDOMExceptionHandling.cpp similarity index 100% rename from src/bun.js/bindings/JSDOMExceptionHandling.cpp rename to src/buntime/bindings/JSDOMExceptionHandling.cpp diff --git a/src/bun.js/bindings/JSDOMExceptionHandling.h b/src/buntime/bindings/JSDOMExceptionHandling.h similarity index 100% rename from src/bun.js/bindings/JSDOMExceptionHandling.h rename to src/buntime/bindings/JSDOMExceptionHandling.h diff --git a/src/bun.js/bindings/JSDOMFile.cpp b/src/buntime/bindings/JSDOMFile.cpp similarity index 100% rename from src/bun.js/bindings/JSDOMFile.cpp rename to src/buntime/bindings/JSDOMFile.cpp diff --git a/src/bun.js/bindings/JSDOMFile.h b/src/buntime/bindings/JSDOMFile.h similarity index 100% rename from src/bun.js/bindings/JSDOMFile.h rename to src/buntime/bindings/JSDOMFile.h diff --git a/src/bun.js/bindings/JSDOMGlobalObject.cpp b/src/buntime/bindings/JSDOMGlobalObject.cpp similarity index 100% rename from src/bun.js/bindings/JSDOMGlobalObject.cpp rename to src/buntime/bindings/JSDOMGlobalObject.cpp diff --git a/src/bun.js/bindings/JSDOMGlobalObject.h b/src/buntime/bindings/JSDOMGlobalObject.h similarity index 100% rename from src/bun.js/bindings/JSDOMGlobalObject.h rename to src/buntime/bindings/JSDOMGlobalObject.h diff --git a/src/bun.js/bindings/JSDOMWrapper.cpp b/src/buntime/bindings/JSDOMWrapper.cpp similarity index 100% rename from src/bun.js/bindings/JSDOMWrapper.cpp rename to src/buntime/bindings/JSDOMWrapper.cpp diff --git a/src/bun.js/bindings/JSDOMWrapper.h b/src/buntime/bindings/JSDOMWrapper.h similarity index 100% rename from src/bun.js/bindings/JSDOMWrapper.h rename to src/buntime/bindings/JSDOMWrapper.h diff --git a/src/bun.js/bindings/JSDOMWrapperCache.cpp b/src/buntime/bindings/JSDOMWrapperCache.cpp similarity index 100% rename from src/bun.js/bindings/JSDOMWrapperCache.cpp rename to src/buntime/bindings/JSDOMWrapperCache.cpp diff --git a/src/bun.js/bindings/JSDOMWrapperCache.h b/src/buntime/bindings/JSDOMWrapperCache.h similarity index 100% rename from src/bun.js/bindings/JSDOMWrapperCache.h rename to src/buntime/bindings/JSDOMWrapperCache.h diff --git a/src/bun.js/bindings/JSDecompressionStream.cpp b/src/buntime/bindings/JSDecompressionStream.cpp similarity index 100% rename from src/bun.js/bindings/JSDecompressionStream.cpp rename to src/buntime/bindings/JSDecompressionStream.cpp diff --git a/src/bun.js/bindings/JSDecompressionStream.h b/src/buntime/bindings/JSDecompressionStream.h similarity index 100% rename from src/bun.js/bindings/JSDecompressionStream.h rename to src/buntime/bindings/JSDecompressionStream.h diff --git a/src/bun.js/bindings/JSEnvironmentVariableMap.cpp b/src/buntime/bindings/JSEnvironmentVariableMap.cpp similarity index 100% rename from src/bun.js/bindings/JSEnvironmentVariableMap.cpp rename to src/buntime/bindings/JSEnvironmentVariableMap.cpp diff --git a/src/bun.js/bindings/JSEnvironmentVariableMap.h b/src/buntime/bindings/JSEnvironmentVariableMap.h similarity index 100% rename from src/bun.js/bindings/JSEnvironmentVariableMap.h rename to src/buntime/bindings/JSEnvironmentVariableMap.h diff --git a/src/bun.js/bindings/JSErrorCode.zig b/src/buntime/bindings/JSErrorCode.zig similarity index 96% rename from src/bun.js/bindings/JSErrorCode.zig rename to src/buntime/bindings/JSErrorCode.zig index d62090bf93..135ba52c97 100644 --- a/src/bun.js/bindings/JSErrorCode.zig +++ b/src/buntime/bindings/JSErrorCode.zig @@ -17,7 +17,7 @@ pub const JSErrorCode = enum(u8) { _, }; -// keep in sync with ExceptionCode in src/bun.js/bindings/ExceptionCode.h +// keep in sync with ExceptionCode in src/buntime/bindings/ExceptionCode.h pub const DOMExceptionCode = enum(u8) { // DOMException error names (https://webidl.spec.whatwg.org/#idl-DOMException-error-names). // Those need to be kept in sync with the array in DOMException.cpp. diff --git a/src/bun.js/bindings/JSFFIFunction.cpp b/src/buntime/bindings/JSFFIFunction.cpp similarity index 100% rename from src/bun.js/bindings/JSFFIFunction.cpp rename to src/buntime/bindings/JSFFIFunction.cpp diff --git a/src/bun.js/bindings/JSFFIFunction.h b/src/buntime/bindings/JSFFIFunction.h similarity index 100% rename from src/bun.js/bindings/JSFFIFunction.h rename to src/buntime/bindings/JSFFIFunction.h diff --git a/src/bun.js/bindings/JSFunction.zig b/src/buntime/bindings/JSFunction.zig similarity index 100% rename from src/bun.js/bindings/JSFunction.zig rename to src/buntime/bindings/JSFunction.zig diff --git a/src/bun.js/bindings/JSGlobalObject.zig b/src/buntime/bindings/JSGlobalObject.zig similarity index 100% rename from src/bun.js/bindings/JSGlobalObject.zig rename to src/buntime/bindings/JSGlobalObject.zig diff --git a/src/bun.js/bindings/JSInternalPromise.zig b/src/buntime/bindings/JSInternalPromise.zig similarity index 100% rename from src/bun.js/bindings/JSInternalPromise.zig rename to src/buntime/bindings/JSInternalPromise.zig diff --git a/src/bun.js/bindings/JSMap.zig b/src/buntime/bindings/JSMap.zig similarity index 100% rename from src/bun.js/bindings/JSMap.zig rename to src/buntime/bindings/JSMap.zig diff --git a/src/bun.js/bindings/JSMockFunction.cpp b/src/buntime/bindings/JSMockFunction.cpp similarity index 100% rename from src/bun.js/bindings/JSMockFunction.cpp rename to src/buntime/bindings/JSMockFunction.cpp diff --git a/src/bun.js/bindings/JSMockFunction.h b/src/buntime/bindings/JSMockFunction.h similarity index 100% rename from src/bun.js/bindings/JSMockFunction.h rename to src/buntime/bindings/JSMockFunction.h diff --git a/src/bun.js/bindings/JSModuleLoader.zig b/src/buntime/bindings/JSModuleLoader.zig similarity index 100% rename from src/bun.js/bindings/JSModuleLoader.zig rename to src/buntime/bindings/JSModuleLoader.zig diff --git a/src/bun.js/bindings/JSNextTickQueue.cpp b/src/buntime/bindings/JSNextTickQueue.cpp similarity index 100% rename from src/bun.js/bindings/JSNextTickQueue.cpp rename to src/buntime/bindings/JSNextTickQueue.cpp diff --git a/src/bun.js/bindings/JSNextTickQueue.h b/src/buntime/bindings/JSNextTickQueue.h similarity index 100% rename from src/bun.js/bindings/JSNextTickQueue.h rename to src/buntime/bindings/JSNextTickQueue.h diff --git a/src/bun.js/bindings/JSNodePerformanceHooksHistogram.cpp b/src/buntime/bindings/JSNodePerformanceHooksHistogram.cpp similarity index 100% rename from src/bun.js/bindings/JSNodePerformanceHooksHistogram.cpp rename to src/buntime/bindings/JSNodePerformanceHooksHistogram.cpp diff --git a/src/bun.js/bindings/JSNodePerformanceHooksHistogram.h b/src/buntime/bindings/JSNodePerformanceHooksHistogram.h similarity index 100% rename from src/bun.js/bindings/JSNodePerformanceHooksHistogram.h rename to src/buntime/bindings/JSNodePerformanceHooksHistogram.h diff --git a/src/bun.js/bindings/JSNodePerformanceHooksHistogramConstructor.cpp b/src/buntime/bindings/JSNodePerformanceHooksHistogramConstructor.cpp similarity index 100% rename from src/bun.js/bindings/JSNodePerformanceHooksHistogramConstructor.cpp rename to src/buntime/bindings/JSNodePerformanceHooksHistogramConstructor.cpp diff --git a/src/bun.js/bindings/JSNodePerformanceHooksHistogramConstructor.h b/src/buntime/bindings/JSNodePerformanceHooksHistogramConstructor.h similarity index 100% rename from src/bun.js/bindings/JSNodePerformanceHooksHistogramConstructor.h rename to src/buntime/bindings/JSNodePerformanceHooksHistogramConstructor.h diff --git a/src/bun.js/bindings/JSNodePerformanceHooksHistogramPrototype.cpp b/src/buntime/bindings/JSNodePerformanceHooksHistogramPrototype.cpp similarity index 100% rename from src/bun.js/bindings/JSNodePerformanceHooksHistogramPrototype.cpp rename to src/buntime/bindings/JSNodePerformanceHooksHistogramPrototype.cpp diff --git a/src/bun.js/bindings/JSNodePerformanceHooksHistogramPrototype.h b/src/buntime/bindings/JSNodePerformanceHooksHistogramPrototype.h similarity index 100% rename from src/bun.js/bindings/JSNodePerformanceHooksHistogramPrototype.h rename to src/buntime/bindings/JSNodePerformanceHooksHistogramPrototype.h diff --git a/src/bun.js/bindings/JSObject.zig b/src/buntime/bindings/JSObject.zig similarity index 100% rename from src/bun.js/bindings/JSObject.zig rename to src/buntime/bindings/JSObject.zig diff --git a/src/bun.js/bindings/JSPromise.zig b/src/buntime/bindings/JSPromise.zig similarity index 100% rename from src/bun.js/bindings/JSPromise.zig rename to src/buntime/bindings/JSPromise.zig diff --git a/src/bun.js/bindings/JSPromiseRejectionOperation.zig b/src/buntime/bindings/JSPromiseRejectionOperation.zig similarity index 100% rename from src/bun.js/bindings/JSPromiseRejectionOperation.zig rename to src/buntime/bindings/JSPromiseRejectionOperation.zig diff --git a/src/bun.js/bindings/JSPropertyIterator.cpp b/src/buntime/bindings/JSPropertyIterator.cpp similarity index 100% rename from src/bun.js/bindings/JSPropertyIterator.cpp rename to src/buntime/bindings/JSPropertyIterator.cpp diff --git a/src/bun.js/bindings/JSPropertyIterator.zig b/src/buntime/bindings/JSPropertyIterator.zig similarity index 100% rename from src/bun.js/bindings/JSPropertyIterator.zig rename to src/buntime/bindings/JSPropertyIterator.zig diff --git a/src/bun.js/bindings/JSRef.zig b/src/buntime/bindings/JSRef.zig similarity index 100% rename from src/bun.js/bindings/JSRef.zig rename to src/buntime/bindings/JSRef.zig diff --git a/src/bun.js/bindings/JSRuntimeType.zig b/src/buntime/bindings/JSRuntimeType.zig similarity index 100% rename from src/bun.js/bindings/JSRuntimeType.zig rename to src/buntime/bindings/JSRuntimeType.zig diff --git a/src/bun.js/bindings/JSS3File.cpp b/src/buntime/bindings/JSS3File.cpp similarity index 100% rename from src/bun.js/bindings/JSS3File.cpp rename to src/buntime/bindings/JSS3File.cpp diff --git a/src/bun.js/bindings/JSS3File.h b/src/buntime/bindings/JSS3File.h similarity index 100% rename from src/bun.js/bindings/JSS3File.h rename to src/buntime/bindings/JSS3File.h diff --git a/src/bun.js/bindings/JSSecrets.cpp b/src/buntime/bindings/JSSecrets.cpp similarity index 100% rename from src/bun.js/bindings/JSSecrets.cpp rename to src/buntime/bindings/JSSecrets.cpp diff --git a/src/bun.js/bindings/JSSecrets.zig b/src/buntime/bindings/JSSecrets.zig similarity index 100% rename from src/bun.js/bindings/JSSecrets.zig rename to src/buntime/bindings/JSSecrets.zig diff --git a/src/bun.js/bindings/JSSocketAddressDTO.cpp b/src/buntime/bindings/JSSocketAddressDTO.cpp similarity index 100% rename from src/bun.js/bindings/JSSocketAddressDTO.cpp rename to src/buntime/bindings/JSSocketAddressDTO.cpp diff --git a/src/bun.js/bindings/JSSocketAddressDTO.h b/src/buntime/bindings/JSSocketAddressDTO.h similarity index 100% rename from src/bun.js/bindings/JSSocketAddressDTO.h rename to src/buntime/bindings/JSSocketAddressDTO.h diff --git a/src/bun.js/bindings/JSString.zig b/src/buntime/bindings/JSString.zig similarity index 100% rename from src/bun.js/bindings/JSString.zig rename to src/buntime/bindings/JSString.zig diff --git a/src/bun.js/bindings/JSStringDecoder.cpp b/src/buntime/bindings/JSStringDecoder.cpp similarity index 100% rename from src/bun.js/bindings/JSStringDecoder.cpp rename to src/buntime/bindings/JSStringDecoder.cpp diff --git a/src/bun.js/bindings/JSStringDecoder.h b/src/buntime/bindings/JSStringDecoder.h similarity index 100% rename from src/bun.js/bindings/JSStringDecoder.h rename to src/buntime/bindings/JSStringDecoder.h diff --git a/src/bun.js/bindings/JSType.zig b/src/buntime/bindings/JSType.zig similarity index 100% rename from src/bun.js/bindings/JSType.zig rename to src/buntime/bindings/JSType.zig diff --git a/src/bun.js/bindings/JSUint8Array.zig b/src/buntime/bindings/JSUint8Array.zig similarity index 100% rename from src/bun.js/bindings/JSUint8Array.zig rename to src/buntime/bindings/JSUint8Array.zig diff --git a/src/bun.js/bindings/JSValue.zig b/src/buntime/bindings/JSValue.zig similarity index 99% rename from src/bun.js/bindings/JSValue.zig rename to src/buntime/bindings/JSValue.zig index 8d911d6ecc..c899a61ce8 100644 --- a/src/bun.js/bindings/JSValue.zig +++ b/src/buntime/bindings/JSValue.zig @@ -1288,7 +1288,7 @@ pub const JSValue = enum(i64) { return JSC__JSValue__eqlCell(this, other); } - /// This must match the enum in C++ in src/bun.js/bindings/bindings.cpp BuiltinNamesMap + /// This must match the enum in C++ in src/buntime/bindings/bindings.cpp BuiltinNamesMap pub const BuiltinName = enum(u8) { method, headers, diff --git a/src/bun.js/bindings/JSWrappingFunction.cpp b/src/buntime/bindings/JSWrappingFunction.cpp similarity index 100% rename from src/bun.js/bindings/JSWrappingFunction.cpp rename to src/buntime/bindings/JSWrappingFunction.cpp diff --git a/src/bun.js/bindings/JSWrappingFunction.h b/src/buntime/bindings/JSWrappingFunction.h similarity index 100% rename from src/bun.js/bindings/JSWrappingFunction.h rename to src/buntime/bindings/JSWrappingFunction.h diff --git a/src/bun.js/bindings/JSX509Certificate.cpp b/src/buntime/bindings/JSX509Certificate.cpp similarity index 100% rename from src/bun.js/bindings/JSX509Certificate.cpp rename to src/buntime/bindings/JSX509Certificate.cpp diff --git a/src/bun.js/bindings/JSX509Certificate.h b/src/buntime/bindings/JSX509Certificate.h similarity index 100% rename from src/bun.js/bindings/JSX509Certificate.h rename to src/buntime/bindings/JSX509Certificate.h diff --git a/src/bun.js/bindings/JSX509CertificateConstructor.cpp b/src/buntime/bindings/JSX509CertificateConstructor.cpp similarity index 100% rename from src/bun.js/bindings/JSX509CertificateConstructor.cpp rename to src/buntime/bindings/JSX509CertificateConstructor.cpp diff --git a/src/bun.js/bindings/JSX509CertificateConstructor.h b/src/buntime/bindings/JSX509CertificateConstructor.h similarity index 100% rename from src/bun.js/bindings/JSX509CertificateConstructor.h rename to src/buntime/bindings/JSX509CertificateConstructor.h diff --git a/src/bun.js/bindings/JSX509CertificatePrototype.cpp b/src/buntime/bindings/JSX509CertificatePrototype.cpp similarity index 100% rename from src/bun.js/bindings/JSX509CertificatePrototype.cpp rename to src/buntime/bindings/JSX509CertificatePrototype.cpp diff --git a/src/bun.js/bindings/JSX509CertificatePrototype.h b/src/buntime/bindings/JSX509CertificatePrototype.h similarity index 100% rename from src/bun.js/bindings/JSX509CertificatePrototype.h rename to src/buntime/bindings/JSX509CertificatePrototype.h diff --git a/src/bun.js/bindings/MarkedArgumentBuffer.zig b/src/buntime/bindings/MarkedArgumentBuffer.zig similarity index 100% rename from src/bun.js/bindings/MarkedArgumentBuffer.zig rename to src/buntime/bindings/MarkedArgumentBuffer.zig diff --git a/src/bun.js/bindings/MarkedArgumentBufferBinding.cpp b/src/buntime/bindings/MarkedArgumentBufferBinding.cpp similarity index 100% rename from src/bun.js/bindings/MarkedArgumentBufferBinding.cpp rename to src/buntime/bindings/MarkedArgumentBufferBinding.cpp diff --git a/src/bun.js/bindings/MarkingConstraint.cpp b/src/buntime/bindings/MarkingConstraint.cpp similarity index 100% rename from src/bun.js/bindings/MarkingConstraint.cpp rename to src/buntime/bindings/MarkingConstraint.cpp diff --git a/src/bun.js/bindings/MiString.h b/src/buntime/bindings/MiString.h similarity index 100% rename from src/bun.js/bindings/MiString.h rename to src/buntime/bindings/MiString.h diff --git a/src/bun.js/bindings/MimallocWTFMalloc.h b/src/buntime/bindings/MimallocWTFMalloc.h similarity index 100% rename from src/bun.js/bindings/MimallocWTFMalloc.h rename to src/buntime/bindings/MimallocWTFMalloc.h diff --git a/src/bun.js/bindings/ModuleLoader.cpp b/src/buntime/bindings/ModuleLoader.cpp similarity index 100% rename from src/bun.js/bindings/ModuleLoader.cpp rename to src/buntime/bindings/ModuleLoader.cpp diff --git a/src/bun.js/bindings/ModuleLoader.h b/src/buntime/bindings/ModuleLoader.h similarity index 100% rename from src/bun.js/bindings/ModuleLoader.h rename to src/buntime/bindings/ModuleLoader.h diff --git a/src/bun.js/bindings/NapiClass.cpp b/src/buntime/bindings/NapiClass.cpp similarity index 100% rename from src/bun.js/bindings/NapiClass.cpp rename to src/buntime/bindings/NapiClass.cpp diff --git a/src/bun.js/bindings/NapiRef.cpp b/src/buntime/bindings/NapiRef.cpp similarity index 100% rename from src/bun.js/bindings/NapiRef.cpp rename to src/buntime/bindings/NapiRef.cpp diff --git a/src/bun.js/bindings/NapiWeakValue.cpp b/src/buntime/bindings/NapiWeakValue.cpp similarity index 100% rename from src/bun.js/bindings/NapiWeakValue.cpp rename to src/buntime/bindings/NapiWeakValue.cpp diff --git a/src/bun.js/bindings/NoOpForTesting.cpp b/src/buntime/bindings/NoOpForTesting.cpp similarity index 100% rename from src/bun.js/bindings/NoOpForTesting.cpp rename to src/buntime/bindings/NoOpForTesting.cpp diff --git a/src/bun.js/bindings/NoOpForTesting.h b/src/buntime/bindings/NoOpForTesting.h similarity index 100% rename from src/bun.js/bindings/NoOpForTesting.h rename to src/buntime/bindings/NoOpForTesting.h diff --git a/src/bun.js/bindings/NodeAsyncHooks.cpp b/src/buntime/bindings/NodeAsyncHooks.cpp similarity index 100% rename from src/bun.js/bindings/NodeAsyncHooks.cpp rename to src/buntime/bindings/NodeAsyncHooks.cpp diff --git a/src/bun.js/bindings/NodeAsyncHooks.h b/src/buntime/bindings/NodeAsyncHooks.h similarity index 100% rename from src/bun.js/bindings/NodeAsyncHooks.h rename to src/buntime/bindings/NodeAsyncHooks.h diff --git a/src/bun.js/bindings/NodeConstants.h b/src/buntime/bindings/NodeConstants.h similarity index 100% rename from src/bun.js/bindings/NodeConstants.h rename to src/buntime/bindings/NodeConstants.h diff --git a/src/bun.js/bindings/NodeDirent.cpp b/src/buntime/bindings/NodeDirent.cpp similarity index 100% rename from src/bun.js/bindings/NodeDirent.cpp rename to src/buntime/bindings/NodeDirent.cpp diff --git a/src/bun.js/bindings/NodeDirent.h b/src/buntime/bindings/NodeDirent.h similarity index 100% rename from src/bun.js/bindings/NodeDirent.h rename to src/buntime/bindings/NodeDirent.h diff --git a/src/bun.js/bindings/NodeFSStatBinding.cpp b/src/buntime/bindings/NodeFSStatBinding.cpp similarity index 100% rename from src/bun.js/bindings/NodeFSStatBinding.cpp rename to src/buntime/bindings/NodeFSStatBinding.cpp diff --git a/src/bun.js/bindings/NodeFSStatBinding.h b/src/buntime/bindings/NodeFSStatBinding.h similarity index 100% rename from src/bun.js/bindings/NodeFSStatBinding.h rename to src/buntime/bindings/NodeFSStatBinding.h diff --git a/src/bun.js/bindings/NodeFSStatFSBinding.cpp b/src/buntime/bindings/NodeFSStatFSBinding.cpp similarity index 100% rename from src/bun.js/bindings/NodeFSStatFSBinding.cpp rename to src/buntime/bindings/NodeFSStatFSBinding.cpp diff --git a/src/bun.js/bindings/NodeFSStatFSBinding.h b/src/buntime/bindings/NodeFSStatFSBinding.h similarity index 100% rename from src/bun.js/bindings/NodeFSStatFSBinding.h rename to src/buntime/bindings/NodeFSStatFSBinding.h diff --git a/src/bun.js/bindings/NodeFetch.cpp b/src/buntime/bindings/NodeFetch.cpp similarity index 100% rename from src/bun.js/bindings/NodeFetch.cpp rename to src/buntime/bindings/NodeFetch.cpp diff --git a/src/bun.js/bindings/NodeFetch.h b/src/buntime/bindings/NodeFetch.h similarity index 100% rename from src/bun.js/bindings/NodeFetch.h rename to src/buntime/bindings/NodeFetch.h diff --git a/src/bun.js/bindings/NodeHTTP.cpp b/src/buntime/bindings/NodeHTTP.cpp similarity index 100% rename from src/bun.js/bindings/NodeHTTP.cpp rename to src/buntime/bindings/NodeHTTP.cpp diff --git a/src/bun.js/bindings/NodeHTTP.h b/src/buntime/bindings/NodeHTTP.h similarity index 100% rename from src/bun.js/bindings/NodeHTTP.h rename to src/buntime/bindings/NodeHTTP.h diff --git a/src/bun.js/bindings/NodeModuleModule.bind.ts b/src/buntime/bindings/NodeModuleModule.bind.ts similarity index 100% rename from src/bun.js/bindings/NodeModuleModule.bind.ts rename to src/buntime/bindings/NodeModuleModule.bind.ts diff --git a/src/bun.js/bindings/NodeModuleModule.zig b/src/buntime/bindings/NodeModuleModule.zig similarity index 100% rename from src/bun.js/bindings/NodeModuleModule.zig rename to src/buntime/bindings/NodeModuleModule.zig diff --git a/src/bun.js/bindings/NodeTLS.cpp b/src/buntime/bindings/NodeTLS.cpp similarity index 100% rename from src/bun.js/bindings/NodeTLS.cpp rename to src/buntime/bindings/NodeTLS.cpp diff --git a/src/bun.js/bindings/NodeTLS.h b/src/buntime/bindings/NodeTLS.h similarity index 100% rename from src/bun.js/bindings/NodeTLS.h rename to src/buntime/bindings/NodeTLS.h diff --git a/src/bun.js/bindings/NodeTimerObject.cpp b/src/buntime/bindings/NodeTimerObject.cpp similarity index 100% rename from src/bun.js/bindings/NodeTimerObject.cpp rename to src/buntime/bindings/NodeTimerObject.cpp diff --git a/src/bun.js/bindings/NodeURL.cpp b/src/buntime/bindings/NodeURL.cpp similarity index 100% rename from src/bun.js/bindings/NodeURL.cpp rename to src/buntime/bindings/NodeURL.cpp diff --git a/src/bun.js/bindings/NodeURL.h b/src/buntime/bindings/NodeURL.h similarity index 100% rename from src/bun.js/bindings/NodeURL.h rename to src/buntime/bindings/NodeURL.h diff --git a/src/bun.js/bindings/NodeVM.cpp b/src/buntime/bindings/NodeVM.cpp similarity index 100% rename from src/bun.js/bindings/NodeVM.cpp rename to src/buntime/bindings/NodeVM.cpp diff --git a/src/bun.js/bindings/NodeVM.h b/src/buntime/bindings/NodeVM.h similarity index 100% rename from src/bun.js/bindings/NodeVM.h rename to src/buntime/bindings/NodeVM.h diff --git a/src/bun.js/bindings/NodeVMModule.cpp b/src/buntime/bindings/NodeVMModule.cpp similarity index 100% rename from src/bun.js/bindings/NodeVMModule.cpp rename to src/buntime/bindings/NodeVMModule.cpp diff --git a/src/bun.js/bindings/NodeVMModule.h b/src/buntime/bindings/NodeVMModule.h similarity index 100% rename from src/bun.js/bindings/NodeVMModule.h rename to src/buntime/bindings/NodeVMModule.h diff --git a/src/bun.js/bindings/NodeVMScript.cpp b/src/buntime/bindings/NodeVMScript.cpp similarity index 100% rename from src/bun.js/bindings/NodeVMScript.cpp rename to src/buntime/bindings/NodeVMScript.cpp diff --git a/src/bun.js/bindings/NodeVMScript.h b/src/buntime/bindings/NodeVMScript.h similarity index 100% rename from src/bun.js/bindings/NodeVMScript.h rename to src/buntime/bindings/NodeVMScript.h diff --git a/src/bun.js/bindings/NodeVMScriptFetcher.h b/src/buntime/bindings/NodeVMScriptFetcher.h similarity index 100% rename from src/bun.js/bindings/NodeVMScriptFetcher.h rename to src/buntime/bindings/NodeVMScriptFetcher.h diff --git a/src/bun.js/bindings/NodeVMSourceTextModule.cpp b/src/buntime/bindings/NodeVMSourceTextModule.cpp similarity index 100% rename from src/bun.js/bindings/NodeVMSourceTextModule.cpp rename to src/buntime/bindings/NodeVMSourceTextModule.cpp diff --git a/src/bun.js/bindings/NodeVMSourceTextModule.h b/src/buntime/bindings/NodeVMSourceTextModule.h similarity index 100% rename from src/bun.js/bindings/NodeVMSourceTextModule.h rename to src/buntime/bindings/NodeVMSourceTextModule.h diff --git a/src/bun.js/bindings/NodeVMSyntheticModule.cpp b/src/buntime/bindings/NodeVMSyntheticModule.cpp similarity index 100% rename from src/bun.js/bindings/NodeVMSyntheticModule.cpp rename to src/buntime/bindings/NodeVMSyntheticModule.cpp diff --git a/src/bun.js/bindings/NodeVMSyntheticModule.h b/src/buntime/bindings/NodeVMSyntheticModule.h similarity index 100% rename from src/bun.js/bindings/NodeVMSyntheticModule.h rename to src/buntime/bindings/NodeVMSyntheticModule.h diff --git a/src/bun.js/bindings/NodeValidator.cpp b/src/buntime/bindings/NodeValidator.cpp similarity index 100% rename from src/bun.js/bindings/NodeValidator.cpp rename to src/buntime/bindings/NodeValidator.cpp diff --git a/src/bun.js/bindings/NodeValidator.h b/src/buntime/bindings/NodeValidator.h similarity index 100% rename from src/bun.js/bindings/NodeValidator.h rename to src/buntime/bindings/NodeValidator.h diff --git a/src/bun.js/bindings/ObjectBindings.cpp b/src/buntime/bindings/ObjectBindings.cpp similarity index 100% rename from src/bun.js/bindings/ObjectBindings.cpp rename to src/buntime/bindings/ObjectBindings.cpp diff --git a/src/bun.js/bindings/ObjectBindings.h b/src/buntime/bindings/ObjectBindings.h similarity index 100% rename from src/bun.js/bindings/ObjectBindings.h rename to src/buntime/bindings/ObjectBindings.h diff --git a/src/bun.js/bindings/OsBinding.cpp b/src/buntime/bindings/OsBinding.cpp similarity index 100% rename from src/bun.js/bindings/OsBinding.cpp rename to src/buntime/bindings/OsBinding.cpp diff --git a/src/bun.js/bindings/Path.cpp b/src/buntime/bindings/Path.cpp similarity index 100% rename from src/bun.js/bindings/Path.cpp rename to src/buntime/bindings/Path.cpp diff --git a/src/bun.js/bindings/Path.h b/src/buntime/bindings/Path.h similarity index 100% rename from src/bun.js/bindings/Path.h rename to src/buntime/bindings/Path.h diff --git a/src/bun.js/bindings/PathInlines.h b/src/buntime/bindings/PathInlines.h similarity index 100% rename from src/bun.js/bindings/PathInlines.h rename to src/buntime/bindings/PathInlines.h diff --git a/src/bun.js/bindings/ProcessBindingBuffer.cpp b/src/buntime/bindings/ProcessBindingBuffer.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingBuffer.cpp rename to src/buntime/bindings/ProcessBindingBuffer.cpp diff --git a/src/bun.js/bindings/ProcessBindingBuffer.h b/src/buntime/bindings/ProcessBindingBuffer.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingBuffer.h rename to src/buntime/bindings/ProcessBindingBuffer.h diff --git a/src/bun.js/bindings/ProcessBindingConstants.cpp b/src/buntime/bindings/ProcessBindingConstants.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingConstants.cpp rename to src/buntime/bindings/ProcessBindingConstants.cpp diff --git a/src/bun.js/bindings/ProcessBindingConstants.h b/src/buntime/bindings/ProcessBindingConstants.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingConstants.h rename to src/buntime/bindings/ProcessBindingConstants.h diff --git a/src/bun.js/bindings/ProcessBindingFs.cpp b/src/buntime/bindings/ProcessBindingFs.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingFs.cpp rename to src/buntime/bindings/ProcessBindingFs.cpp diff --git a/src/bun.js/bindings/ProcessBindingFs.h b/src/buntime/bindings/ProcessBindingFs.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingFs.h rename to src/buntime/bindings/ProcessBindingFs.h diff --git a/src/bun.js/bindings/ProcessBindingHTTPParser.cpp b/src/buntime/bindings/ProcessBindingHTTPParser.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingHTTPParser.cpp rename to src/buntime/bindings/ProcessBindingHTTPParser.cpp diff --git a/src/bun.js/bindings/ProcessBindingHTTPParser.h b/src/buntime/bindings/ProcessBindingHTTPParser.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingHTTPParser.h rename to src/buntime/bindings/ProcessBindingHTTPParser.h diff --git a/src/bun.js/bindings/ProcessBindingNatives.cpp b/src/buntime/bindings/ProcessBindingNatives.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingNatives.cpp rename to src/buntime/bindings/ProcessBindingNatives.cpp diff --git a/src/bun.js/bindings/ProcessBindingNatives.h b/src/buntime/bindings/ProcessBindingNatives.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingNatives.h rename to src/buntime/bindings/ProcessBindingNatives.h diff --git a/src/bun.js/bindings/ProcessBindingTTYWrap.cpp b/src/buntime/bindings/ProcessBindingTTYWrap.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingTTYWrap.cpp rename to src/buntime/bindings/ProcessBindingTTYWrap.cpp diff --git a/src/bun.js/bindings/ProcessBindingTTYWrap.h b/src/buntime/bindings/ProcessBindingTTYWrap.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingTTYWrap.h rename to src/buntime/bindings/ProcessBindingTTYWrap.h diff --git a/src/bun.js/bindings/ProcessBindingUV.cpp b/src/buntime/bindings/ProcessBindingUV.cpp similarity index 100% rename from src/bun.js/bindings/ProcessBindingUV.cpp rename to src/buntime/bindings/ProcessBindingUV.cpp diff --git a/src/bun.js/bindings/ProcessBindingUV.h b/src/buntime/bindings/ProcessBindingUV.h similarity index 100% rename from src/bun.js/bindings/ProcessBindingUV.h rename to src/buntime/bindings/ProcessBindingUV.h diff --git a/src/bun.js/bindings/ProcessIdentifier.cpp b/src/buntime/bindings/ProcessIdentifier.cpp similarity index 100% rename from src/bun.js/bindings/ProcessIdentifier.cpp rename to src/buntime/bindings/ProcessIdentifier.cpp diff --git a/src/bun.js/bindings/ProcessIdentifier.h b/src/buntime/bindings/ProcessIdentifier.h similarity index 100% rename from src/bun.js/bindings/ProcessIdentifier.h rename to src/buntime/bindings/ProcessIdentifier.h diff --git a/src/bun.js/bindings/RegularExpression.cpp b/src/buntime/bindings/RegularExpression.cpp similarity index 100% rename from src/bun.js/bindings/RegularExpression.cpp rename to src/buntime/bindings/RegularExpression.cpp diff --git a/src/bun.js/bindings/RegularExpression.zig b/src/buntime/bindings/RegularExpression.zig similarity index 100% rename from src/bun.js/bindings/RegularExpression.zig rename to src/buntime/bindings/RegularExpression.zig diff --git a/src/bun.js/bindings/ResolvedSource.zig b/src/buntime/bindings/ResolvedSource.zig similarity index 100% rename from src/bun.js/bindings/ResolvedSource.zig rename to src/buntime/bindings/ResolvedSource.zig diff --git a/src/bun.js/bindings/S3Error.cpp b/src/buntime/bindings/S3Error.cpp similarity index 100% rename from src/bun.js/bindings/S3Error.cpp rename to src/buntime/bindings/S3Error.cpp diff --git a/src/bun.js/bindings/S3Error.h b/src/buntime/bindings/S3Error.h similarity index 100% rename from src/bun.js/bindings/S3Error.h rename to src/buntime/bindings/S3Error.h diff --git a/src/bun.js/bindings/SQLClient.cpp b/src/buntime/bindings/SQLClient.cpp similarity index 100% rename from src/bun.js/bindings/SQLClient.cpp rename to src/buntime/bindings/SQLClient.cpp diff --git a/src/bun.js/bindings/ScriptExecutionContext.cpp b/src/buntime/bindings/ScriptExecutionContext.cpp similarity index 100% rename from src/bun.js/bindings/ScriptExecutionContext.cpp rename to src/buntime/bindings/ScriptExecutionContext.cpp diff --git a/src/bun.js/bindings/ScriptExecutionContext.h b/src/buntime/bindings/ScriptExecutionContext.h similarity index 100% rename from src/bun.js/bindings/ScriptExecutionContext.h rename to src/buntime/bindings/ScriptExecutionContext.h diff --git a/src/bun.js/bindings/ScriptExecutionStatus.zig b/src/buntime/bindings/ScriptExecutionStatus.zig similarity index 100% rename from src/bun.js/bindings/ScriptExecutionStatus.zig rename to src/buntime/bindings/ScriptExecutionStatus.zig diff --git a/src/bun.js/bindings/Secrets.h b/src/buntime/bindings/Secrets.h similarity index 100% rename from src/bun.js/bindings/Secrets.h rename to src/buntime/bindings/Secrets.h diff --git a/src/bun.js/bindings/SecretsDarwin.cpp b/src/buntime/bindings/SecretsDarwin.cpp similarity index 100% rename from src/bun.js/bindings/SecretsDarwin.cpp rename to src/buntime/bindings/SecretsDarwin.cpp diff --git a/src/bun.js/bindings/SecretsLinux.cpp b/src/buntime/bindings/SecretsLinux.cpp similarity index 100% rename from src/bun.js/bindings/SecretsLinux.cpp rename to src/buntime/bindings/SecretsLinux.cpp diff --git a/src/bun.js/bindings/SecretsWindows.cpp b/src/buntime/bindings/SecretsWindows.cpp similarity index 100% rename from src/bun.js/bindings/SecretsWindows.cpp rename to src/buntime/bindings/SecretsWindows.cpp diff --git a/src/bun.js/bindings/Serialization.cpp b/src/buntime/bindings/Serialization.cpp similarity index 100% rename from src/bun.js/bindings/Serialization.cpp rename to src/buntime/bindings/Serialization.cpp diff --git a/src/bun.js/bindings/ServerRouteList.cpp b/src/buntime/bindings/ServerRouteList.cpp similarity index 100% rename from src/bun.js/bindings/ServerRouteList.cpp rename to src/buntime/bindings/ServerRouteList.cpp diff --git a/src/bun.js/bindings/ServerRouteList.h b/src/buntime/bindings/ServerRouteList.h similarity index 100% rename from src/bun.js/bindings/ServerRouteList.h rename to src/buntime/bindings/ServerRouteList.h diff --git a/src/bun.js/bindings/ShellBindings.cpp b/src/buntime/bindings/ShellBindings.cpp similarity index 100% rename from src/bun.js/bindings/ShellBindings.cpp rename to src/buntime/bindings/ShellBindings.cpp diff --git a/src/bun.js/bindings/Sink.h b/src/buntime/bindings/Sink.h similarity index 100% rename from src/bun.js/bindings/Sink.h rename to src/buntime/bindings/Sink.h diff --git a/src/bun.js/bindings/SourceProvider.zig b/src/buntime/bindings/SourceProvider.zig similarity index 100% rename from src/bun.js/bindings/SourceProvider.zig rename to src/buntime/bindings/SourceProvider.zig diff --git a/src/bun.js/bindings/SourceType.zig b/src/buntime/bindings/SourceType.zig similarity index 100% rename from src/bun.js/bindings/SourceType.zig rename to src/buntime/bindings/SourceType.zig diff --git a/src/bun.js/bindings/StreamGlobals.h b/src/buntime/bindings/StreamGlobals.h similarity index 100% rename from src/bun.js/bindings/StreamGlobals.h rename to src/buntime/bindings/StreamGlobals.h diff --git a/src/bun.js/bindings/StringAdaptors.h b/src/buntime/bindings/StringAdaptors.h similarity index 100% rename from src/bun.js/bindings/StringAdaptors.h rename to src/buntime/bindings/StringAdaptors.h diff --git a/src/bun.js/bindings/StringBuilder.zig b/src/buntime/bindings/StringBuilder.zig similarity index 100% rename from src/bun.js/bindings/StringBuilder.zig rename to src/buntime/bindings/StringBuilder.zig diff --git a/src/bun.js/bindings/StringBuilderBinding.cpp b/src/buntime/bindings/StringBuilderBinding.cpp similarity index 100% rename from src/bun.js/bindings/StringBuilderBinding.cpp rename to src/buntime/bindings/StringBuilderBinding.cpp diff --git a/src/bun.js/bindings/StrongRef.cpp b/src/buntime/bindings/StrongRef.cpp similarity index 100% rename from src/bun.js/bindings/StrongRef.cpp rename to src/buntime/bindings/StrongRef.cpp diff --git a/src/bun.js/bindings/StrongRef.h b/src/buntime/bindings/StrongRef.h similarity index 100% rename from src/bun.js/bindings/StrongRef.h rename to src/buntime/bindings/StrongRef.h diff --git a/src/bun.js/bindings/SystemError.zig b/src/buntime/bindings/SystemError.zig similarity index 100% rename from src/bun.js/bindings/SystemError.zig rename to src/buntime/bindings/SystemError.zig diff --git a/src/bun.js/bindings/TextCodec.cpp b/src/buntime/bindings/TextCodec.cpp similarity index 100% rename from src/bun.js/bindings/TextCodec.cpp rename to src/buntime/bindings/TextCodec.cpp diff --git a/src/bun.js/bindings/TextCodec.h b/src/buntime/bindings/TextCodec.h similarity index 100% rename from src/bun.js/bindings/TextCodec.h rename to src/buntime/bindings/TextCodec.h diff --git a/src/bun.js/bindings/TextCodec.zig b/src/buntime/bindings/TextCodec.zig similarity index 100% rename from src/bun.js/bindings/TextCodec.zig rename to src/buntime/bindings/TextCodec.zig diff --git a/src/bun.js/bindings/TextCodecASCIIFastPath.h b/src/buntime/bindings/TextCodecASCIIFastPath.h similarity index 100% rename from src/bun.js/bindings/TextCodecASCIIFastPath.h rename to src/buntime/bindings/TextCodecASCIIFastPath.h diff --git a/src/bun.js/bindings/TextCodecCJK.cpp b/src/buntime/bindings/TextCodecCJK.cpp similarity index 100% rename from src/bun.js/bindings/TextCodecCJK.cpp rename to src/buntime/bindings/TextCodecCJK.cpp diff --git a/src/bun.js/bindings/TextCodecCJK.h b/src/buntime/bindings/TextCodecCJK.h similarity index 100% rename from src/bun.js/bindings/TextCodecCJK.h rename to src/buntime/bindings/TextCodecCJK.h diff --git a/src/bun.js/bindings/TextCodecReplacement.cpp b/src/buntime/bindings/TextCodecReplacement.cpp similarity index 100% rename from src/bun.js/bindings/TextCodecReplacement.cpp rename to src/buntime/bindings/TextCodecReplacement.cpp diff --git a/src/bun.js/bindings/TextCodecReplacement.h b/src/buntime/bindings/TextCodecReplacement.h similarity index 100% rename from src/bun.js/bindings/TextCodecReplacement.h rename to src/buntime/bindings/TextCodecReplacement.h diff --git a/src/bun.js/bindings/TextCodecSingleByte.cpp b/src/buntime/bindings/TextCodecSingleByte.cpp similarity index 100% rename from src/bun.js/bindings/TextCodecSingleByte.cpp rename to src/buntime/bindings/TextCodecSingleByte.cpp diff --git a/src/bun.js/bindings/TextCodecSingleByte.h b/src/buntime/bindings/TextCodecSingleByte.h similarity index 100% rename from src/bun.js/bindings/TextCodecSingleByte.h rename to src/buntime/bindings/TextCodecSingleByte.h diff --git a/src/bun.js/bindings/TextCodecUserDefined.cpp b/src/buntime/bindings/TextCodecUserDefined.cpp similarity index 100% rename from src/bun.js/bindings/TextCodecUserDefined.cpp rename to src/buntime/bindings/TextCodecUserDefined.cpp diff --git a/src/bun.js/bindings/TextCodecUserDefined.h b/src/buntime/bindings/TextCodecUserDefined.h similarity index 100% rename from src/bun.js/bindings/TextCodecUserDefined.h rename to src/buntime/bindings/TextCodecUserDefined.h diff --git a/src/bun.js/bindings/TextCodecWrapper.cpp b/src/buntime/bindings/TextCodecWrapper.cpp similarity index 100% rename from src/bun.js/bindings/TextCodecWrapper.cpp rename to src/buntime/bindings/TextCodecWrapper.cpp diff --git a/src/bun.js/bindings/TextEncoding.cpp b/src/buntime/bindings/TextEncoding.cpp similarity index 100% rename from src/bun.js/bindings/TextEncoding.cpp rename to src/buntime/bindings/TextEncoding.cpp diff --git a/src/bun.js/bindings/TextEncoding.h b/src/buntime/bindings/TextEncoding.h similarity index 100% rename from src/bun.js/bindings/TextEncoding.h rename to src/buntime/bindings/TextEncoding.h diff --git a/src/bun.js/bindings/TextEncodingRegistry.cpp b/src/buntime/bindings/TextEncodingRegistry.cpp similarity index 100% rename from src/bun.js/bindings/TextEncodingRegistry.cpp rename to src/buntime/bindings/TextEncodingRegistry.cpp diff --git a/src/bun.js/bindings/TextEncodingRegistry.h b/src/buntime/bindings/TextEncodingRegistry.h similarity index 100% rename from src/bun.js/bindings/TextEncodingRegistry.h rename to src/buntime/bindings/TextEncodingRegistry.h diff --git a/src/bun.js/bindings/URL.zig b/src/buntime/bindings/URL.zig similarity index 100% rename from src/bun.js/bindings/URL.zig rename to src/buntime/bindings/URL.zig diff --git a/src/bun.js/bindings/URLDecomposition.cpp b/src/buntime/bindings/URLDecomposition.cpp similarity index 100% rename from src/bun.js/bindings/URLDecomposition.cpp rename to src/buntime/bindings/URLDecomposition.cpp diff --git a/src/bun.js/bindings/URLDecomposition.h b/src/buntime/bindings/URLDecomposition.h similarity index 100% rename from src/bun.js/bindings/URLDecomposition.h rename to src/buntime/bindings/URLDecomposition.h diff --git a/src/bun.js/bindings/URLSearchParams.cpp b/src/buntime/bindings/URLSearchParams.cpp similarity index 100% rename from src/bun.js/bindings/URLSearchParams.cpp rename to src/buntime/bindings/URLSearchParams.cpp diff --git a/src/bun.js/bindings/URLSearchParams.h b/src/buntime/bindings/URLSearchParams.h similarity index 100% rename from src/bun.js/bindings/URLSearchParams.h rename to src/buntime/bindings/URLSearchParams.h diff --git a/src/bun.js/bindings/URLSearchParams.zig b/src/buntime/bindings/URLSearchParams.zig similarity index 100% rename from src/bun.js/bindings/URLSearchParams.zig rename to src/buntime/bindings/URLSearchParams.zig diff --git a/src/bun.js/bindings/Uint8Array.cpp b/src/buntime/bindings/Uint8Array.cpp similarity index 100% rename from src/bun.js/bindings/Uint8Array.cpp rename to src/buntime/bindings/Uint8Array.cpp diff --git a/src/bun.js/bindings/Undici.cpp b/src/buntime/bindings/Undici.cpp similarity index 100% rename from src/bun.js/bindings/Undici.cpp rename to src/buntime/bindings/Undici.cpp diff --git a/src/bun.js/bindings/Undici.h b/src/buntime/bindings/Undici.h similarity index 100% rename from src/bun.js/bindings/Undici.h rename to src/buntime/bindings/Undici.h diff --git a/src/bun.js/bindings/UnencodableHandling.h b/src/buntime/bindings/UnencodableHandling.h similarity index 100% rename from src/bun.js/bindings/UnencodableHandling.h rename to src/buntime/bindings/UnencodableHandling.h diff --git a/src/bun.js/bindings/UtilInspect.cpp b/src/buntime/bindings/UtilInspect.cpp similarity index 100% rename from src/bun.js/bindings/UtilInspect.cpp rename to src/buntime/bindings/UtilInspect.cpp diff --git a/src/bun.js/bindings/UtilInspect.h b/src/buntime/bindings/UtilInspect.h similarity index 100% rename from src/bun.js/bindings/UtilInspect.h rename to src/buntime/bindings/UtilInspect.h diff --git a/src/bun.js/bindings/VM.zig b/src/buntime/bindings/VM.zig similarity index 100% rename from src/bun.js/bindings/VM.zig rename to src/buntime/bindings/VM.zig diff --git a/src/bun.js/bindings/WTF.zig b/src/buntime/bindings/WTF.zig similarity index 100% rename from src/bun.js/bindings/WTF.zig rename to src/buntime/bindings/WTF.zig diff --git a/src/bun.js/bindings/Weak.cpp b/src/buntime/bindings/Weak.cpp similarity index 100% rename from src/bun.js/bindings/Weak.cpp rename to src/buntime/bindings/Weak.cpp diff --git a/src/bun.js/bindings/WebCoreOpaqueRoot.h b/src/buntime/bindings/WebCoreOpaqueRoot.h similarity index 100% rename from src/bun.js/bindings/WebCoreOpaqueRoot.h rename to src/buntime/bindings/WebCoreOpaqueRoot.h diff --git a/src/bun.js/bindings/WebCoreOpaqueRootInlines.h b/src/buntime/bindings/WebCoreOpaqueRootInlines.h similarity index 100% rename from src/bun.js/bindings/WebCoreOpaqueRootInlines.h rename to src/buntime/bindings/WebCoreOpaqueRootInlines.h diff --git a/src/bun.js/bindings/WriteBarrierList.h b/src/buntime/bindings/WriteBarrierList.h similarity index 100% rename from src/bun.js/bindings/WriteBarrierList.h rename to src/buntime/bindings/WriteBarrierList.h diff --git a/src/bun.js/bindings/ZigErrorType.zig b/src/buntime/bindings/ZigErrorType.zig similarity index 100% rename from src/bun.js/bindings/ZigErrorType.zig rename to src/buntime/bindings/ZigErrorType.zig diff --git a/src/bun.js/bindings/ZigException.cpp b/src/buntime/bindings/ZigException.cpp similarity index 100% rename from src/bun.js/bindings/ZigException.cpp rename to src/buntime/bindings/ZigException.cpp diff --git a/src/bun.js/bindings/ZigException.zig b/src/buntime/bindings/ZigException.zig similarity index 100% rename from src/bun.js/bindings/ZigException.zig rename to src/buntime/bindings/ZigException.zig diff --git a/src/bun.js/bindings/ZigGeneratedCode.cpp b/src/buntime/bindings/ZigGeneratedCode.cpp similarity index 100% rename from src/bun.js/bindings/ZigGeneratedCode.cpp rename to src/buntime/bindings/ZigGeneratedCode.cpp diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/buntime/bindings/ZigGlobalObject.cpp similarity index 100% rename from src/bun.js/bindings/ZigGlobalObject.cpp rename to src/buntime/bindings/ZigGlobalObject.cpp diff --git a/src/bun.js/bindings/ZigGlobalObject.h b/src/buntime/bindings/ZigGlobalObject.h similarity index 100% rename from src/bun.js/bindings/ZigGlobalObject.h rename to src/buntime/bindings/ZigGlobalObject.h diff --git a/src/bun.js/bindings/ZigGlobalObject.lut.txt b/src/buntime/bindings/ZigGlobalObject.lut.txt similarity index 98% rename from src/bun.js/bindings/ZigGlobalObject.lut.txt rename to src/buntime/bindings/ZigGlobalObject.lut.txt index 9ccc124f25..d0073d0898 100644 --- a/src/bun.js/bindings/ZigGlobalObject.lut.txt +++ b/src/buntime/bindings/ZigGlobalObject.lut.txt @@ -1,95 +1,95 @@ -// In a separate file because processing ZigGlobalObject.cpp takes 15+ seconds - -/* Source for ZigGlobalObject.lut.h -@begin bunGlobalObjectTable - addEventListener jsFunctionAddEventListener Function 2 - alert WebCore__alert Function 1 - atob functionATOB Function 1 - btoa functionBTOA Function 1 - clearImmediate functionClearImmediate Function 1 - clearInterval functionClearInterval Function 1 - clearTimeout functionClearTimeout Function 1 - confirm WebCore__confirm Function 1 - dispatchEvent jsFunctionDispatchEvent Function 1 - fetch constructBunFetchObject PropertyCallback - postMessage jsFunctionPostMessage Function 1 - prompt WebCore__prompt Function 1 - queueMicrotask functionQueueMicrotask Function 2 - removeEventListener jsFunctionRemoveEventListener Function 2 - reportError functionReportError Function 1 - setImmediate functionSetImmediate Function 1 - setInterval functionSetInterval Function 1 - setTimeout functionSetTimeout Function 1 - structuredClone WebCore::jsFunctionStructuredClone Function 2 - - global GlobalObject_getGlobalThis PropertyCallback - - Bun GlobalObject::m_bunObject CellProperty|DontDelete|ReadOnly - File GlobalObject::m_JSDOMFileConstructor CellProperty - crypto GlobalObject::m_cryptoObject CellProperty - navigator GlobalObject::m_navigatorObject CellProperty - performance GlobalObject::m_performanceObject CellProperty - process GlobalObject::m_processObject CellProperty - - Blob GlobalObject::m_JSBlob ClassStructure - Buffer GlobalObject::m_JSBufferClassStructure ClassStructure - BuildError GlobalObject::m_JSBuildMessage ClassStructure - BuildMessage GlobalObject::m_JSBuildMessage ClassStructure - Crypto GlobalObject::m_JSCrypto ClassStructure - HTMLRewriter GlobalObject::m_JSHTMLRewriter ClassStructure - Request GlobalObject::m_JSRequest ClassStructure - ResolveError GlobalObject::m_JSResolveMessage ClassStructure - ResolveMessage GlobalObject::m_JSResolveMessage ClassStructure - Response GlobalObject::m_JSResponse ClassStructure - TextDecoder GlobalObject::m_JSTextDecoder ClassStructure - - AbortController AbortControllerConstructorCallback PropertyCallback - AbortSignal AbortSignalConstructorCallback PropertyCallback - BroadcastChannel BroadcastChannelConstructorCallback PropertyCallback - ByteLengthQueuingStrategy ByteLengthQueuingStrategyConstructorCallback PropertyCallback - CloseEvent CloseEventConstructorCallback PropertyCallback - CompressionStream CompressionStreamConstructorCallback PropertyCallback - CountQueuingStrategy CountQueuingStrategyConstructorCallback PropertyCallback - CryptoKey CryptoKeyConstructorCallback PropertyCallback - CustomEvent CustomEventConstructorCallback PropertyCallback - DecompressionStream DecompressionStreamConstructorCallback PropertyCallback - DOMException DOMExceptionConstructorCallback PropertyCallback - ErrorEvent ErrorEventConstructorCallback PropertyCallback - Event EventConstructorCallback PropertyCallback - EventTarget EventTargetConstructorCallback PropertyCallback - FormData DOMFormDataConstructorCallback PropertyCallback - Headers FetchHeadersConstructorCallback PropertyCallback - MessageChannel MessageChannelConstructorCallback PropertyCallback - MessageEvent MessageEventConstructorCallback PropertyCallback - MessagePort MessagePortConstructorCallback PropertyCallback - Performance PerformanceConstructorCallback PropertyCallback - PerformanceEntry PerformanceEntryConstructorCallback PropertyCallback - PerformanceMark PerformanceMarkConstructorCallback PropertyCallback - PerformanceMeasure PerformanceMeasureConstructorCallback PropertyCallback - PerformanceObserver PerformanceObserverConstructorCallback PropertyCallback - PerformanceObserverEntryList PerformanceObserverEntryListConstructorCallback PropertyCallback - PerformanceResourceTiming PerformanceResourceTimingConstructorCallback PropertyCallback - PerformanceServerTiming PerformanceServerTimingConstructorCallback PropertyCallback - PerformanceTiming PerformanceTimingConstructorCallback PropertyCallback - ReadableByteStreamController ReadableByteStreamControllerConstructorCallback PropertyCallback - ReadableStream ReadableStreamConstructorCallback PropertyCallback - ReadableStreamBYOBReader ReadableStreamBYOBReaderConstructorCallback PropertyCallback - ReadableStreamBYOBRequest ReadableStreamBYOBRequestConstructorCallback PropertyCallback - ReadableStreamDefaultController ReadableStreamDefaultControllerConstructorCallback PropertyCallback - ReadableStreamDefaultReader ReadableStreamDefaultReaderConstructorCallback PropertyCallback - SubtleCrypto SubtleCryptoConstructorCallback PropertyCallback - TextDecoderStream TextDecoderStreamConstructorCallback PropertyCallback - TextEncoder TextEncoderConstructorCallback PropertyCallback - TextEncoderStream TextEncoderStreamConstructorCallback PropertyCallback - TransformStream TransformStreamConstructorCallback PropertyCallback - TransformStreamDefaultController TransformStreamDefaultControllerConstructorCallback PropertyCallback - URL DOMURLConstructorCallback DontEnum|PropertyCallback - URLPattern URLPatternConstructorCallback PropertyCallback - URLSearchParams URLSearchParamsConstructorCallback DontEnum|PropertyCallback - WebSocket WebSocketConstructorCallback PropertyCallback - Worker WorkerConstructorCallback PropertyCallback - WritableStream WritableStreamConstructorCallback PropertyCallback - WritableStreamDefaultController WritableStreamDefaultControllerConstructorCallback PropertyCallback - WritableStreamDefaultWriter WritableStreamDefaultWriterConstructorCallback PropertyCallback -@end -*/ +// In a separate file because processing ZigGlobalObject.cpp takes 15+ seconds + +/* Source for ZigGlobalObject.lut.h +@begin bunGlobalObjectTable + addEventListener jsFunctionAddEventListener Function 2 + alert WebCore__alert Function 1 + atob functionATOB Function 1 + btoa functionBTOA Function 1 + clearImmediate functionClearImmediate Function 1 + clearInterval functionClearInterval Function 1 + clearTimeout functionClearTimeout Function 1 + confirm WebCore__confirm Function 1 + dispatchEvent jsFunctionDispatchEvent Function 1 + fetch constructBunFetchObject PropertyCallback + postMessage jsFunctionPostMessage Function 1 + prompt WebCore__prompt Function 1 + queueMicrotask functionQueueMicrotask Function 2 + removeEventListener jsFunctionRemoveEventListener Function 2 + reportError functionReportError Function 1 + setImmediate functionSetImmediate Function 1 + setInterval functionSetInterval Function 1 + setTimeout functionSetTimeout Function 1 + structuredClone WebCore::jsFunctionStructuredClone Function 2 + + global GlobalObject_getGlobalThis PropertyCallback + + Bun GlobalObject::m_bunObject CellProperty|DontDelete|ReadOnly + File GlobalObject::m_JSDOMFileConstructor CellProperty + crypto GlobalObject::m_cryptoObject CellProperty + navigator GlobalObject::m_navigatorObject CellProperty + performance GlobalObject::m_performanceObject CellProperty + process GlobalObject::m_processObject CellProperty + + Blob GlobalObject::m_JSBlob ClassStructure + Buffer GlobalObject::m_JSBufferClassStructure ClassStructure + BuildError GlobalObject::m_JSBuildMessage ClassStructure + BuildMessage GlobalObject::m_JSBuildMessage ClassStructure + Crypto GlobalObject::m_JSCrypto ClassStructure + HTMLRewriter GlobalObject::m_JSHTMLRewriter ClassStructure + Request GlobalObject::m_JSRequest ClassStructure + ResolveError GlobalObject::m_JSResolveMessage ClassStructure + ResolveMessage GlobalObject::m_JSResolveMessage ClassStructure + Response GlobalObject::m_JSResponse ClassStructure + TextDecoder GlobalObject::m_JSTextDecoder ClassStructure + + AbortController AbortControllerConstructorCallback PropertyCallback + AbortSignal AbortSignalConstructorCallback PropertyCallback + BroadcastChannel BroadcastChannelConstructorCallback PropertyCallback + ByteLengthQueuingStrategy ByteLengthQueuingStrategyConstructorCallback PropertyCallback + CloseEvent CloseEventConstructorCallback PropertyCallback + CompressionStream CompressionStreamConstructorCallback PropertyCallback + CountQueuingStrategy CountQueuingStrategyConstructorCallback PropertyCallback + CryptoKey CryptoKeyConstructorCallback PropertyCallback + CustomEvent CustomEventConstructorCallback PropertyCallback + DecompressionStream DecompressionStreamConstructorCallback PropertyCallback + DOMException DOMExceptionConstructorCallback PropertyCallback + ErrorEvent ErrorEventConstructorCallback PropertyCallback + Event EventConstructorCallback PropertyCallback + EventTarget EventTargetConstructorCallback PropertyCallback + FormData DOMFormDataConstructorCallback PropertyCallback + Headers FetchHeadersConstructorCallback PropertyCallback + MessageChannel MessageChannelConstructorCallback PropertyCallback + MessageEvent MessageEventConstructorCallback PropertyCallback + MessagePort MessagePortConstructorCallback PropertyCallback + Performance PerformanceConstructorCallback PropertyCallback + PerformanceEntry PerformanceEntryConstructorCallback PropertyCallback + PerformanceMark PerformanceMarkConstructorCallback PropertyCallback + PerformanceMeasure PerformanceMeasureConstructorCallback PropertyCallback + PerformanceObserver PerformanceObserverConstructorCallback PropertyCallback + PerformanceObserverEntryList PerformanceObserverEntryListConstructorCallback PropertyCallback + PerformanceResourceTiming PerformanceResourceTimingConstructorCallback PropertyCallback + PerformanceServerTiming PerformanceServerTimingConstructorCallback PropertyCallback + PerformanceTiming PerformanceTimingConstructorCallback PropertyCallback + ReadableByteStreamController ReadableByteStreamControllerConstructorCallback PropertyCallback + ReadableStream ReadableStreamConstructorCallback PropertyCallback + ReadableStreamBYOBReader ReadableStreamBYOBReaderConstructorCallback PropertyCallback + ReadableStreamBYOBRequest ReadableStreamBYOBRequestConstructorCallback PropertyCallback + ReadableStreamDefaultController ReadableStreamDefaultControllerConstructorCallback PropertyCallback + ReadableStreamDefaultReader ReadableStreamDefaultReaderConstructorCallback PropertyCallback + SubtleCrypto SubtleCryptoConstructorCallback PropertyCallback + TextDecoderStream TextDecoderStreamConstructorCallback PropertyCallback + TextEncoder TextEncoderConstructorCallback PropertyCallback + TextEncoderStream TextEncoderStreamConstructorCallback PropertyCallback + TransformStream TransformStreamConstructorCallback PropertyCallback + TransformStreamDefaultController TransformStreamDefaultControllerConstructorCallback PropertyCallback + URL DOMURLConstructorCallback DontEnum|PropertyCallback + URLPattern URLPatternConstructorCallback PropertyCallback + URLSearchParams URLSearchParamsConstructorCallback DontEnum|PropertyCallback + WebSocket WebSocketConstructorCallback PropertyCallback + Worker WorkerConstructorCallback PropertyCallback + WritableStream WritableStreamConstructorCallback PropertyCallback + WritableStreamDefaultController WritableStreamDefaultControllerConstructorCallback PropertyCallback + WritableStreamDefaultWriter WritableStreamDefaultWriterConstructorCallback PropertyCallback +@end +*/ diff --git a/src/bun.js/bindings/ZigLazyStaticFunctions-inlines.h b/src/buntime/bindings/ZigLazyStaticFunctions-inlines.h similarity index 100% rename from src/bun.js/bindings/ZigLazyStaticFunctions-inlines.h rename to src/buntime/bindings/ZigLazyStaticFunctions-inlines.h diff --git a/src/bun.js/bindings/ZigLazyStaticFunctions.h b/src/buntime/bindings/ZigLazyStaticFunctions.h similarity index 100% rename from src/bun.js/bindings/ZigLazyStaticFunctions.h rename to src/buntime/bindings/ZigLazyStaticFunctions.h diff --git a/src/bun.js/bindings/ZigSourceProvider.cpp b/src/buntime/bindings/ZigSourceProvider.cpp similarity index 100% rename from src/bun.js/bindings/ZigSourceProvider.cpp rename to src/buntime/bindings/ZigSourceProvider.cpp diff --git a/src/bun.js/bindings/ZigSourceProvider.h b/src/buntime/bindings/ZigSourceProvider.h similarity index 100% rename from src/bun.js/bindings/ZigSourceProvider.h rename to src/buntime/bindings/ZigSourceProvider.h diff --git a/src/bun.js/bindings/ZigStackFrame.zig b/src/buntime/bindings/ZigStackFrame.zig similarity index 100% rename from src/bun.js/bindings/ZigStackFrame.zig rename to src/buntime/bindings/ZigStackFrame.zig diff --git a/src/bun.js/bindings/ZigStackFrameCode.zig b/src/buntime/bindings/ZigStackFrameCode.zig similarity index 100% rename from src/bun.js/bindings/ZigStackFrameCode.zig rename to src/buntime/bindings/ZigStackFrameCode.zig diff --git a/src/bun.js/bindings/ZigStackFramePosition.zig b/src/buntime/bindings/ZigStackFramePosition.zig similarity index 100% rename from src/bun.js/bindings/ZigStackFramePosition.zig rename to src/buntime/bindings/ZigStackFramePosition.zig diff --git a/src/bun.js/bindings/ZigStackTrace.zig b/src/buntime/bindings/ZigStackTrace.zig similarity index 100% rename from src/bun.js/bindings/ZigStackTrace.zig rename to src/buntime/bindings/ZigStackTrace.zig diff --git a/src/bun.js/bindings/ZigString.zig b/src/buntime/bindings/ZigString.zig similarity index 100% rename from src/bun.js/bindings/ZigString.zig rename to src/buntime/bindings/ZigString.zig diff --git a/src/bun.js/bindings/ares_build.h b/src/buntime/bindings/ares_build.h similarity index 100% rename from src/bun.js/bindings/ares_build.h rename to src/buntime/bindings/ares_build.h diff --git a/src/bun.js/bindings/bindings.cpp b/src/buntime/bindings/bindings.cpp similarity index 99% rename from src/bun.js/bindings/bindings.cpp rename to src/buntime/bindings/bindings.cpp index 3a4130c983..6cd25e8649 100644 --- a/src/bun.js/bindings/bindings.cpp +++ b/src/buntime/bindings/bindings.cpp @@ -4811,7 +4811,7 @@ JSC::EncodedJSValue JSC__JSValue__createUninitializedUint8Array(JSC::JSGlobalObj return JSC::JSValue::encode(value); } -// This enum must match the zig enum in src/bun.js/bindings/JSValue.zig JSValue.BuiltinName +// This enum must match the zig enum in src/buntime/bindings/JSValue.zig JSValue.BuiltinName enum class BuiltinNamesMap : uint8_t { method, headers, diff --git a/src/bun.js/bindings/blob.cpp b/src/buntime/bindings/blob.cpp similarity index 100% rename from src/bun.js/bindings/blob.cpp rename to src/buntime/bindings/blob.cpp diff --git a/src/bun.js/bindings/blob.h b/src/buntime/bindings/blob.h similarity index 100% rename from src/bun.js/bindings/blob.h rename to src/buntime/bindings/blob.h diff --git a/src/bun.js/bindings/bmalloc_heap_ref.h b/src/buntime/bindings/bmalloc_heap_ref.h similarity index 100% rename from src/bun.js/bindings/bmalloc_heap_ref.h rename to src/buntime/bindings/bmalloc_heap_ref.h diff --git a/src/bun.js/bindings/bun-simdutf.cpp b/src/buntime/bindings/bun-simdutf.cpp similarity index 100% rename from src/bun.js/bindings/bun-simdutf.cpp rename to src/buntime/bindings/bun-simdutf.cpp diff --git a/src/bun.js/bindings/bun-simdutf.zig b/src/buntime/bindings/bun-simdutf.zig similarity index 100% rename from src/bun.js/bindings/bun-simdutf.zig rename to src/buntime/bindings/bun-simdutf.zig diff --git a/src/bun.js/bindings/bun-spawn.cpp b/src/buntime/bindings/bun-spawn.cpp similarity index 100% rename from src/bun.js/bindings/bun-spawn.cpp rename to src/buntime/bindings/bun-spawn.cpp diff --git a/src/bun.js/bindings/c-bindings.cpp b/src/buntime/bindings/c-bindings.cpp similarity index 100% rename from src/bun.js/bindings/c-bindings.cpp rename to src/buntime/bindings/c-bindings.cpp diff --git a/src/bun.js/bindings/codegen.zig b/src/buntime/bindings/codegen.zig similarity index 100% rename from src/bun.js/bindings/codegen.zig rename to src/buntime/bindings/codegen.zig diff --git a/src/bun.js/bindings/coroutine.cpp b/src/buntime/bindings/coroutine.cpp similarity index 100% rename from src/bun.js/bindings/coroutine.cpp rename to src/buntime/bindings/coroutine.cpp diff --git a/src/bun.js/bindings/debug-helpers.h b/src/buntime/bindings/debug-helpers.h similarity index 100% rename from src/bun.js/bindings/debug-helpers.h rename to src/buntime/bindings/debug-helpers.h diff --git a/src/bun.js/bindings/decodeURIComponentSIMD.cpp b/src/buntime/bindings/decodeURIComponentSIMD.cpp similarity index 100% rename from src/bun.js/bindings/decodeURIComponentSIMD.cpp rename to src/buntime/bindings/decodeURIComponentSIMD.cpp diff --git a/src/bun.js/bindings/decodeURIComponentSIMD.h b/src/buntime/bindings/decodeURIComponentSIMD.h similarity index 100% rename from src/bun.js/bindings/decodeURIComponentSIMD.h rename to src/buntime/bindings/decodeURIComponentSIMD.h diff --git a/src/bun.js/bindings/dh-primes.h b/src/buntime/bindings/dh-primes.h similarity index 100% rename from src/bun.js/bindings/dh-primes.h rename to src/buntime/bindings/dh-primes.h diff --git a/src/bun.js/bindings/ffi.cpp b/src/buntime/bindings/ffi.cpp similarity index 100% rename from src/bun.js/bindings/ffi.cpp rename to src/buntime/bindings/ffi.cpp diff --git a/src/bun.js/bindings/generated_classes_list.zig b/src/buntime/bindings/generated_classes_list.zig similarity index 100% rename from src/bun.js/bindings/generated_classes_list.zig rename to src/buntime/bindings/generated_classes_list.zig diff --git a/src/bun.js/bindings/generated_perf_trace_events.h b/src/buntime/bindings/generated_perf_trace_events.h similarity index 100% rename from src/bun.js/bindings/generated_perf_trace_events.h rename to src/buntime/bindings/generated_perf_trace_events.h diff --git a/src/bun.js/bindings/headers-cpp.h b/src/buntime/bindings/headers-cpp.h similarity index 100% rename from src/bun.js/bindings/headers-cpp.h rename to src/buntime/bindings/headers-cpp.h diff --git a/src/bun.js/bindings/headers-handwritten.h b/src/buntime/bindings/headers-handwritten.h similarity index 100% rename from src/bun.js/bindings/headers-handwritten.h rename to src/buntime/bindings/headers-handwritten.h diff --git a/src/bun.js/bindings/headers.h b/src/buntime/bindings/headers.h similarity index 100% rename from src/bun.js/bindings/headers.h rename to src/buntime/bindings/headers.h diff --git a/src/bun.js/bindings/helpers.cpp b/src/buntime/bindings/helpers.cpp similarity index 100% rename from src/bun.js/bindings/helpers.cpp rename to src/buntime/bindings/helpers.cpp diff --git a/src/bun.js/bindings/helpers.h b/src/buntime/bindings/helpers.h similarity index 100% rename from src/bun.js/bindings/helpers.h rename to src/buntime/bindings/helpers.h diff --git a/src/bun.js/bindings/highway_strings.cpp b/src/buntime/bindings/highway_strings.cpp similarity index 100% rename from src/bun.js/bindings/highway_strings.cpp rename to src/buntime/bindings/highway_strings.cpp diff --git a/src/bun.js/bindings/inlines.cpp b/src/buntime/bindings/inlines.cpp similarity index 100% rename from src/bun.js/bindings/inlines.cpp rename to src/buntime/bindings/inlines.cpp diff --git a/src/bun.js/bindings/isBuiltinModule.cpp b/src/buntime/bindings/isBuiltinModule.cpp similarity index 100% rename from src/bun.js/bindings/isBuiltinModule.cpp rename to src/buntime/bindings/isBuiltinModule.cpp diff --git a/src/bun.js/bindings/isBuiltinModule.h b/src/buntime/bindings/isBuiltinModule.h similarity index 100% rename from src/bun.js/bindings/isBuiltinModule.h rename to src/buntime/bindings/isBuiltinModule.h diff --git a/src/bun.js/bindings/js_classes.ts b/src/buntime/bindings/js_classes.ts similarity index 100% rename from src/bun.js/bindings/js_classes.ts rename to src/buntime/bindings/js_classes.ts diff --git a/src/bun.js/bindings/libuv/README.md b/src/buntime/bindings/libuv/README.md similarity index 100% rename from src/bun.js/bindings/libuv/README.md rename to src/buntime/bindings/libuv/README.md diff --git a/src/bun.js/bindings/libuv/bun.lock b/src/buntime/bindings/libuv/bun.lock similarity index 100% rename from src/bun.js/bindings/libuv/bun.lock rename to src/buntime/bindings/libuv/bun.lock diff --git a/src/bun.js/bindings/libuv/generate_uv_posix_stubs.ts b/src/buntime/bindings/libuv/generate_uv_posix_stubs.ts similarity index 100% rename from src/bun.js/bindings/libuv/generate_uv_posix_stubs.ts rename to src/buntime/bindings/libuv/generate_uv_posix_stubs.ts diff --git a/src/bun.js/bindings/libuv/generate_uv_posix_stubs_constants.ts b/src/buntime/bindings/libuv/generate_uv_posix_stubs_constants.ts similarity index 100% rename from src/bun.js/bindings/libuv/generate_uv_posix_stubs_constants.ts rename to src/buntime/bindings/libuv/generate_uv_posix_stubs_constants.ts diff --git a/src/bun.js/bindings/libuv/package.json b/src/buntime/bindings/libuv/package.json similarity index 100% rename from src/bun.js/bindings/libuv/package.json rename to src/buntime/bindings/libuv/package.json diff --git a/src/bun.js/bindings/libuv/uv.h b/src/buntime/bindings/libuv/uv.h similarity index 100% rename from src/bun.js/bindings/libuv/uv.h rename to src/buntime/bindings/libuv/uv.h diff --git a/src/bun.js/bindings/libuv/uv/aix.h b/src/buntime/bindings/libuv/uv/aix.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/aix.h rename to src/buntime/bindings/libuv/uv/aix.h diff --git a/src/bun.js/bindings/libuv/uv/bsd.h b/src/buntime/bindings/libuv/uv/bsd.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/bsd.h rename to src/buntime/bindings/libuv/uv/bsd.h diff --git a/src/bun.js/bindings/libuv/uv/darwin.h b/src/buntime/bindings/libuv/uv/darwin.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/darwin.h rename to src/buntime/bindings/libuv/uv/darwin.h diff --git a/src/bun.js/bindings/libuv/uv/errno.h b/src/buntime/bindings/libuv/uv/errno.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/errno.h rename to src/buntime/bindings/libuv/uv/errno.h diff --git a/src/bun.js/bindings/libuv/uv/linux.h b/src/buntime/bindings/libuv/uv/linux.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/linux.h rename to src/buntime/bindings/libuv/uv/linux.h diff --git a/src/bun.js/bindings/libuv/uv/os390.h b/src/buntime/bindings/libuv/uv/os390.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/os390.h rename to src/buntime/bindings/libuv/uv/os390.h diff --git a/src/bun.js/bindings/libuv/uv/posix.h b/src/buntime/bindings/libuv/uv/posix.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/posix.h rename to src/buntime/bindings/libuv/uv/posix.h diff --git a/src/bun.js/bindings/libuv/uv/sunos.h b/src/buntime/bindings/libuv/uv/sunos.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/sunos.h rename to src/buntime/bindings/libuv/uv/sunos.h diff --git a/src/bun.js/bindings/libuv/uv/threadpool.h b/src/buntime/bindings/libuv/uv/threadpool.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/threadpool.h rename to src/buntime/bindings/libuv/uv/threadpool.h diff --git a/src/bun.js/bindings/libuv/uv/tree.h b/src/buntime/bindings/libuv/uv/tree.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/tree.h rename to src/buntime/bindings/libuv/uv/tree.h diff --git a/src/bun.js/bindings/libuv/uv/unix.h b/src/buntime/bindings/libuv/uv/unix.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/unix.h rename to src/buntime/bindings/libuv/uv/unix.h diff --git a/src/bun.js/bindings/libuv/uv/version.h b/src/buntime/bindings/libuv/uv/version.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/version.h rename to src/buntime/bindings/libuv/uv/version.h diff --git a/src/bun.js/bindings/libuv/uv/win.h b/src/buntime/bindings/libuv/uv/win.h similarity index 100% rename from src/bun.js/bindings/libuv/uv/win.h rename to src/buntime/bindings/libuv/uv/win.h diff --git a/src/bun.js/bindings/linux_perf_tracing.cpp b/src/buntime/bindings/linux_perf_tracing.cpp similarity index 100% rename from src/bun.js/bindings/linux_perf_tracing.cpp rename to src/buntime/bindings/linux_perf_tracing.cpp diff --git a/src/bun.js/bindings/napi.cpp b/src/buntime/bindings/napi.cpp similarity index 99% rename from src/bun.js/bindings/napi.cpp rename to src/buntime/bindings/napi.cpp index 447287be0e..176ec69823 100644 --- a/src/bun.js/bindings/napi.cpp +++ b/src/buntime/bindings/napi.cpp @@ -2160,7 +2160,7 @@ extern "C" napi_status napi_get_value_int64(napi_env env, napi_value value, int6 NAPI_RETURN_SUCCESS(env); } -// must match src/bun.js/node/types.zig#Encoding, which matches WebCore::BufferEncodingType +// must match src/buntime/node/types.zig#Encoding, which matches WebCore::BufferEncodingType enum class NapiStringEncoding : uint8_t { utf8 = static_cast(WebCore::BufferEncodingType::utf8), utf16 = static_cast(WebCore::BufferEncodingType::utf16le), diff --git a/src/bun.js/bindings/napi.h b/src/buntime/bindings/napi.h similarity index 100% rename from src/bun.js/bindings/napi.h rename to src/buntime/bindings/napi.h diff --git a/src/bun.js/bindings/napi_external.cpp b/src/buntime/bindings/napi_external.cpp similarity index 100% rename from src/bun.js/bindings/napi_external.cpp rename to src/buntime/bindings/napi_external.cpp diff --git a/src/bun.js/bindings/napi_external.h b/src/buntime/bindings/napi_external.h similarity index 100% rename from src/bun.js/bindings/napi_external.h rename to src/buntime/bindings/napi_external.h diff --git a/src/bun.js/bindings/napi_finalizer.cpp b/src/buntime/bindings/napi_finalizer.cpp similarity index 100% rename from src/bun.js/bindings/napi_finalizer.cpp rename to src/buntime/bindings/napi_finalizer.cpp diff --git a/src/bun.js/bindings/napi_finalizer.h b/src/buntime/bindings/napi_finalizer.h similarity index 100% rename from src/bun.js/bindings/napi_finalizer.h rename to src/buntime/bindings/napi_finalizer.h diff --git a/src/bun.js/bindings/napi_handle_scope.cpp b/src/buntime/bindings/napi_handle_scope.cpp similarity index 100% rename from src/bun.js/bindings/napi_handle_scope.cpp rename to src/buntime/bindings/napi_handle_scope.cpp diff --git a/src/bun.js/bindings/napi_handle_scope.h b/src/buntime/bindings/napi_handle_scope.h similarity index 100% rename from src/bun.js/bindings/napi_handle_scope.h rename to src/buntime/bindings/napi_handle_scope.h diff --git a/src/bun.js/bindings/napi_macros.h b/src/buntime/bindings/napi_macros.h similarity index 100% rename from src/bun.js/bindings/napi_macros.h rename to src/buntime/bindings/napi_macros.h diff --git a/src/bun.js/bindings/napi_type_tag.cpp b/src/buntime/bindings/napi_type_tag.cpp similarity index 100% rename from src/bun.js/bindings/napi_type_tag.cpp rename to src/buntime/bindings/napi_type_tag.cpp diff --git a/src/bun.js/bindings/napi_type_tag.h b/src/buntime/bindings/napi_type_tag.h similarity index 100% rename from src/bun.js/bindings/napi_type_tag.h rename to src/buntime/bindings/napi_type_tag.h diff --git a/src/bun.js/bindings/ncrpyto_engine.cpp b/src/buntime/bindings/ncrpyto_engine.cpp similarity index 100% rename from src/bun.js/bindings/ncrpyto_engine.cpp rename to src/buntime/bindings/ncrpyto_engine.cpp diff --git a/src/bun.js/bindings/ncrypto.cpp b/src/buntime/bindings/ncrypto.cpp similarity index 100% rename from src/bun.js/bindings/ncrypto.cpp rename to src/buntime/bindings/ncrypto.cpp diff --git a/src/bun.js/bindings/ncrypto.h b/src/buntime/bindings/ncrypto.h similarity index 100% rename from src/bun.js/bindings/ncrypto.h rename to src/buntime/bindings/ncrypto.h diff --git a/src/bun.js/bindings/node/JSNodeHTTPServerSocket.cpp b/src/buntime/bindings/node/JSNodeHTTPServerSocket.cpp similarity index 100% rename from src/bun.js/bindings/node/JSNodeHTTPServerSocket.cpp rename to src/buntime/bindings/node/JSNodeHTTPServerSocket.cpp diff --git a/src/bun.js/bindings/node/JSNodeHTTPServerSocket.h b/src/buntime/bindings/node/JSNodeHTTPServerSocket.h similarity index 100% rename from src/bun.js/bindings/node/JSNodeHTTPServerSocket.h rename to src/buntime/bindings/node/JSNodeHTTPServerSocket.h diff --git a/src/bun.js/bindings/node/JSNodeHTTPServerSocketPrototype.cpp b/src/buntime/bindings/node/JSNodeHTTPServerSocketPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/JSNodeHTTPServerSocketPrototype.cpp rename to src/buntime/bindings/node/JSNodeHTTPServerSocketPrototype.cpp diff --git a/src/bun.js/bindings/node/JSNodeHTTPServerSocketPrototype.h b/src/buntime/bindings/node/JSNodeHTTPServerSocketPrototype.h similarity index 100% rename from src/bun.js/bindings/node/JSNodeHTTPServerSocketPrototype.h rename to src/buntime/bindings/node/JSNodeHTTPServerSocketPrototype.h diff --git a/src/bun.js/bindings/node/NodeTimers.cpp b/src/buntime/bindings/node/NodeTimers.cpp similarity index 100% rename from src/bun.js/bindings/node/NodeTimers.cpp rename to src/buntime/bindings/node/NodeTimers.cpp diff --git a/src/bun.js/bindings/node/NodeTimers.h b/src/buntime/bindings/node/NodeTimers.h similarity index 100% rename from src/bun.js/bindings/node/NodeTimers.h rename to src/buntime/bindings/node/NodeTimers.h diff --git a/src/bun.js/bindings/node/crypto/CryptoDhJob.cpp b/src/buntime/bindings/node/crypto/CryptoDhJob.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoDhJob.cpp rename to src/buntime/bindings/node/crypto/CryptoDhJob.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoDhJob.h b/src/buntime/bindings/node/crypto/CryptoDhJob.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoDhJob.h rename to src/buntime/bindings/node/crypto/CryptoDhJob.h diff --git a/src/bun.js/bindings/node/crypto/CryptoGenDhKeyPair.cpp b/src/buntime/bindings/node/crypto/CryptoGenDhKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenDhKeyPair.cpp rename to src/buntime/bindings/node/crypto/CryptoGenDhKeyPair.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoGenDhKeyPair.h b/src/buntime/bindings/node/crypto/CryptoGenDhKeyPair.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenDhKeyPair.h rename to src/buntime/bindings/node/crypto/CryptoGenDhKeyPair.h diff --git a/src/bun.js/bindings/node/crypto/CryptoGenDsaKeyPair.cpp b/src/buntime/bindings/node/crypto/CryptoGenDsaKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenDsaKeyPair.cpp rename to src/buntime/bindings/node/crypto/CryptoGenDsaKeyPair.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoGenDsaKeyPair.h b/src/buntime/bindings/node/crypto/CryptoGenDsaKeyPair.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenDsaKeyPair.h rename to src/buntime/bindings/node/crypto/CryptoGenDsaKeyPair.h diff --git a/src/bun.js/bindings/node/crypto/CryptoGenEcKeyPair.cpp b/src/buntime/bindings/node/crypto/CryptoGenEcKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenEcKeyPair.cpp rename to src/buntime/bindings/node/crypto/CryptoGenEcKeyPair.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoGenEcKeyPair.h b/src/buntime/bindings/node/crypto/CryptoGenEcKeyPair.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenEcKeyPair.h rename to src/buntime/bindings/node/crypto/CryptoGenEcKeyPair.h diff --git a/src/bun.js/bindings/node/crypto/CryptoGenKeyPair.cpp b/src/buntime/bindings/node/crypto/CryptoGenKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenKeyPair.cpp rename to src/buntime/bindings/node/crypto/CryptoGenKeyPair.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoGenKeyPair.h b/src/buntime/bindings/node/crypto/CryptoGenKeyPair.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenKeyPair.h rename to src/buntime/bindings/node/crypto/CryptoGenKeyPair.h diff --git a/src/bun.js/bindings/node/crypto/CryptoGenNidKeyPair.cpp b/src/buntime/bindings/node/crypto/CryptoGenNidKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenNidKeyPair.cpp rename to src/buntime/bindings/node/crypto/CryptoGenNidKeyPair.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoGenNidKeyPair.h b/src/buntime/bindings/node/crypto/CryptoGenNidKeyPair.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenNidKeyPair.h rename to src/buntime/bindings/node/crypto/CryptoGenNidKeyPair.h diff --git a/src/bun.js/bindings/node/crypto/CryptoGenRsaKeyPair.cpp b/src/buntime/bindings/node/crypto/CryptoGenRsaKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenRsaKeyPair.cpp rename to src/buntime/bindings/node/crypto/CryptoGenRsaKeyPair.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoGenRsaKeyPair.h b/src/buntime/bindings/node/crypto/CryptoGenRsaKeyPair.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoGenRsaKeyPair.h rename to src/buntime/bindings/node/crypto/CryptoGenRsaKeyPair.h diff --git a/src/bun.js/bindings/node/crypto/CryptoHkdf.cpp b/src/buntime/bindings/node/crypto/CryptoHkdf.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoHkdf.cpp rename to src/buntime/bindings/node/crypto/CryptoHkdf.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoHkdf.h b/src/buntime/bindings/node/crypto/CryptoHkdf.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoHkdf.h rename to src/buntime/bindings/node/crypto/CryptoHkdf.h diff --git a/src/bun.js/bindings/node/crypto/CryptoKeygen.cpp b/src/buntime/bindings/node/crypto/CryptoKeygen.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoKeygen.cpp rename to src/buntime/bindings/node/crypto/CryptoKeygen.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoKeygen.h b/src/buntime/bindings/node/crypto/CryptoKeygen.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoKeygen.h rename to src/buntime/bindings/node/crypto/CryptoKeygen.h diff --git a/src/bun.js/bindings/node/crypto/CryptoKeys.cpp b/src/buntime/bindings/node/crypto/CryptoKeys.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoKeys.cpp rename to src/buntime/bindings/node/crypto/CryptoKeys.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoKeys.h b/src/buntime/bindings/node/crypto/CryptoKeys.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoKeys.h rename to src/buntime/bindings/node/crypto/CryptoKeys.h diff --git a/src/bun.js/bindings/node/crypto/CryptoPrimes.cpp b/src/buntime/bindings/node/crypto/CryptoPrimes.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoPrimes.cpp rename to src/buntime/bindings/node/crypto/CryptoPrimes.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoPrimes.h b/src/buntime/bindings/node/crypto/CryptoPrimes.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoPrimes.h rename to src/buntime/bindings/node/crypto/CryptoPrimes.h diff --git a/src/bun.js/bindings/node/crypto/CryptoSignJob.cpp b/src/buntime/bindings/node/crypto/CryptoSignJob.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoSignJob.cpp rename to src/buntime/bindings/node/crypto/CryptoSignJob.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoSignJob.h b/src/buntime/bindings/node/crypto/CryptoSignJob.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoSignJob.h rename to src/buntime/bindings/node/crypto/CryptoSignJob.h diff --git a/src/bun.js/bindings/node/crypto/CryptoUtil.cpp b/src/buntime/bindings/node/crypto/CryptoUtil.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoUtil.cpp rename to src/buntime/bindings/node/crypto/CryptoUtil.cpp diff --git a/src/bun.js/bindings/node/crypto/CryptoUtil.h b/src/buntime/bindings/node/crypto/CryptoUtil.h similarity index 100% rename from src/bun.js/bindings/node/crypto/CryptoUtil.h rename to src/buntime/bindings/node/crypto/CryptoUtil.h diff --git a/src/bun.js/bindings/node/crypto/DiffieHellmanFunctions.h b/src/buntime/bindings/node/crypto/DiffieHellmanFunctions.h similarity index 100% rename from src/bun.js/bindings/node/crypto/DiffieHellmanFunctions.h rename to src/buntime/bindings/node/crypto/DiffieHellmanFunctions.h diff --git a/src/bun.js/bindings/node/crypto/JSCipher.cpp b/src/buntime/bindings/node/crypto/JSCipher.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSCipher.cpp rename to src/buntime/bindings/node/crypto/JSCipher.cpp diff --git a/src/bun.js/bindings/node/crypto/JSCipher.h b/src/buntime/bindings/node/crypto/JSCipher.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSCipher.h rename to src/buntime/bindings/node/crypto/JSCipher.h diff --git a/src/bun.js/bindings/node/crypto/JSCipherConstructor.cpp b/src/buntime/bindings/node/crypto/JSCipherConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSCipherConstructor.cpp rename to src/buntime/bindings/node/crypto/JSCipherConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSCipherConstructor.h b/src/buntime/bindings/node/crypto/JSCipherConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSCipherConstructor.h rename to src/buntime/bindings/node/crypto/JSCipherConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSCipherPrototype.cpp b/src/buntime/bindings/node/crypto/JSCipherPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSCipherPrototype.cpp rename to src/buntime/bindings/node/crypto/JSCipherPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSCipherPrototype.h b/src/buntime/bindings/node/crypto/JSCipherPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSCipherPrototype.h rename to src/buntime/bindings/node/crypto/JSCipherPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellman.cpp b/src/buntime/bindings/node/crypto/JSDiffieHellman.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellman.cpp rename to src/buntime/bindings/node/crypto/JSDiffieHellman.cpp diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellman.h b/src/buntime/bindings/node/crypto/JSDiffieHellman.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellman.h rename to src/buntime/bindings/node/crypto/JSDiffieHellman.h diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanConstructor.cpp b/src/buntime/bindings/node/crypto/JSDiffieHellmanConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanConstructor.cpp rename to src/buntime/bindings/node/crypto/JSDiffieHellmanConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanConstructor.h b/src/buntime/bindings/node/crypto/JSDiffieHellmanConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanConstructor.h rename to src/buntime/bindings/node/crypto/JSDiffieHellmanConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanGroup.cpp b/src/buntime/bindings/node/crypto/JSDiffieHellmanGroup.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanGroup.cpp rename to src/buntime/bindings/node/crypto/JSDiffieHellmanGroup.cpp diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanGroup.h b/src/buntime/bindings/node/crypto/JSDiffieHellmanGroup.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanGroup.h rename to src/buntime/bindings/node/crypto/JSDiffieHellmanGroup.h diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupConstructor.cpp b/src/buntime/bindings/node/crypto/JSDiffieHellmanGroupConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupConstructor.cpp rename to src/buntime/bindings/node/crypto/JSDiffieHellmanGroupConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupConstructor.h b/src/buntime/bindings/node/crypto/JSDiffieHellmanGroupConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupConstructor.h rename to src/buntime/bindings/node/crypto/JSDiffieHellmanGroupConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupPrototype.cpp b/src/buntime/bindings/node/crypto/JSDiffieHellmanGroupPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupPrototype.cpp rename to src/buntime/bindings/node/crypto/JSDiffieHellmanGroupPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupPrototype.h b/src/buntime/bindings/node/crypto/JSDiffieHellmanGroupPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanGroupPrototype.h rename to src/buntime/bindings/node/crypto/JSDiffieHellmanGroupPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanPrototype.cpp b/src/buntime/bindings/node/crypto/JSDiffieHellmanPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanPrototype.cpp rename to src/buntime/bindings/node/crypto/JSDiffieHellmanPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSDiffieHellmanPrototype.h b/src/buntime/bindings/node/crypto/JSDiffieHellmanPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSDiffieHellmanPrototype.h rename to src/buntime/bindings/node/crypto/JSDiffieHellmanPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSECDH.cpp b/src/buntime/bindings/node/crypto/JSECDH.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSECDH.cpp rename to src/buntime/bindings/node/crypto/JSECDH.cpp diff --git a/src/bun.js/bindings/node/crypto/JSECDH.h b/src/buntime/bindings/node/crypto/JSECDH.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSECDH.h rename to src/buntime/bindings/node/crypto/JSECDH.h diff --git a/src/bun.js/bindings/node/crypto/JSECDHConstructor.cpp b/src/buntime/bindings/node/crypto/JSECDHConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSECDHConstructor.cpp rename to src/buntime/bindings/node/crypto/JSECDHConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSECDHConstructor.h b/src/buntime/bindings/node/crypto/JSECDHConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSECDHConstructor.h rename to src/buntime/bindings/node/crypto/JSECDHConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSECDHPrototype.cpp b/src/buntime/bindings/node/crypto/JSECDHPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSECDHPrototype.cpp rename to src/buntime/bindings/node/crypto/JSECDHPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSECDHPrototype.h b/src/buntime/bindings/node/crypto/JSECDHPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSECDHPrototype.h rename to src/buntime/bindings/node/crypto/JSECDHPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSHash.cpp b/src/buntime/bindings/node/crypto/JSHash.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSHash.cpp rename to src/buntime/bindings/node/crypto/JSHash.cpp diff --git a/src/bun.js/bindings/node/crypto/JSHash.h b/src/buntime/bindings/node/crypto/JSHash.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSHash.h rename to src/buntime/bindings/node/crypto/JSHash.h diff --git a/src/bun.js/bindings/node/crypto/JSHmac.cpp b/src/buntime/bindings/node/crypto/JSHmac.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSHmac.cpp rename to src/buntime/bindings/node/crypto/JSHmac.cpp diff --git a/src/bun.js/bindings/node/crypto/JSHmac.h b/src/buntime/bindings/node/crypto/JSHmac.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSHmac.h rename to src/buntime/bindings/node/crypto/JSHmac.h diff --git a/src/bun.js/bindings/node/crypto/JSKeyObject.cpp b/src/buntime/bindings/node/crypto/JSKeyObject.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSKeyObject.cpp rename to src/buntime/bindings/node/crypto/JSKeyObject.cpp diff --git a/src/bun.js/bindings/node/crypto/JSKeyObject.h b/src/buntime/bindings/node/crypto/JSKeyObject.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSKeyObject.h rename to src/buntime/bindings/node/crypto/JSKeyObject.h diff --git a/src/bun.js/bindings/node/crypto/JSKeyObjectConstructor.cpp b/src/buntime/bindings/node/crypto/JSKeyObjectConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSKeyObjectConstructor.cpp rename to src/buntime/bindings/node/crypto/JSKeyObjectConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSKeyObjectConstructor.h b/src/buntime/bindings/node/crypto/JSKeyObjectConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSKeyObjectConstructor.h rename to src/buntime/bindings/node/crypto/JSKeyObjectConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSKeyObjectPrototype.cpp b/src/buntime/bindings/node/crypto/JSKeyObjectPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSKeyObjectPrototype.cpp rename to src/buntime/bindings/node/crypto/JSKeyObjectPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSKeyObjectPrototype.h b/src/buntime/bindings/node/crypto/JSKeyObjectPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSKeyObjectPrototype.h rename to src/buntime/bindings/node/crypto/JSKeyObjectPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSPrivateKeyObject.cpp b/src/buntime/bindings/node/crypto/JSPrivateKeyObject.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPrivateKeyObject.cpp rename to src/buntime/bindings/node/crypto/JSPrivateKeyObject.cpp diff --git a/src/bun.js/bindings/node/crypto/JSPrivateKeyObject.h b/src/buntime/bindings/node/crypto/JSPrivateKeyObject.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPrivateKeyObject.h rename to src/buntime/bindings/node/crypto/JSPrivateKeyObject.h diff --git a/src/bun.js/bindings/node/crypto/JSPrivateKeyObjectConstructor.cpp b/src/buntime/bindings/node/crypto/JSPrivateKeyObjectConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPrivateKeyObjectConstructor.cpp rename to src/buntime/bindings/node/crypto/JSPrivateKeyObjectConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSPrivateKeyObjectConstructor.h b/src/buntime/bindings/node/crypto/JSPrivateKeyObjectConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPrivateKeyObjectConstructor.h rename to src/buntime/bindings/node/crypto/JSPrivateKeyObjectConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSPrivateKeyObjectPrototype.cpp b/src/buntime/bindings/node/crypto/JSPrivateKeyObjectPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPrivateKeyObjectPrototype.cpp rename to src/buntime/bindings/node/crypto/JSPrivateKeyObjectPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSPrivateKeyObjectPrototype.h b/src/buntime/bindings/node/crypto/JSPrivateKeyObjectPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPrivateKeyObjectPrototype.h rename to src/buntime/bindings/node/crypto/JSPrivateKeyObjectPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSPublicKeyObject.cpp b/src/buntime/bindings/node/crypto/JSPublicKeyObject.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPublicKeyObject.cpp rename to src/buntime/bindings/node/crypto/JSPublicKeyObject.cpp diff --git a/src/bun.js/bindings/node/crypto/JSPublicKeyObject.h b/src/buntime/bindings/node/crypto/JSPublicKeyObject.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPublicKeyObject.h rename to src/buntime/bindings/node/crypto/JSPublicKeyObject.h diff --git a/src/bun.js/bindings/node/crypto/JSPublicKeyObjectConstructor.cpp b/src/buntime/bindings/node/crypto/JSPublicKeyObjectConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPublicKeyObjectConstructor.cpp rename to src/buntime/bindings/node/crypto/JSPublicKeyObjectConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSPublicKeyObjectConstructor.h b/src/buntime/bindings/node/crypto/JSPublicKeyObjectConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPublicKeyObjectConstructor.h rename to src/buntime/bindings/node/crypto/JSPublicKeyObjectConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSPublicKeyObjectPrototype.cpp b/src/buntime/bindings/node/crypto/JSPublicKeyObjectPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPublicKeyObjectPrototype.cpp rename to src/buntime/bindings/node/crypto/JSPublicKeyObjectPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSPublicKeyObjectPrototype.h b/src/buntime/bindings/node/crypto/JSPublicKeyObjectPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSPublicKeyObjectPrototype.h rename to src/buntime/bindings/node/crypto/JSPublicKeyObjectPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSSecretKeyObject.cpp b/src/buntime/bindings/node/crypto/JSSecretKeyObject.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSecretKeyObject.cpp rename to src/buntime/bindings/node/crypto/JSSecretKeyObject.cpp diff --git a/src/bun.js/bindings/node/crypto/JSSecretKeyObject.h b/src/buntime/bindings/node/crypto/JSSecretKeyObject.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSecretKeyObject.h rename to src/buntime/bindings/node/crypto/JSSecretKeyObject.h diff --git a/src/bun.js/bindings/node/crypto/JSSecretKeyObjectConstructor.cpp b/src/buntime/bindings/node/crypto/JSSecretKeyObjectConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSecretKeyObjectConstructor.cpp rename to src/buntime/bindings/node/crypto/JSSecretKeyObjectConstructor.cpp diff --git a/src/bun.js/bindings/node/crypto/JSSecretKeyObjectConstructor.h b/src/buntime/bindings/node/crypto/JSSecretKeyObjectConstructor.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSecretKeyObjectConstructor.h rename to src/buntime/bindings/node/crypto/JSSecretKeyObjectConstructor.h diff --git a/src/bun.js/bindings/node/crypto/JSSecretKeyObjectPrototype.cpp b/src/buntime/bindings/node/crypto/JSSecretKeyObjectPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSecretKeyObjectPrototype.cpp rename to src/buntime/bindings/node/crypto/JSSecretKeyObjectPrototype.cpp diff --git a/src/bun.js/bindings/node/crypto/JSSecretKeyObjectPrototype.h b/src/buntime/bindings/node/crypto/JSSecretKeyObjectPrototype.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSecretKeyObjectPrototype.h rename to src/buntime/bindings/node/crypto/JSSecretKeyObjectPrototype.h diff --git a/src/bun.js/bindings/node/crypto/JSSign.cpp b/src/buntime/bindings/node/crypto/JSSign.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSign.cpp rename to src/buntime/bindings/node/crypto/JSSign.cpp diff --git a/src/bun.js/bindings/node/crypto/JSSign.h b/src/buntime/bindings/node/crypto/JSSign.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSSign.h rename to src/buntime/bindings/node/crypto/JSSign.h diff --git a/src/bun.js/bindings/node/crypto/JSVerify.cpp b/src/buntime/bindings/node/crypto/JSVerify.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/JSVerify.cpp rename to src/buntime/bindings/node/crypto/JSVerify.cpp diff --git a/src/bun.js/bindings/node/crypto/JSVerify.h b/src/buntime/bindings/node/crypto/JSVerify.h similarity index 100% rename from src/bun.js/bindings/node/crypto/JSVerify.h rename to src/buntime/bindings/node/crypto/JSVerify.h diff --git a/src/bun.js/bindings/node/crypto/KeyObject.cpp b/src/buntime/bindings/node/crypto/KeyObject.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/KeyObject.cpp rename to src/buntime/bindings/node/crypto/KeyObject.cpp diff --git a/src/bun.js/bindings/node/crypto/KeyObject.h b/src/buntime/bindings/node/crypto/KeyObject.h similarity index 100% rename from src/bun.js/bindings/node/crypto/KeyObject.h rename to src/buntime/bindings/node/crypto/KeyObject.h diff --git a/src/bun.js/bindings/node/crypto/KeyObjectData.h b/src/buntime/bindings/node/crypto/KeyObjectData.h similarity index 100% rename from src/bun.js/bindings/node/crypto/KeyObjectData.h rename to src/buntime/bindings/node/crypto/KeyObjectData.h diff --git a/src/bun.js/bindings/node/crypto/node_crypto_binding.cpp b/src/buntime/bindings/node/crypto/node_crypto_binding.cpp similarity index 100% rename from src/bun.js/bindings/node/crypto/node_crypto_binding.cpp rename to src/buntime/bindings/node/crypto/node_crypto_binding.cpp diff --git a/src/bun.js/bindings/node/crypto/node_crypto_binding.h b/src/buntime/bindings/node/crypto/node_crypto_binding.h similarity index 100% rename from src/bun.js/bindings/node/crypto/node_crypto_binding.h rename to src/buntime/bindings/node/crypto/node_crypto_binding.h diff --git a/src/bun.js/bindings/node/http/JSConnectionsList.cpp b/src/buntime/bindings/node/http/JSConnectionsList.cpp similarity index 100% rename from src/bun.js/bindings/node/http/JSConnectionsList.cpp rename to src/buntime/bindings/node/http/JSConnectionsList.cpp diff --git a/src/bun.js/bindings/node/http/JSConnectionsList.h b/src/buntime/bindings/node/http/JSConnectionsList.h similarity index 100% rename from src/bun.js/bindings/node/http/JSConnectionsList.h rename to src/buntime/bindings/node/http/JSConnectionsList.h diff --git a/src/bun.js/bindings/node/http/JSConnectionsListConstructor.cpp b/src/buntime/bindings/node/http/JSConnectionsListConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/http/JSConnectionsListConstructor.cpp rename to src/buntime/bindings/node/http/JSConnectionsListConstructor.cpp diff --git a/src/bun.js/bindings/node/http/JSConnectionsListConstructor.h b/src/buntime/bindings/node/http/JSConnectionsListConstructor.h similarity index 100% rename from src/bun.js/bindings/node/http/JSConnectionsListConstructor.h rename to src/buntime/bindings/node/http/JSConnectionsListConstructor.h diff --git a/src/bun.js/bindings/node/http/JSConnectionsListPrototype.cpp b/src/buntime/bindings/node/http/JSConnectionsListPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/http/JSConnectionsListPrototype.cpp rename to src/buntime/bindings/node/http/JSConnectionsListPrototype.cpp diff --git a/src/bun.js/bindings/node/http/JSConnectionsListPrototype.h b/src/buntime/bindings/node/http/JSConnectionsListPrototype.h similarity index 100% rename from src/bun.js/bindings/node/http/JSConnectionsListPrototype.h rename to src/buntime/bindings/node/http/JSConnectionsListPrototype.h diff --git a/src/bun.js/bindings/node/http/JSHTTPParser.cpp b/src/buntime/bindings/node/http/JSHTTPParser.cpp similarity index 100% rename from src/bun.js/bindings/node/http/JSHTTPParser.cpp rename to src/buntime/bindings/node/http/JSHTTPParser.cpp diff --git a/src/bun.js/bindings/node/http/JSHTTPParser.h b/src/buntime/bindings/node/http/JSHTTPParser.h similarity index 100% rename from src/bun.js/bindings/node/http/JSHTTPParser.h rename to src/buntime/bindings/node/http/JSHTTPParser.h diff --git a/src/bun.js/bindings/node/http/JSHTTPParserConstructor.cpp b/src/buntime/bindings/node/http/JSHTTPParserConstructor.cpp similarity index 100% rename from src/bun.js/bindings/node/http/JSHTTPParserConstructor.cpp rename to src/buntime/bindings/node/http/JSHTTPParserConstructor.cpp diff --git a/src/bun.js/bindings/node/http/JSHTTPParserConstructor.h b/src/buntime/bindings/node/http/JSHTTPParserConstructor.h similarity index 100% rename from src/bun.js/bindings/node/http/JSHTTPParserConstructor.h rename to src/buntime/bindings/node/http/JSHTTPParserConstructor.h diff --git a/src/bun.js/bindings/node/http/JSHTTPParserPrototype.cpp b/src/buntime/bindings/node/http/JSHTTPParserPrototype.cpp similarity index 100% rename from src/bun.js/bindings/node/http/JSHTTPParserPrototype.cpp rename to src/buntime/bindings/node/http/JSHTTPParserPrototype.cpp diff --git a/src/bun.js/bindings/node/http/JSHTTPParserPrototype.h b/src/buntime/bindings/node/http/JSHTTPParserPrototype.h similarity index 100% rename from src/bun.js/bindings/node/http/JSHTTPParserPrototype.h rename to src/buntime/bindings/node/http/JSHTTPParserPrototype.h diff --git a/src/bun.js/bindings/node/http/NodeHTTPParser.cpp b/src/buntime/bindings/node/http/NodeHTTPParser.cpp similarity index 100% rename from src/bun.js/bindings/node/http/NodeHTTPParser.cpp rename to src/buntime/bindings/node/http/NodeHTTPParser.cpp diff --git a/src/bun.js/bindings/node/http/NodeHTTPParser.h b/src/buntime/bindings/node/http/NodeHTTPParser.h similarity index 100% rename from src/bun.js/bindings/node/http/NodeHTTPParser.h rename to src/buntime/bindings/node/http/NodeHTTPParser.h diff --git a/src/bun.js/bindings/node/http/llhttp/README.md b/src/buntime/bindings/node/http/llhttp/README.md similarity index 85% rename from src/bun.js/bindings/node/http/llhttp/README.md rename to src/buntime/bindings/node/http/llhttp/README.md index ce198c9deb..5e16f8b5dc 100644 --- a/src/bun.js/bindings/node/http/llhttp/README.md +++ b/src/buntime/bindings/node/http/llhttp/README.md @@ -2,7 +2,7 @@ Sources are from [llhttp](https://github.com/nodejs/llhttp) 9.3.0 (36151b9a7d632 Keep this in sync with: -- `src/bun.js/bindings/ProcessBindingHTTPParser.cpp` +- `src/buntime/bindings/ProcessBindingHTTPParser.cpp` - `packages/bun-types/overrides.d.ts` ``` diff --git a/src/bun.js/bindings/node/http/llhttp/api.c b/src/buntime/bindings/node/http/llhttp/api.c similarity index 100% rename from src/bun.js/bindings/node/http/llhttp/api.c rename to src/buntime/bindings/node/http/llhttp/api.c diff --git a/src/bun.js/bindings/node/http/llhttp/api.h b/src/buntime/bindings/node/http/llhttp/api.h similarity index 100% rename from src/bun.js/bindings/node/http/llhttp/api.h rename to src/buntime/bindings/node/http/llhttp/api.h diff --git a/src/bun.js/bindings/node/http/llhttp/http.c b/src/buntime/bindings/node/http/llhttp/http.c similarity index 100% rename from src/bun.js/bindings/node/http/llhttp/http.c rename to src/buntime/bindings/node/http/llhttp/http.c diff --git a/src/bun.js/bindings/node/http/llhttp/llhttp.c b/src/buntime/bindings/node/http/llhttp/llhttp.c similarity index 100% rename from src/bun.js/bindings/node/http/llhttp/llhttp.c rename to src/buntime/bindings/node/http/llhttp/llhttp.c diff --git a/src/bun.js/bindings/node/http/llhttp/llhttp.h b/src/buntime/bindings/node/http/llhttp/llhttp.h similarity index 100% rename from src/bun.js/bindings/node/http/llhttp/llhttp.h rename to src/buntime/bindings/node/http/llhttp/llhttp.h diff --git a/src/bun.js/bindings/objects.cpp b/src/buntime/bindings/objects.cpp similarity index 100% rename from src/bun.js/bindings/objects.cpp rename to src/buntime/bindings/objects.cpp diff --git a/src/bun.js/bindings/objects.h b/src/buntime/bindings/objects.h similarity index 100% rename from src/bun.js/bindings/objects.h rename to src/buntime/bindings/objects.h diff --git a/src/bun.js/bindings/root.h b/src/buntime/bindings/root.h similarity index 100% rename from src/bun.js/bindings/root.h rename to src/buntime/bindings/root.h diff --git a/src/bun.js/bindings/sizes.zig b/src/buntime/bindings/sizes.zig similarity index 100% rename from src/bun.js/bindings/sizes.zig rename to src/buntime/bindings/sizes.zig diff --git a/src/bun.js/bindings/spawn.cpp b/src/buntime/bindings/spawn.cpp similarity index 100% rename from src/bun.js/bindings/spawn.cpp rename to src/buntime/bindings/spawn.cpp diff --git a/src/bun.js/bindings/sqlite/CMakeLists.txt b/src/buntime/bindings/sqlite/CMakeLists.txt similarity index 100% rename from src/bun.js/bindings/sqlite/CMakeLists.txt rename to src/buntime/bindings/sqlite/CMakeLists.txt diff --git a/src/bun.js/bindings/sqlite/JSSQLStatement.cpp b/src/buntime/bindings/sqlite/JSSQLStatement.cpp similarity index 100% rename from src/bun.js/bindings/sqlite/JSSQLStatement.cpp rename to src/buntime/bindings/sqlite/JSSQLStatement.cpp diff --git a/src/bun.js/bindings/sqlite/JSSQLStatement.h b/src/buntime/bindings/sqlite/JSSQLStatement.h similarity index 100% rename from src/bun.js/bindings/sqlite/JSSQLStatement.h rename to src/buntime/bindings/sqlite/JSSQLStatement.h diff --git a/src/bun.js/bindings/sqlite/lazy_sqlite3.h b/src/buntime/bindings/sqlite/lazy_sqlite3.h similarity index 100% rename from src/bun.js/bindings/sqlite/lazy_sqlite3.h rename to src/buntime/bindings/sqlite/lazy_sqlite3.h diff --git a/src/bun.js/bindings/sqlite/sqlite3.c b/src/buntime/bindings/sqlite/sqlite3.c similarity index 100% rename from src/bun.js/bindings/sqlite/sqlite3.c rename to src/buntime/bindings/sqlite/sqlite3.c diff --git a/src/bun.js/bindings/sqlite/sqlite3_error_codes.h b/src/buntime/bindings/sqlite/sqlite3_error_codes.h similarity index 100% rename from src/bun.js/bindings/sqlite/sqlite3_error_codes.h rename to src/buntime/bindings/sqlite/sqlite3_error_codes.h diff --git a/src/bun.js/bindings/sqlite/sqlite3_local.h b/src/buntime/bindings/sqlite/sqlite3_local.h similarity index 100% rename from src/bun.js/bindings/sqlite/sqlite3_local.h rename to src/buntime/bindings/sqlite/sqlite3_local.h diff --git a/src/bun.js/bindings/static_export.zig b/src/buntime/bindings/static_export.zig similarity index 100% rename from src/bun.js/bindings/static_export.zig rename to src/buntime/bindings/static_export.zig diff --git a/src/bun.js/bindings/stripANSI.cpp b/src/buntime/bindings/stripANSI.cpp similarity index 100% rename from src/bun.js/bindings/stripANSI.cpp rename to src/buntime/bindings/stripANSI.cpp diff --git a/src/bun.js/bindings/stripANSI.h b/src/buntime/bindings/stripANSI.h similarity index 100% rename from src/bun.js/bindings/stripANSI.h rename to src/buntime/bindings/stripANSI.h diff --git a/src/bun.js/bindings/uv-posix-polyfills-darwin.c b/src/buntime/bindings/uv-posix-polyfills-darwin.c similarity index 100% rename from src/bun.js/bindings/uv-posix-polyfills-darwin.c rename to src/buntime/bindings/uv-posix-polyfills-darwin.c diff --git a/src/bun.js/bindings/uv-posix-polyfills-linux.c b/src/buntime/bindings/uv-posix-polyfills-linux.c similarity index 100% rename from src/bun.js/bindings/uv-posix-polyfills-linux.c rename to src/buntime/bindings/uv-posix-polyfills-linux.c diff --git a/src/bun.js/bindings/uv-posix-polyfills-posix.c b/src/buntime/bindings/uv-posix-polyfills-posix.c similarity index 100% rename from src/bun.js/bindings/uv-posix-polyfills-posix.c rename to src/buntime/bindings/uv-posix-polyfills-posix.c diff --git a/src/bun.js/bindings/uv-posix-polyfills.c b/src/buntime/bindings/uv-posix-polyfills.c similarity index 100% rename from src/bun.js/bindings/uv-posix-polyfills.c rename to src/buntime/bindings/uv-posix-polyfills.c diff --git a/src/bun.js/bindings/uv-posix-polyfills.h b/src/buntime/bindings/uv-posix-polyfills.h similarity index 100% rename from src/bun.js/bindings/uv-posix-polyfills.h rename to src/buntime/bindings/uv-posix-polyfills.h diff --git a/src/bun.js/bindings/uv-posix-stubs.c b/src/buntime/bindings/uv-posix-stubs.c similarity index 100% rename from src/bun.js/bindings/uv-posix-stubs.c rename to src/buntime/bindings/uv-posix-stubs.c diff --git a/src/bun.js/bindings/uws_bindings.cpp b/src/buntime/bindings/uws_bindings.cpp similarity index 100% rename from src/bun.js/bindings/uws_bindings.cpp rename to src/buntime/bindings/uws_bindings.cpp diff --git a/src/bun.js/bindings/v8-capture-stack-fixture.cjs b/src/buntime/bindings/v8-capture-stack-fixture.cjs similarity index 100% rename from src/bun.js/bindings/v8-capture-stack-fixture.cjs rename to src/buntime/bindings/v8-capture-stack-fixture.cjs diff --git a/src/buntime/bindings/v8/AGENTS.md b/src/buntime/bindings/v8/AGENTS.md new file mode 100644 index 0000000000..3613d91c01 --- /dev/null +++ b/src/buntime/bindings/v8/AGENTS.md @@ -0,0 +1,326 @@ +# V8 C++ API Implementation Guide + +This directory contains Bun's implementation of the V8 C++ API on top of JavaScriptCore. This allows native Node.js modules that use V8 APIs to work with Bun. + +## Architecture Overview + +Bun implements V8 APIs by creating a compatibility layer that: + +- Maps V8's `Local` handles to JSC's `JSValue` system +- Uses handle scopes to manage memory lifetimes similar to V8 +- Provides V8-compatible object layouts that inline V8 functions can read +- Manages tagged pointers for efficient value representation + +For detailed background, see the blog series: + +- [Part 1: Introduction and challenges](https://bun.com/blog/how-bun-supports-v8-apis-without-using-v8-part-1.md) +- [Part 2: Memory layout and object representation](https://bun.com/blog/how-bun-supports-v8-apis-without-using-v8-part-2.md) +- [Part 3: Garbage collection and primitives](https://bun.com/blog/how-bun-supports-v8-apis-without-using-v8-part-3.md) + +## Directory Structure + +``` +src/buntime/bindings/v8/ +├── v8.h # Main header with V8_UNIMPLEMENTED macro +├── v8_*.h # V8 compatibility headers +├── V8*.h # V8 class headers (Number, String, Object, etc.) +├── V8*.cpp # V8 class implementations +├── shim/ # Internal implementation details +│ ├── Handle.h # Handle and ObjectLayout implementation +│ ├── HandleScopeBuffer.h # Handle scope memory management +│ ├── TaggedPointer.h # V8-style tagged pointer implementation +│ ├── Map.h # V8 Map objects for inline function compatibility +│ ├── GlobalInternals.h # V8 global state management +│ ├── InternalFieldObject.h # Objects with internal fields +│ └── Oddball.h # Primitive values (undefined, null, true, false) +├── node.h # Node.js module registration compatibility +└── real_v8.h # Includes real V8 headers when needed +``` + +## Implementing New V8 APIs + +### 1. Create Header and Implementation Files + +Create `V8NewClass.h`: + +```cpp +#pragma once + +#include "v8.h" +#include "V8Local.h" +#include "V8Isolate.h" + +namespace v8 { + +class NewClass : public Data { +public: + BUN_EXPORT static Local New(Isolate* isolate, /* parameters */); + BUN_EXPORT /* return_type */ SomeMethod() const; + + // Add other methods as needed +}; + +} // namespace v8 +``` + +Create `V8NewClass.cpp`: + +```cpp +#include "V8NewClass.h" +#include "V8HandleScope.h" +#include "v8_compatibility_assertions.h" + +ASSERT_V8_TYPE_LAYOUT_MATCHES(v8::NewClass) + +namespace v8 { + +Local NewClass::New(Isolate* isolate, /* parameters */) +{ + // Implementation - typically: + // 1. Create JSC value + // 2. Get current handle scope + // 3. Create local handle + return isolate->currentHandleScope()->createLocal(isolate->vm(), /* JSC value */); +} + +/* return_type */ NewClass::SomeMethod() const +{ + // Implementation - typically: + // 1. Convert this Local to JSValue via localToJSValue() + // 2. Perform JSC operations + // 3. Return converted result + auto jsValue = localToJSValue(); + // ... JSC operations ... + return /* result */; +} + +} // namespace v8 +``` + +### 2. Add Symbol Exports + +For each new C++ method, you must add the mangled symbol names to multiple files: + +#### a. Add to `src/napi/napi.zig` + +Find the `V8API` struct (around line 1801) and add entries for both GCC/Clang and MSVC: + +```zig +const V8API = if (!bun.Environment.isWindows) struct { + // ... existing functions ... + pub extern fn _ZN2v88NewClass3NewEPNS_7IsolateE/* parameters */() *anyopaque; + pub extern fn _ZNK2v88NewClass10SomeMethodEv() *anyopaque; +} else struct { + // ... existing functions ... + pub extern fn @"?New@NewClass@v8@@SA?AV?$Local@VNewClass@v8@@@2@PEAVIsolate@2@/* parameters */@Z"() *anyopaque; + pub extern fn @"?SomeMethod@NewClass@v8@@QEBA/* return_type */XZ"() *anyopaque; +}; +``` + +**To get the correct mangled names:** + +For **GCC/Clang** (Unix): + +```bash +# Build your changes first +bun bd --help # This compiles your code + +# Extract symbols +nm build/CMakeFiles/bun-debug.dir/src/buntime/bindings/v8/V8NewClass.cpp.o | grep "T _ZN2v8" +``` + +For **MSVC** (Windows): + +```powershell +# Use the provided PowerShell script in the comments: +dumpbin .\build\CMakeFiles\bun-debug.dir\src\bun.js\bindings\v8\V8NewClass.cpp.obj /symbols | where-object { $_.Contains(' v8::') } | foreach-object { (($_ -split "\|")[1] -split " ")[1] } | ForEach-Object { "extern fn @`"${_}`"() *anyopaque;" } +``` + +#### b. Add to Symbol Files + +Add to `src/symbols.txt` (without leading underscore): + +``` +_ZN2v88NewClass3NewEPNS_7IsolateE... +_ZNK2v88NewClass10SomeMethodEv +``` + +Add to `src/symbols.dyn` (with leading underscore and semicolons): + +``` +{ + __ZN2v88NewClass3NewEPNS_7IsolateE...; + __ZNK2v88NewClass10SomeMethodEv; +} +``` + +**Note:** `src/symbols.def` is Windows-only and typically doesn't contain V8 symbols. + +### 3. Add Tests + +Create tests in `test/v8/v8-module/main.cpp`: + +```cpp +void test_new_class_feature(const FunctionCallbackInfo &info) { + Isolate* isolate = info.GetIsolate(); + + // Test your new V8 API + Local obj = NewClass::New(isolate, /* parameters */); + auto result = obj->SomeMethod(); + + // Print results for comparison with Node.js + std::cout << "Result: " << result << std::endl; + + info.GetReturnValue().Set(Undefined(isolate)); +} +``` + +Add the test to the registration section: + +```cpp +void Init(Local exports, Local module, Local context) { + // ... existing functions ... + NODE_SET_METHOD(exports, "test_new_class_feature", test_new_class_feature); +} +``` + +Add test case to `test/v8/v8.test.ts`: + +```typescript +describe("NewClass", () => { + it("can use new feature", async () => { + await checkSameOutput("test_new_class_feature", []); + }); +}); +``` + +### 4. Handle Special Cases + +#### Objects with Internal Fields + +If implementing objects that need internal fields, extend `InternalFieldObject`: + +```cpp +// In your .h file +class MyObject : public InternalFieldObject { + // ... implementation +}; +``` + +#### Primitive Values + +For primitive values, ensure they work with the `Oddball` system in `shim/Oddball.h`. + +#### Template Classes + +For `ObjectTemplate` or `FunctionTemplate` implementations, see existing patterns in `V8ObjectTemplate.cpp` and `V8FunctionTemplate.cpp`. + +## Memory Management Guidelines + +### Handle Scopes + +- All V8 values must be created within an active handle scope +- Use `isolate->currentHandleScope()->createLocal()` to create handles +- Handle scopes automatically clean up when destroyed + +### JSC Integration + +- Use `localToJSValue()` to convert V8 handles to JSC values +- Use `JSC::WriteBarrier` for heap-allocated references +- Implement `visitChildren()` for custom heap objects + +### Tagged Pointers + +- Small integers (±2^31) are stored directly as Smis +- Objects use pointer tagging with map pointers +- Doubles are stored in object layouts with special maps + +## Testing Strategy + +### Comprehensive Testing + +The V8 test suite compares output between Node.js and Bun for the same C++ code: + +1. **Install Phase**: Sets up identical module builds for Node.js and Bun +2. **Build Phase**: Compiles native modules using node-gyp +3. **Test Phase**: Runs identical C++ functions and compares output + +### Test Categories + +- **Primitives**: undefined, null, booleans, numbers, strings +- **Objects**: creation, property access, internal fields +- **Arrays**: creation, length, iteration, element access +- **Functions**: callbacks, templates, argument handling +- **Memory**: handle scopes, garbage collection, external data +- **Advanced**: templates, inheritance, error handling + +### Adding New Tests + +1. Add C++ test function to `test/v8/v8-module/main.cpp` +2. Register function in the module exports +3. Add test case to `test/v8/v8.test.ts` using `checkSameOutput()` +4. Run with: `bun bd test test/v8/v8.test.ts -t "your test name"` + +## Debugging Tips + +### Build and Test + +```bash +# Build debug version (takes ~5 minutes) +bun bd --help + +# Run V8 tests +bun bd test test/v8/v8.test.ts + +# Run specific test +bun bd test test/v8/v8.test.ts -t "can create small integer" +``` + +### Common Issues + +**Symbol Not Found**: Ensure mangled names are correctly added to `napi.zig` and symbol files. + +**Segmentation Fault**: Usually indicates inline V8 functions are reading incorrect memory layouts. Check `Map` setup and `ObjectLayout` structure. + +**GC Issues**: Objects being freed prematurely. Ensure proper `WriteBarrier` usage and `visitChildren()` implementation. + +**Type Mismatches**: Use `v8_compatibility_assertions.h` macros to verify type layouts match V8 expectations. + +### Debug Logging + +Use `V8_UNIMPLEMENTED()` macro for functions not yet implemented: + +```cpp +void MyClass::NotYetImplemented() { + V8_UNIMPLEMENTED(); +} +``` + +## Advanced Topics + +### Inline Function Compatibility + +Many V8 functions are inline and compiled into native modules. The memory layout must exactly match what these functions expect: + +- Objects start with tagged pointer to `Map` +- Maps have instance type at offset 12 +- Handle scopes store tagged pointers +- Primitive values at fixed global offsets + +### Cross-Platform Considerations + +- Symbol mangling differs between GCC/Clang and MSVC +- Handle calling conventions (JSC uses System V on Unix) +- Ensure `BUN_EXPORT` visibility on all public functions +- Test on all target platforms via CI + +## Contributing + +When contributing V8 API implementations: + +1. **Follow existing patterns** in similar classes +2. **Add comprehensive tests** that compare with Node.js +3. **Update all symbol files** with correct mangled names +4. **Document any special behavior** or limitations + +For questions about V8 API implementation, refer to the blog series linked above or examine existing implementations in this directory. diff --git a/src/bun.js/bindings/v8/CLAUDE.md b/src/buntime/bindings/v8/CLAUDE.md similarity index 98% rename from src/bun.js/bindings/v8/CLAUDE.md rename to src/buntime/bindings/v8/CLAUDE.md index 265f37cbf3..3613d91c01 100644 --- a/src/bun.js/bindings/v8/CLAUDE.md +++ b/src/buntime/bindings/v8/CLAUDE.md @@ -20,7 +20,7 @@ For detailed background, see the blog series: ## Directory Structure ``` -src/bun.js/bindings/v8/ +src/buntime/bindings/v8/ ├── v8.h # Main header with V8_UNIMPLEMENTED macro ├── v8_*.h # V8 compatibility headers ├── V8*.h # V8 class headers (Number, String, Object, etc.) @@ -126,7 +126,7 @@ For **GCC/Clang** (Unix): bun bd --help # This compiles your code # Extract symbols -nm build/CMakeFiles/bun-debug.dir/src/bun.js/bindings/v8/V8NewClass.cpp.o | grep "T _ZN2v8" +nm build/CMakeFiles/bun-debug.dir/src/buntime/bindings/v8/V8NewClass.cpp.o | grep "T _ZN2v8" ``` For **MSVC** (Windows): diff --git a/src/bun.js/bindings/v8/V8Array.cpp b/src/buntime/bindings/v8/V8Array.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Array.cpp rename to src/buntime/bindings/v8/V8Array.cpp diff --git a/src/bun.js/bindings/v8/V8Array.h b/src/buntime/bindings/v8/V8Array.h similarity index 100% rename from src/bun.js/bindings/v8/V8Array.h rename to src/buntime/bindings/v8/V8Array.h diff --git a/src/bun.js/bindings/v8/V8Boolean.cpp b/src/buntime/bindings/v8/V8Boolean.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Boolean.cpp rename to src/buntime/bindings/v8/V8Boolean.cpp diff --git a/src/bun.js/bindings/v8/V8Boolean.h b/src/buntime/bindings/v8/V8Boolean.h similarity index 100% rename from src/bun.js/bindings/v8/V8Boolean.h rename to src/buntime/bindings/v8/V8Boolean.h diff --git a/src/bun.js/bindings/v8/V8Context.cpp b/src/buntime/bindings/v8/V8Context.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Context.cpp rename to src/buntime/bindings/v8/V8Context.cpp diff --git a/src/bun.js/bindings/v8/V8Context.h b/src/buntime/bindings/v8/V8Context.h similarity index 100% rename from src/bun.js/bindings/v8/V8Context.h rename to src/buntime/bindings/v8/V8Context.h diff --git a/src/bun.js/bindings/v8/V8Data.h b/src/buntime/bindings/v8/V8Data.h similarity index 100% rename from src/bun.js/bindings/v8/V8Data.h rename to src/buntime/bindings/v8/V8Data.h diff --git a/src/bun.js/bindings/v8/V8EscapableHandleScope.cpp b/src/buntime/bindings/v8/V8EscapableHandleScope.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8EscapableHandleScope.cpp rename to src/buntime/bindings/v8/V8EscapableHandleScope.cpp diff --git a/src/bun.js/bindings/v8/V8EscapableHandleScope.h b/src/buntime/bindings/v8/V8EscapableHandleScope.h similarity index 100% rename from src/bun.js/bindings/v8/V8EscapableHandleScope.h rename to src/buntime/bindings/v8/V8EscapableHandleScope.h diff --git a/src/bun.js/bindings/v8/V8EscapableHandleScopeBase.cpp b/src/buntime/bindings/v8/V8EscapableHandleScopeBase.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8EscapableHandleScopeBase.cpp rename to src/buntime/bindings/v8/V8EscapableHandleScopeBase.cpp diff --git a/src/bun.js/bindings/v8/V8EscapableHandleScopeBase.h b/src/buntime/bindings/v8/V8EscapableHandleScopeBase.h similarity index 100% rename from src/bun.js/bindings/v8/V8EscapableHandleScopeBase.h rename to src/buntime/bindings/v8/V8EscapableHandleScopeBase.h diff --git a/src/bun.js/bindings/v8/V8External.cpp b/src/buntime/bindings/v8/V8External.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8External.cpp rename to src/buntime/bindings/v8/V8External.cpp diff --git a/src/bun.js/bindings/v8/V8External.h b/src/buntime/bindings/v8/V8External.h similarity index 100% rename from src/bun.js/bindings/v8/V8External.h rename to src/buntime/bindings/v8/V8External.h diff --git a/src/bun.js/bindings/v8/V8Function.cpp b/src/buntime/bindings/v8/V8Function.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Function.cpp rename to src/buntime/bindings/v8/V8Function.cpp diff --git a/src/bun.js/bindings/v8/V8Function.h b/src/buntime/bindings/v8/V8Function.h similarity index 100% rename from src/bun.js/bindings/v8/V8Function.h rename to src/buntime/bindings/v8/V8Function.h diff --git a/src/bun.js/bindings/v8/V8FunctionCallbackInfo.cpp b/src/buntime/bindings/v8/V8FunctionCallbackInfo.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8FunctionCallbackInfo.cpp rename to src/buntime/bindings/v8/V8FunctionCallbackInfo.cpp diff --git a/src/bun.js/bindings/v8/V8FunctionCallbackInfo.h b/src/buntime/bindings/v8/V8FunctionCallbackInfo.h similarity index 100% rename from src/bun.js/bindings/v8/V8FunctionCallbackInfo.h rename to src/buntime/bindings/v8/V8FunctionCallbackInfo.h diff --git a/src/bun.js/bindings/v8/V8FunctionTemplate.cpp b/src/buntime/bindings/v8/V8FunctionTemplate.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8FunctionTemplate.cpp rename to src/buntime/bindings/v8/V8FunctionTemplate.cpp diff --git a/src/bun.js/bindings/v8/V8FunctionTemplate.h b/src/buntime/bindings/v8/V8FunctionTemplate.h similarity index 100% rename from src/bun.js/bindings/v8/V8FunctionTemplate.h rename to src/buntime/bindings/v8/V8FunctionTemplate.h diff --git a/src/bun.js/bindings/v8/V8HandleScope.cpp b/src/buntime/bindings/v8/V8HandleScope.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8HandleScope.cpp rename to src/buntime/bindings/v8/V8HandleScope.cpp diff --git a/src/bun.js/bindings/v8/V8HandleScope.h b/src/buntime/bindings/v8/V8HandleScope.h similarity index 100% rename from src/bun.js/bindings/v8/V8HandleScope.h rename to src/buntime/bindings/v8/V8HandleScope.h diff --git a/src/bun.js/bindings/v8/V8Isolate.cpp b/src/buntime/bindings/v8/V8Isolate.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Isolate.cpp rename to src/buntime/bindings/v8/V8Isolate.cpp diff --git a/src/bun.js/bindings/v8/V8Isolate.h b/src/buntime/bindings/v8/V8Isolate.h similarity index 100% rename from src/bun.js/bindings/v8/V8Isolate.h rename to src/buntime/bindings/v8/V8Isolate.h diff --git a/src/bun.js/bindings/v8/V8Local.cpp b/src/buntime/bindings/v8/V8Local.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Local.cpp rename to src/buntime/bindings/v8/V8Local.cpp diff --git a/src/bun.js/bindings/v8/V8Local.h b/src/buntime/bindings/v8/V8Local.h similarity index 100% rename from src/bun.js/bindings/v8/V8Local.h rename to src/buntime/bindings/v8/V8Local.h diff --git a/src/bun.js/bindings/v8/V8Maybe.cpp b/src/buntime/bindings/v8/V8Maybe.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Maybe.cpp rename to src/buntime/bindings/v8/V8Maybe.cpp diff --git a/src/bun.js/bindings/v8/V8Maybe.h b/src/buntime/bindings/v8/V8Maybe.h similarity index 100% rename from src/bun.js/bindings/v8/V8Maybe.h rename to src/buntime/bindings/v8/V8Maybe.h diff --git a/src/bun.js/bindings/v8/V8MaybeLocal.h b/src/buntime/bindings/v8/V8MaybeLocal.h similarity index 100% rename from src/bun.js/bindings/v8/V8MaybeLocal.h rename to src/buntime/bindings/v8/V8MaybeLocal.h diff --git a/src/bun.js/bindings/v8/V8Number.cpp b/src/buntime/bindings/v8/V8Number.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Number.cpp rename to src/buntime/bindings/v8/V8Number.cpp diff --git a/src/bun.js/bindings/v8/V8Number.h b/src/buntime/bindings/v8/V8Number.h similarity index 100% rename from src/bun.js/bindings/v8/V8Number.h rename to src/buntime/bindings/v8/V8Number.h diff --git a/src/bun.js/bindings/v8/V8Object.cpp b/src/buntime/bindings/v8/V8Object.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Object.cpp rename to src/buntime/bindings/v8/V8Object.cpp diff --git a/src/bun.js/bindings/v8/V8Object.h b/src/buntime/bindings/v8/V8Object.h similarity index 100% rename from src/bun.js/bindings/v8/V8Object.h rename to src/buntime/bindings/v8/V8Object.h diff --git a/src/bun.js/bindings/v8/V8ObjectTemplate.cpp b/src/buntime/bindings/v8/V8ObjectTemplate.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8ObjectTemplate.cpp rename to src/buntime/bindings/v8/V8ObjectTemplate.cpp diff --git a/src/bun.js/bindings/v8/V8ObjectTemplate.h b/src/buntime/bindings/v8/V8ObjectTemplate.h similarity index 100% rename from src/bun.js/bindings/v8/V8ObjectTemplate.h rename to src/buntime/bindings/v8/V8ObjectTemplate.h diff --git a/src/bun.js/bindings/v8/V8Primitive.h b/src/buntime/bindings/v8/V8Primitive.h similarity index 100% rename from src/bun.js/bindings/v8/V8Primitive.h rename to src/buntime/bindings/v8/V8Primitive.h diff --git a/src/bun.js/bindings/v8/V8Signature.h b/src/buntime/bindings/v8/V8Signature.h similarity index 100% rename from src/bun.js/bindings/v8/V8Signature.h rename to src/buntime/bindings/v8/V8Signature.h diff --git a/src/bun.js/bindings/v8/V8String.cpp b/src/buntime/bindings/v8/V8String.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8String.cpp rename to src/buntime/bindings/v8/V8String.cpp diff --git a/src/bun.js/bindings/v8/V8String.h b/src/buntime/bindings/v8/V8String.h similarity index 100% rename from src/bun.js/bindings/v8/V8String.h rename to src/buntime/bindings/v8/V8String.h diff --git a/src/bun.js/bindings/v8/V8Template.cpp b/src/buntime/bindings/v8/V8Template.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Template.cpp rename to src/buntime/bindings/v8/V8Template.cpp diff --git a/src/bun.js/bindings/v8/V8Template.h b/src/buntime/bindings/v8/V8Template.h similarity index 100% rename from src/bun.js/bindings/v8/V8Template.h rename to src/buntime/bindings/v8/V8Template.h diff --git a/src/bun.js/bindings/v8/V8Value.cpp b/src/buntime/bindings/v8/V8Value.cpp similarity index 100% rename from src/bun.js/bindings/v8/V8Value.cpp rename to src/buntime/bindings/v8/V8Value.cpp diff --git a/src/bun.js/bindings/v8/V8Value.h b/src/buntime/bindings/v8/V8Value.h similarity index 100% rename from src/bun.js/bindings/v8/V8Value.h rename to src/buntime/bindings/v8/V8Value.h diff --git a/src/bun.js/bindings/v8/node.cpp b/src/buntime/bindings/v8/node.cpp similarity index 100% rename from src/bun.js/bindings/v8/node.cpp rename to src/buntime/bindings/v8/node.cpp diff --git a/src/bun.js/bindings/v8/node.h b/src/buntime/bindings/v8/node.h similarity index 100% rename from src/bun.js/bindings/v8/node.h rename to src/buntime/bindings/v8/node.h diff --git a/src/bun.js/bindings/v8/real_v8.h b/src/buntime/bindings/v8/real_v8.h similarity index 100% rename from src/bun.js/bindings/v8/real_v8.h rename to src/buntime/bindings/v8/real_v8.h diff --git a/src/bun.js/bindings/v8/shim/Function.cpp b/src/buntime/bindings/v8/shim/Function.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/Function.cpp rename to src/buntime/bindings/v8/shim/Function.cpp diff --git a/src/bun.js/bindings/v8/shim/Function.h b/src/buntime/bindings/v8/shim/Function.h similarity index 100% rename from src/bun.js/bindings/v8/shim/Function.h rename to src/buntime/bindings/v8/shim/Function.h diff --git a/src/bun.js/bindings/v8/shim/FunctionTemplate.cpp b/src/buntime/bindings/v8/shim/FunctionTemplate.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/FunctionTemplate.cpp rename to src/buntime/bindings/v8/shim/FunctionTemplate.cpp diff --git a/src/bun.js/bindings/v8/shim/FunctionTemplate.h b/src/buntime/bindings/v8/shim/FunctionTemplate.h similarity index 100% rename from src/bun.js/bindings/v8/shim/FunctionTemplate.h rename to src/buntime/bindings/v8/shim/FunctionTemplate.h diff --git a/src/bun.js/bindings/v8/shim/GlobalInternals.cpp b/src/buntime/bindings/v8/shim/GlobalInternals.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/GlobalInternals.cpp rename to src/buntime/bindings/v8/shim/GlobalInternals.cpp diff --git a/src/bun.js/bindings/v8/shim/GlobalInternals.h b/src/buntime/bindings/v8/shim/GlobalInternals.h similarity index 100% rename from src/bun.js/bindings/v8/shim/GlobalInternals.h rename to src/buntime/bindings/v8/shim/GlobalInternals.h diff --git a/src/bun.js/bindings/v8/shim/Handle.cpp b/src/buntime/bindings/v8/shim/Handle.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/Handle.cpp rename to src/buntime/bindings/v8/shim/Handle.cpp diff --git a/src/bun.js/bindings/v8/shim/Handle.h b/src/buntime/bindings/v8/shim/Handle.h similarity index 100% rename from src/bun.js/bindings/v8/shim/Handle.h rename to src/buntime/bindings/v8/shim/Handle.h diff --git a/src/bun.js/bindings/v8/shim/HandleScopeBuffer.cpp b/src/buntime/bindings/v8/shim/HandleScopeBuffer.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/HandleScopeBuffer.cpp rename to src/buntime/bindings/v8/shim/HandleScopeBuffer.cpp diff --git a/src/bun.js/bindings/v8/shim/HandleScopeBuffer.h b/src/buntime/bindings/v8/shim/HandleScopeBuffer.h similarity index 100% rename from src/bun.js/bindings/v8/shim/HandleScopeBuffer.h rename to src/buntime/bindings/v8/shim/HandleScopeBuffer.h diff --git a/src/bun.js/bindings/v8/shim/InternalFieldObject.cpp b/src/buntime/bindings/v8/shim/InternalFieldObject.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/InternalFieldObject.cpp rename to src/buntime/bindings/v8/shim/InternalFieldObject.cpp diff --git a/src/bun.js/bindings/v8/shim/InternalFieldObject.h b/src/buntime/bindings/v8/shim/InternalFieldObject.h similarity index 100% rename from src/bun.js/bindings/v8/shim/InternalFieldObject.h rename to src/buntime/bindings/v8/shim/InternalFieldObject.h diff --git a/src/bun.js/bindings/v8/shim/Map.cpp b/src/buntime/bindings/v8/shim/Map.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/Map.cpp rename to src/buntime/bindings/v8/shim/Map.cpp diff --git a/src/bun.js/bindings/v8/shim/Map.h b/src/buntime/bindings/v8/shim/Map.h similarity index 100% rename from src/bun.js/bindings/v8/shim/Map.h rename to src/buntime/bindings/v8/shim/Map.h diff --git a/src/bun.js/bindings/v8/shim/ObjectTemplate.cpp b/src/buntime/bindings/v8/shim/ObjectTemplate.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/ObjectTemplate.cpp rename to src/buntime/bindings/v8/shim/ObjectTemplate.cpp diff --git a/src/bun.js/bindings/v8/shim/ObjectTemplate.h b/src/buntime/bindings/v8/shim/ObjectTemplate.h similarity index 100% rename from src/bun.js/bindings/v8/shim/ObjectTemplate.h rename to src/buntime/bindings/v8/shim/ObjectTemplate.h diff --git a/src/bun.js/bindings/v8/shim/Oddball.cpp b/src/buntime/bindings/v8/shim/Oddball.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/Oddball.cpp rename to src/buntime/bindings/v8/shim/Oddball.cpp diff --git a/src/bun.js/bindings/v8/shim/Oddball.h b/src/buntime/bindings/v8/shim/Oddball.h similarity index 100% rename from src/bun.js/bindings/v8/shim/Oddball.h rename to src/buntime/bindings/v8/shim/Oddball.h diff --git a/src/bun.js/bindings/v8/shim/TaggedPointer.cpp b/src/buntime/bindings/v8/shim/TaggedPointer.cpp similarity index 100% rename from src/bun.js/bindings/v8/shim/TaggedPointer.cpp rename to src/buntime/bindings/v8/shim/TaggedPointer.cpp diff --git a/src/bun.js/bindings/v8/shim/TaggedPointer.h b/src/buntime/bindings/v8/shim/TaggedPointer.h similarity index 100% rename from src/bun.js/bindings/v8/shim/TaggedPointer.h rename to src/buntime/bindings/v8/shim/TaggedPointer.h diff --git a/src/bun.js/bindings/v8/v8.h b/src/buntime/bindings/v8/v8.h similarity index 100% rename from src/bun.js/bindings/v8/v8.h rename to src/buntime/bindings/v8/v8.h diff --git a/src/bun.js/bindings/v8/v8_api_internal.cpp b/src/buntime/bindings/v8/v8_api_internal.cpp similarity index 100% rename from src/bun.js/bindings/v8/v8_api_internal.cpp rename to src/buntime/bindings/v8/v8_api_internal.cpp diff --git a/src/bun.js/bindings/v8/v8_api_internal.h b/src/buntime/bindings/v8/v8_api_internal.h similarity index 100% rename from src/bun.js/bindings/v8/v8_api_internal.h rename to src/buntime/bindings/v8/v8_api_internal.h diff --git a/src/bun.js/bindings/v8/v8_compatibility_assertions.h b/src/buntime/bindings/v8/v8_compatibility_assertions.h similarity index 100% rename from src/bun.js/bindings/v8/v8_compatibility_assertions.h rename to src/buntime/bindings/v8/v8_compatibility_assertions.h diff --git a/src/bun.js/bindings/v8/v8_internal.cpp b/src/buntime/bindings/v8/v8_internal.cpp similarity index 100% rename from src/bun.js/bindings/v8/v8_internal.cpp rename to src/buntime/bindings/v8/v8_internal.cpp diff --git a/src/bun.js/bindings/v8/v8_internal.h b/src/buntime/bindings/v8/v8_internal.h similarity index 100% rename from src/bun.js/bindings/v8/v8_internal.h rename to src/buntime/bindings/v8/v8_internal.h diff --git a/src/bun.js/bindings/v8/v8config.h b/src/buntime/bindings/v8/v8config.h similarity index 100% rename from src/bun.js/bindings/v8/v8config.h rename to src/buntime/bindings/v8/v8config.h diff --git a/src/bun.js/bindings/webcore/AbortAlgorithm.h b/src/buntime/bindings/webcore/AbortAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcore/AbortAlgorithm.h rename to src/buntime/bindings/webcore/AbortAlgorithm.h diff --git a/src/bun.js/bindings/webcore/AbortAlgorithm.idl b/src/buntime/bindings/webcore/AbortAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcore/AbortAlgorithm.idl rename to src/buntime/bindings/webcore/AbortAlgorithm.idl diff --git a/src/bun.js/bindings/webcore/AbortController.cpp b/src/buntime/bindings/webcore/AbortController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/AbortController.cpp rename to src/buntime/bindings/webcore/AbortController.cpp diff --git a/src/bun.js/bindings/webcore/AbortController.h b/src/buntime/bindings/webcore/AbortController.h similarity index 100% rename from src/bun.js/bindings/webcore/AbortController.h rename to src/buntime/bindings/webcore/AbortController.h diff --git a/src/bun.js/bindings/webcore/AbortController.idl b/src/buntime/bindings/webcore/AbortController.idl similarity index 100% rename from src/bun.js/bindings/webcore/AbortController.idl rename to src/buntime/bindings/webcore/AbortController.idl diff --git a/src/bun.js/bindings/webcore/AbortSignal.cpp b/src/buntime/bindings/webcore/AbortSignal.cpp similarity index 100% rename from src/bun.js/bindings/webcore/AbortSignal.cpp rename to src/buntime/bindings/webcore/AbortSignal.cpp diff --git a/src/bun.js/bindings/webcore/AbortSignal.h b/src/buntime/bindings/webcore/AbortSignal.h similarity index 100% rename from src/bun.js/bindings/webcore/AbortSignal.h rename to src/buntime/bindings/webcore/AbortSignal.h diff --git a/src/bun.js/bindings/webcore/AbortSignal.idl b/src/buntime/bindings/webcore/AbortSignal.idl similarity index 100% rename from src/bun.js/bindings/webcore/AbortSignal.idl rename to src/buntime/bindings/webcore/AbortSignal.idl diff --git a/src/bun.js/bindings/webcore/ActiveDOMObject.cpp b/src/buntime/bindings/webcore/ActiveDOMObject.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ActiveDOMObject.cpp rename to src/buntime/bindings/webcore/ActiveDOMObject.cpp diff --git a/src/bun.js/bindings/webcore/ActiveDOMObject.h b/src/buntime/bindings/webcore/ActiveDOMObject.h similarity index 100% rename from src/bun.js/bindings/webcore/ActiveDOMObject.h rename to src/buntime/bindings/webcore/ActiveDOMObject.h diff --git a/src/bun.js/bindings/webcore/AddEventListenerOptions.h b/src/buntime/bindings/webcore/AddEventListenerOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/AddEventListenerOptions.h rename to src/buntime/bindings/webcore/AddEventListenerOptions.h diff --git a/src/bun.js/bindings/webcore/BroadcastChannel.cpp b/src/buntime/bindings/webcore/BroadcastChannel.cpp similarity index 100% rename from src/bun.js/bindings/webcore/BroadcastChannel.cpp rename to src/buntime/bindings/webcore/BroadcastChannel.cpp diff --git a/src/bun.js/bindings/webcore/BroadcastChannel.h b/src/buntime/bindings/webcore/BroadcastChannel.h similarity index 100% rename from src/bun.js/bindings/webcore/BroadcastChannel.h rename to src/buntime/bindings/webcore/BroadcastChannel.h diff --git a/src/bun.js/bindings/webcore/BroadcastChannelIdentifier.h b/src/buntime/bindings/webcore/BroadcastChannelIdentifier.h similarity index 100% rename from src/bun.js/bindings/webcore/BroadcastChannelIdentifier.h rename to src/buntime/bindings/webcore/BroadcastChannelIdentifier.h diff --git a/src/bun.js/bindings/webcore/BroadcastChannelRegistry.h b/src/buntime/bindings/webcore/BroadcastChannelRegistry.h similarity index 100% rename from src/bun.js/bindings/webcore/BroadcastChannelRegistry.h rename to src/buntime/bindings/webcore/BroadcastChannelRegistry.h diff --git a/src/bun.js/bindings/webcore/BufferSource.h b/src/buntime/bindings/webcore/BufferSource.h similarity index 100% rename from src/bun.js/bindings/webcore/BufferSource.h rename to src/buntime/bindings/webcore/BufferSource.h diff --git a/src/bun.js/bindings/webcore/BunBroadcastChannelRegistry.cpp b/src/buntime/bindings/webcore/BunBroadcastChannelRegistry.cpp similarity index 100% rename from src/bun.js/bindings/webcore/BunBroadcastChannelRegistry.cpp rename to src/buntime/bindings/webcore/BunBroadcastChannelRegistry.cpp diff --git a/src/bun.js/bindings/webcore/BunBroadcastChannelRegistry.h b/src/buntime/bindings/webcore/BunBroadcastChannelRegistry.h similarity index 100% rename from src/bun.js/bindings/webcore/BunBroadcastChannelRegistry.h rename to src/buntime/bindings/webcore/BunBroadcastChannelRegistry.h diff --git a/src/bun.js/bindings/webcore/CallbackResult.h b/src/buntime/bindings/webcore/CallbackResult.h similarity index 100% rename from src/bun.js/bindings/webcore/CallbackResult.h rename to src/buntime/bindings/webcore/CallbackResult.h diff --git a/src/bun.js/bindings/webcore/CloseEvent.cpp b/src/buntime/bindings/webcore/CloseEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/CloseEvent.cpp rename to src/buntime/bindings/webcore/CloseEvent.cpp diff --git a/src/bun.js/bindings/webcore/CloseEvent.h b/src/buntime/bindings/webcore/CloseEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/CloseEvent.h rename to src/buntime/bindings/webcore/CloseEvent.h diff --git a/src/bun.js/bindings/webcore/CloseEvent.idl b/src/buntime/bindings/webcore/CloseEvent.idl similarity index 100% rename from src/bun.js/bindings/webcore/CloseEvent.idl rename to src/buntime/bindings/webcore/CloseEvent.idl diff --git a/src/bun.js/bindings/webcore/CommonAtomStrings.cpp b/src/buntime/bindings/webcore/CommonAtomStrings.cpp similarity index 100% rename from src/bun.js/bindings/webcore/CommonAtomStrings.cpp rename to src/buntime/bindings/webcore/CommonAtomStrings.cpp diff --git a/src/bun.js/bindings/webcore/CommonAtomStrings.h b/src/buntime/bindings/webcore/CommonAtomStrings.h similarity index 100% rename from src/bun.js/bindings/webcore/CommonAtomStrings.h rename to src/buntime/bindings/webcore/CommonAtomStrings.h diff --git a/src/bun.js/bindings/webcore/ContextDestructionObserver.cpp b/src/buntime/bindings/webcore/ContextDestructionObserver.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ContextDestructionObserver.cpp rename to src/buntime/bindings/webcore/ContextDestructionObserver.cpp diff --git a/src/bun.js/bindings/webcore/ContextDestructionObserver.h b/src/buntime/bindings/webcore/ContextDestructionObserver.h similarity index 100% rename from src/bun.js/bindings/webcore/ContextDestructionObserver.h rename to src/buntime/bindings/webcore/ContextDestructionObserver.h diff --git a/src/bun.js/bindings/webcore/CustomEvent.cpp b/src/buntime/bindings/webcore/CustomEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/CustomEvent.cpp rename to src/buntime/bindings/webcore/CustomEvent.cpp diff --git a/src/bun.js/bindings/webcore/CustomEvent.h b/src/buntime/bindings/webcore/CustomEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/CustomEvent.h rename to src/buntime/bindings/webcore/CustomEvent.h diff --git a/src/bun.js/bindings/webcore/CustomEvent.idl b/src/buntime/bindings/webcore/CustomEvent.idl similarity index 100% rename from src/bun.js/bindings/webcore/CustomEvent.idl rename to src/buntime/bindings/webcore/CustomEvent.idl diff --git a/src/bun.js/bindings/webcore/CustomEventCustom.cpp b/src/buntime/bindings/webcore/CustomEventCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/CustomEventCustom.cpp rename to src/buntime/bindings/webcore/CustomEventCustom.cpp diff --git a/src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h b/src/buntime/bindings/webcore/DOMClientIsoSubspaces.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMClientIsoSubspaces.h rename to src/buntime/bindings/webcore/DOMClientIsoSubspaces.h diff --git a/src/bun.js/bindings/webcore/DOMConstructors.h b/src/buntime/bindings/webcore/DOMConstructors.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMConstructors.h rename to src/buntime/bindings/webcore/DOMConstructors.h diff --git a/src/bun.js/bindings/webcore/DOMHighResTimeStamp.h b/src/buntime/bindings/webcore/DOMHighResTimeStamp.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMHighResTimeStamp.h rename to src/buntime/bindings/webcore/DOMHighResTimeStamp.h diff --git a/src/bun.js/bindings/webcore/DOMIsoSubspaces.h b/src/buntime/bindings/webcore/DOMIsoSubspaces.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMIsoSubspaces.h rename to src/buntime/bindings/webcore/DOMIsoSubspaces.h diff --git a/src/bun.js/bindings/webcore/DOMJITCheckDOM.h b/src/buntime/bindings/webcore/DOMJITCheckDOM.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMJITCheckDOM.h rename to src/buntime/bindings/webcore/DOMJITCheckDOM.h diff --git a/src/bun.js/bindings/webcore/DOMJITHelpers.cpp b/src/buntime/bindings/webcore/DOMJITHelpers.cpp similarity index 100% rename from src/bun.js/bindings/webcore/DOMJITHelpers.cpp rename to src/buntime/bindings/webcore/DOMJITHelpers.cpp diff --git a/src/bun.js/bindings/webcore/DOMJITHelpers.h b/src/buntime/bindings/webcore/DOMJITHelpers.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMJITHelpers.h rename to src/buntime/bindings/webcore/DOMJITHelpers.h diff --git a/src/bun.js/bindings/webcore/DOMJITIDLConvert.h b/src/buntime/bindings/webcore/DOMJITIDLConvert.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMJITIDLConvert.h rename to src/buntime/bindings/webcore/DOMJITIDLConvert.h diff --git a/src/bun.js/bindings/webcore/DOMJITIDLType.h b/src/buntime/bindings/webcore/DOMJITIDLType.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMJITIDLType.h rename to src/buntime/bindings/webcore/DOMJITIDLType.h diff --git a/src/bun.js/bindings/webcore/DOMJITIDLTypeFilter.h b/src/buntime/bindings/webcore/DOMJITIDLTypeFilter.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMJITIDLTypeFilter.h rename to src/buntime/bindings/webcore/DOMJITIDLTypeFilter.h diff --git a/src/bun.js/bindings/webcore/DOMPromiseProxy.h b/src/buntime/bindings/webcore/DOMPromiseProxy.h similarity index 100% rename from src/bun.js/bindings/webcore/DOMPromiseProxy.h rename to src/buntime/bindings/webcore/DOMPromiseProxy.h diff --git a/src/bun.js/bindings/webcore/ErrorCallback.cpp b/src/buntime/bindings/webcore/ErrorCallback.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ErrorCallback.cpp rename to src/buntime/bindings/webcore/ErrorCallback.cpp diff --git a/src/bun.js/bindings/webcore/ErrorCallback.h b/src/buntime/bindings/webcore/ErrorCallback.h similarity index 100% rename from src/bun.js/bindings/webcore/ErrorCallback.h rename to src/buntime/bindings/webcore/ErrorCallback.h diff --git a/src/bun.js/bindings/webcore/ErrorCallback.idl b/src/buntime/bindings/webcore/ErrorCallback.idl similarity index 100% rename from src/bun.js/bindings/webcore/ErrorCallback.idl rename to src/buntime/bindings/webcore/ErrorCallback.idl diff --git a/src/bun.js/bindings/webcore/ErrorEvent.cpp b/src/buntime/bindings/webcore/ErrorEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ErrorEvent.cpp rename to src/buntime/bindings/webcore/ErrorEvent.cpp diff --git a/src/bun.js/bindings/webcore/ErrorEvent.h b/src/buntime/bindings/webcore/ErrorEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/ErrorEvent.h rename to src/buntime/bindings/webcore/ErrorEvent.h diff --git a/src/bun.js/bindings/webcore/ErrorEvent.idl b/src/buntime/bindings/webcore/ErrorEvent.idl similarity index 100% rename from src/bun.js/bindings/webcore/ErrorEvent.idl rename to src/buntime/bindings/webcore/ErrorEvent.idl diff --git a/src/bun.js/bindings/webcore/Event.cpp b/src/buntime/bindings/webcore/Event.cpp similarity index 100% rename from src/bun.js/bindings/webcore/Event.cpp rename to src/buntime/bindings/webcore/Event.cpp diff --git a/src/bun.js/bindings/webcore/Event.h b/src/buntime/bindings/webcore/Event.h similarity index 100% rename from src/bun.js/bindings/webcore/Event.h rename to src/buntime/bindings/webcore/Event.h diff --git a/src/bun.js/bindings/webcore/Event.idl b/src/buntime/bindings/webcore/Event.idl similarity index 100% rename from src/bun.js/bindings/webcore/Event.idl rename to src/buntime/bindings/webcore/Event.idl diff --git a/src/bun.js/bindings/webcore/EventContext.cpp b/src/buntime/bindings/webcore/EventContext.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventContext.cpp rename to src/buntime/bindings/webcore/EventContext.cpp diff --git a/src/bun.js/bindings/webcore/EventContext.h b/src/buntime/bindings/webcore/EventContext.h similarity index 100% rename from src/bun.js/bindings/webcore/EventContext.h rename to src/buntime/bindings/webcore/EventContext.h diff --git a/src/bun.js/bindings/webcore/EventDispatcher.cpp b/src/buntime/bindings/webcore/EventDispatcher.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventDispatcher.cpp rename to src/buntime/bindings/webcore/EventDispatcher.cpp diff --git a/src/bun.js/bindings/webcore/EventDispatcher.h b/src/buntime/bindings/webcore/EventDispatcher.h similarity index 100% rename from src/bun.js/bindings/webcore/EventDispatcher.h rename to src/buntime/bindings/webcore/EventDispatcher.h diff --git a/src/bun.js/bindings/webcore/EventEmitter.cpp b/src/buntime/bindings/webcore/EventEmitter.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventEmitter.cpp rename to src/buntime/bindings/webcore/EventEmitter.cpp diff --git a/src/bun.js/bindings/webcore/EventEmitter.h b/src/buntime/bindings/webcore/EventEmitter.h similarity index 100% rename from src/bun.js/bindings/webcore/EventEmitter.h rename to src/buntime/bindings/webcore/EventEmitter.h diff --git a/src/bun.js/bindings/webcore/EventFactory.cpp b/src/buntime/bindings/webcore/EventFactory.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventFactory.cpp rename to src/buntime/bindings/webcore/EventFactory.cpp diff --git a/src/bun.js/bindings/webcore/EventHeaders.h b/src/buntime/bindings/webcore/EventHeaders.h similarity index 100% rename from src/bun.js/bindings/webcore/EventHeaders.h rename to src/buntime/bindings/webcore/EventHeaders.h diff --git a/src/bun.js/bindings/webcore/EventInit.h b/src/buntime/bindings/webcore/EventInit.h similarity index 100% rename from src/bun.js/bindings/webcore/EventInit.h rename to src/buntime/bindings/webcore/EventInit.h diff --git a/src/bun.js/bindings/webcore/EventInit.idl b/src/buntime/bindings/webcore/EventInit.idl similarity index 100% rename from src/bun.js/bindings/webcore/EventInit.idl rename to src/buntime/bindings/webcore/EventInit.idl diff --git a/src/bun.js/bindings/webcore/EventInterfaces.h b/src/buntime/bindings/webcore/EventInterfaces.h similarity index 100% rename from src/bun.js/bindings/webcore/EventInterfaces.h rename to src/buntime/bindings/webcore/EventInterfaces.h diff --git a/src/bun.js/bindings/webcore/EventListener.h b/src/buntime/bindings/webcore/EventListener.h similarity index 100% rename from src/bun.js/bindings/webcore/EventListener.h rename to src/buntime/bindings/webcore/EventListener.h diff --git a/src/bun.js/bindings/webcore/EventListener.idl b/src/buntime/bindings/webcore/EventListener.idl similarity index 100% rename from src/bun.js/bindings/webcore/EventListener.idl rename to src/buntime/bindings/webcore/EventListener.idl diff --git a/src/bun.js/bindings/webcore/EventListenerMap.cpp b/src/buntime/bindings/webcore/EventListenerMap.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventListenerMap.cpp rename to src/buntime/bindings/webcore/EventListenerMap.cpp diff --git a/src/bun.js/bindings/webcore/EventListenerMap.h b/src/buntime/bindings/webcore/EventListenerMap.h similarity index 100% rename from src/bun.js/bindings/webcore/EventListenerMap.h rename to src/buntime/bindings/webcore/EventListenerMap.h diff --git a/src/bun.js/bindings/webcore/EventListenerOptions.h b/src/buntime/bindings/webcore/EventListenerOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/EventListenerOptions.h rename to src/buntime/bindings/webcore/EventListenerOptions.h diff --git a/src/bun.js/bindings/webcore/EventListenerOptions.idl b/src/buntime/bindings/webcore/EventListenerOptions.idl similarity index 100% rename from src/bun.js/bindings/webcore/EventListenerOptions.idl rename to src/buntime/bindings/webcore/EventListenerOptions.idl diff --git a/src/bun.js/bindings/webcore/EventModifierInit.h b/src/buntime/bindings/webcore/EventModifierInit.h similarity index 100% rename from src/bun.js/bindings/webcore/EventModifierInit.h rename to src/buntime/bindings/webcore/EventModifierInit.h diff --git a/src/bun.js/bindings/webcore/EventNames.cpp b/src/buntime/bindings/webcore/EventNames.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventNames.cpp rename to src/buntime/bindings/webcore/EventNames.cpp diff --git a/src/bun.js/bindings/webcore/EventNames.h b/src/buntime/bindings/webcore/EventNames.h similarity index 100% rename from src/bun.js/bindings/webcore/EventNames.h rename to src/buntime/bindings/webcore/EventNames.h diff --git a/src/bun.js/bindings/webcore/EventNames.in b/src/buntime/bindings/webcore/EventNames.in similarity index 100% rename from src/bun.js/bindings/webcore/EventNames.in rename to src/buntime/bindings/webcore/EventNames.in diff --git a/src/bun.js/bindings/webcore/EventOptions.h b/src/buntime/bindings/webcore/EventOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/EventOptions.h rename to src/buntime/bindings/webcore/EventOptions.h diff --git a/src/bun.js/bindings/webcore/EventPath.cpp b/src/buntime/bindings/webcore/EventPath.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventPath.cpp rename to src/buntime/bindings/webcore/EventPath.cpp diff --git a/src/bun.js/bindings/webcore/EventPath.h b/src/buntime/bindings/webcore/EventPath.h similarity index 100% rename from src/bun.js/bindings/webcore/EventPath.h rename to src/buntime/bindings/webcore/EventPath.h diff --git a/src/bun.js/bindings/webcore/EventSender.h b/src/buntime/bindings/webcore/EventSender.h similarity index 100% rename from src/bun.js/bindings/webcore/EventSender.h rename to src/buntime/bindings/webcore/EventSender.h diff --git a/src/bun.js/bindings/webcore/EventTarget.cpp b/src/buntime/bindings/webcore/EventTarget.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventTarget.cpp rename to src/buntime/bindings/webcore/EventTarget.cpp diff --git a/src/bun.js/bindings/webcore/EventTarget.h b/src/buntime/bindings/webcore/EventTarget.h similarity index 100% rename from src/bun.js/bindings/webcore/EventTarget.h rename to src/buntime/bindings/webcore/EventTarget.h diff --git a/src/bun.js/bindings/webcore/EventTarget.idl b/src/buntime/bindings/webcore/EventTarget.idl similarity index 100% rename from src/bun.js/bindings/webcore/EventTarget.idl rename to src/buntime/bindings/webcore/EventTarget.idl diff --git a/src/bun.js/bindings/webcore/EventTargetConcrete.cpp b/src/buntime/bindings/webcore/EventTargetConcrete.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventTargetConcrete.cpp rename to src/buntime/bindings/webcore/EventTargetConcrete.cpp diff --git a/src/bun.js/bindings/webcore/EventTargetConcrete.h b/src/buntime/bindings/webcore/EventTargetConcrete.h similarity index 100% rename from src/bun.js/bindings/webcore/EventTargetConcrete.h rename to src/buntime/bindings/webcore/EventTargetConcrete.h diff --git a/src/bun.js/bindings/webcore/EventTargetFactory.cpp b/src/buntime/bindings/webcore/EventTargetFactory.cpp similarity index 100% rename from src/bun.js/bindings/webcore/EventTargetFactory.cpp rename to src/buntime/bindings/webcore/EventTargetFactory.cpp diff --git a/src/bun.js/bindings/webcore/EventTargetHeaders.h b/src/buntime/bindings/webcore/EventTargetHeaders.h similarity index 100% rename from src/bun.js/bindings/webcore/EventTargetHeaders.h rename to src/buntime/bindings/webcore/EventTargetHeaders.h diff --git a/src/bun.js/bindings/webcore/EventTargetInterfaces.h b/src/buntime/bindings/webcore/EventTargetInterfaces.h similarity index 100% rename from src/bun.js/bindings/webcore/EventTargetInterfaces.h rename to src/buntime/bindings/webcore/EventTargetInterfaces.h diff --git a/src/bun.js/bindings/webcore/ExceptionDetails.h b/src/buntime/bindings/webcore/ExceptionDetails.h similarity index 100% rename from src/bun.js/bindings/webcore/ExceptionDetails.h rename to src/buntime/bindings/webcore/ExceptionDetails.h diff --git a/src/bun.js/bindings/webcore/ExtendedDOMClientIsoSubspaces.h b/src/buntime/bindings/webcore/ExtendedDOMClientIsoSubspaces.h similarity index 100% rename from src/bun.js/bindings/webcore/ExtendedDOMClientIsoSubspaces.h rename to src/buntime/bindings/webcore/ExtendedDOMClientIsoSubspaces.h diff --git a/src/bun.js/bindings/webcore/ExtendedDOMIsoSubspaces.h b/src/buntime/bindings/webcore/ExtendedDOMIsoSubspaces.h similarity index 100% rename from src/bun.js/bindings/webcore/ExtendedDOMIsoSubspaces.h rename to src/buntime/bindings/webcore/ExtendedDOMIsoSubspaces.h diff --git a/src/bun.js/bindings/webcore/FetchHeaders.cpp b/src/buntime/bindings/webcore/FetchHeaders.cpp similarity index 100% rename from src/bun.js/bindings/webcore/FetchHeaders.cpp rename to src/buntime/bindings/webcore/FetchHeaders.cpp diff --git a/src/bun.js/bindings/webcore/FetchHeaders.h b/src/buntime/bindings/webcore/FetchHeaders.h similarity index 100% rename from src/bun.js/bindings/webcore/FetchHeaders.h rename to src/buntime/bindings/webcore/FetchHeaders.h diff --git a/src/bun.js/bindings/webcore/FetchHeaders.idl b/src/buntime/bindings/webcore/FetchHeaders.idl similarity index 100% rename from src/bun.js/bindings/webcore/FetchHeaders.idl rename to src/buntime/bindings/webcore/FetchHeaders.idl diff --git a/src/bun.js/bindings/webcore/HTTPHeaderField.cpp b/src/buntime/bindings/webcore/HTTPHeaderField.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderField.cpp rename to src/buntime/bindings/webcore/HTTPHeaderField.cpp diff --git a/src/bun.js/bindings/webcore/HTTPHeaderField.h b/src/buntime/bindings/webcore/HTTPHeaderField.h similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderField.h rename to src/buntime/bindings/webcore/HTTPHeaderField.h diff --git a/src/bun.js/bindings/webcore/HTTPHeaderIdentifiers.cpp b/src/buntime/bindings/webcore/HTTPHeaderIdentifiers.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderIdentifiers.cpp rename to src/buntime/bindings/webcore/HTTPHeaderIdentifiers.cpp diff --git a/src/bun.js/bindings/webcore/HTTPHeaderIdentifiers.h b/src/buntime/bindings/webcore/HTTPHeaderIdentifiers.h similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderIdentifiers.h rename to src/buntime/bindings/webcore/HTTPHeaderIdentifiers.h diff --git a/src/bun.js/bindings/webcore/HTTPHeaderMap.cpp b/src/buntime/bindings/webcore/HTTPHeaderMap.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderMap.cpp rename to src/buntime/bindings/webcore/HTTPHeaderMap.cpp diff --git a/src/bun.js/bindings/webcore/HTTPHeaderMap.h b/src/buntime/bindings/webcore/HTTPHeaderMap.h similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderMap.h rename to src/buntime/bindings/webcore/HTTPHeaderMap.h diff --git a/src/bun.js/bindings/webcore/HTTPHeaderNames.cpp b/src/buntime/bindings/webcore/HTTPHeaderNames.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderNames.cpp rename to src/buntime/bindings/webcore/HTTPHeaderNames.cpp diff --git a/src/bun.js/bindings/webcore/HTTPHeaderNames.gperf b/src/buntime/bindings/webcore/HTTPHeaderNames.gperf similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderNames.gperf rename to src/buntime/bindings/webcore/HTTPHeaderNames.gperf diff --git a/src/bun.js/bindings/webcore/HTTPHeaderNames.h b/src/buntime/bindings/webcore/HTTPHeaderNames.h similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderNames.h rename to src/buntime/bindings/webcore/HTTPHeaderNames.h diff --git a/src/bun.js/bindings/webcore/HTTPHeaderNames.in b/src/buntime/bindings/webcore/HTTPHeaderNames.in similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderNames.in rename to src/buntime/bindings/webcore/HTTPHeaderNames.in diff --git a/src/bun.js/bindings/webcore/HTTPHeaderStrings.cpp b/src/buntime/bindings/webcore/HTTPHeaderStrings.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderStrings.cpp rename to src/buntime/bindings/webcore/HTTPHeaderStrings.cpp diff --git a/src/bun.js/bindings/webcore/HTTPHeaderValues.cpp b/src/buntime/bindings/webcore/HTTPHeaderValues.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderValues.cpp rename to src/buntime/bindings/webcore/HTTPHeaderValues.cpp diff --git a/src/bun.js/bindings/webcore/HTTPHeaderValues.h b/src/buntime/bindings/webcore/HTTPHeaderValues.h similarity index 100% rename from src/bun.js/bindings/webcore/HTTPHeaderValues.h rename to src/buntime/bindings/webcore/HTTPHeaderValues.h diff --git a/src/bun.js/bindings/webcore/HTTPParsers.cpp b/src/buntime/bindings/webcore/HTTPParsers.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HTTPParsers.cpp rename to src/buntime/bindings/webcore/HTTPParsers.cpp diff --git a/src/bun.js/bindings/webcore/HTTPParsers.h b/src/buntime/bindings/webcore/HTTPParsers.h similarity index 100% rename from src/bun.js/bindings/webcore/HTTPParsers.h rename to src/buntime/bindings/webcore/HTTPParsers.h diff --git a/src/bun.js/bindings/webcore/HeaderFieldTokenizer.cpp b/src/buntime/bindings/webcore/HeaderFieldTokenizer.cpp similarity index 100% rename from src/bun.js/bindings/webcore/HeaderFieldTokenizer.cpp rename to src/buntime/bindings/webcore/HeaderFieldTokenizer.cpp diff --git a/src/bun.js/bindings/webcore/HeaderFieldTokenizer.h b/src/buntime/bindings/webcore/HeaderFieldTokenizer.h similarity index 100% rename from src/bun.js/bindings/webcore/HeaderFieldTokenizer.h rename to src/buntime/bindings/webcore/HeaderFieldTokenizer.h diff --git a/src/bun.js/bindings/webcore/IdentifierEventListenerMap.cpp b/src/buntime/bindings/webcore/IdentifierEventListenerMap.cpp similarity index 100% rename from src/bun.js/bindings/webcore/IdentifierEventListenerMap.cpp rename to src/buntime/bindings/webcore/IdentifierEventListenerMap.cpp diff --git a/src/bun.js/bindings/webcore/IdentifierEventListenerMap.h b/src/buntime/bindings/webcore/IdentifierEventListenerMap.h similarity index 100% rename from src/bun.js/bindings/webcore/IdentifierEventListenerMap.h rename to src/buntime/bindings/webcore/IdentifierEventListenerMap.h diff --git a/src/bun.js/bindings/webcore/InternalWritableStream.cpp b/src/buntime/bindings/webcore/InternalWritableStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/InternalWritableStream.cpp rename to src/buntime/bindings/webcore/InternalWritableStream.cpp diff --git a/src/bun.js/bindings/webcore/InternalWritableStream.h b/src/buntime/bindings/webcore/InternalWritableStream.h similarity index 100% rename from src/bun.js/bindings/webcore/InternalWritableStream.h rename to src/buntime/bindings/webcore/InternalWritableStream.h diff --git a/src/bun.js/bindings/webcore/JSAbortAlgorithm.cpp b/src/buntime/bindings/webcore/JSAbortAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortAlgorithm.cpp rename to src/buntime/bindings/webcore/JSAbortAlgorithm.cpp diff --git a/src/bun.js/bindings/webcore/JSAbortAlgorithm.h b/src/buntime/bindings/webcore/JSAbortAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortAlgorithm.h rename to src/buntime/bindings/webcore/JSAbortAlgorithm.h diff --git a/src/bun.js/bindings/webcore/JSAbortController.cpp b/src/buntime/bindings/webcore/JSAbortController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortController.cpp rename to src/buntime/bindings/webcore/JSAbortController.cpp diff --git a/src/bun.js/bindings/webcore/JSAbortController.h b/src/buntime/bindings/webcore/JSAbortController.h similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortController.h rename to src/buntime/bindings/webcore/JSAbortController.h diff --git a/src/bun.js/bindings/webcore/JSAbortSignal.cpp b/src/buntime/bindings/webcore/JSAbortSignal.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortSignal.cpp rename to src/buntime/bindings/webcore/JSAbortSignal.cpp diff --git a/src/bun.js/bindings/webcore/JSAbortSignal.h b/src/buntime/bindings/webcore/JSAbortSignal.h similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortSignal.h rename to src/buntime/bindings/webcore/JSAbortSignal.h diff --git a/src/bun.js/bindings/webcore/JSAbortSignalCustom.cpp b/src/buntime/bindings/webcore/JSAbortSignalCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSAbortSignalCustom.cpp rename to src/buntime/bindings/webcore/JSAbortSignalCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSAddEventListenerOptions.cpp b/src/buntime/bindings/webcore/JSAddEventListenerOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSAddEventListenerOptions.cpp rename to src/buntime/bindings/webcore/JSAddEventListenerOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSAddEventListenerOptions.h b/src/buntime/bindings/webcore/JSAddEventListenerOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSAddEventListenerOptions.h rename to src/buntime/bindings/webcore/JSAddEventListenerOptions.h diff --git a/src/bun.js/bindings/webcore/JSBroadcastChannel.cpp b/src/buntime/bindings/webcore/JSBroadcastChannel.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSBroadcastChannel.cpp rename to src/buntime/bindings/webcore/JSBroadcastChannel.cpp diff --git a/src/bun.js/bindings/webcore/JSBroadcastChannel.h b/src/buntime/bindings/webcore/JSBroadcastChannel.h similarity index 100% rename from src/bun.js/bindings/webcore/JSBroadcastChannel.h rename to src/buntime/bindings/webcore/JSBroadcastChannel.h diff --git a/src/bun.js/bindings/webcore/JSByteLengthQueuingStrategy.cpp b/src/buntime/bindings/webcore/JSByteLengthQueuingStrategy.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSByteLengthQueuingStrategy.cpp rename to src/buntime/bindings/webcore/JSByteLengthQueuingStrategy.cpp diff --git a/src/bun.js/bindings/webcore/JSByteLengthQueuingStrategy.h b/src/buntime/bindings/webcore/JSByteLengthQueuingStrategy.h similarity index 100% rename from src/bun.js/bindings/webcore/JSByteLengthQueuingStrategy.h rename to src/buntime/bindings/webcore/JSByteLengthQueuingStrategy.h diff --git a/src/bun.js/bindings/webcore/JSCallbackData.cpp b/src/buntime/bindings/webcore/JSCallbackData.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSCallbackData.cpp rename to src/buntime/bindings/webcore/JSCallbackData.cpp diff --git a/src/bun.js/bindings/webcore/JSCallbackData.h b/src/buntime/bindings/webcore/JSCallbackData.h similarity index 100% rename from src/bun.js/bindings/webcore/JSCallbackData.h rename to src/buntime/bindings/webcore/JSCallbackData.h diff --git a/src/bun.js/bindings/webcore/JSCloseEvent.cpp b/src/buntime/bindings/webcore/JSCloseEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSCloseEvent.cpp rename to src/buntime/bindings/webcore/JSCloseEvent.cpp diff --git a/src/bun.js/bindings/webcore/JSCloseEvent.h b/src/buntime/bindings/webcore/JSCloseEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/JSCloseEvent.h rename to src/buntime/bindings/webcore/JSCloseEvent.h diff --git a/src/bun.js/bindings/webcore/JSCookie.cpp b/src/buntime/bindings/webcore/JSCookie.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSCookie.cpp rename to src/buntime/bindings/webcore/JSCookie.cpp diff --git a/src/bun.js/bindings/webcore/JSCookie.h b/src/buntime/bindings/webcore/JSCookie.h similarity index 100% rename from src/bun.js/bindings/webcore/JSCookie.h rename to src/buntime/bindings/webcore/JSCookie.h diff --git a/src/bun.js/bindings/webcore/JSCookieMap.cpp b/src/buntime/bindings/webcore/JSCookieMap.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSCookieMap.cpp rename to src/buntime/bindings/webcore/JSCookieMap.cpp diff --git a/src/bun.js/bindings/webcore/JSCookieMap.h b/src/buntime/bindings/webcore/JSCookieMap.h similarity index 100% rename from src/bun.js/bindings/webcore/JSCookieMap.h rename to src/buntime/bindings/webcore/JSCookieMap.h diff --git a/src/bun.js/bindings/webcore/JSCountQueuingStrategy.cpp b/src/buntime/bindings/webcore/JSCountQueuingStrategy.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSCountQueuingStrategy.cpp rename to src/buntime/bindings/webcore/JSCountQueuingStrategy.cpp diff --git a/src/bun.js/bindings/webcore/JSCountQueuingStrategy.h b/src/buntime/bindings/webcore/JSCountQueuingStrategy.h similarity index 100% rename from src/bun.js/bindings/webcore/JSCountQueuingStrategy.h rename to src/buntime/bindings/webcore/JSCountQueuingStrategy.h diff --git a/src/bun.js/bindings/webcore/JSCustomEvent.cpp b/src/buntime/bindings/webcore/JSCustomEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSCustomEvent.cpp rename to src/buntime/bindings/webcore/JSCustomEvent.cpp diff --git a/src/bun.js/bindings/webcore/JSCustomEvent.h b/src/buntime/bindings/webcore/JSCustomEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/JSCustomEvent.h rename to src/buntime/bindings/webcore/JSCustomEvent.h diff --git a/src/bun.js/bindings/webcore/JSDOMAttribute.h b/src/buntime/bindings/webcore/JSDOMAttribute.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMAttribute.h rename to src/buntime/bindings/webcore/JSDOMAttribute.h diff --git a/src/bun.js/bindings/webcore/JSDOMBinding.h b/src/buntime/bindings/webcore/JSDOMBinding.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMBinding.h rename to src/buntime/bindings/webcore/JSDOMBinding.h diff --git a/src/bun.js/bindings/webcore/JSDOMBindingInternalsBuiltins.cpp b/src/buntime/bindings/webcore/JSDOMBindingInternalsBuiltins.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMBindingInternalsBuiltins.cpp rename to src/buntime/bindings/webcore/JSDOMBindingInternalsBuiltins.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMBindingInternalsBuiltins.h b/src/buntime/bindings/webcore/JSDOMBindingInternalsBuiltins.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMBindingInternalsBuiltins.h rename to src/buntime/bindings/webcore/JSDOMBindingInternalsBuiltins.h diff --git a/src/bun.js/bindings/webcore/JSDOMBuiltinConstructor.h b/src/buntime/bindings/webcore/JSDOMBuiltinConstructor.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMBuiltinConstructor.h rename to src/buntime/bindings/webcore/JSDOMBuiltinConstructor.h diff --git a/src/bun.js/bindings/webcore/JSDOMBuiltinConstructorBase.cpp b/src/buntime/bindings/webcore/JSDOMBuiltinConstructorBase.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMBuiltinConstructorBase.cpp rename to src/buntime/bindings/webcore/JSDOMBuiltinConstructorBase.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMBuiltinConstructorBase.h b/src/buntime/bindings/webcore/JSDOMBuiltinConstructorBase.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMBuiltinConstructorBase.h rename to src/buntime/bindings/webcore/JSDOMBuiltinConstructorBase.h diff --git a/src/bun.js/bindings/webcore/JSDOMCastThisValue.h b/src/buntime/bindings/webcore/JSDOMCastThisValue.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMCastThisValue.h rename to src/buntime/bindings/webcore/JSDOMCastThisValue.h diff --git a/src/bun.js/bindings/webcore/JSDOMConstructor.h b/src/buntime/bindings/webcore/JSDOMConstructor.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConstructor.h rename to src/buntime/bindings/webcore/JSDOMConstructor.h diff --git a/src/bun.js/bindings/webcore/JSDOMConstructorBase.cpp b/src/buntime/bindings/webcore/JSDOMConstructorBase.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConstructorBase.cpp rename to src/buntime/bindings/webcore/JSDOMConstructorBase.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMConstructorBase.h b/src/buntime/bindings/webcore/JSDOMConstructorBase.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConstructorBase.h rename to src/buntime/bindings/webcore/JSDOMConstructorBase.h diff --git a/src/bun.js/bindings/webcore/JSDOMConstructorCallable.h b/src/buntime/bindings/webcore/JSDOMConstructorCallable.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConstructorCallable.h rename to src/buntime/bindings/webcore/JSDOMConstructorCallable.h diff --git a/src/bun.js/bindings/webcore/JSDOMConstructorNotCallable.h b/src/buntime/bindings/webcore/JSDOMConstructorNotCallable.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConstructorNotCallable.h rename to src/buntime/bindings/webcore/JSDOMConstructorNotCallable.h diff --git a/src/bun.js/bindings/webcore/JSDOMConstructorNotConstructable.h b/src/buntime/bindings/webcore/JSDOMConstructorNotConstructable.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConstructorNotConstructable.h rename to src/buntime/bindings/webcore/JSDOMConstructorNotConstructable.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvert.h b/src/buntime/bindings/webcore/JSDOMConvert.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvert.h rename to src/buntime/bindings/webcore/JSDOMConvert.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertAny.h b/src/buntime/bindings/webcore/JSDOMConvertAny.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertAny.h rename to src/buntime/bindings/webcore/JSDOMConvertAny.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertBase.h b/src/buntime/bindings/webcore/JSDOMConvertBase.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertBase.h rename to src/buntime/bindings/webcore/JSDOMConvertBase.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertBoolean.h b/src/buntime/bindings/webcore/JSDOMConvertBoolean.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertBoolean.h rename to src/buntime/bindings/webcore/JSDOMConvertBoolean.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertBufferSource.h b/src/buntime/bindings/webcore/JSDOMConvertBufferSource.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertBufferSource.h rename to src/buntime/bindings/webcore/JSDOMConvertBufferSource.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertCallbacks.h b/src/buntime/bindings/webcore/JSDOMConvertCallbacks.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertCallbacks.h rename to src/buntime/bindings/webcore/JSDOMConvertCallbacks.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertDate.cpp b/src/buntime/bindings/webcore/JSDOMConvertDate.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertDate.cpp rename to src/buntime/bindings/webcore/JSDOMConvertDate.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMConvertDate.h b/src/buntime/bindings/webcore/JSDOMConvertDate.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertDate.h rename to src/buntime/bindings/webcore/JSDOMConvertDate.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertDictionary.h b/src/buntime/bindings/webcore/JSDOMConvertDictionary.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertDictionary.h rename to src/buntime/bindings/webcore/JSDOMConvertDictionary.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertEnumeration.h b/src/buntime/bindings/webcore/JSDOMConvertEnumeration.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertEnumeration.h rename to src/buntime/bindings/webcore/JSDOMConvertEnumeration.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertEventListener.h b/src/buntime/bindings/webcore/JSDOMConvertEventListener.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertEventListener.h rename to src/buntime/bindings/webcore/JSDOMConvertEventListener.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertInterface.h b/src/buntime/bindings/webcore/JSDOMConvertInterface.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertInterface.h rename to src/buntime/bindings/webcore/JSDOMConvertInterface.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertJSON.h b/src/buntime/bindings/webcore/JSDOMConvertJSON.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertJSON.h rename to src/buntime/bindings/webcore/JSDOMConvertJSON.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertNull.h b/src/buntime/bindings/webcore/JSDOMConvertNull.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertNull.h rename to src/buntime/bindings/webcore/JSDOMConvertNull.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertNullable.h b/src/buntime/bindings/webcore/JSDOMConvertNullable.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertNullable.h rename to src/buntime/bindings/webcore/JSDOMConvertNullable.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertNumbers.cpp b/src/buntime/bindings/webcore/JSDOMConvertNumbers.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertNumbers.cpp rename to src/buntime/bindings/webcore/JSDOMConvertNumbers.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMConvertNumbers.h b/src/buntime/bindings/webcore/JSDOMConvertNumbers.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertNumbers.h rename to src/buntime/bindings/webcore/JSDOMConvertNumbers.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertObject.h b/src/buntime/bindings/webcore/JSDOMConvertObject.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertObject.h rename to src/buntime/bindings/webcore/JSDOMConvertObject.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertOptional.h b/src/buntime/bindings/webcore/JSDOMConvertOptional.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertOptional.h rename to src/buntime/bindings/webcore/JSDOMConvertOptional.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertPromise.h b/src/buntime/bindings/webcore/JSDOMConvertPromise.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertPromise.h rename to src/buntime/bindings/webcore/JSDOMConvertPromise.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertRecord.h b/src/buntime/bindings/webcore/JSDOMConvertRecord.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertRecord.h rename to src/buntime/bindings/webcore/JSDOMConvertRecord.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertScheduledAction.h b/src/buntime/bindings/webcore/JSDOMConvertScheduledAction.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertScheduledAction.h rename to src/buntime/bindings/webcore/JSDOMConvertScheduledAction.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertSequences.h b/src/buntime/bindings/webcore/JSDOMConvertSequences.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertSequences.h rename to src/buntime/bindings/webcore/JSDOMConvertSequences.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertSerializedScriptValue.h b/src/buntime/bindings/webcore/JSDOMConvertSerializedScriptValue.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertSerializedScriptValue.h rename to src/buntime/bindings/webcore/JSDOMConvertSerializedScriptValue.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertStrings.cpp b/src/buntime/bindings/webcore/JSDOMConvertStrings.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertStrings.cpp rename to src/buntime/bindings/webcore/JSDOMConvertStrings.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMConvertStrings.h b/src/buntime/bindings/webcore/JSDOMConvertStrings.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertStrings.h rename to src/buntime/bindings/webcore/JSDOMConvertStrings.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertUnion.h b/src/buntime/bindings/webcore/JSDOMConvertUnion.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertUnion.h rename to src/buntime/bindings/webcore/JSDOMConvertUnion.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertVariadic.h b/src/buntime/bindings/webcore/JSDOMConvertVariadic.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertVariadic.h rename to src/buntime/bindings/webcore/JSDOMConvertVariadic.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertWebGL.cpp b/src/buntime/bindings/webcore/JSDOMConvertWebGL.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertWebGL.cpp rename to src/buntime/bindings/webcore/JSDOMConvertWebGL.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMConvertWebGL.h b/src/buntime/bindings/webcore/JSDOMConvertWebGL.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertWebGL.h rename to src/buntime/bindings/webcore/JSDOMConvertWebGL.h diff --git a/src/bun.js/bindings/webcore/JSDOMConvertXPathNSResolver.h b/src/buntime/bindings/webcore/JSDOMConvertXPathNSResolver.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMConvertXPathNSResolver.h rename to src/buntime/bindings/webcore/JSDOMConvertXPathNSResolver.h diff --git a/src/bun.js/bindings/webcore/JSDOMException.cpp b/src/buntime/bindings/webcore/JSDOMException.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMException.cpp rename to src/buntime/bindings/webcore/JSDOMException.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMException.h b/src/buntime/bindings/webcore/JSDOMException.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMException.h rename to src/buntime/bindings/webcore/JSDOMException.h diff --git a/src/bun.js/bindings/webcore/JSDOMFormData.cpp b/src/buntime/bindings/webcore/JSDOMFormData.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMFormData.cpp rename to src/buntime/bindings/webcore/JSDOMFormData.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMFormData.h b/src/buntime/bindings/webcore/JSDOMFormData.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMFormData.h rename to src/buntime/bindings/webcore/JSDOMFormData.h diff --git a/src/bun.js/bindings/webcore/JSDOMGlobalObjectInlines.h b/src/buntime/bindings/webcore/JSDOMGlobalObjectInlines.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMGlobalObjectInlines.h rename to src/buntime/bindings/webcore/JSDOMGlobalObjectInlines.h diff --git a/src/bun.js/bindings/webcore/JSDOMGuardedObject.cpp b/src/buntime/bindings/webcore/JSDOMGuardedObject.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMGuardedObject.cpp rename to src/buntime/bindings/webcore/JSDOMGuardedObject.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMGuardedObject.h b/src/buntime/bindings/webcore/JSDOMGuardedObject.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMGuardedObject.h rename to src/buntime/bindings/webcore/JSDOMGuardedObject.h diff --git a/src/bun.js/bindings/webcore/JSDOMIterator.cpp b/src/buntime/bindings/webcore/JSDOMIterator.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMIterator.cpp rename to src/buntime/bindings/webcore/JSDOMIterator.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMIterator.h b/src/buntime/bindings/webcore/JSDOMIterator.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMIterator.h rename to src/buntime/bindings/webcore/JSDOMIterator.h diff --git a/src/bun.js/bindings/webcore/JSDOMOperation.cpp b/src/buntime/bindings/webcore/JSDOMOperation.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMOperation.cpp rename to src/buntime/bindings/webcore/JSDOMOperation.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMOperation.h b/src/buntime/bindings/webcore/JSDOMOperation.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMOperation.h rename to src/buntime/bindings/webcore/JSDOMOperation.h diff --git a/src/bun.js/bindings/webcore/JSDOMOperationReturningPromise.h b/src/buntime/bindings/webcore/JSDOMOperationReturningPromise.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMOperationReturningPromise.h rename to src/buntime/bindings/webcore/JSDOMOperationReturningPromise.h diff --git a/src/bun.js/bindings/webcore/JSDOMPromise.cpp b/src/buntime/bindings/webcore/JSDOMPromise.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMPromise.cpp rename to src/buntime/bindings/webcore/JSDOMPromise.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMPromise.h b/src/buntime/bindings/webcore/JSDOMPromise.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMPromise.h rename to src/buntime/bindings/webcore/JSDOMPromise.h diff --git a/src/bun.js/bindings/webcore/JSDOMPromiseDeferred.cpp b/src/buntime/bindings/webcore/JSDOMPromiseDeferred.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMPromiseDeferred.cpp rename to src/buntime/bindings/webcore/JSDOMPromiseDeferred.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMPromiseDeferred.h b/src/buntime/bindings/webcore/JSDOMPromiseDeferred.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMPromiseDeferred.h rename to src/buntime/bindings/webcore/JSDOMPromiseDeferred.h diff --git a/src/bun.js/bindings/webcore/JSDOMURL.cpp b/src/buntime/bindings/webcore/JSDOMURL.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMURL.cpp rename to src/buntime/bindings/webcore/JSDOMURL.cpp diff --git a/src/bun.js/bindings/webcore/JSDOMURL.h b/src/buntime/bindings/webcore/JSDOMURL.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMURL.h rename to src/buntime/bindings/webcore/JSDOMURL.h diff --git a/src/bun.js/bindings/webcore/JSDOMWindow.h b/src/buntime/bindings/webcore/JSDOMWindow.h similarity index 100% rename from src/bun.js/bindings/webcore/JSDOMWindow.h rename to src/buntime/bindings/webcore/JSDOMWindow.h diff --git a/src/bun.js/bindings/webcore/JSErrorCallback.cpp b/src/buntime/bindings/webcore/JSErrorCallback.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorCallback.cpp rename to src/buntime/bindings/webcore/JSErrorCallback.cpp diff --git a/src/bun.js/bindings/webcore/JSErrorCallback.h b/src/buntime/bindings/webcore/JSErrorCallback.h similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorCallback.h rename to src/buntime/bindings/webcore/JSErrorCallback.h diff --git a/src/bun.js/bindings/webcore/JSErrorEvent.cpp b/src/buntime/bindings/webcore/JSErrorEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorEvent.cpp rename to src/buntime/bindings/webcore/JSErrorEvent.cpp diff --git a/src/bun.js/bindings/webcore/JSErrorEvent.h b/src/buntime/bindings/webcore/JSErrorEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorEvent.h rename to src/buntime/bindings/webcore/JSErrorEvent.h diff --git a/src/bun.js/bindings/webcore/JSErrorEventCustom.cpp b/src/buntime/bindings/webcore/JSErrorEventCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorEventCustom.cpp rename to src/buntime/bindings/webcore/JSErrorEventCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSErrorHandler.cpp b/src/buntime/bindings/webcore/JSErrorHandler.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorHandler.cpp rename to src/buntime/bindings/webcore/JSErrorHandler.cpp diff --git a/src/bun.js/bindings/webcore/JSErrorHandler.h b/src/buntime/bindings/webcore/JSErrorHandler.h similarity index 100% rename from src/bun.js/bindings/webcore/JSErrorHandler.h rename to src/buntime/bindings/webcore/JSErrorHandler.h diff --git a/src/bun.js/bindings/webcore/JSEvent.cpp b/src/buntime/bindings/webcore/JSEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEvent.cpp rename to src/buntime/bindings/webcore/JSEvent.cpp diff --git a/src/bun.js/bindings/webcore/JSEvent.h b/src/buntime/bindings/webcore/JSEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEvent.h rename to src/buntime/bindings/webcore/JSEvent.h diff --git a/src/bun.js/bindings/webcore/JSEventCustom.cpp b/src/buntime/bindings/webcore/JSEventCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventCustom.cpp rename to src/buntime/bindings/webcore/JSEventCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSEventCustom.h b/src/buntime/bindings/webcore/JSEventCustom.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventCustom.h rename to src/buntime/bindings/webcore/JSEventCustom.h diff --git a/src/bun.js/bindings/webcore/JSEventDOMJIT.cpp b/src/buntime/bindings/webcore/JSEventDOMJIT.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventDOMJIT.cpp rename to src/buntime/bindings/webcore/JSEventDOMJIT.cpp diff --git a/src/bun.js/bindings/webcore/JSEventEmitter.cpp b/src/buntime/bindings/webcore/JSEventEmitter.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventEmitter.cpp rename to src/buntime/bindings/webcore/JSEventEmitter.cpp diff --git a/src/bun.js/bindings/webcore/JSEventEmitter.h b/src/buntime/bindings/webcore/JSEventEmitter.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventEmitter.h rename to src/buntime/bindings/webcore/JSEventEmitter.h diff --git a/src/bun.js/bindings/webcore/JSEventEmitterCustom.cpp b/src/buntime/bindings/webcore/JSEventEmitterCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventEmitterCustom.cpp rename to src/buntime/bindings/webcore/JSEventEmitterCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSEventEmitterCustom.h b/src/buntime/bindings/webcore/JSEventEmitterCustom.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventEmitterCustom.h rename to src/buntime/bindings/webcore/JSEventEmitterCustom.h diff --git a/src/bun.js/bindings/webcore/JSEventInit.cpp b/src/buntime/bindings/webcore/JSEventInit.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventInit.cpp rename to src/buntime/bindings/webcore/JSEventInit.cpp diff --git a/src/bun.js/bindings/webcore/JSEventInit.h b/src/buntime/bindings/webcore/JSEventInit.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventInit.h rename to src/buntime/bindings/webcore/JSEventInit.h diff --git a/src/bun.js/bindings/webcore/JSEventListener.cpp b/src/buntime/bindings/webcore/JSEventListener.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventListener.cpp rename to src/buntime/bindings/webcore/JSEventListener.cpp diff --git a/src/bun.js/bindings/webcore/JSEventListener.h b/src/buntime/bindings/webcore/JSEventListener.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventListener.h rename to src/buntime/bindings/webcore/JSEventListener.h diff --git a/src/bun.js/bindings/webcore/JSEventListenerOptions.cpp b/src/buntime/bindings/webcore/JSEventListenerOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventListenerOptions.cpp rename to src/buntime/bindings/webcore/JSEventListenerOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSEventListenerOptions.h b/src/buntime/bindings/webcore/JSEventListenerOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventListenerOptions.h rename to src/buntime/bindings/webcore/JSEventListenerOptions.h diff --git a/src/bun.js/bindings/webcore/JSEventModifierInit.cpp b/src/buntime/bindings/webcore/JSEventModifierInit.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventModifierInit.cpp rename to src/buntime/bindings/webcore/JSEventModifierInit.cpp diff --git a/src/bun.js/bindings/webcore/JSEventModifierInit.h b/src/buntime/bindings/webcore/JSEventModifierInit.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventModifierInit.h rename to src/buntime/bindings/webcore/JSEventModifierInit.h diff --git a/src/bun.js/bindings/webcore/JSEventTarget.cpp b/src/buntime/bindings/webcore/JSEventTarget.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventTarget.cpp rename to src/buntime/bindings/webcore/JSEventTarget.cpp diff --git a/src/bun.js/bindings/webcore/JSEventTarget.h b/src/buntime/bindings/webcore/JSEventTarget.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventTarget.h rename to src/buntime/bindings/webcore/JSEventTarget.h diff --git a/src/bun.js/bindings/webcore/JSEventTargetCustom.cpp b/src/buntime/bindings/webcore/JSEventTargetCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventTargetCustom.cpp rename to src/buntime/bindings/webcore/JSEventTargetCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSEventTargetCustom.h b/src/buntime/bindings/webcore/JSEventTargetCustom.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventTargetCustom.h rename to src/buntime/bindings/webcore/JSEventTargetCustom.h diff --git a/src/bun.js/bindings/webcore/JSEventTargetNode.cpp b/src/buntime/bindings/webcore/JSEventTargetNode.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSEventTargetNode.cpp rename to src/buntime/bindings/webcore/JSEventTargetNode.cpp diff --git a/src/bun.js/bindings/webcore/JSEventTargetNode.h b/src/buntime/bindings/webcore/JSEventTargetNode.h similarity index 100% rename from src/bun.js/bindings/webcore/JSEventTargetNode.h rename to src/buntime/bindings/webcore/JSEventTargetNode.h diff --git a/src/bun.js/bindings/webcore/JSFetchHeaders.cpp b/src/buntime/bindings/webcore/JSFetchHeaders.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSFetchHeaders.cpp rename to src/buntime/bindings/webcore/JSFetchHeaders.cpp diff --git a/src/bun.js/bindings/webcore/JSFetchHeaders.h b/src/buntime/bindings/webcore/JSFetchHeaders.h similarity index 100% rename from src/bun.js/bindings/webcore/JSFetchHeaders.h rename to src/buntime/bindings/webcore/JSFetchHeaders.h diff --git a/src/bun.js/bindings/webcore/JSMIMEBindings.cpp b/src/buntime/bindings/webcore/JSMIMEBindings.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMIMEBindings.cpp rename to src/buntime/bindings/webcore/JSMIMEBindings.cpp diff --git a/src/bun.js/bindings/webcore/JSMIMEBindings.h b/src/buntime/bindings/webcore/JSMIMEBindings.h similarity index 100% rename from src/bun.js/bindings/webcore/JSMIMEBindings.h rename to src/buntime/bindings/webcore/JSMIMEBindings.h diff --git a/src/bun.js/bindings/webcore/JSMIMEParams.cpp b/src/buntime/bindings/webcore/JSMIMEParams.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMIMEParams.cpp rename to src/buntime/bindings/webcore/JSMIMEParams.cpp diff --git a/src/bun.js/bindings/webcore/JSMIMEParams.h b/src/buntime/bindings/webcore/JSMIMEParams.h similarity index 100% rename from src/bun.js/bindings/webcore/JSMIMEParams.h rename to src/buntime/bindings/webcore/JSMIMEParams.h diff --git a/src/bun.js/bindings/webcore/JSMIMEType.cpp b/src/buntime/bindings/webcore/JSMIMEType.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMIMEType.cpp rename to src/buntime/bindings/webcore/JSMIMEType.cpp diff --git a/src/bun.js/bindings/webcore/JSMIMEType.h b/src/buntime/bindings/webcore/JSMIMEType.h similarity index 100% rename from src/bun.js/bindings/webcore/JSMIMEType.h rename to src/buntime/bindings/webcore/JSMIMEType.h diff --git a/src/bun.js/bindings/webcore/JSMessageChannel.cpp b/src/buntime/bindings/webcore/JSMessageChannel.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMessageChannel.cpp rename to src/buntime/bindings/webcore/JSMessageChannel.cpp diff --git a/src/bun.js/bindings/webcore/JSMessageChannel.h b/src/buntime/bindings/webcore/JSMessageChannel.h similarity index 100% rename from src/bun.js/bindings/webcore/JSMessageChannel.h rename to src/buntime/bindings/webcore/JSMessageChannel.h diff --git a/src/bun.js/bindings/webcore/JSMessageChannelCustom.cpp b/src/buntime/bindings/webcore/JSMessageChannelCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMessageChannelCustom.cpp rename to src/buntime/bindings/webcore/JSMessageChannelCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSMessageEvent.cpp b/src/buntime/bindings/webcore/JSMessageEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMessageEvent.cpp rename to src/buntime/bindings/webcore/JSMessageEvent.cpp diff --git a/src/bun.js/bindings/webcore/JSMessageEvent.h b/src/buntime/bindings/webcore/JSMessageEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/JSMessageEvent.h rename to src/buntime/bindings/webcore/JSMessageEvent.h diff --git a/src/bun.js/bindings/webcore/JSMessageEventCustom.cpp b/src/buntime/bindings/webcore/JSMessageEventCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMessageEventCustom.cpp rename to src/buntime/bindings/webcore/JSMessageEventCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSMessagePort.cpp b/src/buntime/bindings/webcore/JSMessagePort.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMessagePort.cpp rename to src/buntime/bindings/webcore/JSMessagePort.cpp diff --git a/src/bun.js/bindings/webcore/JSMessagePort.h b/src/buntime/bindings/webcore/JSMessagePort.h similarity index 100% rename from src/bun.js/bindings/webcore/JSMessagePort.h rename to src/buntime/bindings/webcore/JSMessagePort.h diff --git a/src/bun.js/bindings/webcore/JSMessagePortCustom.cpp b/src/buntime/bindings/webcore/JSMessagePortCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSMessagePortCustom.cpp rename to src/buntime/bindings/webcore/JSMessagePortCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformance.cpp b/src/buntime/bindings/webcore/JSPerformance.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformance.cpp rename to src/buntime/bindings/webcore/JSPerformance.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformance.h b/src/buntime/bindings/webcore/JSPerformance.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformance.h rename to src/buntime/bindings/webcore/JSPerformance.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceEntry.cpp b/src/buntime/bindings/webcore/JSPerformanceEntry.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceEntry.cpp rename to src/buntime/bindings/webcore/JSPerformanceEntry.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceEntry.h b/src/buntime/bindings/webcore/JSPerformanceEntry.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceEntry.h rename to src/buntime/bindings/webcore/JSPerformanceEntry.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceEntryCustom.cpp b/src/buntime/bindings/webcore/JSPerformanceEntryCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceEntryCustom.cpp rename to src/buntime/bindings/webcore/JSPerformanceEntryCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceMark.cpp b/src/buntime/bindings/webcore/JSPerformanceMark.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMark.cpp rename to src/buntime/bindings/webcore/JSPerformanceMark.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceMark.h b/src/buntime/bindings/webcore/JSPerformanceMark.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMark.h rename to src/buntime/bindings/webcore/JSPerformanceMark.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceMarkOptions.cpp b/src/buntime/bindings/webcore/JSPerformanceMarkOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMarkOptions.cpp rename to src/buntime/bindings/webcore/JSPerformanceMarkOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceMarkOptions.h b/src/buntime/bindings/webcore/JSPerformanceMarkOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMarkOptions.h rename to src/buntime/bindings/webcore/JSPerformanceMarkOptions.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceMeasure.cpp b/src/buntime/bindings/webcore/JSPerformanceMeasure.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMeasure.cpp rename to src/buntime/bindings/webcore/JSPerformanceMeasure.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceMeasure.h b/src/buntime/bindings/webcore/JSPerformanceMeasure.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMeasure.h rename to src/buntime/bindings/webcore/JSPerformanceMeasure.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceMeasureOptions.cpp b/src/buntime/bindings/webcore/JSPerformanceMeasureOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMeasureOptions.cpp rename to src/buntime/bindings/webcore/JSPerformanceMeasureOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceMeasureOptions.h b/src/buntime/bindings/webcore/JSPerformanceMeasureOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceMeasureOptions.h rename to src/buntime/bindings/webcore/JSPerformanceMeasureOptions.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserver.cpp b/src/buntime/bindings/webcore/JSPerformanceObserver.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserver.cpp rename to src/buntime/bindings/webcore/JSPerformanceObserver.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserver.h b/src/buntime/bindings/webcore/JSPerformanceObserver.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserver.h rename to src/buntime/bindings/webcore/JSPerformanceObserver.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserverCallback.cpp b/src/buntime/bindings/webcore/JSPerformanceObserverCallback.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserverCallback.cpp rename to src/buntime/bindings/webcore/JSPerformanceObserverCallback.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserverCallback.h b/src/buntime/bindings/webcore/JSPerformanceObserverCallback.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserverCallback.h rename to src/buntime/bindings/webcore/JSPerformanceObserverCallback.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserverCustom.cpp b/src/buntime/bindings/webcore/JSPerformanceObserverCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserverCustom.cpp rename to src/buntime/bindings/webcore/JSPerformanceObserverCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserverEntryList.cpp b/src/buntime/bindings/webcore/JSPerformanceObserverEntryList.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserverEntryList.cpp rename to src/buntime/bindings/webcore/JSPerformanceObserverEntryList.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceObserverEntryList.h b/src/buntime/bindings/webcore/JSPerformanceObserverEntryList.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceObserverEntryList.h rename to src/buntime/bindings/webcore/JSPerformanceObserverEntryList.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceResourceTiming.cpp b/src/buntime/bindings/webcore/JSPerformanceResourceTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceResourceTiming.cpp rename to src/buntime/bindings/webcore/JSPerformanceResourceTiming.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceResourceTiming.h b/src/buntime/bindings/webcore/JSPerformanceResourceTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceResourceTiming.h rename to src/buntime/bindings/webcore/JSPerformanceResourceTiming.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceServerTiming.cpp b/src/buntime/bindings/webcore/JSPerformanceServerTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceServerTiming.cpp rename to src/buntime/bindings/webcore/JSPerformanceServerTiming.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceServerTiming.h b/src/buntime/bindings/webcore/JSPerformanceServerTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceServerTiming.h rename to src/buntime/bindings/webcore/JSPerformanceServerTiming.h diff --git a/src/bun.js/bindings/webcore/JSPerformanceTiming.cpp b/src/buntime/bindings/webcore/JSPerformanceTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceTiming.cpp rename to src/buntime/bindings/webcore/JSPerformanceTiming.cpp diff --git a/src/bun.js/bindings/webcore/JSPerformanceTiming.h b/src/buntime/bindings/webcore/JSPerformanceTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/JSPerformanceTiming.h rename to src/buntime/bindings/webcore/JSPerformanceTiming.h diff --git a/src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp b/src/buntime/bindings/webcore/JSReadableByteStreamController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp rename to src/buntime/bindings/webcore/JSReadableByteStreamController.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableByteStreamController.h b/src/buntime/bindings/webcore/JSReadableByteStreamController.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableByteStreamController.h rename to src/buntime/bindings/webcore/JSReadableByteStreamController.h diff --git a/src/bun.js/bindings/webcore/JSReadableStream.cpp b/src/buntime/bindings/webcore/JSReadableStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStream.cpp rename to src/buntime/bindings/webcore/JSReadableStream.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStream.h b/src/buntime/bindings/webcore/JSReadableStream.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStream.h rename to src/buntime/bindings/webcore/JSReadableStream.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamBYOBReader.cpp b/src/buntime/bindings/webcore/JSReadableStreamBYOBReader.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamBYOBReader.cpp rename to src/buntime/bindings/webcore/JSReadableStreamBYOBReader.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStreamBYOBReader.h b/src/buntime/bindings/webcore/JSReadableStreamBYOBReader.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamBYOBReader.h rename to src/buntime/bindings/webcore/JSReadableStreamBYOBReader.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamBYOBRequest.cpp b/src/buntime/bindings/webcore/JSReadableStreamBYOBRequest.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamBYOBRequest.cpp rename to src/buntime/bindings/webcore/JSReadableStreamBYOBRequest.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStreamBYOBRequest.h b/src/buntime/bindings/webcore/JSReadableStreamBYOBRequest.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamBYOBRequest.h rename to src/buntime/bindings/webcore/JSReadableStreamBYOBRequest.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamDefaultController.cpp b/src/buntime/bindings/webcore/JSReadableStreamDefaultController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamDefaultController.cpp rename to src/buntime/bindings/webcore/JSReadableStreamDefaultController.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStreamDefaultController.h b/src/buntime/bindings/webcore/JSReadableStreamDefaultController.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamDefaultController.h rename to src/buntime/bindings/webcore/JSReadableStreamDefaultController.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamDefaultReader.cpp b/src/buntime/bindings/webcore/JSReadableStreamDefaultReader.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamDefaultReader.cpp rename to src/buntime/bindings/webcore/JSReadableStreamDefaultReader.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStreamDefaultReader.h b/src/buntime/bindings/webcore/JSReadableStreamDefaultReader.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamDefaultReader.h rename to src/buntime/bindings/webcore/JSReadableStreamDefaultReader.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamSink.cpp b/src/buntime/bindings/webcore/JSReadableStreamSink.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamSink.cpp rename to src/buntime/bindings/webcore/JSReadableStreamSink.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStreamSink.h b/src/buntime/bindings/webcore/JSReadableStreamSink.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamSink.h rename to src/buntime/bindings/webcore/JSReadableStreamSink.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamSource.cpp b/src/buntime/bindings/webcore/JSReadableStreamSource.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamSource.cpp rename to src/buntime/bindings/webcore/JSReadableStreamSource.cpp diff --git a/src/bun.js/bindings/webcore/JSReadableStreamSource.h b/src/buntime/bindings/webcore/JSReadableStreamSource.h similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamSource.h rename to src/buntime/bindings/webcore/JSReadableStreamSource.h diff --git a/src/bun.js/bindings/webcore/JSReadableStreamSourceCustom.cpp b/src/buntime/bindings/webcore/JSReadableStreamSourceCustom.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSReadableStreamSourceCustom.cpp rename to src/buntime/bindings/webcore/JSReadableStreamSourceCustom.cpp diff --git a/src/bun.js/bindings/webcore/JSServiceWorker.h b/src/buntime/bindings/webcore/JSServiceWorker.h similarity index 100% rename from src/bun.js/bindings/webcore/JSServiceWorker.h rename to src/buntime/bindings/webcore/JSServiceWorker.h diff --git a/src/bun.js/bindings/webcore/JSStructuredSerializeOptions.cpp b/src/buntime/bindings/webcore/JSStructuredSerializeOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSStructuredSerializeOptions.cpp rename to src/buntime/bindings/webcore/JSStructuredSerializeOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSStructuredSerializeOptions.h b/src/buntime/bindings/webcore/JSStructuredSerializeOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSStructuredSerializeOptions.h rename to src/buntime/bindings/webcore/JSStructuredSerializeOptions.h diff --git a/src/bun.js/bindings/webcore/JSTextDecoderStream.cpp b/src/buntime/bindings/webcore/JSTextDecoderStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSTextDecoderStream.cpp rename to src/buntime/bindings/webcore/JSTextDecoderStream.cpp diff --git a/src/bun.js/bindings/webcore/JSTextDecoderStream.h b/src/buntime/bindings/webcore/JSTextDecoderStream.h similarity index 100% rename from src/bun.js/bindings/webcore/JSTextDecoderStream.h rename to src/buntime/bindings/webcore/JSTextDecoderStream.h diff --git a/src/bun.js/bindings/webcore/JSTextEncoder.cpp b/src/buntime/bindings/webcore/JSTextEncoder.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSTextEncoder.cpp rename to src/buntime/bindings/webcore/JSTextEncoder.cpp diff --git a/src/bun.js/bindings/webcore/JSTextEncoder.h b/src/buntime/bindings/webcore/JSTextEncoder.h similarity index 100% rename from src/bun.js/bindings/webcore/JSTextEncoder.h rename to src/buntime/bindings/webcore/JSTextEncoder.h diff --git a/src/bun.js/bindings/webcore/JSTextEncoderStream.cpp b/src/buntime/bindings/webcore/JSTextEncoderStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSTextEncoderStream.cpp rename to src/buntime/bindings/webcore/JSTextEncoderStream.cpp diff --git a/src/bun.js/bindings/webcore/JSTextEncoderStream.h b/src/buntime/bindings/webcore/JSTextEncoderStream.h similarity index 100% rename from src/bun.js/bindings/webcore/JSTextEncoderStream.h rename to src/buntime/bindings/webcore/JSTextEncoderStream.h diff --git a/src/bun.js/bindings/webcore/JSTransformStream.cpp b/src/buntime/bindings/webcore/JSTransformStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSTransformStream.cpp rename to src/buntime/bindings/webcore/JSTransformStream.cpp diff --git a/src/bun.js/bindings/webcore/JSTransformStream.h b/src/buntime/bindings/webcore/JSTransformStream.h similarity index 100% rename from src/bun.js/bindings/webcore/JSTransformStream.h rename to src/buntime/bindings/webcore/JSTransformStream.h diff --git a/src/bun.js/bindings/webcore/JSTransformStreamDefaultController.cpp b/src/buntime/bindings/webcore/JSTransformStreamDefaultController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSTransformStreamDefaultController.cpp rename to src/buntime/bindings/webcore/JSTransformStreamDefaultController.cpp diff --git a/src/bun.js/bindings/webcore/JSTransformStreamDefaultController.h b/src/buntime/bindings/webcore/JSTransformStreamDefaultController.h similarity index 100% rename from src/bun.js/bindings/webcore/JSTransformStreamDefaultController.h rename to src/buntime/bindings/webcore/JSTransformStreamDefaultController.h diff --git a/src/bun.js/bindings/webcore/JSURLPattern.cpp b/src/buntime/bindings/webcore/JSURLPattern.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPattern.cpp rename to src/buntime/bindings/webcore/JSURLPattern.cpp diff --git a/src/bun.js/bindings/webcore/JSURLPattern.h b/src/buntime/bindings/webcore/JSURLPattern.h similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPattern.h rename to src/buntime/bindings/webcore/JSURLPattern.h diff --git a/src/bun.js/bindings/webcore/JSURLPatternInit.cpp b/src/buntime/bindings/webcore/JSURLPatternInit.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPatternInit.cpp rename to src/buntime/bindings/webcore/JSURLPatternInit.cpp diff --git a/src/bun.js/bindings/webcore/JSURLPatternInit.h b/src/buntime/bindings/webcore/JSURLPatternInit.h similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPatternInit.h rename to src/buntime/bindings/webcore/JSURLPatternInit.h diff --git a/src/bun.js/bindings/webcore/JSURLPatternOptions.cpp b/src/buntime/bindings/webcore/JSURLPatternOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPatternOptions.cpp rename to src/buntime/bindings/webcore/JSURLPatternOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSURLPatternOptions.h b/src/buntime/bindings/webcore/JSURLPatternOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPatternOptions.h rename to src/buntime/bindings/webcore/JSURLPatternOptions.h diff --git a/src/bun.js/bindings/webcore/JSURLPatternResult.cpp b/src/buntime/bindings/webcore/JSURLPatternResult.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPatternResult.cpp rename to src/buntime/bindings/webcore/JSURLPatternResult.cpp diff --git a/src/bun.js/bindings/webcore/JSURLPatternResult.h b/src/buntime/bindings/webcore/JSURLPatternResult.h similarity index 100% rename from src/bun.js/bindings/webcore/JSURLPatternResult.h rename to src/buntime/bindings/webcore/JSURLPatternResult.h diff --git a/src/bun.js/bindings/webcore/JSURLSearchParams.cpp b/src/buntime/bindings/webcore/JSURLSearchParams.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSURLSearchParams.cpp rename to src/buntime/bindings/webcore/JSURLSearchParams.cpp diff --git a/src/bun.js/bindings/webcore/JSURLSearchParams.h b/src/buntime/bindings/webcore/JSURLSearchParams.h similarity index 100% rename from src/bun.js/bindings/webcore/JSURLSearchParams.h rename to src/buntime/bindings/webcore/JSURLSearchParams.h diff --git a/src/bun.js/bindings/webcore/JSValueInWrappedObject.h b/src/buntime/bindings/webcore/JSValueInWrappedObject.h similarity index 100% rename from src/bun.js/bindings/webcore/JSValueInWrappedObject.h rename to src/buntime/bindings/webcore/JSValueInWrappedObject.h diff --git a/src/bun.js/bindings/webcore/JSWasmStreamingCompiler.cpp b/src/buntime/bindings/webcore/JSWasmStreamingCompiler.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWasmStreamingCompiler.cpp rename to src/buntime/bindings/webcore/JSWasmStreamingCompiler.cpp diff --git a/src/bun.js/bindings/webcore/JSWasmStreamingCompiler.h b/src/buntime/bindings/webcore/JSWasmStreamingCompiler.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWasmStreamingCompiler.h rename to src/buntime/bindings/webcore/JSWasmStreamingCompiler.h diff --git a/src/bun.js/bindings/webcore/JSWebSocket.cpp b/src/buntime/bindings/webcore/JSWebSocket.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWebSocket.cpp rename to src/buntime/bindings/webcore/JSWebSocket.cpp diff --git a/src/bun.js/bindings/webcore/JSWebSocket.h b/src/buntime/bindings/webcore/JSWebSocket.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWebSocket.h rename to src/buntime/bindings/webcore/JSWebSocket.h diff --git a/src/bun.js/bindings/webcore/JSWindowProxy.h b/src/buntime/bindings/webcore/JSWindowProxy.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWindowProxy.h rename to src/buntime/bindings/webcore/JSWindowProxy.h diff --git a/src/bun.js/bindings/webcore/JSWorker.cpp b/src/buntime/bindings/webcore/JSWorker.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWorker.cpp rename to src/buntime/bindings/webcore/JSWorker.cpp diff --git a/src/bun.js/bindings/webcore/JSWorker.h b/src/buntime/bindings/webcore/JSWorker.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWorker.h rename to src/buntime/bindings/webcore/JSWorker.h diff --git a/src/bun.js/bindings/webcore/JSWorkerOptions.cpp b/src/buntime/bindings/webcore/JSWorkerOptions.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWorkerOptions.cpp rename to src/buntime/bindings/webcore/JSWorkerOptions.cpp diff --git a/src/bun.js/bindings/webcore/JSWorkerOptions.h b/src/buntime/bindings/webcore/JSWorkerOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWorkerOptions.h rename to src/buntime/bindings/webcore/JSWorkerOptions.h diff --git a/src/bun.js/bindings/webcore/JSWritableStream.cpp b/src/buntime/bindings/webcore/JSWritableStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStream.cpp rename to src/buntime/bindings/webcore/JSWritableStream.cpp diff --git a/src/bun.js/bindings/webcore/JSWritableStream.h b/src/buntime/bindings/webcore/JSWritableStream.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStream.h rename to src/buntime/bindings/webcore/JSWritableStream.h diff --git a/src/bun.js/bindings/webcore/JSWritableStreamDefaultController.cpp b/src/buntime/bindings/webcore/JSWritableStreamDefaultController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStreamDefaultController.cpp rename to src/buntime/bindings/webcore/JSWritableStreamDefaultController.cpp diff --git a/src/bun.js/bindings/webcore/JSWritableStreamDefaultController.h b/src/buntime/bindings/webcore/JSWritableStreamDefaultController.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStreamDefaultController.h rename to src/buntime/bindings/webcore/JSWritableStreamDefaultController.h diff --git a/src/bun.js/bindings/webcore/JSWritableStreamDefaultWriter.cpp b/src/buntime/bindings/webcore/JSWritableStreamDefaultWriter.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStreamDefaultWriter.cpp rename to src/buntime/bindings/webcore/JSWritableStreamDefaultWriter.cpp diff --git a/src/bun.js/bindings/webcore/JSWritableStreamDefaultWriter.h b/src/buntime/bindings/webcore/JSWritableStreamDefaultWriter.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStreamDefaultWriter.h rename to src/buntime/bindings/webcore/JSWritableStreamDefaultWriter.h diff --git a/src/bun.js/bindings/webcore/JSWritableStreamSink.cpp b/src/buntime/bindings/webcore/JSWritableStreamSink.cpp similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStreamSink.cpp rename to src/buntime/bindings/webcore/JSWritableStreamSink.cpp diff --git a/src/bun.js/bindings/webcore/JSWritableStreamSink.h b/src/buntime/bindings/webcore/JSWritableStreamSink.h similarity index 100% rename from src/bun.js/bindings/webcore/JSWritableStreamSink.h rename to src/buntime/bindings/webcore/JSWritableStreamSink.h diff --git a/src/bun.js/bindings/webcore/MessageChannel.cpp b/src/buntime/bindings/webcore/MessageChannel.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessageChannel.cpp rename to src/buntime/bindings/webcore/MessageChannel.cpp diff --git a/src/bun.js/bindings/webcore/MessageChannel.h b/src/buntime/bindings/webcore/MessageChannel.h similarity index 100% rename from src/bun.js/bindings/webcore/MessageChannel.h rename to src/buntime/bindings/webcore/MessageChannel.h diff --git a/src/bun.js/bindings/webcore/MessageEvent.cpp b/src/buntime/bindings/webcore/MessageEvent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessageEvent.cpp rename to src/buntime/bindings/webcore/MessageEvent.cpp diff --git a/src/bun.js/bindings/webcore/MessageEvent.h b/src/buntime/bindings/webcore/MessageEvent.h similarity index 100% rename from src/bun.js/bindings/webcore/MessageEvent.h rename to src/buntime/bindings/webcore/MessageEvent.h diff --git a/src/bun.js/bindings/webcore/MessageEvent.idl b/src/buntime/bindings/webcore/MessageEvent.idl similarity index 100% rename from src/bun.js/bindings/webcore/MessageEvent.idl rename to src/buntime/bindings/webcore/MessageEvent.idl diff --git a/src/bun.js/bindings/webcore/MessagePort.cpp b/src/buntime/bindings/webcore/MessagePort.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessagePort.cpp rename to src/buntime/bindings/webcore/MessagePort.cpp diff --git a/src/bun.js/bindings/webcore/MessagePort.h b/src/buntime/bindings/webcore/MessagePort.h similarity index 100% rename from src/bun.js/bindings/webcore/MessagePort.h rename to src/buntime/bindings/webcore/MessagePort.h diff --git a/src/bun.js/bindings/webcore/MessagePortChannel.cpp b/src/buntime/bindings/webcore/MessagePortChannel.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannel.cpp rename to src/buntime/bindings/webcore/MessagePortChannel.cpp diff --git a/src/bun.js/bindings/webcore/MessagePortChannel.h b/src/buntime/bindings/webcore/MessagePortChannel.h similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannel.h rename to src/buntime/bindings/webcore/MessagePortChannel.h diff --git a/src/bun.js/bindings/webcore/MessagePortChannelProvider.cpp b/src/buntime/bindings/webcore/MessagePortChannelProvider.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannelProvider.cpp rename to src/buntime/bindings/webcore/MessagePortChannelProvider.cpp diff --git a/src/bun.js/bindings/webcore/MessagePortChannelProvider.h b/src/buntime/bindings/webcore/MessagePortChannelProvider.h similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannelProvider.h rename to src/buntime/bindings/webcore/MessagePortChannelProvider.h diff --git a/src/bun.js/bindings/webcore/MessagePortChannelProviderImpl.cpp b/src/buntime/bindings/webcore/MessagePortChannelProviderImpl.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannelProviderImpl.cpp rename to src/buntime/bindings/webcore/MessagePortChannelProviderImpl.cpp diff --git a/src/bun.js/bindings/webcore/MessagePortChannelProviderImpl.h b/src/buntime/bindings/webcore/MessagePortChannelProviderImpl.h similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannelProviderImpl.h rename to src/buntime/bindings/webcore/MessagePortChannelProviderImpl.h diff --git a/src/bun.js/bindings/webcore/MessagePortChannelRegistry.cpp b/src/buntime/bindings/webcore/MessagePortChannelRegistry.cpp similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannelRegistry.cpp rename to src/buntime/bindings/webcore/MessagePortChannelRegistry.cpp diff --git a/src/bun.js/bindings/webcore/MessagePortChannelRegistry.h b/src/buntime/bindings/webcore/MessagePortChannelRegistry.h similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortChannelRegistry.h rename to src/buntime/bindings/webcore/MessagePortChannelRegistry.h diff --git a/src/bun.js/bindings/webcore/MessagePortIdentifier.h b/src/buntime/bindings/webcore/MessagePortIdentifier.h similarity index 100% rename from src/bun.js/bindings/webcore/MessagePortIdentifier.h rename to src/buntime/bindings/webcore/MessagePortIdentifier.h diff --git a/src/bun.js/bindings/webcore/MessageWithMessagePorts.h b/src/buntime/bindings/webcore/MessageWithMessagePorts.h similarity index 100% rename from src/bun.js/bindings/webcore/MessageWithMessagePorts.h rename to src/buntime/bindings/webcore/MessageWithMessagePorts.h diff --git a/src/bun.js/bindings/webcore/NetworkLoadMetrics.cpp b/src/buntime/bindings/webcore/NetworkLoadMetrics.cpp similarity index 100% rename from src/bun.js/bindings/webcore/NetworkLoadMetrics.cpp rename to src/buntime/bindings/webcore/NetworkLoadMetrics.cpp diff --git a/src/bun.js/bindings/webcore/NetworkLoadMetrics.h b/src/buntime/bindings/webcore/NetworkLoadMetrics.h similarity index 100% rename from src/bun.js/bindings/webcore/NetworkLoadMetrics.h rename to src/buntime/bindings/webcore/NetworkLoadMetrics.h diff --git a/src/bun.js/bindings/webcore/Node.h b/src/buntime/bindings/webcore/Node.h similarity index 100% rename from src/bun.js/bindings/webcore/Node.h rename to src/buntime/bindings/webcore/Node.h diff --git a/src/bun.js/bindings/webcore/Performance.cpp b/src/buntime/bindings/webcore/Performance.cpp similarity index 100% rename from src/bun.js/bindings/webcore/Performance.cpp rename to src/buntime/bindings/webcore/Performance.cpp diff --git a/src/bun.js/bindings/webcore/Performance.h b/src/buntime/bindings/webcore/Performance.h similarity index 100% rename from src/bun.js/bindings/webcore/Performance.h rename to src/buntime/bindings/webcore/Performance.h diff --git a/src/bun.js/bindings/webcore/PerformanceEntry.cpp b/src/buntime/bindings/webcore/PerformanceEntry.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceEntry.cpp rename to src/buntime/bindings/webcore/PerformanceEntry.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceEntry.h b/src/buntime/bindings/webcore/PerformanceEntry.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceEntry.h rename to src/buntime/bindings/webcore/PerformanceEntry.h diff --git a/src/bun.js/bindings/webcore/PerformanceMark.cpp b/src/buntime/bindings/webcore/PerformanceMark.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceMark.cpp rename to src/buntime/bindings/webcore/PerformanceMark.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceMark.h b/src/buntime/bindings/webcore/PerformanceMark.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceMark.h rename to src/buntime/bindings/webcore/PerformanceMark.h diff --git a/src/bun.js/bindings/webcore/PerformanceMarkOptions.h b/src/buntime/bindings/webcore/PerformanceMarkOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceMarkOptions.h rename to src/buntime/bindings/webcore/PerformanceMarkOptions.h diff --git a/src/bun.js/bindings/webcore/PerformanceMeasure.cpp b/src/buntime/bindings/webcore/PerformanceMeasure.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceMeasure.cpp rename to src/buntime/bindings/webcore/PerformanceMeasure.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceMeasure.h b/src/buntime/bindings/webcore/PerformanceMeasure.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceMeasure.h rename to src/buntime/bindings/webcore/PerformanceMeasure.h diff --git a/src/bun.js/bindings/webcore/PerformanceMeasureOptions.h b/src/buntime/bindings/webcore/PerformanceMeasureOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceMeasureOptions.h rename to src/buntime/bindings/webcore/PerformanceMeasureOptions.h diff --git a/src/bun.js/bindings/webcore/PerformanceObserver.cpp b/src/buntime/bindings/webcore/PerformanceObserver.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceObserver.cpp rename to src/buntime/bindings/webcore/PerformanceObserver.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceObserver.h b/src/buntime/bindings/webcore/PerformanceObserver.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceObserver.h rename to src/buntime/bindings/webcore/PerformanceObserver.h diff --git a/src/bun.js/bindings/webcore/PerformanceObserverCallback.h b/src/buntime/bindings/webcore/PerformanceObserverCallback.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceObserverCallback.h rename to src/buntime/bindings/webcore/PerformanceObserverCallback.h diff --git a/src/bun.js/bindings/webcore/PerformanceObserverEntryList.cpp b/src/buntime/bindings/webcore/PerformanceObserverEntryList.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceObserverEntryList.cpp rename to src/buntime/bindings/webcore/PerformanceObserverEntryList.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceObserverEntryList.h b/src/buntime/bindings/webcore/PerformanceObserverEntryList.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceObserverEntryList.h rename to src/buntime/bindings/webcore/PerformanceObserverEntryList.h diff --git a/src/bun.js/bindings/webcore/PerformanceResourceTiming.cpp b/src/buntime/bindings/webcore/PerformanceResourceTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceResourceTiming.cpp rename to src/buntime/bindings/webcore/PerformanceResourceTiming.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceResourceTiming.h b/src/buntime/bindings/webcore/PerformanceResourceTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceResourceTiming.h rename to src/buntime/bindings/webcore/PerformanceResourceTiming.h diff --git a/src/bun.js/bindings/webcore/PerformanceResourceTiming.idl b/src/buntime/bindings/webcore/PerformanceResourceTiming.idl similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceResourceTiming.idl rename to src/buntime/bindings/webcore/PerformanceResourceTiming.idl diff --git a/src/bun.js/bindings/webcore/PerformanceServerTiming.cpp b/src/buntime/bindings/webcore/PerformanceServerTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceServerTiming.cpp rename to src/buntime/bindings/webcore/PerformanceServerTiming.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceServerTiming.h b/src/buntime/bindings/webcore/PerformanceServerTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceServerTiming.h rename to src/buntime/bindings/webcore/PerformanceServerTiming.h diff --git a/src/bun.js/bindings/webcore/PerformanceServerTiming.idl b/src/buntime/bindings/webcore/PerformanceServerTiming.idl similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceServerTiming.idl rename to src/buntime/bindings/webcore/PerformanceServerTiming.idl diff --git a/src/bun.js/bindings/webcore/PerformanceTiming.cpp b/src/buntime/bindings/webcore/PerformanceTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceTiming.cpp rename to src/buntime/bindings/webcore/PerformanceTiming.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceTiming.h b/src/buntime/bindings/webcore/PerformanceTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceTiming.h rename to src/buntime/bindings/webcore/PerformanceTiming.h diff --git a/src/bun.js/bindings/webcore/PerformanceUserTiming.cpp b/src/buntime/bindings/webcore/PerformanceUserTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceUserTiming.cpp rename to src/buntime/bindings/webcore/PerformanceUserTiming.cpp diff --git a/src/bun.js/bindings/webcore/PerformanceUserTiming.h b/src/buntime/bindings/webcore/PerformanceUserTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/PerformanceUserTiming.h rename to src/buntime/bindings/webcore/PerformanceUserTiming.h diff --git a/src/bun.js/bindings/webcore/PortIdentifier.h b/src/buntime/bindings/webcore/PortIdentifier.h similarity index 100% rename from src/bun.js/bindings/webcore/PortIdentifier.h rename to src/buntime/bindings/webcore/PortIdentifier.h diff --git a/src/bun.js/bindings/webcore/RFC7230.cpp b/src/buntime/bindings/webcore/RFC7230.cpp similarity index 100% rename from src/bun.js/bindings/webcore/RFC7230.cpp rename to src/buntime/bindings/webcore/RFC7230.cpp diff --git a/src/bun.js/bindings/webcore/RFC7230.h b/src/buntime/bindings/webcore/RFC7230.h similarity index 100% rename from src/bun.js/bindings/webcore/RFC7230.h rename to src/buntime/bindings/webcore/RFC7230.h diff --git a/src/bun.js/bindings/webcore/ReadableStream.cpp b/src/buntime/bindings/webcore/ReadableStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStream.cpp rename to src/buntime/bindings/webcore/ReadableStream.cpp diff --git a/src/bun.js/bindings/webcore/ReadableStream.h b/src/buntime/bindings/webcore/ReadableStream.h similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStream.h rename to src/buntime/bindings/webcore/ReadableStream.h diff --git a/src/bun.js/bindings/webcore/ReadableStreamDefaultController.cpp b/src/buntime/bindings/webcore/ReadableStreamDefaultController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStreamDefaultController.cpp rename to src/buntime/bindings/webcore/ReadableStreamDefaultController.cpp diff --git a/src/bun.js/bindings/webcore/ReadableStreamDefaultController.h b/src/buntime/bindings/webcore/ReadableStreamDefaultController.h similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStreamDefaultController.h rename to src/buntime/bindings/webcore/ReadableStreamDefaultController.h diff --git a/src/bun.js/bindings/webcore/ReadableStreamSink.cpp b/src/buntime/bindings/webcore/ReadableStreamSink.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStreamSink.cpp rename to src/buntime/bindings/webcore/ReadableStreamSink.cpp diff --git a/src/bun.js/bindings/webcore/ReadableStreamSink.h b/src/buntime/bindings/webcore/ReadableStreamSink.h similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStreamSink.h rename to src/buntime/bindings/webcore/ReadableStreamSink.h diff --git a/src/bun.js/bindings/webcore/ReadableStreamSource.cpp b/src/buntime/bindings/webcore/ReadableStreamSource.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStreamSource.cpp rename to src/buntime/bindings/webcore/ReadableStreamSource.cpp diff --git a/src/bun.js/bindings/webcore/ReadableStreamSource.h b/src/buntime/bindings/webcore/ReadableStreamSource.h similarity index 100% rename from src/bun.js/bindings/webcore/ReadableStreamSource.h rename to src/buntime/bindings/webcore/ReadableStreamSource.h diff --git a/src/bun.js/bindings/webcore/RegisteredEventListener.h b/src/buntime/bindings/webcore/RegisteredEventListener.h similarity index 100% rename from src/bun.js/bindings/webcore/RegisteredEventListener.h rename to src/buntime/bindings/webcore/RegisteredEventListener.h diff --git a/src/bun.js/bindings/webcore/ResourceLoadTiming.h b/src/buntime/bindings/webcore/ResourceLoadTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/ResourceLoadTiming.h rename to src/buntime/bindings/webcore/ResourceLoadTiming.h diff --git a/src/bun.js/bindings/webcore/ResourceTiming.cpp b/src/buntime/bindings/webcore/ResourceTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ResourceTiming.cpp rename to src/buntime/bindings/webcore/ResourceTiming.cpp diff --git a/src/bun.js/bindings/webcore/ResourceTiming.h b/src/buntime/bindings/webcore/ResourceTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/ResourceTiming.h rename to src/buntime/bindings/webcore/ResourceTiming.h diff --git a/src/bun.js/bindings/webcore/ScriptWrappable.h b/src/buntime/bindings/webcore/ScriptWrappable.h similarity index 100% rename from src/bun.js/bindings/webcore/ScriptWrappable.h rename to src/buntime/bindings/webcore/ScriptWrappable.h diff --git a/src/bun.js/bindings/webcore/ScriptWrappableInlines.h b/src/buntime/bindings/webcore/ScriptWrappableInlines.h similarity index 100% rename from src/bun.js/bindings/webcore/ScriptWrappableInlines.h rename to src/buntime/bindings/webcore/ScriptWrappableInlines.h diff --git a/src/bun.js/bindings/webcore/SerializedScriptValue.cpp b/src/buntime/bindings/webcore/SerializedScriptValue.cpp similarity index 100% rename from src/bun.js/bindings/webcore/SerializedScriptValue.cpp rename to src/buntime/bindings/webcore/SerializedScriptValue.cpp diff --git a/src/bun.js/bindings/webcore/SerializedScriptValue.h b/src/buntime/bindings/webcore/SerializedScriptValue.h similarity index 100% rename from src/bun.js/bindings/webcore/SerializedScriptValue.h rename to src/buntime/bindings/webcore/SerializedScriptValue.h diff --git a/src/bun.js/bindings/webcore/ServerTiming.cpp b/src/buntime/bindings/webcore/ServerTiming.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ServerTiming.cpp rename to src/buntime/bindings/webcore/ServerTiming.cpp diff --git a/src/bun.js/bindings/webcore/ServerTiming.h b/src/buntime/bindings/webcore/ServerTiming.h similarity index 100% rename from src/bun.js/bindings/webcore/ServerTiming.h rename to src/buntime/bindings/webcore/ServerTiming.h diff --git a/src/bun.js/bindings/webcore/ServerTimingParser.cpp b/src/buntime/bindings/webcore/ServerTimingParser.cpp similarity index 100% rename from src/bun.js/bindings/webcore/ServerTimingParser.cpp rename to src/buntime/bindings/webcore/ServerTimingParser.cpp diff --git a/src/bun.js/bindings/webcore/ServerTimingParser.h b/src/buntime/bindings/webcore/ServerTimingParser.h similarity index 100% rename from src/bun.js/bindings/webcore/ServerTimingParser.h rename to src/buntime/bindings/webcore/ServerTimingParser.h diff --git a/src/bun.js/bindings/webcore/StructuredClone.cpp b/src/buntime/bindings/webcore/StructuredClone.cpp similarity index 100% rename from src/bun.js/bindings/webcore/StructuredClone.cpp rename to src/buntime/bindings/webcore/StructuredClone.cpp diff --git a/src/bun.js/bindings/webcore/StructuredClone.h b/src/buntime/bindings/webcore/StructuredClone.h similarity index 100% rename from src/bun.js/bindings/webcore/StructuredClone.h rename to src/buntime/bindings/webcore/StructuredClone.h diff --git a/src/bun.js/bindings/webcore/StructuredSerializeOptions.h b/src/buntime/bindings/webcore/StructuredSerializeOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/StructuredSerializeOptions.h rename to src/buntime/bindings/webcore/StructuredSerializeOptions.h diff --git a/src/bun.js/bindings/webcore/TaskSource.h b/src/buntime/bindings/webcore/TaskSource.h similarity index 100% rename from src/bun.js/bindings/webcore/TaskSource.h rename to src/buntime/bindings/webcore/TaskSource.h diff --git a/src/bun.js/bindings/webcore/TextEncoder.cpp b/src/buntime/bindings/webcore/TextEncoder.cpp similarity index 100% rename from src/bun.js/bindings/webcore/TextEncoder.cpp rename to src/buntime/bindings/webcore/TextEncoder.cpp diff --git a/src/bun.js/bindings/webcore/TextEncoder.h b/src/buntime/bindings/webcore/TextEncoder.h similarity index 100% rename from src/bun.js/bindings/webcore/TextEncoder.h rename to src/buntime/bindings/webcore/TextEncoder.h diff --git a/src/bun.js/bindings/webcore/TransferredMessagePort.h b/src/buntime/bindings/webcore/TransferredMessagePort.h similarity index 100% rename from src/bun.js/bindings/webcore/TransferredMessagePort.h rename to src/buntime/bindings/webcore/TransferredMessagePort.h diff --git a/src/bun.js/bindings/webcore/UIEventInit.h b/src/buntime/bindings/webcore/UIEventInit.h similarity index 100% rename from src/bun.js/bindings/webcore/UIEventInit.h rename to src/buntime/bindings/webcore/UIEventInit.h diff --git a/src/bun.js/bindings/webcore/URLPattern.cpp b/src/buntime/bindings/webcore/URLPattern.cpp similarity index 100% rename from src/bun.js/bindings/webcore/URLPattern.cpp rename to src/buntime/bindings/webcore/URLPattern.cpp diff --git a/src/bun.js/bindings/webcore/URLPattern.h b/src/buntime/bindings/webcore/URLPattern.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPattern.h rename to src/buntime/bindings/webcore/URLPattern.h diff --git a/src/bun.js/bindings/webcore/URLPattern.idl b/src/buntime/bindings/webcore/URLPattern.idl similarity index 100% rename from src/bun.js/bindings/webcore/URLPattern.idl rename to src/buntime/bindings/webcore/URLPattern.idl diff --git a/src/bun.js/bindings/webcore/URLPatternCanonical.cpp b/src/buntime/bindings/webcore/URLPatternCanonical.cpp similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternCanonical.cpp rename to src/buntime/bindings/webcore/URLPatternCanonical.cpp diff --git a/src/bun.js/bindings/webcore/URLPatternCanonical.h b/src/buntime/bindings/webcore/URLPatternCanonical.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternCanonical.h rename to src/buntime/bindings/webcore/URLPatternCanonical.h diff --git a/src/bun.js/bindings/webcore/URLPatternComponent.cpp b/src/buntime/bindings/webcore/URLPatternComponent.cpp similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternComponent.cpp rename to src/buntime/bindings/webcore/URLPatternComponent.cpp diff --git a/src/bun.js/bindings/webcore/URLPatternComponent.h b/src/buntime/bindings/webcore/URLPatternComponent.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternComponent.h rename to src/buntime/bindings/webcore/URLPatternComponent.h diff --git a/src/bun.js/bindings/webcore/URLPatternConstructorStringParser.cpp b/src/buntime/bindings/webcore/URLPatternConstructorStringParser.cpp similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternConstructorStringParser.cpp rename to src/buntime/bindings/webcore/URLPatternConstructorStringParser.cpp diff --git a/src/bun.js/bindings/webcore/URLPatternConstructorStringParser.h b/src/buntime/bindings/webcore/URLPatternConstructorStringParser.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternConstructorStringParser.h rename to src/buntime/bindings/webcore/URLPatternConstructorStringParser.h diff --git a/src/bun.js/bindings/webcore/URLPatternInit.h b/src/buntime/bindings/webcore/URLPatternInit.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternInit.h rename to src/buntime/bindings/webcore/URLPatternInit.h diff --git a/src/bun.js/bindings/webcore/URLPatternInit.idl b/src/buntime/bindings/webcore/URLPatternInit.idl similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternInit.idl rename to src/buntime/bindings/webcore/URLPatternInit.idl diff --git a/src/bun.js/bindings/webcore/URLPatternOptions.h b/src/buntime/bindings/webcore/URLPatternOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternOptions.h rename to src/buntime/bindings/webcore/URLPatternOptions.h diff --git a/src/bun.js/bindings/webcore/URLPatternOptions.idl b/src/buntime/bindings/webcore/URLPatternOptions.idl similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternOptions.idl rename to src/buntime/bindings/webcore/URLPatternOptions.idl diff --git a/src/bun.js/bindings/webcore/URLPatternParser.cpp b/src/buntime/bindings/webcore/URLPatternParser.cpp similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternParser.cpp rename to src/buntime/bindings/webcore/URLPatternParser.cpp diff --git a/src/bun.js/bindings/webcore/URLPatternParser.h b/src/buntime/bindings/webcore/URLPatternParser.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternParser.h rename to src/buntime/bindings/webcore/URLPatternParser.h diff --git a/src/bun.js/bindings/webcore/URLPatternResult.h b/src/buntime/bindings/webcore/URLPatternResult.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternResult.h rename to src/buntime/bindings/webcore/URLPatternResult.h diff --git a/src/bun.js/bindings/webcore/URLPatternResult.idl b/src/buntime/bindings/webcore/URLPatternResult.idl similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternResult.idl rename to src/buntime/bindings/webcore/URLPatternResult.idl diff --git a/src/bun.js/bindings/webcore/URLPatternTokenizer.cpp b/src/buntime/bindings/webcore/URLPatternTokenizer.cpp similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternTokenizer.cpp rename to src/buntime/bindings/webcore/URLPatternTokenizer.cpp diff --git a/src/bun.js/bindings/webcore/URLPatternTokenizer.h b/src/buntime/bindings/webcore/URLPatternTokenizer.h similarity index 100% rename from src/bun.js/bindings/webcore/URLPatternTokenizer.h rename to src/buntime/bindings/webcore/URLPatternTokenizer.h diff --git a/src/bun.js/bindings/webcore/WebCoreJSClientData.h b/src/buntime/bindings/webcore/WebCoreJSClientData.h similarity index 100% rename from src/bun.js/bindings/webcore/WebCoreJSClientData.h rename to src/buntime/bindings/webcore/WebCoreJSClientData.h diff --git a/src/bun.js/bindings/webcore/WebCoreTypedArrayController.cpp b/src/buntime/bindings/webcore/WebCoreTypedArrayController.cpp similarity index 100% rename from src/bun.js/bindings/webcore/WebCoreTypedArrayController.cpp rename to src/buntime/bindings/webcore/WebCoreTypedArrayController.cpp diff --git a/src/bun.js/bindings/webcore/WebCoreTypedArrayController.h b/src/buntime/bindings/webcore/WebCoreTypedArrayController.h similarity index 100% rename from src/bun.js/bindings/webcore/WebCoreTypedArrayController.h rename to src/buntime/bindings/webcore/WebCoreTypedArrayController.h diff --git a/src/bun.js/bindings/webcore/WebSocket.cpp b/src/buntime/bindings/webcore/WebSocket.cpp similarity index 100% rename from src/bun.js/bindings/webcore/WebSocket.cpp rename to src/buntime/bindings/webcore/WebSocket.cpp diff --git a/src/bun.js/bindings/webcore/WebSocket.h b/src/buntime/bindings/webcore/WebSocket.h similarity index 100% rename from src/bun.js/bindings/webcore/WebSocket.h rename to src/buntime/bindings/webcore/WebSocket.h diff --git a/src/bun.js/bindings/webcore/WebSocket.idl b/src/buntime/bindings/webcore/WebSocket.idl similarity index 100% rename from src/bun.js/bindings/webcore/WebSocket.idl rename to src/buntime/bindings/webcore/WebSocket.idl diff --git a/src/bun.js/bindings/webcore/WebSocketDeflate.h b/src/buntime/bindings/webcore/WebSocketDeflate.h similarity index 100% rename from src/bun.js/bindings/webcore/WebSocketDeflate.h rename to src/buntime/bindings/webcore/WebSocketDeflate.h diff --git a/src/bun.js/bindings/webcore/WebSocketErrorCode.h b/src/buntime/bindings/webcore/WebSocketErrorCode.h similarity index 100% rename from src/bun.js/bindings/webcore/WebSocketErrorCode.h rename to src/buntime/bindings/webcore/WebSocketErrorCode.h diff --git a/src/bun.js/bindings/webcore/WebSocketIdentifier.h b/src/buntime/bindings/webcore/WebSocketIdentifier.h similarity index 100% rename from src/bun.js/bindings/webcore/WebSocketIdentifier.h rename to src/buntime/bindings/webcore/WebSocketIdentifier.h diff --git a/src/bun.js/bindings/webcore/Worker.cpp b/src/buntime/bindings/webcore/Worker.cpp similarity index 100% rename from src/bun.js/bindings/webcore/Worker.cpp rename to src/buntime/bindings/webcore/Worker.cpp diff --git a/src/bun.js/bindings/webcore/Worker.h b/src/buntime/bindings/webcore/Worker.h similarity index 100% rename from src/bun.js/bindings/webcore/Worker.h rename to src/buntime/bindings/webcore/Worker.h diff --git a/src/bun.js/bindings/webcore/WorkerOptions.h b/src/buntime/bindings/webcore/WorkerOptions.h similarity index 100% rename from src/bun.js/bindings/webcore/WorkerOptions.h rename to src/buntime/bindings/webcore/WorkerOptions.h diff --git a/src/bun.js/bindings/webcore/WritableStream.cpp b/src/buntime/bindings/webcore/WritableStream.cpp similarity index 100% rename from src/bun.js/bindings/webcore/WritableStream.cpp rename to src/buntime/bindings/webcore/WritableStream.cpp diff --git a/src/bun.js/bindings/webcore/WritableStream.h b/src/buntime/bindings/webcore/WritableStream.h similarity index 100% rename from src/bun.js/bindings/webcore/WritableStream.h rename to src/buntime/bindings/webcore/WritableStream.h diff --git a/src/bun.js/bindings/webcore/WritableStream.idl b/src/buntime/bindings/webcore/WritableStream.idl similarity index 100% rename from src/bun.js/bindings/webcore/WritableStream.idl rename to src/buntime/bindings/webcore/WritableStream.idl diff --git a/src/bun.js/bindings/webcore/WritableStreamSink.h b/src/buntime/bindings/webcore/WritableStreamSink.h similarity index 100% rename from src/bun.js/bindings/webcore/WritableStreamSink.h rename to src/buntime/bindings/webcore/WritableStreamSink.h diff --git a/src/bun.js/bindings/webcore/config.h b/src/buntime/bindings/webcore/config.h similarity index 100% rename from src/bun.js/bindings/webcore/config.h rename to src/buntime/bindings/webcore/config.h diff --git a/src/bun.js/bindings/webcrypto/AesCbcCfbParams.idl b/src/buntime/bindings/webcrypto/AesCbcCfbParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/AesCbcCfbParams.idl rename to src/buntime/bindings/webcrypto/AesCbcCfbParams.idl diff --git a/src/bun.js/bindings/webcrypto/AesCtrParams.idl b/src/buntime/bindings/webcrypto/AesCtrParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/AesCtrParams.idl rename to src/buntime/bindings/webcrypto/AesCtrParams.idl diff --git a/src/bun.js/bindings/webcrypto/AesGcmParams.idl b/src/buntime/bindings/webcrypto/AesGcmParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/AesGcmParams.idl rename to src/buntime/bindings/webcrypto/AesGcmParams.idl diff --git a/src/bun.js/bindings/webcrypto/AesKeyParams.idl b/src/buntime/bindings/webcrypto/AesKeyParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/AesKeyParams.idl rename to src/buntime/bindings/webcrypto/AesKeyParams.idl diff --git a/src/bun.js/bindings/webcrypto/CommonCryptoDERUtilities.cpp b/src/buntime/bindings/webcrypto/CommonCryptoDERUtilities.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CommonCryptoDERUtilities.cpp rename to src/buntime/bindings/webcrypto/CommonCryptoDERUtilities.cpp diff --git a/src/bun.js/bindings/webcrypto/CommonCryptoDERUtilities.h b/src/buntime/bindings/webcrypto/CommonCryptoDERUtilities.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CommonCryptoDERUtilities.h rename to src/buntime/bindings/webcrypto/CommonCryptoDERUtilities.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAesKeyAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoAesKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAesKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoAesKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAesKeyAlgorithm.idl b/src/buntime/bindings/webcrypto/CryptoAesKeyAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAesKeyAlgorithm.idl rename to src/buntime/bindings/webcrypto/CryptoAesKeyAlgorithm.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithm.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithm.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CBC.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CBC.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CBC.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CBC.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CBC.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CBC.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CBC.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CBC.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CBCOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CBCOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CBCOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CBCOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CFB.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CFB.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CFB.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CFB.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CFB.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CFB.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CFB.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CFB.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CFBOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CFBOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CFBOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CFBOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CTR.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CTR.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CTR.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CTR.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CTR.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CTR.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CTR.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CTR.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CTROpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CTROpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_CTROpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_CTROpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_GCM.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_GCM.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_GCM.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_GCM.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_GCM.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_GCM.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_GCM.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_GCM.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_GCMOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_GCMOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_GCMOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_GCMOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_KW.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_KW.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_KW.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_KW.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_KW.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_KW.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_KW.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_KW.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_KWOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmAES_KWOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAES_KWOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAES_KWOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAesCbcCfbParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAesCbcCfbParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAesCbcCfbParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAesCbcCfbParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAesCtrParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAesCtrParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAesCtrParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAesCtrParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAesGcmParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAesGcmParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAesGcmParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAesGcmParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmAesKeyParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmAesKeyParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmAesKeyParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmAesKeyParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmECDH.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmECDH.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmECDH.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmECDH.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmECDH.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmECDH.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmECDH.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmECDH.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmECDHOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmECDHOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmECDHOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmECDHOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmECDSA.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmECDSA.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmECDSA.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmECDSA.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmECDSA.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmECDSA.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmECDSA.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmECDSA.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmECDSAOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmECDSAOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmECDSAOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmECDSAOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmEcKeyParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmEcKeyParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmEcKeyParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmEcKeyParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmEcdhKeyDeriveParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmEcdhKeyDeriveParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmEcdhKeyDeriveParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmEcdhKeyDeriveParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmEcdsaParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmEcdsaParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmEcdsaParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmEcdsaParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmEd25519.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmEd25519.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmEd25519.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmEd25519.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmEd25519.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmEd25519.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmEd25519.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmEd25519.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHKDF.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmHKDF.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHKDF.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHKDF.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHKDF.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmHKDF.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHKDF.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHKDF.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHKDFOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmHKDFOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHKDFOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHKDFOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMAC.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmHMAC.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHMAC.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHMAC.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMAC.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmHMAC.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHMAC.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHMAC.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHkdfParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmHkdfParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHkdfParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHkdfParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHmacKeyParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmHmacKeyParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmHmacKeyParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmHmacKeyParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmIdentifier.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmIdentifier.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmIdentifier.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmIdentifier.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmPBKDF2.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmPBKDF2.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmPBKDF2.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmPBKDF2.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmPBKDF2.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmPBKDF2.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmPBKDF2.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmPBKDF2.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmPBKDF2OpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmPBKDF2OpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmPBKDF2OpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmPBKDF2OpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmParameters.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmParameters.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmParameters.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmParameters.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmParameters.idl b/src/buntime/bindings/webcrypto/CryptoAlgorithmParameters.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmParameters.idl rename to src/buntime/bindings/webcrypto/CryptoAlgorithmParameters.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmPbkdf2Params.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmPbkdf2Params.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmPbkdf2Params.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmPbkdf2Params.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_OAEP.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_OAEPOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_OAEPOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_OAEPOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_OAEPOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_PSS.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_PSS.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_PSS.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_PSS.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_PSS.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_PSS.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_PSS.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_PSS.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_PSSOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_PSSOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRSA_PSSOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRSA_PSSOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistry.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRegistry.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistry.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRegistry.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistry.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRegistry.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistry.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRegistry.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaHashedImportParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRsaHashedImportParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaHashedImportParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRsaHashedImportParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaHashedKeyGenParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRsaHashedKeyGenParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaHashedKeyGenParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRsaHashedKeyGenParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaKeyGenParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRsaKeyGenParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaKeyGenParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRsaKeyGenParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaOaepParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRsaOaepParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaOaepParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRsaOaepParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaPssParams.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmRsaPssParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmRsaPssParams.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmRsaPssParams.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA1.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA1.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA1.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA1.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA1.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA1.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA1.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA1.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA224.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA224.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA224.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA224.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA224.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA224.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA224.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA224.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA256.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA256.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA256.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA256.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA256.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA256.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA256.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA256.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA384.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA384.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA384.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA384.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA384.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA384.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA384.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA384.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA512.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA512.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA512.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA512.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA512.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmSHA512.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmSHA512.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmSHA512.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmX25519.cpp b/src/buntime/bindings/webcrypto/CryptoAlgorithmX25519.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmX25519.cpp rename to src/buntime/bindings/webcrypto/CryptoAlgorithmX25519.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmX25519.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmX25519.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmX25519.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmX25519.h diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmX25519Params.h b/src/buntime/bindings/webcrypto/CryptoAlgorithmX25519Params.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoAlgorithmX25519Params.h rename to src/buntime/bindings/webcrypto/CryptoAlgorithmX25519Params.h diff --git a/src/bun.js/bindings/webcrypto/CryptoDigest.cpp b/src/buntime/bindings/webcrypto/CryptoDigest.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoDigest.cpp rename to src/buntime/bindings/webcrypto/CryptoDigest.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoDigest.h b/src/buntime/bindings/webcrypto/CryptoDigest.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoDigest.h rename to src/buntime/bindings/webcrypto/CryptoDigest.h diff --git a/src/bun.js/bindings/webcrypto/CryptoEcKeyAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoEcKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoEcKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoEcKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoEcKeyAlgorithm.idl b/src/buntime/bindings/webcrypto/CryptoEcKeyAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoEcKeyAlgorithm.idl rename to src/buntime/bindings/webcrypto/CryptoEcKeyAlgorithm.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoHmacKeyAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoHmacKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoHmacKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoHmacKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoHmacKeyAlgorithm.idl b/src/buntime/bindings/webcrypto/CryptoHmacKeyAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoHmacKeyAlgorithm.idl rename to src/buntime/bindings/webcrypto/CryptoHmacKeyAlgorithm.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoKey.cpp b/src/buntime/bindings/webcrypto/CryptoKey.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKey.cpp rename to src/buntime/bindings/webcrypto/CryptoKey.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKey.h b/src/buntime/bindings/webcrypto/CryptoKey.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKey.h rename to src/buntime/bindings/webcrypto/CryptoKey.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKey.idl b/src/buntime/bindings/webcrypto/CryptoKey.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKey.idl rename to src/buntime/bindings/webcrypto/CryptoKey.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyAES.cpp b/src/buntime/bindings/webcrypto/CryptoKeyAES.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyAES.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyAES.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyAES.h b/src/buntime/bindings/webcrypto/CryptoKeyAES.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyAES.h rename to src/buntime/bindings/webcrypto/CryptoKeyAES.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyAlgorithm.idl b/src/buntime/bindings/webcrypto/CryptoKeyAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyAlgorithm.idl rename to src/buntime/bindings/webcrypto/CryptoKeyAlgorithm.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyEC.cpp b/src/buntime/bindings/webcrypto/CryptoKeyEC.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyEC.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyEC.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyEC.h b/src/buntime/bindings/webcrypto/CryptoKeyEC.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyEC.h rename to src/buntime/bindings/webcrypto/CryptoKeyEC.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyECOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoKeyECOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyECOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyECOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyFormat.h b/src/buntime/bindings/webcrypto/CryptoKeyFormat.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyFormat.h rename to src/buntime/bindings/webcrypto/CryptoKeyFormat.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyHMAC.cpp b/src/buntime/bindings/webcrypto/CryptoKeyHMAC.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyHMAC.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyHMAC.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyHMAC.h b/src/buntime/bindings/webcrypto/CryptoKeyHMAC.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyHMAC.h rename to src/buntime/bindings/webcrypto/CryptoKeyHMAC.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyOKP.cpp b/src/buntime/bindings/webcrypto/CryptoKeyOKP.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyOKP.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyOKP.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyOKP.h b/src/buntime/bindings/webcrypto/CryptoKeyOKP.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyOKP.h rename to src/buntime/bindings/webcrypto/CryptoKeyOKP.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyOKPOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoKeyOKPOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyOKPOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyOKPOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyPair.h b/src/buntime/bindings/webcrypto/CryptoKeyPair.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyPair.h rename to src/buntime/bindings/webcrypto/CryptoKeyPair.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyPair.idl b/src/buntime/bindings/webcrypto/CryptoKeyPair.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyPair.idl rename to src/buntime/bindings/webcrypto/CryptoKeyPair.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRSA.cpp b/src/buntime/bindings/webcrypto/CryptoKeyRSA.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRSA.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyRSA.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRSA.h b/src/buntime/bindings/webcrypto/CryptoKeyRSA.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRSA.h rename to src/buntime/bindings/webcrypto/CryptoKeyRSA.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRSAComponents.cpp b/src/buntime/bindings/webcrypto/CryptoKeyRSAComponents.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRSAComponents.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyRSAComponents.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRSAComponents.h b/src/buntime/bindings/webcrypto/CryptoKeyRSAComponents.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRSAComponents.h rename to src/buntime/bindings/webcrypto/CryptoKeyRSAComponents.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRSAOpenSSL.cpp b/src/buntime/bindings/webcrypto/CryptoKeyRSAOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRSAOpenSSL.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyRSAOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRaw.cpp b/src/buntime/bindings/webcrypto/CryptoKeyRaw.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRaw.cpp rename to src/buntime/bindings/webcrypto/CryptoKeyRaw.cpp diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyRaw.h b/src/buntime/bindings/webcrypto/CryptoKeyRaw.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyRaw.h rename to src/buntime/bindings/webcrypto/CryptoKeyRaw.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyType.h b/src/buntime/bindings/webcrypto/CryptoKeyType.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyType.h rename to src/buntime/bindings/webcrypto/CryptoKeyType.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyUsage.h b/src/buntime/bindings/webcrypto/CryptoKeyUsage.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyUsage.h rename to src/buntime/bindings/webcrypto/CryptoKeyUsage.h diff --git a/src/bun.js/bindings/webcrypto/CryptoKeyUsage.idl b/src/buntime/bindings/webcrypto/CryptoKeyUsage.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoKeyUsage.idl rename to src/buntime/bindings/webcrypto/CryptoKeyUsage.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.idl b/src/buntime/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.idl rename to src/buntime/bindings/webcrypto/CryptoRsaHashedKeyAlgorithm.idl diff --git a/src/bun.js/bindings/webcrypto/CryptoRsaKeyAlgorithm.h b/src/buntime/bindings/webcrypto/CryptoRsaKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoRsaKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/CryptoRsaKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/CryptoRsaKeyAlgorithm.idl b/src/buntime/bindings/webcrypto/CryptoRsaKeyAlgorithm.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/CryptoRsaKeyAlgorithm.idl rename to src/buntime/bindings/webcrypto/CryptoRsaKeyAlgorithm.idl diff --git a/src/bun.js/bindings/webcrypto/EcKeyParams.idl b/src/buntime/bindings/webcrypto/EcKeyParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/EcKeyParams.idl rename to src/buntime/bindings/webcrypto/EcKeyParams.idl diff --git a/src/bun.js/bindings/webcrypto/EcdhKeyDeriveParams.idl b/src/buntime/bindings/webcrypto/EcdhKeyDeriveParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/EcdhKeyDeriveParams.idl rename to src/buntime/bindings/webcrypto/EcdhKeyDeriveParams.idl diff --git a/src/bun.js/bindings/webcrypto/EcdsaParams.idl b/src/buntime/bindings/webcrypto/EcdsaParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/EcdsaParams.idl rename to src/buntime/bindings/webcrypto/EcdsaParams.idl diff --git a/src/bun.js/bindings/webcrypto/HkdfParams.idl b/src/buntime/bindings/webcrypto/HkdfParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/HkdfParams.idl rename to src/buntime/bindings/webcrypto/HkdfParams.idl diff --git a/src/bun.js/bindings/webcrypto/HmacKeyParams.idl b/src/buntime/bindings/webcrypto/HmacKeyParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/HmacKeyParams.idl rename to src/buntime/bindings/webcrypto/HmacKeyParams.idl diff --git a/src/bun.js/bindings/webcrypto/JSAesCbcCfbParams.cpp b/src/buntime/bindings/webcrypto/JSAesCbcCfbParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesCbcCfbParams.cpp rename to src/buntime/bindings/webcrypto/JSAesCbcCfbParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSAesCbcCfbParams.h b/src/buntime/bindings/webcrypto/JSAesCbcCfbParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesCbcCfbParams.h rename to src/buntime/bindings/webcrypto/JSAesCbcCfbParams.h diff --git a/src/bun.js/bindings/webcrypto/JSAesCtrParams.cpp b/src/buntime/bindings/webcrypto/JSAesCtrParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesCtrParams.cpp rename to src/buntime/bindings/webcrypto/JSAesCtrParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSAesCtrParams.h b/src/buntime/bindings/webcrypto/JSAesCtrParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesCtrParams.h rename to src/buntime/bindings/webcrypto/JSAesCtrParams.h diff --git a/src/bun.js/bindings/webcrypto/JSAesGcmParams.cpp b/src/buntime/bindings/webcrypto/JSAesGcmParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesGcmParams.cpp rename to src/buntime/bindings/webcrypto/JSAesGcmParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSAesGcmParams.h b/src/buntime/bindings/webcrypto/JSAesGcmParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesGcmParams.h rename to src/buntime/bindings/webcrypto/JSAesGcmParams.h diff --git a/src/bun.js/bindings/webcrypto/JSAesKeyParams.cpp b/src/buntime/bindings/webcrypto/JSAesKeyParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesKeyParams.cpp rename to src/buntime/bindings/webcrypto/JSAesKeyParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSAesKeyParams.h b/src/buntime/bindings/webcrypto/JSAesKeyParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSAesKeyParams.h rename to src/buntime/bindings/webcrypto/JSAesKeyParams.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoAesKeyAlgorithm.cpp b/src/buntime/bindings/webcrypto/JSCryptoAesKeyAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoAesKeyAlgorithm.cpp rename to src/buntime/bindings/webcrypto/JSCryptoAesKeyAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoAesKeyAlgorithm.h b/src/buntime/bindings/webcrypto/JSCryptoAesKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoAesKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/JSCryptoAesKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoAlgorithmParameters.cpp b/src/buntime/bindings/webcrypto/JSCryptoAlgorithmParameters.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoAlgorithmParameters.cpp rename to src/buntime/bindings/webcrypto/JSCryptoAlgorithmParameters.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoAlgorithmParameters.h b/src/buntime/bindings/webcrypto/JSCryptoAlgorithmParameters.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoAlgorithmParameters.h rename to src/buntime/bindings/webcrypto/JSCryptoAlgorithmParameters.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoEcKeyAlgorithm.cpp b/src/buntime/bindings/webcrypto/JSCryptoEcKeyAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoEcKeyAlgorithm.cpp rename to src/buntime/bindings/webcrypto/JSCryptoEcKeyAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoEcKeyAlgorithm.h b/src/buntime/bindings/webcrypto/JSCryptoEcKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoEcKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/JSCryptoEcKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.cpp b/src/buntime/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.cpp rename to src/buntime/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.h b/src/buntime/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/JSCryptoHmacKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKey.cpp b/src/buntime/bindings/webcrypto/JSCryptoKey.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKey.cpp rename to src/buntime/bindings/webcrypto/JSCryptoKey.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKey.h b/src/buntime/bindings/webcrypto/JSCryptoKey.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKey.h rename to src/buntime/bindings/webcrypto/JSCryptoKey.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKeyAlgorithm.cpp b/src/buntime/bindings/webcrypto/JSCryptoKeyAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKeyAlgorithm.cpp rename to src/buntime/bindings/webcrypto/JSCryptoKeyAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKeyAlgorithm.h b/src/buntime/bindings/webcrypto/JSCryptoKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/JSCryptoKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKeyPair.cpp b/src/buntime/bindings/webcrypto/JSCryptoKeyPair.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKeyPair.cpp rename to src/buntime/bindings/webcrypto/JSCryptoKeyPair.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKeyPair.h b/src/buntime/bindings/webcrypto/JSCryptoKeyPair.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKeyPair.h rename to src/buntime/bindings/webcrypto/JSCryptoKeyPair.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKeyUsage.cpp b/src/buntime/bindings/webcrypto/JSCryptoKeyUsage.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKeyUsage.cpp rename to src/buntime/bindings/webcrypto/JSCryptoKeyUsage.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoKeyUsage.h b/src/buntime/bindings/webcrypto/JSCryptoKeyUsage.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoKeyUsage.h rename to src/buntime/bindings/webcrypto/JSCryptoKeyUsage.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.cpp b/src/buntime/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.cpp rename to src/buntime/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.h b/src/buntime/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/JSCryptoRsaHashedKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.cpp b/src/buntime/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.cpp rename to src/buntime/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.cpp diff --git a/src/bun.js/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.h b/src/buntime/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.h rename to src/buntime/bindings/webcrypto/JSCryptoRsaKeyAlgorithm.h diff --git a/src/bun.js/bindings/webcrypto/JSEcKeyParams.cpp b/src/buntime/bindings/webcrypto/JSEcKeyParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSEcKeyParams.cpp rename to src/buntime/bindings/webcrypto/JSEcKeyParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSEcKeyParams.h b/src/buntime/bindings/webcrypto/JSEcKeyParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSEcKeyParams.h rename to src/buntime/bindings/webcrypto/JSEcKeyParams.h diff --git a/src/bun.js/bindings/webcrypto/JSEcdhKeyDeriveParams.cpp b/src/buntime/bindings/webcrypto/JSEcdhKeyDeriveParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSEcdhKeyDeriveParams.cpp rename to src/buntime/bindings/webcrypto/JSEcdhKeyDeriveParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSEcdhKeyDeriveParams.h b/src/buntime/bindings/webcrypto/JSEcdhKeyDeriveParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSEcdhKeyDeriveParams.h rename to src/buntime/bindings/webcrypto/JSEcdhKeyDeriveParams.h diff --git a/src/bun.js/bindings/webcrypto/JSEcdsaParams.cpp b/src/buntime/bindings/webcrypto/JSEcdsaParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSEcdsaParams.cpp rename to src/buntime/bindings/webcrypto/JSEcdsaParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSEcdsaParams.h b/src/buntime/bindings/webcrypto/JSEcdsaParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSEcdsaParams.h rename to src/buntime/bindings/webcrypto/JSEcdsaParams.h diff --git a/src/bun.js/bindings/webcrypto/JSHkdfParams.cpp b/src/buntime/bindings/webcrypto/JSHkdfParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSHkdfParams.cpp rename to src/buntime/bindings/webcrypto/JSHkdfParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSHkdfParams.h b/src/buntime/bindings/webcrypto/JSHkdfParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSHkdfParams.h rename to src/buntime/bindings/webcrypto/JSHkdfParams.h diff --git a/src/bun.js/bindings/webcrypto/JSHmacKeyParams.cpp b/src/buntime/bindings/webcrypto/JSHmacKeyParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSHmacKeyParams.cpp rename to src/buntime/bindings/webcrypto/JSHmacKeyParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSHmacKeyParams.h b/src/buntime/bindings/webcrypto/JSHmacKeyParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSHmacKeyParams.h rename to src/buntime/bindings/webcrypto/JSHmacKeyParams.h diff --git a/src/bun.js/bindings/webcrypto/JSJsonWebKey.cpp b/src/buntime/bindings/webcrypto/JSJsonWebKey.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSJsonWebKey.cpp rename to src/buntime/bindings/webcrypto/JSJsonWebKey.cpp diff --git a/src/bun.js/bindings/webcrypto/JSJsonWebKey.h b/src/buntime/bindings/webcrypto/JSJsonWebKey.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSJsonWebKey.h rename to src/buntime/bindings/webcrypto/JSJsonWebKey.h diff --git a/src/bun.js/bindings/webcrypto/JSPbkdf2Params.cpp b/src/buntime/bindings/webcrypto/JSPbkdf2Params.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSPbkdf2Params.cpp rename to src/buntime/bindings/webcrypto/JSPbkdf2Params.cpp diff --git a/src/bun.js/bindings/webcrypto/JSPbkdf2Params.h b/src/buntime/bindings/webcrypto/JSPbkdf2Params.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSPbkdf2Params.h rename to src/buntime/bindings/webcrypto/JSPbkdf2Params.h diff --git a/src/bun.js/bindings/webcrypto/JSRsaHashedImportParams.cpp b/src/buntime/bindings/webcrypto/JSRsaHashedImportParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaHashedImportParams.cpp rename to src/buntime/bindings/webcrypto/JSRsaHashedImportParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSRsaHashedImportParams.h b/src/buntime/bindings/webcrypto/JSRsaHashedImportParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaHashedImportParams.h rename to src/buntime/bindings/webcrypto/JSRsaHashedImportParams.h diff --git a/src/bun.js/bindings/webcrypto/JSRsaHashedKeyGenParams.cpp b/src/buntime/bindings/webcrypto/JSRsaHashedKeyGenParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaHashedKeyGenParams.cpp rename to src/buntime/bindings/webcrypto/JSRsaHashedKeyGenParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSRsaHashedKeyGenParams.h b/src/buntime/bindings/webcrypto/JSRsaHashedKeyGenParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaHashedKeyGenParams.h rename to src/buntime/bindings/webcrypto/JSRsaHashedKeyGenParams.h diff --git a/src/bun.js/bindings/webcrypto/JSRsaKeyGenParams.cpp b/src/buntime/bindings/webcrypto/JSRsaKeyGenParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaKeyGenParams.cpp rename to src/buntime/bindings/webcrypto/JSRsaKeyGenParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSRsaKeyGenParams.h b/src/buntime/bindings/webcrypto/JSRsaKeyGenParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaKeyGenParams.h rename to src/buntime/bindings/webcrypto/JSRsaKeyGenParams.h diff --git a/src/bun.js/bindings/webcrypto/JSRsaOaepParams.cpp b/src/buntime/bindings/webcrypto/JSRsaOaepParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaOaepParams.cpp rename to src/buntime/bindings/webcrypto/JSRsaOaepParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSRsaOaepParams.h b/src/buntime/bindings/webcrypto/JSRsaOaepParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaOaepParams.h rename to src/buntime/bindings/webcrypto/JSRsaOaepParams.h diff --git a/src/bun.js/bindings/webcrypto/JSRsaOtherPrimesInfo.cpp b/src/buntime/bindings/webcrypto/JSRsaOtherPrimesInfo.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaOtherPrimesInfo.cpp rename to src/buntime/bindings/webcrypto/JSRsaOtherPrimesInfo.cpp diff --git a/src/bun.js/bindings/webcrypto/JSRsaOtherPrimesInfo.h b/src/buntime/bindings/webcrypto/JSRsaOtherPrimesInfo.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaOtherPrimesInfo.h rename to src/buntime/bindings/webcrypto/JSRsaOtherPrimesInfo.h diff --git a/src/bun.js/bindings/webcrypto/JSRsaPssParams.cpp b/src/buntime/bindings/webcrypto/JSRsaPssParams.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaPssParams.cpp rename to src/buntime/bindings/webcrypto/JSRsaPssParams.cpp diff --git a/src/bun.js/bindings/webcrypto/JSRsaPssParams.h b/src/buntime/bindings/webcrypto/JSRsaPssParams.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSRsaPssParams.h rename to src/buntime/bindings/webcrypto/JSRsaPssParams.h diff --git a/src/bun.js/bindings/webcrypto/JSSubtleCrypto.cpp b/src/buntime/bindings/webcrypto/JSSubtleCrypto.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSSubtleCrypto.cpp rename to src/buntime/bindings/webcrypto/JSSubtleCrypto.cpp diff --git a/src/bun.js/bindings/webcrypto/JSSubtleCrypto.h b/src/buntime/bindings/webcrypto/JSSubtleCrypto.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSSubtleCrypto.h rename to src/buntime/bindings/webcrypto/JSSubtleCrypto.h diff --git a/src/bun.js/bindings/webcrypto/JSX25519Params.cpp b/src/buntime/bindings/webcrypto/JSX25519Params.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/JSX25519Params.cpp rename to src/buntime/bindings/webcrypto/JSX25519Params.cpp diff --git a/src/bun.js/bindings/webcrypto/JSX25519Params.h b/src/buntime/bindings/webcrypto/JSX25519Params.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JSX25519Params.h rename to src/buntime/bindings/webcrypto/JSX25519Params.h diff --git a/src/bun.js/bindings/webcrypto/JsonWebKey.h b/src/buntime/bindings/webcrypto/JsonWebKey.h similarity index 100% rename from src/bun.js/bindings/webcrypto/JsonWebKey.h rename to src/buntime/bindings/webcrypto/JsonWebKey.h diff --git a/src/bun.js/bindings/webcrypto/JsonWebKey.idl b/src/buntime/bindings/webcrypto/JsonWebKey.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/JsonWebKey.idl rename to src/buntime/bindings/webcrypto/JsonWebKey.idl diff --git a/src/bun.js/bindings/webcrypto/OpenSSLCryptoUniquePtr.h b/src/buntime/bindings/webcrypto/OpenSSLCryptoUniquePtr.h similarity index 100% rename from src/bun.js/bindings/webcrypto/OpenSSLCryptoUniquePtr.h rename to src/buntime/bindings/webcrypto/OpenSSLCryptoUniquePtr.h diff --git a/src/bun.js/bindings/webcrypto/OpenSSLUtilities.cpp b/src/buntime/bindings/webcrypto/OpenSSLUtilities.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/OpenSSLUtilities.cpp rename to src/buntime/bindings/webcrypto/OpenSSLUtilities.cpp diff --git a/src/bun.js/bindings/webcrypto/OpenSSLUtilities.h b/src/buntime/bindings/webcrypto/OpenSSLUtilities.h similarity index 100% rename from src/bun.js/bindings/webcrypto/OpenSSLUtilities.h rename to src/buntime/bindings/webcrypto/OpenSSLUtilities.h diff --git a/src/bun.js/bindings/webcrypto/Pbkdf2Params.idl b/src/buntime/bindings/webcrypto/Pbkdf2Params.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/Pbkdf2Params.idl rename to src/buntime/bindings/webcrypto/Pbkdf2Params.idl diff --git a/src/bun.js/bindings/webcrypto/PhonyWorkQueue.cpp b/src/buntime/bindings/webcrypto/PhonyWorkQueue.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/PhonyWorkQueue.cpp rename to src/buntime/bindings/webcrypto/PhonyWorkQueue.cpp diff --git a/src/bun.js/bindings/webcrypto/PhonyWorkQueue.h b/src/buntime/bindings/webcrypto/PhonyWorkQueue.h similarity index 100% rename from src/bun.js/bindings/webcrypto/PhonyWorkQueue.h rename to src/buntime/bindings/webcrypto/PhonyWorkQueue.h diff --git a/src/bun.js/bindings/webcrypto/RsaHashedImportParams.idl b/src/buntime/bindings/webcrypto/RsaHashedImportParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaHashedImportParams.idl rename to src/buntime/bindings/webcrypto/RsaHashedImportParams.idl diff --git a/src/bun.js/bindings/webcrypto/RsaHashedKeyGenParams.idl b/src/buntime/bindings/webcrypto/RsaHashedKeyGenParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaHashedKeyGenParams.idl rename to src/buntime/bindings/webcrypto/RsaHashedKeyGenParams.idl diff --git a/src/bun.js/bindings/webcrypto/RsaKeyGenParams.idl b/src/buntime/bindings/webcrypto/RsaKeyGenParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaKeyGenParams.idl rename to src/buntime/bindings/webcrypto/RsaKeyGenParams.idl diff --git a/src/bun.js/bindings/webcrypto/RsaOaepParams.idl b/src/buntime/bindings/webcrypto/RsaOaepParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaOaepParams.idl rename to src/buntime/bindings/webcrypto/RsaOaepParams.idl diff --git a/src/bun.js/bindings/webcrypto/RsaOtherPrimesInfo.h b/src/buntime/bindings/webcrypto/RsaOtherPrimesInfo.h similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaOtherPrimesInfo.h rename to src/buntime/bindings/webcrypto/RsaOtherPrimesInfo.h diff --git a/src/bun.js/bindings/webcrypto/RsaOtherPrimesInfo.idl b/src/buntime/bindings/webcrypto/RsaOtherPrimesInfo.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaOtherPrimesInfo.idl rename to src/buntime/bindings/webcrypto/RsaOtherPrimesInfo.idl diff --git a/src/bun.js/bindings/webcrypto/RsaPssParams.idl b/src/buntime/bindings/webcrypto/RsaPssParams.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/RsaPssParams.idl rename to src/buntime/bindings/webcrypto/RsaPssParams.idl diff --git a/src/bun.js/bindings/webcrypto/SerializedCryptoKeyWrap.h b/src/buntime/bindings/webcrypto/SerializedCryptoKeyWrap.h similarity index 100% rename from src/bun.js/bindings/webcrypto/SerializedCryptoKeyWrap.h rename to src/buntime/bindings/webcrypto/SerializedCryptoKeyWrap.h diff --git a/src/bun.js/bindings/webcrypto/SerializedCryptoKeyWrapOpenSSL.cpp b/src/buntime/bindings/webcrypto/SerializedCryptoKeyWrapOpenSSL.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/SerializedCryptoKeyWrapOpenSSL.cpp rename to src/buntime/bindings/webcrypto/SerializedCryptoKeyWrapOpenSSL.cpp diff --git a/src/bun.js/bindings/webcrypto/SubtleCrypto.cpp b/src/buntime/bindings/webcrypto/SubtleCrypto.cpp similarity index 100% rename from src/bun.js/bindings/webcrypto/SubtleCrypto.cpp rename to src/buntime/bindings/webcrypto/SubtleCrypto.cpp diff --git a/src/bun.js/bindings/webcrypto/SubtleCrypto.h b/src/buntime/bindings/webcrypto/SubtleCrypto.h similarity index 100% rename from src/bun.js/bindings/webcrypto/SubtleCrypto.h rename to src/buntime/bindings/webcrypto/SubtleCrypto.h diff --git a/src/bun.js/bindings/webcrypto/SubtleCrypto.idl b/src/buntime/bindings/webcrypto/SubtleCrypto.idl similarity index 100% rename from src/bun.js/bindings/webcrypto/SubtleCrypto.idl rename to src/buntime/bindings/webcrypto/SubtleCrypto.idl diff --git a/src/bun.js/bindings/windows/rescle-binding.cpp b/src/buntime/bindings/windows/rescle-binding.cpp similarity index 100% rename from src/bun.js/bindings/windows/rescle-binding.cpp rename to src/buntime/bindings/windows/rescle-binding.cpp diff --git a/src/bun.js/bindings/windows/rescle.cpp b/src/buntime/bindings/windows/rescle.cpp similarity index 100% rename from src/bun.js/bindings/windows/rescle.cpp rename to src/buntime/bindings/windows/rescle.cpp diff --git a/src/bun.js/bindings/windows/rescle.h b/src/buntime/bindings/windows/rescle.h similarity index 100% rename from src/bun.js/bindings/windows/rescle.h rename to src/buntime/bindings/windows/rescle.h diff --git a/src/bun.js/bindings/workaround-missing-symbols.cpp b/src/buntime/bindings/workaround-missing-symbols.cpp similarity index 100% rename from src/bun.js/bindings/workaround-missing-symbols.cpp rename to src/buntime/bindings/workaround-missing-symbols.cpp diff --git a/src/bun.js/bindings/wtf-bindings.cpp b/src/buntime/bindings/wtf-bindings.cpp similarity index 100% rename from src/bun.js/bindings/wtf-bindings.cpp rename to src/buntime/bindings/wtf-bindings.cpp diff --git a/src/bun.js/bindings/wtf-bindings.h b/src/buntime/bindings/wtf-bindings.h similarity index 100% rename from src/bun.js/bindings/wtf-bindings.h rename to src/buntime/bindings/wtf-bindings.h diff --git a/src/bun.js/config.zig b/src/buntime/config.zig similarity index 100% rename from src/bun.js/config.zig rename to src/buntime/config.zig diff --git a/src/bun.js/event_loop.zig b/src/buntime/event_loop.zig similarity index 100% rename from src/bun.js/event_loop.zig rename to src/buntime/event_loop.zig diff --git a/src/bun.js/event_loop/AnyEventLoop.zig b/src/buntime/event_loop/AnyEventLoop.zig similarity index 100% rename from src/bun.js/event_loop/AnyEventLoop.zig rename to src/buntime/event_loop/AnyEventLoop.zig diff --git a/src/bun.js/event_loop/AnyTask.zig b/src/buntime/event_loop/AnyTask.zig similarity index 100% rename from src/bun.js/event_loop/AnyTask.zig rename to src/buntime/event_loop/AnyTask.zig diff --git a/src/bun.js/event_loop/AnyTaskWithExtraContext.zig b/src/buntime/event_loop/AnyTaskWithExtraContext.zig similarity index 100% rename from src/bun.js/event_loop/AnyTaskWithExtraContext.zig rename to src/buntime/event_loop/AnyTaskWithExtraContext.zig diff --git a/src/bun.js/event_loop/ConcurrentPromiseTask.zig b/src/buntime/event_loop/ConcurrentPromiseTask.zig similarity index 100% rename from src/bun.js/event_loop/ConcurrentPromiseTask.zig rename to src/buntime/event_loop/ConcurrentPromiseTask.zig diff --git a/src/bun.js/event_loop/ConcurrentTask.zig b/src/buntime/event_loop/ConcurrentTask.zig similarity index 100% rename from src/bun.js/event_loop/ConcurrentTask.zig rename to src/buntime/event_loop/ConcurrentTask.zig diff --git a/src/bun.js/event_loop/CppTask.zig b/src/buntime/event_loop/CppTask.zig similarity index 100% rename from src/bun.js/event_loop/CppTask.zig rename to src/buntime/event_loop/CppTask.zig diff --git a/src/bun.js/event_loop/DeferredTaskQueue.zig b/src/buntime/event_loop/DeferredTaskQueue.zig similarity index 100% rename from src/bun.js/event_loop/DeferredTaskQueue.zig rename to src/buntime/event_loop/DeferredTaskQueue.zig diff --git a/src/bun.js/event_loop/EventLoopHandle.zig b/src/buntime/event_loop/EventLoopHandle.zig similarity index 100% rename from src/bun.js/event_loop/EventLoopHandle.zig rename to src/buntime/event_loop/EventLoopHandle.zig diff --git a/src/bun.js/event_loop/GarbageCollectionController.zig b/src/buntime/event_loop/GarbageCollectionController.zig similarity index 100% rename from src/bun.js/event_loop/GarbageCollectionController.zig rename to src/buntime/event_loop/GarbageCollectionController.zig diff --git a/src/bun.js/event_loop/JSCScheduler.zig b/src/buntime/event_loop/JSCScheduler.zig similarity index 100% rename from src/bun.js/event_loop/JSCScheduler.zig rename to src/buntime/event_loop/JSCScheduler.zig diff --git a/src/bun.js/event_loop/ManagedTask.zig b/src/buntime/event_loop/ManagedTask.zig similarity index 100% rename from src/bun.js/event_loop/ManagedTask.zig rename to src/buntime/event_loop/ManagedTask.zig diff --git a/src/bun.js/event_loop/MiniEventLoop.zig b/src/buntime/event_loop/MiniEventLoop.zig similarity index 100% rename from src/bun.js/event_loop/MiniEventLoop.zig rename to src/buntime/event_loop/MiniEventLoop.zig diff --git a/src/bun.js/event_loop/PosixSignalHandle.zig b/src/buntime/event_loop/PosixSignalHandle.zig similarity index 100% rename from src/bun.js/event_loop/PosixSignalHandle.zig rename to src/buntime/event_loop/PosixSignalHandle.zig diff --git a/src/bun.js/event_loop/README.md b/src/buntime/event_loop/README.md similarity index 98% rename from src/bun.js/event_loop/README.md rename to src/buntime/event_loop/README.md index 78c5ee0228..f0ece42c7c 100644 --- a/src/bun.js/event_loop/README.md +++ b/src/buntime/event_loop/README.md @@ -8,7 +8,7 @@ Bun's event loop is built on top of **uSockets** (a cross-platform event loop ba ## Core Components -### 1. Task Queue (`src/bun.js/event_loop/Task.zig`) +### 1. Task Queue (`src/buntime/event_loop/Task.zig`) A tagged pointer union containing various async task types (file I/O, network requests, timers, etc.). Tasks are queued by various subsystems and drained by the main event loop. @@ -25,11 +25,11 @@ This prevents infinite loops when `setImmediate` is called within a `setImmediat Thread-safe queue for tasks enqueued from worker threads or async operations. These are moved to the main task queue before processing. -### 4. Deferred Task Queue (`src/bun.js/event_loop/DeferredTaskQueue.zig`) +### 4. Deferred Task Queue (`src/buntime/event_loop/DeferredTaskQueue.zig`) For operations that should be batched and deferred until after microtasks drain (e.g., buffered HTTP response writes, file sink flushes). This avoids excessive system calls while maintaining responsiveness. -### 5. Process.nextTick Queue (`src/bun.js/bindings/JSNextTickQueue.cpp`) +### 5. Process.nextTick Queue (`src/buntime/bindings/JSNextTickQueue.cpp`) Node.js-compatible implementation of `process.nextTick()`, which runs before microtasks but after each task. diff --git a/src/bun.js/event_loop/SpawnSyncEventLoop.zig b/src/buntime/event_loop/SpawnSyncEventLoop.zig similarity index 100% rename from src/bun.js/event_loop/SpawnSyncEventLoop.zig rename to src/buntime/event_loop/SpawnSyncEventLoop.zig diff --git a/src/bun.js/event_loop/Task.zig b/src/buntime/event_loop/Task.zig similarity index 99% rename from src/bun.js/event_loop/Task.zig rename to src/buntime/event_loop/Task.zig index b27b500eb7..a308e96dc5 100644 --- a/src/bun.js/event_loop/Task.zig +++ b/src/buntime/event_loop/Task.zig @@ -496,7 +496,7 @@ pub fn tickQueueWithCount(this: *EventLoop, virtual_machine: *VirtualMachine, co any.runFromJSThread(); }, - .@"shell.builtin.yes.YesTask", .@"bun.js.api.Timer.ImmediateObject", .@"bun.js.api.Timer.TimeoutObject" => { + .@"shell.builtin.yes.YesTask", .@"buntime.api.Timer.ImmediateObject", .@"buntime.api.Timer.TimeoutObject" => { bun.Output.panic("Unexpected tag: {s}", .{@tagName(task.tag())}); }, _ => { diff --git a/src/bun.js/event_loop/WorkTask.zig b/src/buntime/event_loop/WorkTask.zig similarity index 100% rename from src/bun.js/event_loop/WorkTask.zig rename to src/buntime/event_loop/WorkTask.zig diff --git a/src/bun.js/headergen/sizegen.cpp b/src/buntime/headergen/sizegen.cpp similarity index 97% rename from src/bun.js/headergen/sizegen.cpp rename to src/buntime/headergen/sizegen.cpp index 83754cbb2e..f68daa7e9b 100644 --- a/src/bun.js/headergen/sizegen.cpp +++ b/src/buntime/headergen/sizegen.cpp @@ -26,7 +26,7 @@ int main() { strftime(buf, 80, "%Y-%m-%d %H:%M:%s", timeinfo); - cout << "// Auto-generated by src/bun.js/headergen/sizegen.cpp at " << buf + cout << "// Auto-generated by src/buntime/headergen/sizegen.cpp at " << buf << ".\n"; cout << "// These are the byte sizes for the different object types with " "bindings in JavaScriptCore.\n"; diff --git a/src/bun.js/hot_reloader.zig b/src/buntime/hot_reloader.zig similarity index 100% rename from src/bun.js/hot_reloader.zig rename to src/buntime/hot_reloader.zig diff --git a/src/bun.js/ipc.zig b/src/buntime/ipc.zig similarity index 100% rename from src/bun.js/ipc.zig rename to src/buntime/ipc.zig diff --git a/src/bun.js/javascript_core_c_api.zig b/src/buntime/javascript_core_c_api.zig similarity index 100% rename from src/bun.js/javascript_core_c_api.zig rename to src/buntime/javascript_core_c_api.zig diff --git a/src/bun.js/jsc.zig b/src/buntime/jsc.zig similarity index 99% rename from src/bun.js/jsc.zig rename to src/buntime/jsc.zig index b4f8cc51ab..78fb6a7637 100644 --- a/src/bun.js/jsc.zig +++ b/src/buntime/jsc.zig @@ -182,8 +182,8 @@ pub inline fn markMemberBinding(comptime class: anytype, src: std.builtin.Source pub const Subprocess = bun.api.Subprocess; /// This file is generated by: -/// 1. `bun src/bun.js/scripts/generate-classes.ts` -/// 2. Scan for **/*.classes.ts files in src/bun.js/src +/// 1. `bun src/buntime/scripts/generate-classes.ts` +/// 2. Scan for **/*.classes.ts files in src/buntime/src /// 3. Generate a JS wrapper for each class in: /// - Zig: generated_classes.zig /// - C++: ZigGeneratedClasses.h, ZigGeneratedClasses.cpp diff --git a/src/bun.js/jsc/RefString.zig b/src/buntime/jsc/RefString.zig similarity index 100% rename from src/bun.js/jsc/RefString.zig rename to src/buntime/jsc/RefString.zig diff --git a/src/bun.js/jsc/array_buffer.zig b/src/buntime/jsc/array_buffer.zig similarity index 100% rename from src/bun.js/jsc/array_buffer.zig rename to src/buntime/jsc/array_buffer.zig diff --git a/src/bun.js/jsc/dom_call.zig b/src/buntime/jsc/dom_call.zig similarity index 100% rename from src/bun.js/jsc/dom_call.zig rename to src/buntime/jsc/dom_call.zig diff --git a/src/bun.js/jsc/host_fn.zig b/src/buntime/jsc/host_fn.zig similarity index 100% rename from src/bun.js/jsc/host_fn.zig rename to src/buntime/jsc/host_fn.zig diff --git a/src/bun.js/modules/AbortControllerModuleModule.h b/src/buntime/modules/AbortControllerModuleModule.h similarity index 100% rename from src/bun.js/modules/AbortControllerModuleModule.h rename to src/buntime/modules/AbortControllerModuleModule.h diff --git a/src/bun.js/modules/BunAppModule.h b/src/buntime/modules/BunAppModule.h similarity index 100% rename from src/bun.js/modules/BunAppModule.h rename to src/buntime/modules/BunAppModule.h diff --git a/src/bun.js/modules/BunJSCModule.h b/src/buntime/modules/BunJSCModule.h similarity index 100% rename from src/bun.js/modules/BunJSCModule.h rename to src/buntime/modules/BunJSCModule.h diff --git a/src/bun.js/modules/BunObjectModule.h b/src/buntime/modules/BunObjectModule.h similarity index 100% rename from src/bun.js/modules/BunObjectModule.h rename to src/buntime/modules/BunObjectModule.h diff --git a/src/bun.js/modules/BunTestModule.h b/src/buntime/modules/BunTestModule.h similarity index 100% rename from src/bun.js/modules/BunTestModule.h rename to src/buntime/modules/BunTestModule.h diff --git a/src/bun.js/modules/NodeBufferModule.h b/src/buntime/modules/NodeBufferModule.h similarity index 100% rename from src/bun.js/modules/NodeBufferModule.h rename to src/buntime/modules/NodeBufferModule.h diff --git a/src/bun.js/modules/NodeConstantsModule.h b/src/buntime/modules/NodeConstantsModule.h similarity index 100% rename from src/bun.js/modules/NodeConstantsModule.h rename to src/buntime/modules/NodeConstantsModule.h diff --git a/src/bun.js/modules/NodeModuleModule.cpp b/src/buntime/modules/NodeModuleModule.cpp similarity index 100% rename from src/bun.js/modules/NodeModuleModule.cpp rename to src/buntime/modules/NodeModuleModule.cpp diff --git a/src/bun.js/modules/NodeModuleModule.h b/src/buntime/modules/NodeModuleModule.h similarity index 100% rename from src/bun.js/modules/NodeModuleModule.h rename to src/buntime/modules/NodeModuleModule.h diff --git a/src/bun.js/modules/NodeProcessModule.h b/src/buntime/modules/NodeProcessModule.h similarity index 100% rename from src/bun.js/modules/NodeProcessModule.h rename to src/buntime/modules/NodeProcessModule.h diff --git a/src/bun.js/modules/NodeStringDecoderModule.h b/src/buntime/modules/NodeStringDecoderModule.h similarity index 100% rename from src/bun.js/modules/NodeStringDecoderModule.h rename to src/buntime/modules/NodeStringDecoderModule.h diff --git a/src/bun.js/modules/NodeTTYModule.cpp b/src/buntime/modules/NodeTTYModule.cpp similarity index 100% rename from src/bun.js/modules/NodeTTYModule.cpp rename to src/buntime/modules/NodeTTYModule.cpp diff --git a/src/bun.js/modules/NodeTTYModule.h b/src/buntime/modules/NodeTTYModule.h similarity index 100% rename from src/bun.js/modules/NodeTTYModule.h rename to src/buntime/modules/NodeTTYModule.h diff --git a/src/bun.js/modules/NodeUtilTypesModule.cpp b/src/buntime/modules/NodeUtilTypesModule.cpp similarity index 100% rename from src/bun.js/modules/NodeUtilTypesModule.cpp rename to src/buntime/modules/NodeUtilTypesModule.cpp diff --git a/src/bun.js/modules/NodeUtilTypesModule.h b/src/buntime/modules/NodeUtilTypesModule.h similarity index 100% rename from src/bun.js/modules/NodeUtilTypesModule.h rename to src/buntime/modules/NodeUtilTypesModule.h diff --git a/src/bun.js/modules/ObjectModule.cpp b/src/buntime/modules/ObjectModule.cpp similarity index 100% rename from src/bun.js/modules/ObjectModule.cpp rename to src/buntime/modules/ObjectModule.cpp diff --git a/src/bun.js/modules/ObjectModule.h b/src/buntime/modules/ObjectModule.h similarity index 100% rename from src/bun.js/modules/ObjectModule.h rename to src/buntime/modules/ObjectModule.h diff --git a/src/bun.js/modules/UTF8ValidateModule.h b/src/buntime/modules/UTF8ValidateModule.h similarity index 100% rename from src/bun.js/modules/UTF8ValidateModule.h rename to src/buntime/modules/UTF8ValidateModule.h diff --git a/src/bun.js/modules/_NativeModule.h b/src/buntime/modules/_NativeModule.h similarity index 100% rename from src/bun.js/modules/_NativeModule.h rename to src/buntime/modules/_NativeModule.h diff --git a/src/bun.js/node.zig b/src/buntime/node.zig similarity index 100% rename from src/bun.js/node.zig rename to src/buntime/node.zig diff --git a/src/bun.js/node/Stat.zig b/src/buntime/node/Stat.zig similarity index 100% rename from src/bun.js/node/Stat.zig rename to src/buntime/node/Stat.zig diff --git a/src/bun.js/node/StatFS.zig b/src/buntime/node/StatFS.zig similarity index 100% rename from src/bun.js/node/StatFS.zig rename to src/buntime/node/StatFS.zig diff --git a/src/bun.js/node/assert/myers_diff.zig b/src/buntime/node/assert/myers_diff.zig similarity index 100% rename from src/bun.js/node/assert/myers_diff.zig rename to src/buntime/node/assert/myers_diff.zig diff --git a/src/bun.js/node/buffer.zig b/src/buntime/node/buffer.zig similarity index 100% rename from src/bun.js/node/buffer.zig rename to src/buntime/node/buffer.zig diff --git a/src/bun.js/node/dir_iterator.zig b/src/buntime/node/dir_iterator.zig similarity index 100% rename from src/bun.js/node/dir_iterator.zig rename to src/buntime/node/dir_iterator.zig diff --git a/src/bun.js/node/fs_events.zig b/src/buntime/node/fs_events.zig similarity index 100% rename from src/bun.js/node/fs_events.zig rename to src/buntime/node/fs_events.zig diff --git a/src/bun.js/node/net/BlockList.zig b/src/buntime/node/net/BlockList.zig similarity index 100% rename from src/bun.js/node/net/BlockList.zig rename to src/buntime/node/net/BlockList.zig diff --git a/src/bun.js/node/node.classes.ts b/src/buntime/node/node.classes.ts similarity index 100% rename from src/bun.js/node/node.classes.ts rename to src/buntime/node/node.classes.ts diff --git a/src/bun.js/node/node_assert.zig b/src/buntime/node/node_assert.zig similarity index 100% rename from src/bun.js/node/node_assert.zig rename to src/buntime/node/node_assert.zig diff --git a/src/bun.js/node/node_assert_binding.zig b/src/buntime/node/node_assert_binding.zig similarity index 100% rename from src/bun.js/node/node_assert_binding.zig rename to src/buntime/node/node_assert_binding.zig diff --git a/src/bun.js/node/node_cluster_binding.zig b/src/buntime/node/node_cluster_binding.zig similarity index 100% rename from src/bun.js/node/node_cluster_binding.zig rename to src/buntime/node/node_cluster_binding.zig diff --git a/src/bun.js/node/node_crypto_binding.zig b/src/buntime/node/node_crypto_binding.zig similarity index 100% rename from src/bun.js/node/node_crypto_binding.zig rename to src/buntime/node/node_crypto_binding.zig diff --git a/src/bun.js/node/node_error_binding.zig b/src/buntime/node/node_error_binding.zig similarity index 100% rename from src/bun.js/node/node_error_binding.zig rename to src/buntime/node/node_error_binding.zig diff --git a/src/bun.js/node/node_fs.zig b/src/buntime/node/node_fs.zig similarity index 100% rename from src/bun.js/node/node_fs.zig rename to src/buntime/node/node_fs.zig diff --git a/src/bun.js/node/node_fs_binding.zig b/src/buntime/node/node_fs_binding.zig similarity index 100% rename from src/bun.js/node/node_fs_binding.zig rename to src/buntime/node/node_fs_binding.zig diff --git a/src/bun.js/node/node_fs_constant.zig b/src/buntime/node/node_fs_constant.zig similarity index 100% rename from src/bun.js/node/node_fs_constant.zig rename to src/buntime/node/node_fs_constant.zig diff --git a/src/bun.js/node/node_fs_stat_watcher.zig b/src/buntime/node/node_fs_stat_watcher.zig similarity index 100% rename from src/bun.js/node/node_fs_stat_watcher.zig rename to src/buntime/node/node_fs_stat_watcher.zig diff --git a/src/bun.js/node/node_fs_watcher.zig b/src/buntime/node/node_fs_watcher.zig similarity index 100% rename from src/bun.js/node/node_fs_watcher.zig rename to src/buntime/node/node_fs_watcher.zig diff --git a/src/bun.js/node/node_http_binding.zig b/src/buntime/node/node_http_binding.zig similarity index 100% rename from src/bun.js/node/node_http_binding.zig rename to src/buntime/node/node_http_binding.zig diff --git a/src/bun.js/node/node_net_binding.zig b/src/buntime/node/node_net_binding.zig similarity index 100% rename from src/bun.js/node/node_net_binding.zig rename to src/buntime/node/node_net_binding.zig diff --git a/src/bun.js/node/node_os.bind.ts b/src/buntime/node/node_os.bind.ts similarity index 100% rename from src/bun.js/node/node_os.bind.ts rename to src/buntime/node/node_os.bind.ts diff --git a/src/bun.js/node/node_os.zig b/src/buntime/node/node_os.zig similarity index 100% rename from src/bun.js/node/node_os.zig rename to src/buntime/node/node_os.zig diff --git a/src/bun.js/node/node_process.zig b/src/buntime/node/node_process.zig similarity index 100% rename from src/bun.js/node/node_process.zig rename to src/buntime/node/node_process.zig diff --git a/src/bun.js/node/node_util_binding.zig b/src/buntime/node/node_util_binding.zig similarity index 100% rename from src/bun.js/node/node_util_binding.zig rename to src/buntime/node/node_util_binding.zig diff --git a/src/bun.js/node/node_zlib_binding.zig b/src/buntime/node/node_zlib_binding.zig similarity index 100% rename from src/bun.js/node/node_zlib_binding.zig rename to src/buntime/node/node_zlib_binding.zig diff --git a/src/bun.js/node/nodejs_error_code.zig b/src/buntime/node/nodejs_error_code.zig similarity index 100% rename from src/bun.js/node/nodejs_error_code.zig rename to src/buntime/node/nodejs_error_code.zig diff --git a/src/bun.js/node/os/constants.zig b/src/buntime/node/os/constants.zig similarity index 100% rename from src/bun.js/node/os/constants.zig rename to src/buntime/node/os/constants.zig diff --git a/src/bun.js/node/path.zig b/src/buntime/node/path.zig similarity index 100% rename from src/bun.js/node/path.zig rename to src/buntime/node/path.zig diff --git a/src/bun.js/node/path_watcher.zig b/src/buntime/node/path_watcher.zig similarity index 100% rename from src/bun.js/node/path_watcher.zig rename to src/buntime/node/path_watcher.zig diff --git a/src/bun.js/node/time_like.zig b/src/buntime/node/time_like.zig similarity index 100% rename from src/bun.js/node/time_like.zig rename to src/buntime/node/time_like.zig diff --git a/src/bun.js/node/types.zig b/src/buntime/node/types.zig similarity index 99% rename from src/bun.js/node/types.zig rename to src/buntime/node/types.zig index abfc821b07..89d743dd11 100644 --- a/src/bun.js/node/types.zig +++ b/src/buntime/node/types.zig @@ -324,7 +324,7 @@ pub const StringOrBuffer = union(enum) { /// https://github.com/nodejs/node/blob/master/lib/buffer.js#L587 /// See `jsc.WebCore.encoding` for encoding and decoding functions. -/// must match src/bun.js/bindings/BufferEncodingType.h +/// must match src/buntime/bindings/BufferEncodingType.h pub const Encoding = enum(u8) { utf8, ucs2, diff --git a/src/bun.js/node/util/parse_args.zig b/src/buntime/node/util/parse_args.zig similarity index 100% rename from src/bun.js/node/util/parse_args.zig rename to src/buntime/node/util/parse_args.zig diff --git a/src/bun.js/node/util/parse_args_utils.zig b/src/buntime/node/util/parse_args_utils.zig similarity index 100% rename from src/bun.js/node/util/parse_args_utils.zig rename to src/buntime/node/util/parse_args_utils.zig diff --git a/src/bun.js/node/util/validators.zig b/src/buntime/node/util/validators.zig similarity index 100% rename from src/bun.js/node/util/validators.zig rename to src/buntime/node/util/validators.zig diff --git a/src/bun.js/node/win_watcher.zig b/src/buntime/node/win_watcher.zig similarity index 100% rename from src/bun.js/node/win_watcher.zig rename to src/buntime/node/win_watcher.zig diff --git a/src/bun.js/node/zlib/NativeBrotli.zig b/src/buntime/node/zlib/NativeBrotli.zig similarity index 100% rename from src/bun.js/node/zlib/NativeBrotli.zig rename to src/buntime/node/zlib/NativeBrotli.zig diff --git a/src/bun.js/node/zlib/NativeZlib.zig b/src/buntime/node/zlib/NativeZlib.zig similarity index 100% rename from src/bun.js/node/zlib/NativeZlib.zig rename to src/buntime/node/zlib/NativeZlib.zig diff --git a/src/bun.js/node/zlib/NativeZstd.zig b/src/buntime/node/zlib/NativeZstd.zig similarity index 100% rename from src/bun.js/node/zlib/NativeZstd.zig rename to src/buntime/node/zlib/NativeZstd.zig diff --git a/src/bun.js/rare_data.zig b/src/buntime/rare_data.zig similarity index 100% rename from src/bun.js/rare_data.zig rename to src/buntime/rare_data.zig diff --git a/src/bun.js/resolve_message.classes.ts b/src/buntime/resolve_message.classes.ts similarity index 100% rename from src/bun.js/resolve_message.classes.ts rename to src/buntime/resolve_message.classes.ts diff --git a/src/bun.js/test/Collection.zig b/src/buntime/test/Collection.zig similarity index 100% rename from src/bun.js/test/Collection.zig rename to src/buntime/test/Collection.zig diff --git a/src/bun.js/test/DoneCallback.zig b/src/buntime/test/DoneCallback.zig similarity index 100% rename from src/bun.js/test/DoneCallback.zig rename to src/buntime/test/DoneCallback.zig diff --git a/src/bun.js/test/Execution.zig b/src/buntime/test/Execution.zig similarity index 100% rename from src/bun.js/test/Execution.zig rename to src/buntime/test/Execution.zig diff --git a/src/bun.js/test/Order.zig b/src/buntime/test/Order.zig similarity index 100% rename from src/bun.js/test/Order.zig rename to src/buntime/test/Order.zig diff --git a/src/bun.js/test/ScopeFunctions.zig b/src/buntime/test/ScopeFunctions.zig similarity index 100% rename from src/bun.js/test/ScopeFunctions.zig rename to src/buntime/test/ScopeFunctions.zig diff --git a/src/bun.js/test/bun_test.zig b/src/buntime/test/bun_test.zig similarity index 100% rename from src/bun.js/test/bun_test.zig rename to src/buntime/test/bun_test.zig diff --git a/src/bun.js/test/debug.zig b/src/buntime/test/debug.zig similarity index 100% rename from src/bun.js/test/debug.zig rename to src/buntime/test/debug.zig diff --git a/src/bun.js/test/diff/diff_match_patch.zig b/src/buntime/test/diff/diff_match_patch.zig similarity index 100% rename from src/bun.js/test/diff/diff_match_patch.zig rename to src/buntime/test/diff/diff_match_patch.zig diff --git a/src/bun.js/test/diff/printDiff.zig b/src/buntime/test/diff/printDiff.zig similarity index 100% rename from src/bun.js/test/diff/printDiff.zig rename to src/buntime/test/diff/printDiff.zig diff --git a/src/bun.js/test/diff_format.zig b/src/buntime/test/diff_format.zig similarity index 100% rename from src/bun.js/test/diff_format.zig rename to src/buntime/test/diff_format.zig diff --git a/src/bun.js/test/expect.zig b/src/buntime/test/expect.zig similarity index 100% rename from src/bun.js/test/expect.zig rename to src/buntime/test/expect.zig diff --git a/src/bun.js/test/expect/toBe.zig b/src/buntime/test/expect/toBe.zig similarity index 100% rename from src/bun.js/test/expect/toBe.zig rename to src/buntime/test/expect/toBe.zig diff --git a/src/bun.js/test/expect/toBeArray.zig b/src/buntime/test/expect/toBeArray.zig similarity index 100% rename from src/bun.js/test/expect/toBeArray.zig rename to src/buntime/test/expect/toBeArray.zig diff --git a/src/bun.js/test/expect/toBeArrayOfSize.zig b/src/buntime/test/expect/toBeArrayOfSize.zig similarity index 100% rename from src/bun.js/test/expect/toBeArrayOfSize.zig rename to src/buntime/test/expect/toBeArrayOfSize.zig diff --git a/src/bun.js/test/expect/toBeBoolean.zig b/src/buntime/test/expect/toBeBoolean.zig similarity index 100% rename from src/bun.js/test/expect/toBeBoolean.zig rename to src/buntime/test/expect/toBeBoolean.zig diff --git a/src/bun.js/test/expect/toBeCloseTo.zig b/src/buntime/test/expect/toBeCloseTo.zig similarity index 100% rename from src/bun.js/test/expect/toBeCloseTo.zig rename to src/buntime/test/expect/toBeCloseTo.zig diff --git a/src/bun.js/test/expect/toBeDate.zig b/src/buntime/test/expect/toBeDate.zig similarity index 100% rename from src/bun.js/test/expect/toBeDate.zig rename to src/buntime/test/expect/toBeDate.zig diff --git a/src/bun.js/test/expect/toBeDefined.zig b/src/buntime/test/expect/toBeDefined.zig similarity index 100% rename from src/bun.js/test/expect/toBeDefined.zig rename to src/buntime/test/expect/toBeDefined.zig diff --git a/src/bun.js/test/expect/toBeEmpty.zig b/src/buntime/test/expect/toBeEmpty.zig similarity index 100% rename from src/bun.js/test/expect/toBeEmpty.zig rename to src/buntime/test/expect/toBeEmpty.zig diff --git a/src/bun.js/test/expect/toBeEmptyObject.zig b/src/buntime/test/expect/toBeEmptyObject.zig similarity index 100% rename from src/bun.js/test/expect/toBeEmptyObject.zig rename to src/buntime/test/expect/toBeEmptyObject.zig diff --git a/src/bun.js/test/expect/toBeEven.zig b/src/buntime/test/expect/toBeEven.zig similarity index 100% rename from src/bun.js/test/expect/toBeEven.zig rename to src/buntime/test/expect/toBeEven.zig diff --git a/src/bun.js/test/expect/toBeFalse.zig b/src/buntime/test/expect/toBeFalse.zig similarity index 100% rename from src/bun.js/test/expect/toBeFalse.zig rename to src/buntime/test/expect/toBeFalse.zig diff --git a/src/bun.js/test/expect/toBeFalsy.zig b/src/buntime/test/expect/toBeFalsy.zig similarity index 100% rename from src/bun.js/test/expect/toBeFalsy.zig rename to src/buntime/test/expect/toBeFalsy.zig diff --git a/src/bun.js/test/expect/toBeFinite.zig b/src/buntime/test/expect/toBeFinite.zig similarity index 100% rename from src/bun.js/test/expect/toBeFinite.zig rename to src/buntime/test/expect/toBeFinite.zig diff --git a/src/bun.js/test/expect/toBeFunction.zig b/src/buntime/test/expect/toBeFunction.zig similarity index 100% rename from src/bun.js/test/expect/toBeFunction.zig rename to src/buntime/test/expect/toBeFunction.zig diff --git a/src/bun.js/test/expect/toBeGreaterThan.zig b/src/buntime/test/expect/toBeGreaterThan.zig similarity index 100% rename from src/bun.js/test/expect/toBeGreaterThan.zig rename to src/buntime/test/expect/toBeGreaterThan.zig diff --git a/src/bun.js/test/expect/toBeGreaterThanOrEqual.zig b/src/buntime/test/expect/toBeGreaterThanOrEqual.zig similarity index 100% rename from src/bun.js/test/expect/toBeGreaterThanOrEqual.zig rename to src/buntime/test/expect/toBeGreaterThanOrEqual.zig diff --git a/src/bun.js/test/expect/toBeInstanceOf.zig b/src/buntime/test/expect/toBeInstanceOf.zig similarity index 100% rename from src/bun.js/test/expect/toBeInstanceOf.zig rename to src/buntime/test/expect/toBeInstanceOf.zig diff --git a/src/bun.js/test/expect/toBeInteger.zig b/src/buntime/test/expect/toBeInteger.zig similarity index 100% rename from src/bun.js/test/expect/toBeInteger.zig rename to src/buntime/test/expect/toBeInteger.zig diff --git a/src/bun.js/test/expect/toBeLessThan.zig b/src/buntime/test/expect/toBeLessThan.zig similarity index 100% rename from src/bun.js/test/expect/toBeLessThan.zig rename to src/buntime/test/expect/toBeLessThan.zig diff --git a/src/bun.js/test/expect/toBeLessThanOrEqual.zig b/src/buntime/test/expect/toBeLessThanOrEqual.zig similarity index 100% rename from src/bun.js/test/expect/toBeLessThanOrEqual.zig rename to src/buntime/test/expect/toBeLessThanOrEqual.zig diff --git a/src/bun.js/test/expect/toBeNaN.zig b/src/buntime/test/expect/toBeNaN.zig similarity index 100% rename from src/bun.js/test/expect/toBeNaN.zig rename to src/buntime/test/expect/toBeNaN.zig diff --git a/src/bun.js/test/expect/toBeNegative.zig b/src/buntime/test/expect/toBeNegative.zig similarity index 100% rename from src/bun.js/test/expect/toBeNegative.zig rename to src/buntime/test/expect/toBeNegative.zig diff --git a/src/bun.js/test/expect/toBeNil.zig b/src/buntime/test/expect/toBeNil.zig similarity index 100% rename from src/bun.js/test/expect/toBeNil.zig rename to src/buntime/test/expect/toBeNil.zig diff --git a/src/bun.js/test/expect/toBeNull.zig b/src/buntime/test/expect/toBeNull.zig similarity index 100% rename from src/bun.js/test/expect/toBeNull.zig rename to src/buntime/test/expect/toBeNull.zig diff --git a/src/bun.js/test/expect/toBeNumber.zig b/src/buntime/test/expect/toBeNumber.zig similarity index 100% rename from src/bun.js/test/expect/toBeNumber.zig rename to src/buntime/test/expect/toBeNumber.zig diff --git a/src/bun.js/test/expect/toBeObject.zig b/src/buntime/test/expect/toBeObject.zig similarity index 100% rename from src/bun.js/test/expect/toBeObject.zig rename to src/buntime/test/expect/toBeObject.zig diff --git a/src/bun.js/test/expect/toBeOdd.zig b/src/buntime/test/expect/toBeOdd.zig similarity index 100% rename from src/bun.js/test/expect/toBeOdd.zig rename to src/buntime/test/expect/toBeOdd.zig diff --git a/src/bun.js/test/expect/toBeOneOf.zig b/src/buntime/test/expect/toBeOneOf.zig similarity index 100% rename from src/bun.js/test/expect/toBeOneOf.zig rename to src/buntime/test/expect/toBeOneOf.zig diff --git a/src/bun.js/test/expect/toBePositive.zig b/src/buntime/test/expect/toBePositive.zig similarity index 100% rename from src/bun.js/test/expect/toBePositive.zig rename to src/buntime/test/expect/toBePositive.zig diff --git a/src/bun.js/test/expect/toBeString.zig b/src/buntime/test/expect/toBeString.zig similarity index 100% rename from src/bun.js/test/expect/toBeString.zig rename to src/buntime/test/expect/toBeString.zig diff --git a/src/bun.js/test/expect/toBeSymbol.zig b/src/buntime/test/expect/toBeSymbol.zig similarity index 100% rename from src/bun.js/test/expect/toBeSymbol.zig rename to src/buntime/test/expect/toBeSymbol.zig diff --git a/src/bun.js/test/expect/toBeTrue.zig b/src/buntime/test/expect/toBeTrue.zig similarity index 100% rename from src/bun.js/test/expect/toBeTrue.zig rename to src/buntime/test/expect/toBeTrue.zig diff --git a/src/bun.js/test/expect/toBeTruthy.zig b/src/buntime/test/expect/toBeTruthy.zig similarity index 100% rename from src/bun.js/test/expect/toBeTruthy.zig rename to src/buntime/test/expect/toBeTruthy.zig diff --git a/src/bun.js/test/expect/toBeTypeOf.zig b/src/buntime/test/expect/toBeTypeOf.zig similarity index 100% rename from src/bun.js/test/expect/toBeTypeOf.zig rename to src/buntime/test/expect/toBeTypeOf.zig diff --git a/src/bun.js/test/expect/toBeUndefined.zig b/src/buntime/test/expect/toBeUndefined.zig similarity index 100% rename from src/bun.js/test/expect/toBeUndefined.zig rename to src/buntime/test/expect/toBeUndefined.zig diff --git a/src/bun.js/test/expect/toBeValidDate.zig b/src/buntime/test/expect/toBeValidDate.zig similarity index 100% rename from src/bun.js/test/expect/toBeValidDate.zig rename to src/buntime/test/expect/toBeValidDate.zig diff --git a/src/bun.js/test/expect/toBeWithin.zig b/src/buntime/test/expect/toBeWithin.zig similarity index 100% rename from src/bun.js/test/expect/toBeWithin.zig rename to src/buntime/test/expect/toBeWithin.zig diff --git a/src/bun.js/test/expect/toContain.zig b/src/buntime/test/expect/toContain.zig similarity index 100% rename from src/bun.js/test/expect/toContain.zig rename to src/buntime/test/expect/toContain.zig diff --git a/src/bun.js/test/expect/toContainAllKeys.zig b/src/buntime/test/expect/toContainAllKeys.zig similarity index 100% rename from src/bun.js/test/expect/toContainAllKeys.zig rename to src/buntime/test/expect/toContainAllKeys.zig diff --git a/src/bun.js/test/expect/toContainAllValues.zig b/src/buntime/test/expect/toContainAllValues.zig similarity index 100% rename from src/bun.js/test/expect/toContainAllValues.zig rename to src/buntime/test/expect/toContainAllValues.zig diff --git a/src/bun.js/test/expect/toContainAnyKeys.zig b/src/buntime/test/expect/toContainAnyKeys.zig similarity index 100% rename from src/bun.js/test/expect/toContainAnyKeys.zig rename to src/buntime/test/expect/toContainAnyKeys.zig diff --git a/src/bun.js/test/expect/toContainAnyValues.zig b/src/buntime/test/expect/toContainAnyValues.zig similarity index 100% rename from src/bun.js/test/expect/toContainAnyValues.zig rename to src/buntime/test/expect/toContainAnyValues.zig diff --git a/src/bun.js/test/expect/toContainEqual.zig b/src/buntime/test/expect/toContainEqual.zig similarity index 100% rename from src/bun.js/test/expect/toContainEqual.zig rename to src/buntime/test/expect/toContainEqual.zig diff --git a/src/bun.js/test/expect/toContainKey.zig b/src/buntime/test/expect/toContainKey.zig similarity index 100% rename from src/bun.js/test/expect/toContainKey.zig rename to src/buntime/test/expect/toContainKey.zig diff --git a/src/bun.js/test/expect/toContainKeys.zig b/src/buntime/test/expect/toContainKeys.zig similarity index 100% rename from src/bun.js/test/expect/toContainKeys.zig rename to src/buntime/test/expect/toContainKeys.zig diff --git a/src/bun.js/test/expect/toContainValue.zig b/src/buntime/test/expect/toContainValue.zig similarity index 100% rename from src/bun.js/test/expect/toContainValue.zig rename to src/buntime/test/expect/toContainValue.zig diff --git a/src/bun.js/test/expect/toContainValues.zig b/src/buntime/test/expect/toContainValues.zig similarity index 100% rename from src/bun.js/test/expect/toContainValues.zig rename to src/buntime/test/expect/toContainValues.zig diff --git a/src/bun.js/test/expect/toEndWith.zig b/src/buntime/test/expect/toEndWith.zig similarity index 100% rename from src/bun.js/test/expect/toEndWith.zig rename to src/buntime/test/expect/toEndWith.zig diff --git a/src/bun.js/test/expect/toEqual.zig b/src/buntime/test/expect/toEqual.zig similarity index 100% rename from src/bun.js/test/expect/toEqual.zig rename to src/buntime/test/expect/toEqual.zig diff --git a/src/bun.js/test/expect/toEqualIgnoringWhitespace.zig b/src/buntime/test/expect/toEqualIgnoringWhitespace.zig similarity index 100% rename from src/bun.js/test/expect/toEqualIgnoringWhitespace.zig rename to src/buntime/test/expect/toEqualIgnoringWhitespace.zig diff --git a/src/bun.js/test/expect/toHaveBeenCalled.zig b/src/buntime/test/expect/toHaveBeenCalled.zig similarity index 100% rename from src/bun.js/test/expect/toHaveBeenCalled.zig rename to src/buntime/test/expect/toHaveBeenCalled.zig diff --git a/src/bun.js/test/expect/toHaveBeenCalledOnce.zig b/src/buntime/test/expect/toHaveBeenCalledOnce.zig similarity index 100% rename from src/bun.js/test/expect/toHaveBeenCalledOnce.zig rename to src/buntime/test/expect/toHaveBeenCalledOnce.zig diff --git a/src/bun.js/test/expect/toHaveBeenCalledTimes.zig b/src/buntime/test/expect/toHaveBeenCalledTimes.zig similarity index 100% rename from src/bun.js/test/expect/toHaveBeenCalledTimes.zig rename to src/buntime/test/expect/toHaveBeenCalledTimes.zig diff --git a/src/bun.js/test/expect/toHaveBeenCalledWith.zig b/src/buntime/test/expect/toHaveBeenCalledWith.zig similarity index 100% rename from src/bun.js/test/expect/toHaveBeenCalledWith.zig rename to src/buntime/test/expect/toHaveBeenCalledWith.zig diff --git a/src/bun.js/test/expect/toHaveBeenLastCalledWith.zig b/src/buntime/test/expect/toHaveBeenLastCalledWith.zig similarity index 100% rename from src/bun.js/test/expect/toHaveBeenLastCalledWith.zig rename to src/buntime/test/expect/toHaveBeenLastCalledWith.zig diff --git a/src/bun.js/test/expect/toHaveBeenNthCalledWith.zig b/src/buntime/test/expect/toHaveBeenNthCalledWith.zig similarity index 100% rename from src/bun.js/test/expect/toHaveBeenNthCalledWith.zig rename to src/buntime/test/expect/toHaveBeenNthCalledWith.zig diff --git a/src/bun.js/test/expect/toHaveLastReturnedWith.zig b/src/buntime/test/expect/toHaveLastReturnedWith.zig similarity index 100% rename from src/bun.js/test/expect/toHaveLastReturnedWith.zig rename to src/buntime/test/expect/toHaveLastReturnedWith.zig diff --git a/src/bun.js/test/expect/toHaveLength.zig b/src/buntime/test/expect/toHaveLength.zig similarity index 100% rename from src/bun.js/test/expect/toHaveLength.zig rename to src/buntime/test/expect/toHaveLength.zig diff --git a/src/bun.js/test/expect/toHaveNthReturnedWith.zig b/src/buntime/test/expect/toHaveNthReturnedWith.zig similarity index 100% rename from src/bun.js/test/expect/toHaveNthReturnedWith.zig rename to src/buntime/test/expect/toHaveNthReturnedWith.zig diff --git a/src/bun.js/test/expect/toHaveProperty.zig b/src/buntime/test/expect/toHaveProperty.zig similarity index 100% rename from src/bun.js/test/expect/toHaveProperty.zig rename to src/buntime/test/expect/toHaveProperty.zig diff --git a/src/bun.js/test/expect/toHaveReturned.zig b/src/buntime/test/expect/toHaveReturned.zig similarity index 100% rename from src/bun.js/test/expect/toHaveReturned.zig rename to src/buntime/test/expect/toHaveReturned.zig diff --git a/src/bun.js/test/expect/toHaveReturnedTimes.zig b/src/buntime/test/expect/toHaveReturnedTimes.zig similarity index 100% rename from src/bun.js/test/expect/toHaveReturnedTimes.zig rename to src/buntime/test/expect/toHaveReturnedTimes.zig diff --git a/src/bun.js/test/expect/toHaveReturnedWith.zig b/src/buntime/test/expect/toHaveReturnedWith.zig similarity index 100% rename from src/bun.js/test/expect/toHaveReturnedWith.zig rename to src/buntime/test/expect/toHaveReturnedWith.zig diff --git a/src/bun.js/test/expect/toInclude.zig b/src/buntime/test/expect/toInclude.zig similarity index 100% rename from src/bun.js/test/expect/toInclude.zig rename to src/buntime/test/expect/toInclude.zig diff --git a/src/bun.js/test/expect/toIncludeRepeated.zig b/src/buntime/test/expect/toIncludeRepeated.zig similarity index 100% rename from src/bun.js/test/expect/toIncludeRepeated.zig rename to src/buntime/test/expect/toIncludeRepeated.zig diff --git a/src/bun.js/test/expect/toMatch.zig b/src/buntime/test/expect/toMatch.zig similarity index 100% rename from src/bun.js/test/expect/toMatch.zig rename to src/buntime/test/expect/toMatch.zig diff --git a/src/bun.js/test/expect/toMatchInlineSnapshot.zig b/src/buntime/test/expect/toMatchInlineSnapshot.zig similarity index 100% rename from src/bun.js/test/expect/toMatchInlineSnapshot.zig rename to src/buntime/test/expect/toMatchInlineSnapshot.zig diff --git a/src/bun.js/test/expect/toMatchObject.zig b/src/buntime/test/expect/toMatchObject.zig similarity index 100% rename from src/bun.js/test/expect/toMatchObject.zig rename to src/buntime/test/expect/toMatchObject.zig diff --git a/src/bun.js/test/expect/toMatchSnapshot.zig b/src/buntime/test/expect/toMatchSnapshot.zig similarity index 100% rename from src/bun.js/test/expect/toMatchSnapshot.zig rename to src/buntime/test/expect/toMatchSnapshot.zig diff --git a/src/bun.js/test/expect/toSatisfy.zig b/src/buntime/test/expect/toSatisfy.zig similarity index 100% rename from src/bun.js/test/expect/toSatisfy.zig rename to src/buntime/test/expect/toSatisfy.zig diff --git a/src/bun.js/test/expect/toStartWith.zig b/src/buntime/test/expect/toStartWith.zig similarity index 100% rename from src/bun.js/test/expect/toStartWith.zig rename to src/buntime/test/expect/toStartWith.zig diff --git a/src/bun.js/test/expect/toStrictEqual.zig b/src/buntime/test/expect/toStrictEqual.zig similarity index 100% rename from src/bun.js/test/expect/toStrictEqual.zig rename to src/buntime/test/expect/toStrictEqual.zig diff --git a/src/bun.js/test/expect/toThrow.zig b/src/buntime/test/expect/toThrow.zig similarity index 100% rename from src/bun.js/test/expect/toThrow.zig rename to src/buntime/test/expect/toThrow.zig diff --git a/src/bun.js/test/expect/toThrowErrorMatchingInlineSnapshot.zig b/src/buntime/test/expect/toThrowErrorMatchingInlineSnapshot.zig similarity index 100% rename from src/bun.js/test/expect/toThrowErrorMatchingInlineSnapshot.zig rename to src/buntime/test/expect/toThrowErrorMatchingInlineSnapshot.zig diff --git a/src/bun.js/test/expect/toThrowErrorMatchingSnapshot.zig b/src/buntime/test/expect/toThrowErrorMatchingSnapshot.zig similarity index 100% rename from src/bun.js/test/expect/toThrowErrorMatchingSnapshot.zig rename to src/buntime/test/expect/toThrowErrorMatchingSnapshot.zig diff --git a/src/bun.js/test/jest.classes.ts b/src/buntime/test/jest.classes.ts similarity index 100% rename from src/bun.js/test/jest.classes.ts rename to src/buntime/test/jest.classes.ts diff --git a/src/bun.js/test/jest.zig b/src/buntime/test/jest.zig similarity index 100% rename from src/bun.js/test/jest.zig rename to src/buntime/test/jest.zig diff --git a/src/bun.js/test/pretty_format.zig b/src/buntime/test/pretty_format.zig similarity index 100% rename from src/bun.js/test/pretty_format.zig rename to src/buntime/test/pretty_format.zig diff --git a/src/bun.js/test/snapshot.zig b/src/buntime/test/snapshot.zig similarity index 100% rename from src/bun.js/test/snapshot.zig rename to src/buntime/test/snapshot.zig diff --git a/src/bun.js/test/test.zig b/src/buntime/test/test.zig similarity index 100% rename from src/bun.js/test/test.zig rename to src/buntime/test/test.zig diff --git a/src/bun.js/test/timers/FakeTimers.zig b/src/buntime/test/timers/FakeTimers.zig similarity index 100% rename from src/bun.js/test/timers/FakeTimers.zig rename to src/buntime/test/timers/FakeTimers.zig diff --git a/src/bun.js/test/timers/FakeTimersConfig.bindv2.ts b/src/buntime/test/timers/FakeTimersConfig.bindv2.ts similarity index 100% rename from src/bun.js/test/timers/FakeTimersConfig.bindv2.ts rename to src/buntime/test/timers/FakeTimersConfig.bindv2.ts diff --git a/src/bun.js/uuid.zig b/src/buntime/uuid.zig similarity index 100% rename from src/bun.js/uuid.zig rename to src/buntime/uuid.zig diff --git a/src/bun.js/virtual_machine_exports.zig b/src/buntime/virtual_machine_exports.zig similarity index 100% rename from src/bun.js/virtual_machine_exports.zig rename to src/buntime/virtual_machine_exports.zig diff --git a/src/bun.js/web_worker.zig b/src/buntime/web_worker.zig similarity index 100% rename from src/bun.js/web_worker.zig rename to src/buntime/web_worker.zig diff --git a/src/bun.js/webcore.zig b/src/buntime/webcore.zig similarity index 100% rename from src/bun.js/webcore.zig rename to src/buntime/webcore.zig diff --git a/src/bun.js/webcore/ArrayBufferSink.zig b/src/buntime/webcore/ArrayBufferSink.zig similarity index 100% rename from src/bun.js/webcore/ArrayBufferSink.zig rename to src/buntime/webcore/ArrayBufferSink.zig diff --git a/src/bun.js/webcore/AutoFlusher.zig b/src/buntime/webcore/AutoFlusher.zig similarity index 100% rename from src/bun.js/webcore/AutoFlusher.zig rename to src/buntime/webcore/AutoFlusher.zig diff --git a/src/bun.js/webcore/BakeResponse.zig b/src/buntime/webcore/BakeResponse.zig similarity index 99% rename from src/bun.js/webcore/BakeResponse.zig rename to src/buntime/webcore/BakeResponse.zig index c3f4cffb9b..d64f2ee4f4 100644 --- a/src/bun.js/webcore/BakeResponse.zig +++ b/src/buntime/webcore/BakeResponse.zig @@ -6,7 +6,7 @@ pub fn fixDeadCodeElimination() void { extern "C" fn BakeResponse__createForSSR(globalObject: *JSGlobalObject, this: *Response, kind: u8) callconv(jsc.conv) jsc.JSValue; /// Corresponds to `JSBakeResponseKind` in -/// `src/bun.js/bindings/JSBakeResponse.h` +/// `src/buntime/bindings/JSBakeResponse.h` const SSRKind = enum(u8) { regular = 0, redirect = 1, diff --git a/src/bun.js/webcore/Blob.zig b/src/buntime/webcore/Blob.zig similarity index 100% rename from src/bun.js/webcore/Blob.zig rename to src/buntime/webcore/Blob.zig diff --git a/src/bun.js/webcore/Body.zig b/src/buntime/webcore/Body.zig similarity index 100% rename from src/bun.js/webcore/Body.zig rename to src/buntime/webcore/Body.zig diff --git a/src/bun.js/webcore/ByteBlobLoader.zig b/src/buntime/webcore/ByteBlobLoader.zig similarity index 100% rename from src/bun.js/webcore/ByteBlobLoader.zig rename to src/buntime/webcore/ByteBlobLoader.zig diff --git a/src/bun.js/webcore/ByteStream.zig b/src/buntime/webcore/ByteStream.zig similarity index 100% rename from src/bun.js/webcore/ByteStream.zig rename to src/buntime/webcore/ByteStream.zig diff --git a/src/bun.js/webcore/CookieMap.zig b/src/buntime/webcore/CookieMap.zig similarity index 100% rename from src/bun.js/webcore/CookieMap.zig rename to src/buntime/webcore/CookieMap.zig diff --git a/src/bun.js/webcore/Crypto.zig b/src/buntime/webcore/Crypto.zig similarity index 100% rename from src/bun.js/webcore/Crypto.zig rename to src/buntime/webcore/Crypto.zig diff --git a/src/bun.js/webcore/EncodingLabel.zig b/src/buntime/webcore/EncodingLabel.zig similarity index 100% rename from src/bun.js/webcore/EncodingLabel.zig rename to src/buntime/webcore/EncodingLabel.zig diff --git a/src/bun.js/webcore/FileReader.zig b/src/buntime/webcore/FileReader.zig similarity index 100% rename from src/bun.js/webcore/FileReader.zig rename to src/buntime/webcore/FileReader.zig diff --git a/src/bun.js/webcore/FileSink.zig b/src/buntime/webcore/FileSink.zig similarity index 100% rename from src/bun.js/webcore/FileSink.zig rename to src/buntime/webcore/FileSink.zig diff --git a/src/bun.js/webcore/ObjectURLRegistry.zig b/src/buntime/webcore/ObjectURLRegistry.zig similarity index 100% rename from src/bun.js/webcore/ObjectURLRegistry.zig rename to src/buntime/webcore/ObjectURLRegistry.zig diff --git a/src/bun.js/webcore/ReadableStream.zig b/src/buntime/webcore/ReadableStream.zig similarity index 100% rename from src/bun.js/webcore/ReadableStream.zig rename to src/buntime/webcore/ReadableStream.zig diff --git a/src/bun.js/webcore/Request.zig b/src/buntime/webcore/Request.zig similarity index 100% rename from src/bun.js/webcore/Request.zig rename to src/buntime/webcore/Request.zig diff --git a/src/bun.js/webcore/Response.zig b/src/buntime/webcore/Response.zig similarity index 100% rename from src/bun.js/webcore/Response.zig rename to src/buntime/webcore/Response.zig diff --git a/src/bun.js/webcore/ResumableSink.zig b/src/buntime/webcore/ResumableSink.zig similarity index 100% rename from src/bun.js/webcore/ResumableSink.zig rename to src/buntime/webcore/ResumableSink.zig diff --git a/src/bun.js/webcore/S3Client.zig b/src/buntime/webcore/S3Client.zig similarity index 100% rename from src/bun.js/webcore/S3Client.zig rename to src/buntime/webcore/S3Client.zig diff --git a/src/bun.js/webcore/S3File.zig b/src/buntime/webcore/S3File.zig similarity index 100% rename from src/bun.js/webcore/S3File.zig rename to src/buntime/webcore/S3File.zig diff --git a/src/bun.js/webcore/S3Stat.zig b/src/buntime/webcore/S3Stat.zig similarity index 100% rename from src/bun.js/webcore/S3Stat.zig rename to src/buntime/webcore/S3Stat.zig diff --git a/src/bun.js/webcore/ScriptExecutionContext.zig b/src/buntime/webcore/ScriptExecutionContext.zig similarity index 100% rename from src/bun.js/webcore/ScriptExecutionContext.zig rename to src/buntime/webcore/ScriptExecutionContext.zig diff --git a/src/bun.js/webcore/Sink.zig b/src/buntime/webcore/Sink.zig similarity index 100% rename from src/bun.js/webcore/Sink.zig rename to src/buntime/webcore/Sink.zig diff --git a/src/bun.js/webcore/TextDecoder.zig b/src/buntime/webcore/TextDecoder.zig similarity index 100% rename from src/bun.js/webcore/TextDecoder.zig rename to src/buntime/webcore/TextDecoder.zig diff --git a/src/bun.js/webcore/TextEncoder.zig b/src/buntime/webcore/TextEncoder.zig similarity index 100% rename from src/bun.js/webcore/TextEncoder.zig rename to src/buntime/webcore/TextEncoder.zig diff --git a/src/bun.js/webcore/TextEncoderStreamEncoder.zig b/src/buntime/webcore/TextEncoderStreamEncoder.zig similarity index 100% rename from src/bun.js/webcore/TextEncoderStreamEncoder.zig rename to src/buntime/webcore/TextEncoderStreamEncoder.zig diff --git a/src/bun.js/webcore/blob/Store.zig b/src/buntime/webcore/blob/Store.zig similarity index 100% rename from src/bun.js/webcore/blob/Store.zig rename to src/buntime/webcore/blob/Store.zig diff --git a/src/bun.js/webcore/blob/copy_file.zig b/src/buntime/webcore/blob/copy_file.zig similarity index 100% rename from src/bun.js/webcore/blob/copy_file.zig rename to src/buntime/webcore/blob/copy_file.zig diff --git a/src/bun.js/webcore/blob/read_file.zig b/src/buntime/webcore/blob/read_file.zig similarity index 100% rename from src/bun.js/webcore/blob/read_file.zig rename to src/buntime/webcore/blob/read_file.zig diff --git a/src/bun.js/webcore/blob/write_file.zig b/src/buntime/webcore/blob/write_file.zig similarity index 100% rename from src/bun.js/webcore/blob/write_file.zig rename to src/buntime/webcore/blob/write_file.zig diff --git a/src/bun.js/webcore/encoding.classes.ts b/src/buntime/webcore/encoding.classes.ts similarity index 100% rename from src/bun.js/webcore/encoding.classes.ts rename to src/buntime/webcore/encoding.classes.ts diff --git a/src/bun.js/webcore/encoding.zig b/src/buntime/webcore/encoding.zig similarity index 100% rename from src/bun.js/webcore/encoding.zig rename to src/buntime/webcore/encoding.zig diff --git a/src/bun.js/webcore/fetch.zig b/src/buntime/webcore/fetch.zig similarity index 100% rename from src/bun.js/webcore/fetch.zig rename to src/buntime/webcore/fetch.zig diff --git a/src/bun.js/webcore/fetch/FetchTasklet.zig b/src/buntime/webcore/fetch/FetchTasklet.zig similarity index 100% rename from src/bun.js/webcore/fetch/FetchTasklet.zig rename to src/buntime/webcore/fetch/FetchTasklet.zig diff --git a/src/bun.js/webcore/prompt.zig b/src/buntime/webcore/prompt.zig similarity index 100% rename from src/bun.js/webcore/prompt.zig rename to src/buntime/webcore/prompt.zig diff --git a/src/bun.js/webcore/response.classes.ts b/src/buntime/webcore/response.classes.ts similarity index 100% rename from src/bun.js/webcore/response.classes.ts rename to src/buntime/webcore/response.classes.ts diff --git a/src/bun.js/webcore/streams.zig b/src/buntime/webcore/streams.zig similarity index 100% rename from src/bun.js/webcore/streams.zig rename to src/buntime/webcore/streams.zig diff --git a/src/cli/exec_command.zig b/src/cli/exec_command.zig index 67b254ff47..281620e6d8 100644 --- a/src/cli/exec_command.zig +++ b/src/cli/exec_command.zig @@ -5,7 +5,7 @@ pub const ExecCommand = struct { var bundle = try bun.Transpiler.init( ctx.allocator, ctx.log, - try @import("../bun.js/config.zig").configureTransformOptionsForBunVM(ctx.allocator, ctx.args), + try @import("../buntime/config.zig").configureTransformOptionsForBunVM(ctx.allocator, ctx.args), null, ); try bundle.runEnvLoader(bundle.options.env.disable_default_env_files); diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig index 04868c37f2..23c9e541c9 100644 --- a/src/cli/test_command.zig +++ b/src/cli/test_command.zig @@ -1999,7 +1999,7 @@ const string = []const u8; const DotEnv = @import("../env_loader.zig"); const Scanner = @import("./test/Scanner.zig"); -const bun_test = @import("../bun.js/test/bun_test.zig"); +const bun_test = @import("../buntime/test/bun_test.zig"); const options = @import("../options.zig"); const resolve_path = @import("../resolver/resolve_path.zig"); const std = @import("std"); diff --git a/src/codegen/bindgen.ts b/src/codegen/bindgen.ts index 386823736f..efbfe601c4 100644 --- a/src/codegen/bindgen.ts +++ b/src/codegen/bindgen.ts @@ -1506,7 +1506,7 @@ writeIfNotChanged( path.join(codegenRoot, "GeneratedBindings.cpp"), [...headers].map(name => `#include ${str(name)}\n`).join("") + "\n" + cppInternal.buffer + "\n" + cpp.buffer, ); -writeIfNotChanged(path.join(src, "bun.js/bindings/GeneratedBindings.zig"), zig.buffer + zigInternal.buffer); +writeIfNotChanged(path.join(src, "buntime/bindings/GeneratedBindings.zig"), zig.buffer + zigInternal.buffer); // Headers for (const [filename, { functions, typedefs }] of files) { diff --git a/src/codegen/bundle-modules.ts b/src/codegen/bundle-modules.ts index c282da4560..6390869235 100644 --- a/src/codegen/bundle-modules.ts +++ b/src/codegen/bundle-modules.ts @@ -12,7 +12,7 @@ import fs from "fs"; import { mkdir, writeFile } from "fs/promises"; import { builtinModules } from "node:module"; import path from "path"; -import jsclasses from "./../bun.js/bindings/js_classes"; +import jsclasses from "./../buntime/bindings/js_classes"; import { sliceSourceCode } from "./builtin-parser"; import { createAssertClientJS, createLogClientJS } from "./client-js"; import { getJS2NativeCPP, getJS2NativeZig } from "./generate-js2native"; @@ -474,14 +474,14 @@ ${Object.entries(nativeModuleEnumToId) writeIfNotChanged( path.join(CODEGEN_DIR, "NativeModuleImpl.h"), Object.values(nativeModuleEnums) - .map(value => `#include "../../bun.js/modules/${value}Module.h"`) + .map(value => `#include "../../buntime/modules/${value}Module.h"`) .join("\n") + "\n", ); writeIfNotChanged(path.join(CODEGEN_DIR, "GeneratedJS2Native.h"), getJS2NativeCPP()); // zig will complain if this file is outside of the module -const js2nativeZigPath = path.join(import.meta.dir, "../bun.js/bindings/GeneratedJS2Native.zig"); +const js2nativeZigPath = path.join(import.meta.dir, "../buntime/bindings/GeneratedJS2Native.zig"); writeIfNotChanged(js2nativeZigPath, getJS2NativeZig(js2nativeZigPath)); const generatedDTSPath = path.join(CODEGEN_DIR, "generated.d.ts"); diff --git a/src/codegen/generate-classes.ts b/src/codegen/generate-classes.ts index 929585c976..f1963ec2f7 100644 --- a/src/codegen/generate-classes.ts +++ b/src/codegen/generate-classes.ts @@ -1,6 +1,6 @@ // @ts-nocheck import path from "path"; -import jsclasses from "./../bun.js/bindings/js_classes"; +import jsclasses from "./../buntime/bindings/js_classes"; import { InvalidThisBehavior, type ClassDefinition, type Field } from "./class-definitions"; import { camelCase, pascalCase, writeIfNotChanged } from "./helpers"; @@ -2727,8 +2727,8 @@ const ZIG_GENERATED_CLASSES_HEADER = ` /// bun run build /// /// This file is generated by: -/// 1. \`bun src/bun.js/scripts/generate-classes.ts\` -/// 2. Scan for **/*.classes.ts files in src/bun.js/src +/// 1. \`bun src/buntime/scripts/generate-classes.ts\` +/// 2. Scan for **/*.classes.ts files in src/buntime/src /// 3. Generate a JS wrapper for each class in: /// - Zig: generated_classes.zig /// - C++: ZigGeneratedClasses.h, ZigGeneratedClasses.cpp diff --git a/src/codegen/generate-node-errors.ts b/src/codegen/generate-node-errors.ts index 9fee927999..d26611eef7 100644 --- a/src/codegen/generate-node-errors.ts +++ b/src/codegen/generate-node-errors.ts @@ -1,5 +1,5 @@ import path from "node:path"; -import NodeErrors from "../bun.js/bindings/ErrorCode.ts"; +import NodeErrors from "../buntime/bindings/ErrorCode.ts"; import { writeIfNotChanged } from "./helpers.ts"; const outputDir = process.argv[2]; @@ -24,7 +24,7 @@ let zig = ``; enumHeader = ` // clang-format off // Generated by: src/codegen/generate-node-errors.ts -// Input: src/bun.js/bindings/ErrorCode.ts +// Input: src/buntime/bindings/ErrorCode.ts #pragma once #include @@ -149,7 +149,7 @@ let builtindts = await Bun.file(builtindtsPath).text(); let dts = ` // Generated by: src/codegen/generate-node-errors.ts -// Input: src/bun.js/bindings/ErrorCode.ts +// Input: src/buntime/bindings/ErrorCode.ts // Global error code functions for TypeScript `; diff --git a/src/codegen/internal-module-registry-scanner.ts b/src/codegen/internal-module-registry-scanner.ts index 512170ac0e..1cd23620ec 100644 --- a/src/codegen/internal-module-registry-scanner.ts +++ b/src/codegen/internal-module-registry-scanner.ts @@ -35,7 +35,7 @@ export function createInternalModuleRegistry(basedir: string) { const nativeModuleEnumToId: Record = {}; // Native Module registry - const nativeModuleH = fs.readFileSync(path.join(basedir, "../bun.js/modules/_NativeModule.h"), "utf8"); + const nativeModuleH = fs.readFileSync(path.join(basedir, "../buntime/modules/_NativeModule.h"), "utf8"); for (const [_, idString, enumValue] of nativeModuleH.matchAll(/macro\((.*?),(.*?)\)/g)) { const processedIdString = JSON.parse(idString.trim().replace(/_s$/, "")); const processedEnumValue = enumValue.trim(); diff --git a/src/codegen/replacements.ts b/src/codegen/replacements.ts index a0b43be968..c44a2487b6 100644 --- a/src/codegen/replacements.ts +++ b/src/codegen/replacements.ts @@ -1,6 +1,6 @@ import { LoaderKeys } from "../api/schema"; -import NodeErrors from "../bun.js/bindings/ErrorCode.ts"; -import jsclasses from "./../bun.js/bindings/js_classes"; +import NodeErrors from "../buntime/bindings/ErrorCode.ts"; +import jsclasses from "./../buntime/bindings/js_classes"; import { sliceSourceCode } from "./builtin-parser"; import { registerNativeCall } from "./generate-js2native"; diff --git a/src/crash_handler.zig b/src/crash_handler.zig index d902410444..c17b9ba4e0 100644 --- a/src/crash_handler.zig +++ b/src/crash_handler.zig @@ -2288,7 +2288,7 @@ comptime { } } -const CPUFeatures = @import("./bun.js/bindings/CPUFeatures.zig"); +const CPUFeatures = @import("./buntime/bindings/CPUFeatures.zig"); const builtin = @import("builtin"); const std = @import("std"); const windows = std.os.windows; diff --git a/src/deps/uws/UpgradedDuplex.zig b/src/deps/uws/UpgradedDuplex.zig index 8a850ac333..82f864df00 100644 --- a/src/deps/uws/UpgradedDuplex.zig +++ b/src/deps/uws/UpgradedDuplex.zig @@ -474,7 +474,7 @@ pub fn deinit(this: *UpgradedDuplex) void { const log = bun.Output.scoped(.UpgradedDuplex, .visible); -const SSLWrapper = @import("../../bun.js/api/bun/ssl_wrapper.zig").SSLWrapper; +const SSLWrapper = @import("../../buntime/api/bun/ssl_wrapper.zig").SSLWrapper; const bun = @import("bun"); const jsc = bun.jsc; diff --git a/src/deps/uws/WindowsNamedPipe.zig b/src/deps/uws/WindowsNamedPipe.zig index 9a2eee1d9d..0ca125d948 100644 --- a/src/deps/uws/WindowsNamedPipe.zig +++ b/src/deps/uws/WindowsNamedPipe.zig @@ -578,7 +578,7 @@ const WrapperType = SSLWrapper(*WindowsNamedPipe); const log = bun.Output.scoped(.WindowsNamedPipe, .visible); const std = @import("std"); -const SSLWrapper = @import("../../bun.js/api/bun/ssl_wrapper.zig").SSLWrapper; +const SSLWrapper = @import("../../buntime/api/bun/ssl_wrapper.zig").SSLWrapper; const bun = @import("bun"); const Environment = bun.Environment; diff --git a/src/glob/GlobWalker.zig b/src/glob/GlobWalker.zig index 2fda733a46..a2130c1bc1 100644 --- a/src/glob/GlobWalker.zig +++ b/src/glob/GlobWalker.zig @@ -1235,8 +1235,8 @@ pub fn GlobWalker_( if (pattern.syntax_hint == .Double) { // Stop the double wildcard if it matches the pattern afer it // Example: src/**/*.js - // - Matches: src/bun.js/ - // src/bun.js/foo/bar/baz.js + // - Matches: src/buntime/ + // src/buntime/foo/bar/baz.js if (!is_last and this.matchPatternImpl(next_pattern.?, entry_name)) { // But if the next pattern is the last // component, it should match and propagate the @@ -1683,7 +1683,7 @@ pub fn matchWildcardLiteral(literal: []const u8, path: []const u8) bool { return std.mem.eql(u8, literal, path); } -const DirIterator = @import("../bun.js/node/dir_iterator.zig"); +const DirIterator = @import("../buntime/node/dir_iterator.zig"); const ResolvePath = @import("../resolver/resolve_path.zig"); const bun = @import("bun"); diff --git a/src/http/ProxyTunnel.zig b/src/http/ProxyTunnel.zig index de197e4047..719d25d171 100644 --- a/src/http/ProxyTunnel.zig +++ b/src/http/ProxyTunnel.zig @@ -378,7 +378,7 @@ fn deinit(this: *ProxyTunnel) void { const log = bun.Output.scoped(.http_proxy_tunnel, .visible); const HTTPCertError = @import("./HTTPCertError.zig"); -const SSLWrapper = @import("../bun.js/api/bun/ssl_wrapper.zig").SSLWrapper; +const SSLWrapper = @import("../buntime/api/bun/ssl_wrapper.zig").SSLWrapper; const bun = @import("bun"); const jsc = bun.jsc; diff --git a/src/js/AGENTS.md b/src/js/AGENTS.md deleted file mode 120000 index 681311eb9c..0000000000 --- a/src/js/AGENTS.md +++ /dev/null @@ -1 +0,0 @@ -CLAUDE.md \ No newline at end of file diff --git a/src/js/AGENTS.md b/src/js/AGENTS.md new file mode 100644 index 0000000000..e34bbfc526 --- /dev/null +++ b/src/js/AGENTS.md @@ -0,0 +1,106 @@ +# JavaScript Builtins in Bun + +Write JS builtins for Bun's Node.js compatibility and APIs. Run `bun bd` after changes. + +## Directory Structure + +- `builtins/` - Individual functions (`*CodeGenerator(vm)` in C++) +- `node/` - Node.js modules (`node:fs`, `node:path`) +- `bun/` - Bun modules (`bun:ffi`, `bun:sqlite`) +- `thirdparty/` - NPM replacements (`ws`, `node-fetch`) +- `internal/` - Internal modules + +## Writing Modules + +Modules are NOT ES modules: + +```typescript +const EventEmitter = require("node:events"); // String literals only +const { validateFunction } = require("internal/validators"); + +export default { + myFunction() { + if (!$isCallable(callback)) { + throw $ERR_INVALID_ARG_TYPE("cb", "function", callback); + } + }, +}; +``` + +## Writing Builtin Functions + +```typescript +export function initializeReadableStream( + this: ReadableStream, + underlyingSource, + strategy, +) { + if (!$isObject(underlyingSource)) { + throw new TypeError( + "ReadableStream constructor takes an object as first argument", + ); + } + $putByIdDirectPrivate(this, "state", $streamReadable); +} +``` + +C++ access: + +```cpp +object->putDirectBuiltinFunction(vm, globalObject, identifier, + readableStreamInitializeReadableStreamCodeGenerator(vm), 0); +``` + +## $ Globals and Special Syntax + +**CRITICAL**: Use `.$call` and `.$apply`, never `.call` or `.apply`: + +```typescript +// ✗ WRONG - User can tamper +callback.call(undefined, arg1); +fn.apply(undefined, args); + +// ✓ CORRECT - Tamper-proof +callback.$call(undefined, arg1); +fn.$apply(undefined, args); + +// $ prefix for private APIs +const arr = $Array.from(...); // Private globals +map.$set(key, value); // Private methods +const newArr = $newArrayWithSize(5); // JSC intrinsics +$debug("Module loaded:", name); // Debug (stripped in release) +$assert(condition, "message"); // Assertions (stripped in release) +``` + +**Platform detection**: `process.platform` and `process.arch` are inlined and dead-code eliminated + +## Validation and Errors + +```typescript +const { validateFunction } = require("internal/validators"); + +function myAPI(callback) { + if (!$isCallable(callback)) { + throw $ERR_INVALID_ARG_TYPE("callback", "function", callback); + } +} +``` + +## Build Process + +`Source TS/JS → Preprocessor → Bundler → C++ Headers` + +1. Assign numeric IDs (A-Z sorted) +2. Replace `$` with `__intrinsic__`, `require("x")` with `$requireId(n)` +3. Bundle, convert `export default` to `return` +4. Replace `__intrinsic__` with `@`, inline into C++ + +ModuleLoader.zig loads modules by numeric ID via `InternalModuleRegistry.cpp`. + +## Key Rules + +- Use `.$call`/`.$apply` not `.call`/`.apply` +- String literal `require()` only +- Export via `export default {}` +- Use JSC intrinsics for performance +- Run `bun bd` after changes diff --git a/src/js/node/dns.ts b/src/js/node/dns.ts index 03ea35aa8b..7d725125cf 100644 --- a/src/js/node/dns.ts +++ b/src/js/node/dns.ts @@ -66,14 +66,14 @@ function setServers(servers) { } const getRuntimeDefaultResultOrderOption = $newZigFunction( - "bun.js/api/bun/dns.zig", + "buntime/api/bun/dns.zig", "Resolver.getRuntimeDefaultResultOrderOption", 0, ); function newResolver(options) { if (!newResolver.zig) { - newResolver.zig = $newZigFunction("bun.js/api/bun/dns.zig", "Resolver.newResolver", 1); + newResolver.zig = $newZigFunction("buntime/api/bun/dns.zig", "Resolver.newResolver", 1); } return newResolver.zig(options); } diff --git a/src/js/node/fs.ts b/src/js/node/fs.ts index ae9a97eb1c..178df3d02b 100644 --- a/src/js/node/fs.ts +++ b/src/js/node/fs.ts @@ -732,7 +732,7 @@ const realpathSync: typeof import("node:fs").realpathSync = if (typeof options === "string") encoding = options; else encoding = options?.encoding; if (encoding) { - (assertEncodingForWindows ?? $newZigFunction("bun.js/node/types.zig", "jsAssertEncodingValid", 1))( + (assertEncodingForWindows ?? $newZigFunction("buntime/node/types.zig", "jsAssertEncodingValid", 1))( encoding, ); } @@ -854,7 +854,7 @@ const realpath: typeof import("node:fs").realpath = if (typeof options === "string") encoding = options; else encoding = options?.encoding; if (encoding) { - (assertEncodingForWindows ?? $newZigFunction("bun.js/node/types.zig", "jsAssertEncodingValid", 1))( + (assertEncodingForWindows ?? $newZigFunction("buntime/node/types.zig", "jsAssertEncodingValid", 1))( encoding, ); } diff --git a/src/js/private.d.ts b/src/js/private.d.ts index 7092f3f1d4..b64c7d1bb9 100644 --- a/src/js/private.d.ts +++ b/src/js/private.d.ts @@ -201,7 +201,7 @@ interface JSCommonJSModule { * codegen. Passing a template parameter will break codegen. Prefer `$cpp(...) * as Foo` instead. * - * Binding files are located in `src/bun.js/bindings` + * Binding files are located in `src/buntime/bindings` * * @see {@link $zig} for native zig bindings. * @see `src/codegen/replacements.ts` for the script that performs replacement of this funciton. @@ -220,7 +220,7 @@ declare function $cpp(filename: NativeFilenameCPP, symbol: string): T; * codegen. Passing a template parameter will break codegen. Prefer `$zig(...) * as Foo` instead. * - * Binding files are located in `src/bun.js/bindings` + * Binding files are located in `src/buntime/bindings` * * @see {@link $cpp} for native c++ bindings. * @see `src/codegen/replacements.ts` for the script that performs replacement of this funciton. diff --git a/src/main_test.zig b/src/main_test.zig index e6edd180bf..1ba876e00a 100644 --- a/src/main_test.zig +++ b/src/main_test.zig @@ -194,7 +194,7 @@ comptime { _ = bun.bun_js.Bun__onRejectEntryPointResult; _ = bun.bun_js.Bun__onResolveEntryPointResult; - _ = &@import("./bun.js/node/buffer.zig").BufferVectorized; + _ = &@import("./buntime/node/buffer.zig").BufferVectorized; @import("./cli/upgrade_command.zig").@"export"(); @import("./cli/test_command.zig").@"export"(); } diff --git a/src/napi/napi.zig b/src/napi/napi.zig index 3f8447ed3d..342d083b0b 100644 --- a/src/napi/napi.zig +++ b/src/napi/napi.zig @@ -2498,7 +2498,7 @@ pub fn fixDeadCodeElimination() void { std.mem.doNotOptimizeAway(&@field(posix_platform_specific_v8_apis, decl.name)); } - std.mem.doNotOptimizeAway(&@import("../bun.js/node/buffer.zig").BufferVectorized.fill); + std.mem.doNotOptimizeAway(&@import("../buntime/node/buffer.zig").BufferVectorized.fill); } pub const NapiFinalizerTask = struct { diff --git a/src/options.zig b/src/options.zig index 80fc687768..e983e386ba 100644 --- a/src/options.zig +++ b/src/options.zig @@ -613,7 +613,7 @@ pub const WindowsOptions = struct { // The max integer value in this enum can only be appended to. // It has dependencies in several places: // - bun-native-bundler-plugin-api/bundler_plugin.h -// - src/bun.js/bindings/headers-handwritten.h +// - src/buntime/bindings/headers-handwritten.h pub const Loader = enum(u8) { jsx = 0, js = 1, diff --git a/src/pool.zig b/src/pool.zig index 37c5eddeca..1bff31d8b2 100644 --- a/src/pool.zig +++ b/src/pool.zig @@ -247,7 +247,7 @@ pub fn ObjectPool( fn destroyNode(node: *LinkedList.Node) void { // TODO: Once a generic-allocator version of `BabyList` is added, change - // `ByteListPool` in `bun.js/webcore.zig` to use a managed default-allocator + // `ByteListPool` in `buntime/webcore.zig` to use a managed default-allocator // `ByteList` instead, and then get rid of the special-casing for `ByteList` // here. This will fix a memory leak. if (comptime Type != bun.ByteList) { diff --git a/src/s3/client.zig b/src/s3/client.zig index 6adf666a4a..3a0282b1b6 100644 --- a/src/s3/client.zig +++ b/src/s3/client.zig @@ -333,7 +333,7 @@ pub const S3UploadStreamWrapper = struct { const RefCount = bun.ptr.RefCount(@This(), "ref_count", deinit, .{}); pub const ref = RefCount.ref; pub const deref = RefCount.deref; - pub const ResumableSink = @import("../bun.js/webcore/ResumableSink.zig").ResumableS3UploadSink; + pub const ResumableSink = @import("../buntime/webcore/ResumableSink.zig").ResumableS3UploadSink; const log = bun.Output.scoped(.S3UploadStream, .visible); ref_count: RefCount, diff --git a/src/shell/subproc.zig b/src/shell/subproc.zig index 0e28c43ec6..095c0f1af5 100644 --- a/src/shell/subproc.zig +++ b/src/shell/subproc.zig @@ -1,4 +1,4 @@ -// const IPC = @import("../bun.js/ipc.zig"); +// const IPC = @import("../buntime/ipc.zig"); pub const Stdio = util.Stdio; // pub const ShellSubprocess = NewShellSubprocess(.js); diff --git a/src/tsconfig.json b/src/tsconfig.json index 9fd93876cd..56c412ab1b 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -10,5 +10,5 @@ }, "include": ["**/*.ts", "**/*.tsx"], // separate projects have extra settings that only apply in those scopes - "exclude": ["js", "bake", "init", "create", "bun.js/bindings/libuv"] + "exclude": ["js", "bake", "init", "create", "buntime/bindings/libuv"] } diff --git a/src/unit_test.zig b/src/unit_test.zig index 928658fa0f..d1bd6b14f8 100644 --- a/src/unit_test.zig +++ b/src/unit_test.zig @@ -1,6 +1,6 @@ test { _ = @import("./shell/braces.zig"); - _ = @import("./bun.js/node/assert/myers_diff.zig"); + _ = @import("./buntime/node/assert/myers_diff.zig"); } test "basic string usage" { diff --git a/src/valkey/js_valkey.zig b/src/valkey/js_valkey.zig index 01bdd886d0..44457c3b0b 100644 --- a/src/valkey/js_valkey.zig +++ b/src/valkey/js_valkey.zig @@ -1656,7 +1656,7 @@ const debug = bun.Output.scoped(.RedisJS, .visible); const Command = @import("./ValkeyCommand.zig"); const std = @import("std"); const valkey = @import("./valkey.zig"); -const URL = @import("../bun.js/bindings/URL.zig").URL; +const URL = @import("../buntime/bindings/URL.zig").URL; const protocol = @import("./valkey_protocol.zig"); const RedisError = protocol.RedisError; diff --git a/src/windows.zig b/src/windows.zig index 1625ae89d0..e26ba5a53d 100644 --- a/src/windows.zig +++ b/src/windows.zig @@ -3784,7 +3784,7 @@ const watcherChildEnv: [:0]const u16 = bun.strings.toUTF16Literal("_BUN_WATCHER_ // this was randomly generated - we need to avoid using a common exit code that might be used by the script itself pub const watcher_reload_exit: DWORD = 3224497970; -pub const spawn = @import("./bun.js/api/bun/spawn.zig").PosixSpawn; +pub const spawn = @import("./buntime/api/bun/spawn.zig").PosixSpawn; pub fn isWatcherChild() bool { var buf: [1]u16 = undefined; diff --git a/test/internal/ban-words.test.ts b/test/internal/ban-words.test.ts index 1241adf028..f62a776a3d 100644 --- a/test/internal/ban-words.test.ts +++ b/test/internal/ban-words.test.ts @@ -145,7 +145,7 @@ describe("banned words", () => { }); describe("required words", () => { - const expectDir = "src/bun.js/test/expect"; + const expectDir = "src/buntime/test/expect"; const files = readdirSync(expectDir); for (const file of files) { if (!file.endsWith(".zig") || file.startsWith(".") || file === "toHaveReturnedTimes.zig") continue; diff --git a/test/js/bun/util/zstd.test.ts b/test/js/bun/util/zstd.test.ts index ce963ef833..fd4f287d16 100644 --- a/test/js/bun/util/zstd.test.ts +++ b/test/js/bun/util/zstd.test.ts @@ -102,7 +102,7 @@ describe("Zstandard compression", async () => { "run:linux": 'docker run --rm -v "$PWD:/root/bun/" -w /root/bun ghcr.io/oven-sh/bun-development-docker-image', "css-properties": "bun run src/css/properties/generate_properties.ts", - "uv-posix-stubs": "bun run src/bun.js/bindings/libuv/generate_uv_posix_stubs.ts", + "uv-posix-stubs": "bun run src/buntime/bindings/libuv/generate_uv_posix_stubs.ts", "bump": "bun ./scripts/bump.ts", "typecheck": "tsc --noEmit && cd test && bun run typecheck", "fmt": "bun run prettier", diff --git a/test/napi/uv.test.ts b/test/napi/uv.test.ts index 319d481a0b..83b0f919e6 100644 --- a/test/napi/uv.test.ts +++ b/test/napi/uv.test.ts @@ -1,7 +1,7 @@ import { afterEach, beforeAll, describe, expect, test } from "bun:test"; import { bunEnv, bunExe, isWindows, makeTree, tempDirWithFiles } from "harness"; import path from "node:path"; -import { symbols, test_skipped } from "../../src/bun.js/bindings/libuv/generate_uv_posix_stubs_constants"; +import { symbols, test_skipped } from "../../src/buntime/bindings/libuv/generate_uv_posix_stubs_constants"; import source from "./uv-stub-stuff/uv_impl.c"; const symbols_to_test = symbols.filter(s => !test_skipped.includes(s)); @@ -52,7 +52,7 @@ describe.if(!isWindows)("uv stubs", () => { process.chdir(tempdir); - const libuvDir = path.join(__dirname, "../../src/bun.js/bindings/libuv"); + const libuvDir = path.join(__dirname, "../../src/buntime/bindings/libuv"); await Bun.$`cp -R ${libuvDir} ${path.join(tempdir, "libuv")}`; await Bun.$`${bunExe()} i && ${bunExe()} build:napi`.env(bunEnv).cwd(tempdir); diff --git a/test/napi/uv_stub.test.ts b/test/napi/uv_stub.test.ts index 8e635ed887..ac41b79dcd 100644 --- a/test/napi/uv_stub.test.ts +++ b/test/napi/uv_stub.test.ts @@ -1,7 +1,7 @@ import { afterEach, beforeAll, describe, expect, test } from "bun:test"; import { bunEnv, bunExe, isWindows, makeTree, tempDirWithFiles } from "harness"; import path from "node:path"; -import { symbols, test_skipped } from "../../src/bun.js/bindings/libuv/generate_uv_posix_stubs_constants"; +import { symbols, test_skipped } from "../../src/buntime/bindings/libuv/generate_uv_posix_stubs_constants"; import goodSource from "./uv-stub-stuff/good_plugin.c"; import source from "./uv-stub-stuff/plugin.c"; @@ -64,7 +64,7 @@ describe.if(!isWindows)("uv stubs", () => { process.chdir(tempdir); - const libuvDir = path.join(__dirname, "../../src/bun.js/bindings/libuv"); + const libuvDir = path.join(__dirname, "../../src/buntime/bindings/libuv"); await Bun.$`cp -R ${libuvDir} ${path.join(tempdir, "libuv")}`; await Bun.$`${bunExe()} i && ${bunExe()} build:napi`.env(bunEnv).cwd(tempdir); console.log("tempdir:", tempdir);