@voidzero-dev/vite-plus-core 0.1.16-alpha.0 → 0.1.16-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/LICENSE +5726 -0
  2. package/dist/rolldown/cli.mjs +6 -6
  3. package/dist/rolldown/config.d.mts +1 -1
  4. package/dist/rolldown/config.mjs +2 -2
  5. package/dist/rolldown/experimental-index.d.mts +4 -4
  6. package/dist/rolldown/experimental-index.mjs +8 -8
  7. package/dist/rolldown/filter-index.d.mts +1 -1
  8. package/dist/rolldown/index.d.mts +2 -2
  9. package/dist/rolldown/index.mjs +4 -4
  10. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  11. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  12. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  13. package/dist/rolldown/parse-ast-index.mjs +1 -1
  14. package/dist/rolldown/plugins-index.d.mts +3 -3
  15. package/dist/rolldown/plugins-index.mjs +2 -2
  16. package/dist/rolldown/shared/{binding-CYVfiOV3.d.mts → binding-DUEnSb0A.d.mts} +10 -4
  17. package/dist/rolldown/shared/{bindingify-input-options-BCAF6TcN.mjs → bindingify-input-options-BGxmrQWF.mjs} +47 -4
  18. package/dist/rolldown/shared/{constructors-D3ZqEbT5.mjs → constructors-ChVDbP6o.mjs} +1 -1
  19. package/dist/rolldown/shared/{constructors-DRe7RuMC.d.mts → constructors-DYemMpPL.d.mts} +2 -2
  20. package/dist/rolldown/shared/{define-config-BkRKRADp.d.mts → define-config-DhJZwTRw.d.mts} +1 -1
  21. package/dist/rolldown/shared/{error-BLhcSyeg.mjs → error-DBGOT6sf.mjs} +1 -1
  22. package/dist/rolldown/shared/{load-config-CFr1Adp9.mjs → load-config-BGYZWvSJ.mjs} +1 -1
  23. package/dist/rolldown/shared/{normalize-string-or-regex-CCT059Zu.mjs → normalize-string-or-regex-BzTP-qJS.mjs} +1 -1
  24. package/dist/rolldown/shared/{parse-tRtSyZ-b.mjs → parse-CDR7akDs.mjs} +3 -3
  25. package/dist/rolldown/shared/{resolve-tsconfig-DJjTYbYr.mjs → resolve-tsconfig-BD5XUCWz.mjs} +2 -2
  26. package/dist/rolldown/shared/{rolldown-BMLc9elZ.mjs → rolldown-Dx_xtyvN.mjs} +1 -1
  27. package/dist/rolldown/shared/{rolldown-build-CxsB9UaT.mjs → rolldown-build-KavLbTK7.mjs} +6 -6
  28. package/dist/rolldown/shared/{transform-C_gBfjMR.d.mts → transform-Kz3D2LbX.d.mts} +1 -1
  29. package/dist/rolldown/shared/{watch-DJOwXDOi.mjs → watch-VmIe8ZAg.mjs} +4 -4
  30. package/dist/rolldown/utils-index.d.mts +3 -3
  31. package/dist/rolldown/utils-index.mjs +5 -5
  32. package/dist/tsdown/{build-DU-BFLB1-BP6FOpRZ.js → build-DU-BFLB1-B3WPwpFM.js} +12 -12
  33. package/dist/tsdown/build-DU-BFLB1-DhRv5Umu.js +2 -0
  34. package/dist/tsdown/{debug-BmAPbhgA-BPQhbB8P.js → debug-BmAPbhgA-ClibQzj1.js} +2 -2
  35. package/dist/tsdown/{detect-h8ZFBH96-C_8f1Pj6.js → detect-h8ZFBH96-CQBPtOHi.js} +1 -1
  36. package/dist/tsdown/{dist-B98oBzil.js → dist-SqMQ6Q2q.js} +4 -4
  37. package/dist/tsdown/{filename-DQnUJlio-B_23lF2M.js → filename-DQnUJlio-smVMy5Ot.js} +1 -1
  38. package/dist/tsdown/index-types.d.ts +190 -190
  39. package/dist/tsdown/index.js +4 -4
  40. package/dist/tsdown/{main-CYOGr7IM.js → main-CC95VQtR.js} +3 -3
  41. package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +1 -0
  42. package/dist/tsdown/run.js +3 -3
  43. package/dist/tsdown/{tsc-Cabpo8gE.js → tsc-Bq9H2v3f.js} +2 -2
  44. package/dist/tsdown/{tsc-context-CltQOpVo.js → tsc-context-BEcA6aUv.js} +1 -1
  45. package/dist/vite/client/client.mjs +4 -4
  46. package/dist/vite/node/chunks/dist2.js +6 -0
  47. package/dist/vite/node/index.d.ts +2 -2
  48. package/package.json +11 -11
  49. package/dist/tsdown/build-DU-BFLB1-BCro_0va.js +0 -2
  50. /package/dist/rolldown/shared/{binding-CkWPGrSM.mjs → binding-Rc5vBspi.mjs} +0 -0
@@ -1,9 +1,9 @@
1
- import { n as onExit, t as watch } from "./shared/watch-DJOwXDOi.mjs";
2
- import { C as version, S as description } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
1
+ import { n as onExit, t as watch } from "./shared/watch-VmIe8ZAg.mjs";
2
+ import { C as version, S as description } from "./shared/bindingify-input-options-BGxmrQWF.mjs";
3
3
  import { t as arraify } from "./shared/misc-DJYbNKZX.mjs";
4
- import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-CxsB9UaT.mjs";
5
- import { t as rolldown } from "./shared/rolldown-BMLc9elZ.mjs";
6
- import { t as loadConfig } from "./shared/load-config-CFr1Adp9.mjs";
4
+ import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-KavLbTK7.mjs";
5
+ import { t as rolldown } from "./shared/rolldown-Dx_xtyvN.mjs";
6
+ import { t as loadConfig } from "./shared/load-config-BGYZWvSJ.mjs";
7
7
  import path from "node:path";
8
8
  import process$1 from "node:process";
9
9
  import { performance } from "node:perf_hooks";
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
847
847
  };
848
848
  }
849
849
  //#endregion
850
- //#region \0@oxc-project+runtime@0.122.0/helpers/usingCtx.js
850
+ //#region \0@oxc-project+runtime@0.123.0/helpers/usingCtx.js
851
851
  function _usingCtx() {
852
852
  var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
853
853
  var n = Error();
@@ -1,4 +1,4 @@
1
- import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-BkRKRADp.mjs";
1
+ import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-DhJZwTRw.mjs";
2
2
 
3
3
  //#region src/utils/load-config.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { x as VERSION } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
1
+ import { x as VERSION } from "./shared/bindingify-input-options-BGxmrQWF.mjs";
2
2
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
3
- import { t as loadConfig } from "./shared/load-config-CFr1Adp9.mjs";
3
+ import { t as loadConfig } from "./shared/load-config-BGYZWvSJ.mjs";
4
4
  export { VERSION, defineConfig, loadConfig };
@@ -1,7 +1,7 @@
1
- import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-CYVfiOV3.mjs";
2
- import { Jt as freeExternalMemory, Kt as RolldownOutput, Lt as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, st as NormalizedOutputOptions } from "./shared/define-config-BkRKRADp.mjs";
3
- import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-C_gBfjMR.mjs";
4
- import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DRe7RuMC.mjs";
1
+ import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-DUEnSb0A.mjs";
2
+ import { Jt as freeExternalMemory, Kt as RolldownOutput, Lt as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, st as NormalizedOutputOptions } from "./shared/define-config-DhJZwTRw.mjs";
3
+ import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-Kz3D2LbX.mjs";
4
+ import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DYemMpPL.mjs";
5
5
 
6
6
  //#region src/api/dev/dev-options.d.ts
7
7
  type DevOnHmrUpdates = (result: Error | {
@@ -1,11 +1,11 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-CkWPGrSM.mjs";
2
- import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-CCT059Zu.mjs";
3
- import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
4
- import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-CxsB9UaT.mjs";
5
- import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-BLhcSyeg.mjs";
6
- import { n as parseSync$1, t as parse$1 } from "./shared/parse-tRtSyZ-b.mjs";
7
- import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-D3ZqEbT5.mjs";
8
- import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-DJjTYbYr.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-Rc5vBspi.mjs";
2
+ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-BzTP-qJS.mjs";
3
+ import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BGxmrQWF.mjs";
4
+ import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-KavLbTK7.mjs";
5
+ import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-DBGOT6sf.mjs";
6
+ import { n as parseSync$1, t as parse$1 } from "./shared/parse-CDR7akDs.mjs";
7
+ import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-ChVDbP6o.mjs";
8
+ import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-BD5XUCWz.mjs";
9
9
  import { pathToFileURL } from "node:url";
10
10
  //#region src/api/dev/dev-engine.ts
11
11
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,4 +1,4 @@
1
- import { M as withFilter } from "./shared/define-config-BkRKRADp.mjs";
1
+ import { M as withFilter } from "./shared/define-config-DhJZwTRw.mjs";
2
2
 
3
3
  //#region ../pluginutils/dist/filter/composable-filters.d.ts
4
4
  type StringOrRegExp = string | RegExp;
@@ -1,4 +1,4 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-C6h4g8dA.mjs";
2
- import { z as PreRenderedChunk } from "./shared/binding-CYVfiOV3.mjs";
3
- import { $ as GeneralHookFilter, A as SourceDescription, At as CodeSplittingOptions, B as TreeshakingOptions, Bt as PartialNull, C as PartialResolvedId, Ct as AddonFunction, D as ResolvedId, Dt as ChunkingContext, E as ResolveIdResult, Et as ChunkFileNamesFunction, F as VERSION, Ft as MinifyOptions, G as EmittedPrebuiltChunk, Gt as RenderedModule, H as EmittedAsset, Ht as OutputAsset, I as BundleError, It as ModuleFormat, J as PluginContextResolveOptions, K as GetModuleInfo, Kt as RolldownOutput, L as ExistingRawSourceMap, Lt as OutputOptions, Mt as GeneratedCodeOptions, Nt as GeneratedCodePreset, O as RolldownPlugin, Ot as CodeSplittingGroup, P as RUNTIME_MODULE_ID, Pt as GlobalsFunction, Q as PluginContextMeta, R as SourceMapInput, Rt as PreRenderedAsset, S as ParallelPluginHooks, St as build, T as ResolveIdExtraOptions, Tt as AdvancedChunksOptions, U as EmittedChunk, Ut as OutputChunk, V as TransformPluginContext, W as EmittedFile, Wt as RenderedChunk, Xt as SourcemapIgnoreListOption, Y as DefineParallelPluginResult, Yt as ModuleInfo, Z as MinimalPluginContext, _ as ImportKind, _t as RolldownWatcherWatcherEventMap, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as RolldownBuild, c as InputOptions, ct as NormalizedInputOptions, d as WatcherFileWatcherOptions, dt as LoggingFunction, et as HookFilter, f as WatcherOptions, ft as WarningHandlerWithDefault, g as HookFilterExtension, gt as RolldownWatcherEvent, h as FunctionPluginHooks, ht as RolldownWatcher, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as CommentsOptions, k as RolldownPluginOption, kt as CodeSplittingNameFunction, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as watch, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as RolldownMagicString, q as PluginContext, qt as SourceMap, r as defineConfig, rt as RolldownDirectoryEntry, s as InputOption, st as NormalizedOutputOptions, t as ConfigExport, tt as ModuleTypeFilter, u as OptimizationOptions, ut as ChecksOptions, v as LoadResult, vt as WatchOptions, w as Plugin, wt as AdvancedChunksGroup, x as ObjectHook, xt as BuildOptions, y as ModuleOptions, yt as rolldown, z as OutputBundle } from "./shared/define-config-BkRKRADp.mjs";
2
+ import { z as PreRenderedChunk } from "./shared/binding-DUEnSb0A.mjs";
3
+ import { $ as GeneralHookFilter, A as SourceDescription, At as CodeSplittingOptions, B as TreeshakingOptions, Bt as PartialNull, C as PartialResolvedId, Ct as AddonFunction, D as ResolvedId, Dt as ChunkingContext, E as ResolveIdResult, Et as ChunkFileNamesFunction, F as VERSION, Ft as MinifyOptions, G as EmittedPrebuiltChunk, Gt as RenderedModule, H as EmittedAsset, Ht as OutputAsset, I as BundleError, It as ModuleFormat, J as PluginContextResolveOptions, K as GetModuleInfo, Kt as RolldownOutput, L as ExistingRawSourceMap, Lt as OutputOptions, Mt as GeneratedCodeOptions, Nt as GeneratedCodePreset, O as RolldownPlugin, Ot as CodeSplittingGroup, P as RUNTIME_MODULE_ID, Pt as GlobalsFunction, Q as PluginContextMeta, R as SourceMapInput, Rt as PreRenderedAsset, S as ParallelPluginHooks, St as build, T as ResolveIdExtraOptions, Tt as AdvancedChunksOptions, U as EmittedChunk, Ut as OutputChunk, V as TransformPluginContext, W as EmittedFile, Wt as RenderedChunk, Xt as SourcemapIgnoreListOption, Y as DefineParallelPluginResult, Yt as ModuleInfo, Z as MinimalPluginContext, _ as ImportKind, _t as RolldownWatcherWatcherEventMap, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as RolldownBuild, c as InputOptions, ct as NormalizedInputOptions, d as WatcherFileWatcherOptions, dt as LoggingFunction, et as HookFilter, f as WatcherOptions, ft as WarningHandlerWithDefault, g as HookFilterExtension, gt as RolldownWatcherEvent, h as FunctionPluginHooks, ht as RolldownWatcher, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as CommentsOptions, k as RolldownPluginOption, kt as CodeSplittingNameFunction, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as watch, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as RolldownMagicString, q as PluginContext, qt as SourceMap, r as defineConfig, rt as RolldownDirectoryEntry, s as InputOption, st as NormalizedOutputOptions, t as ConfigExport, tt as ModuleTypeFilter, u as OptimizationOptions, ut as ChecksOptions, v as LoadResult, vt as WatchOptions, w as Plugin, wt as AdvancedChunksGroup, x as ObjectHook, xt as BuildOptions, y as ModuleOptions, yt as rolldown, z as OutputBundle } from "./shared/define-config-DhJZwTRw.mjs";
4
4
  export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BufferEncoding, BuildOptions, BundleError, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, CodeSplittingGroup, CodeSplittingNameFunction, CodeSplittingOptions, CommentsOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedChunk, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, ExternalOptionFunction, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PluginContextResolveOptions, PreRenderedAsset, PreRenderedChunk, RUNTIME_MODULE_ID, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownError, RolldownError as RollupError, RolldownFileStats, RolldownFsModule, RolldownLog, RolldownLog as RollupLog, RolldownLogWithString, RolldownLogWithString as RollupLogWithString, RolldownMagicString, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RolldownWatcherWatcherEventMap, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformOptions, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherFileWatcherOptions, WatcherOptions, build, defineConfig, rolldown, watch };
@@ -1,7 +1,7 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-CkWPGrSM.mjs";
2
- import { n as onExit, t as watch } from "./shared/watch-DJOwXDOi.mjs";
3
- import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
4
- import { t as rolldown } from "./shared/rolldown-BMLc9elZ.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-Rc5vBspi.mjs";
2
+ import { n as onExit, t as watch } from "./shared/watch-VmIe8ZAg.mjs";
3
+ import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BGxmrQWF.mjs";
4
+ import { t as rolldown } from "./shared/rolldown-Dx_xtyvN.mjs";
5
5
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
6
6
  import { isMainThread } from "node:worker_threads";
7
7
  //#region src/setup.ts
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-CkWPGrSM.mjs";
2
- import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BCAF6TcN.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-Rc5vBspi.mjs";
2
+ import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BGxmrQWF.mjs";
3
3
  import { parentPort, workerData } from "node:worker_threads";
4
4
  //#region src/parallel-plugin-worker.ts
5
5
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,4 +1,4 @@
1
- import { w as Plugin, zt as MaybePromise } from "./shared/define-config-BkRKRADp.mjs";
1
+ import { w as Plugin, zt as MaybePromise } from "./shared/define-config-DhJZwTRw.mjs";
2
2
 
3
3
  //#region src/plugin/parallel-plugin-implementation.d.ts
4
4
  type ParallelPluginImplementation = Plugin;
@@ -1,4 +1,4 @@
1
- import { L as ParseResult$1, R as ParserOptions$1 } from "./shared/binding-CYVfiOV3.mjs";
1
+ import { L as ParseResult$1, R as ParserOptions$1 } from "./shared/binding-DUEnSb0A.mjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
 
4
4
  //#region src/parse-ast-index.d.ts
@@ -1,5 +1,5 @@
1
1
  import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
2
- import { n as parseSync, t as parse } from "./shared/parse-tRtSyZ-b.mjs";
2
+ import { n as parseSync, t as parse } from "./shared/parse-CDR7akDs.mjs";
3
3
  //#region src/parse-ast-index.ts
4
4
  function wrap(result, filename, sourceText) {
5
5
  if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
@@ -1,6 +1,6 @@
1
- import { m as BindingReplacePluginConfig } from "./shared/binding-CYVfiOV3.mjs";
2
- import { N as BuiltinPlugin } from "./shared/define-config-BkRKRADp.mjs";
3
- import { t as esmExternalRequirePlugin } from "./shared/constructors-DRe7RuMC.mjs";
1
+ import { m as BindingReplacePluginConfig } from "./shared/binding-DUEnSb0A.mjs";
2
+ import { N as BuiltinPlugin } from "./shared/define-config-DhJZwTRw.mjs";
3
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-DYemMpPL.mjs";
4
4
 
5
5
  //#region src/builtin-plugin/replace-plugin.d.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-CCT059Zu.mjs";
2
- import { t as esmExternalRequirePlugin } from "./shared/constructors-D3ZqEbT5.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-BzTP-qJS.mjs";
2
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-ChVDbP6o.mjs";
3
3
  //#region src/builtin-plugin/replace-plugin.ts
4
4
  /**
5
5
  * Replaces targeted strings in files while bundling.
@@ -1,4 +1,4 @@
1
- import * as _oxc_project_types0 from "@oxc-project/types";
1
+ import * as _$_oxc_project_types0 from "@oxc-project/types";
2
2
 
3
3
  //#region src/binding.d.cts
4
4
  type MaybePromise<T> = T | Promise<T>;
@@ -199,7 +199,7 @@ interface OxcError {
199
199
  }
200
200
  type Severity = 'Error' | 'Warning' | 'Advice';
201
201
  declare class ParseResult {
202
- get program(): _oxc_project_types0.Program;
202
+ get program(): _$_oxc_project_types0.Program;
203
203
  get module(): EcmaScriptModule;
204
204
  get comments(): Array<Comment>;
205
205
  get errors(): Array<OxcError>;
@@ -1222,13 +1222,13 @@ declare class BindingMagicString {
1222
1222
  prependRight(index: number, content: string): this;
1223
1223
  appendLeft(index: number, content: string): this;
1224
1224
  appendRight(index: number, content: string): this;
1225
- overwrite(start: number, end: number, content: string): this;
1225
+ overwrite(start: number, end: number, content: string, options?: BindingOverwriteOptions | undefined | null): this;
1226
1226
  toString(): string;
1227
1227
  hasChanged(): boolean;
1228
1228
  length(): number;
1229
1229
  isEmpty(): boolean;
1230
1230
  remove(start: number, end: number): this;
1231
- update(start: number, end: number, content: string): this;
1231
+ update(start: number, end: number, content: string, options?: BindingUpdateOptions | undefined | null): this;
1232
1232
  relocate(start: number, end: number, to: number): this;
1233
1233
  /**
1234
1234
  * Alias for `relocate` to match the original magic-string API.
@@ -1618,6 +1618,9 @@ interface BindingModules {
1618
1618
  values: Array<BindingRenderedModule>;
1619
1619
  keys: Array<string>;
1620
1620
  }
1621
+ interface BindingOverwriteOptions {
1622
+ contentOnly?: boolean;
1623
+ }
1621
1624
  interface BindingPluginContextResolveOptions {
1622
1625
  /**
1623
1626
  * - `import-statement`: `import { foo } from './lib.js';`
@@ -1721,6 +1724,9 @@ interface BindingTsconfigResult {
1721
1724
  tsconfig: BindingTsconfig;
1722
1725
  tsconfigFilePaths: Array<string>;
1723
1726
  }
1727
+ interface BindingUpdateOptions {
1728
+ overwrite?: boolean;
1729
+ }
1724
1730
  interface BindingViteBuildImportAnalysisPluginConfig {
1725
1731
  preloadCode: string;
1726
1732
  insertPreload: boolean;
@@ -1,8 +1,8 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-Rc5vBspi.mjs";
2
2
  import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-D80CXhvg.mjs";
3
- import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CCT059Zu.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BzTP-qJS.mjs";
4
4
  import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-BLhcSyeg.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-DBGOT6sf.mjs";
6
6
  import { parseAst } from "../parse-ast-index.mjs";
7
7
  import path from "node:path";
8
8
  import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
@@ -217,7 +217,7 @@ function bindingAssetSource(source) {
217
217
  return { inner: source };
218
218
  }
219
219
  //#endregion
220
- //#region \0@oxc-project+runtime@0.122.0/helpers/decorate.js
220
+ //#region \0@oxc-project+runtime@0.123.0/helpers/decorate.js
221
221
  function __decorate(decorators, target, key, desc) {
222
222
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
223
223
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -567,6 +567,49 @@ Object.defineProperty(import_binding.BindingMagicString.prototype, "isRolldownMa
567
567
  writable: false,
568
568
  configurable: false
569
569
  });
570
+ function assertString(content, msg) {
571
+ if (typeof content !== "string") throw new TypeError(msg);
572
+ }
573
+ const nativeAppend = import_binding.BindingMagicString.prototype.append;
574
+ const nativePrepend = import_binding.BindingMagicString.prototype.prepend;
575
+ const nativeAppendLeft = import_binding.BindingMagicString.prototype.appendLeft;
576
+ const nativeAppendRight = import_binding.BindingMagicString.prototype.appendRight;
577
+ const nativePrependLeft = import_binding.BindingMagicString.prototype.prependLeft;
578
+ const nativePrependRight = import_binding.BindingMagicString.prototype.prependRight;
579
+ const nativeOverwrite = import_binding.BindingMagicString.prototype.overwrite;
580
+ const nativeUpdate = import_binding.BindingMagicString.prototype.update;
581
+ import_binding.BindingMagicString.prototype.append = function(content) {
582
+ assertString(content, "outro content must be a string");
583
+ return nativeAppend.call(this, content);
584
+ };
585
+ import_binding.BindingMagicString.prototype.prepend = function(content) {
586
+ assertString(content, "outro content must be a string");
587
+ return nativePrepend.call(this, content);
588
+ };
589
+ import_binding.BindingMagicString.prototype.appendLeft = function(index, content) {
590
+ assertString(content, "inserted content must be a string");
591
+ return nativeAppendLeft.call(this, index, content);
592
+ };
593
+ import_binding.BindingMagicString.prototype.appendRight = function(index, content) {
594
+ assertString(content, "inserted content must be a string");
595
+ return nativeAppendRight.call(this, index, content);
596
+ };
597
+ import_binding.BindingMagicString.prototype.prependLeft = function(index, content) {
598
+ assertString(content, "inserted content must be a string");
599
+ return nativePrependLeft.call(this, index, content);
600
+ };
601
+ import_binding.BindingMagicString.prototype.prependRight = function(index, content) {
602
+ assertString(content, "inserted content must be a string");
603
+ return nativePrependRight.call(this, index, content);
604
+ };
605
+ import_binding.BindingMagicString.prototype.overwrite = function(start, end, content, options) {
606
+ assertString(content, "replacement content must be a string");
607
+ return nativeOverwrite.call(this, start, end, content, options);
608
+ };
609
+ import_binding.BindingMagicString.prototype.update = function(start, end, content, options) {
610
+ assertString(content, "replacement content must be a string");
611
+ return nativeUpdate.call(this, start, end, content, options);
612
+ };
570
613
  const nativeReplace = import_binding.BindingMagicString.prototype.replace;
571
614
  const nativeReplaceAll = import_binding.BindingMagicString.prototype.replaceAll;
572
615
  import_binding.BindingMagicString.prototype.replace = function(searchValue, replacement) {
@@ -1,4 +1,4 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CCT059Zu.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BzTP-qJS.mjs";
2
2
  //#region src/builtin-plugin/constructors.ts
3
3
  function viteModulePreloadPolyfillPlugin(config) {
4
4
  return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
@@ -1,5 +1,5 @@
1
- import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-CYVfiOV3.mjs";
2
- import { N as BuiltinPlugin, Vt as StringOrRegExp } from "./define-config-BkRKRADp.mjs";
1
+ import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DUEnSb0A.mjs";
2
+ import { N as BuiltinPlugin, Vt as StringOrRegExp } from "./define-config-DhJZwTRw.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/constructors.d.ts
5
5
  declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
@@ -1,5 +1,5 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-C6h4g8dA.mjs";
2
- import { A as ExternalMemoryStatus, N as JsxOptions, P as MinifyOptions$1, R as ParserOptions, U as TransformOptions$1, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString, z as PreRenderedChunk } from "./binding-CYVfiOV3.mjs";
2
+ import { A as ExternalMemoryStatus, N as JsxOptions, P as MinifyOptions$1, R as ParserOptions, U as TransformOptions$1, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString, z as PreRenderedChunk } from "./binding-DUEnSb0A.mjs";
3
3
  import { TopLevelFilterExpression } from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./binding-CkWPGrSM.mjs";
1
+ import { t as require_binding } from "./binding-Rc5vBspi.mjs";
2
2
  //#region src/types/sourcemap.ts
3
3
  function bindingifySourcemap(map) {
4
4
  if (map == null) return;
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-BMLc9elZ.mjs";
1
+ import { t as rolldown } from "./rolldown-Dx_xtyvN.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-Rc5vBspi.mjs";
2
2
  import { c as logPluginError, n as error } from "./logs-D80CXhvg.mjs";
3
3
  //#region src/builtin-plugin/utils.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,5 +1,6 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
2
- //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/wrap.js
1
+ import { n as __toESM, t as require_binding } from "./binding-Rc5vBspi.mjs";
2
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.123.0_@emnapi+core@1.9.1_@emnapi+runtime@1.9.1/node_modules/oxc-parser/src-js/wrap.js
3
+ var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
3
4
  function wrap(result) {
4
5
  let program, module, comments, errors;
5
6
  return {
@@ -36,7 +37,6 @@ function applyFix(program, fixPath) {
36
37
  }
37
38
  //#endregion
38
39
  //#region src/utils/parse.ts
39
- var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
40
40
  /**
41
41
  * Parse JS/TS source asynchronously on a separate thread.
42
42
  *
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-BLhcSyeg.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-Rc5vBspi.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-DBGOT6sf.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-CxsB9UaT.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-KavLbTK7.mjs";
2
2
  //#region src/api/rolldown/index.ts
3
3
  /**
4
4
  * The API compatible with Rollup's `rollup` function.
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-Rc5vBspi.mjs";
2
2
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-CCT059Zu.mjs";
4
- import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-BCAF6TcN.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-BzTP-qJS.mjs";
4
+ import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-BGxmrQWF.mjs";
5
5
  import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
6
- import { i as unwrapBindingResult } from "./error-BLhcSyeg.mjs";
6
+ import { i as unwrapBindingResult } from "./error-DBGOT6sf.mjs";
7
7
  import { Worker } from "node:worker_threads";
8
8
  import path, { sep } from "node:path";
9
9
  import { formatWithOptions, styleText } from "node:util";
@@ -11,6 +11,7 @@ import process$1 from "node:process";
11
11
  import * as tty from "node:tty";
12
12
  import os from "node:os";
13
13
  //#region src/log/logger.ts
14
+ var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
14
15
  function getLogger(plugins, onLog, logLevel, watchMode) {
15
16
  const minimalPriority = logLevelPriority[logLevel];
16
17
  const logger = (level, log, skipped = /* @__PURE__ */ new Set()) => {
@@ -211,7 +212,7 @@ function getSortedPlugins(hookName, plugins) {
211
212
  ];
212
213
  }
213
214
  //#endregion
214
- //#region ../../../node_modules/.pnpm/valibot@1.3.1_typescript@5.9.3/node_modules/valibot/dist/index.mjs
215
+ //#region ../../../node_modules/.pnpm/valibot@1.3.1_typescript@6.0.2/node_modules/valibot/dist/index.mjs
215
216
  let store$4;
216
217
  /**
217
218
  * Returns the global configuration.
@@ -3124,7 +3125,6 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
3124
3125
  }
3125
3126
  //#endregion
3126
3127
  //#region src/utils/initialize-parallel-plugins.ts
3127
- var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
3128
3128
  async function initializeParallelPlugins(plugins) {
3129
3129
  const pluginInfos = [];
3130
3130
  for (const [index, plugin] of plugins.entries()) if ("_parallel" in plugin) {
@@ -1,5 +1,5 @@
1
1
  import { a as RolldownLog } from "./logging-C6h4g8dA.mjs";
2
- import { F as MinifyResult$1, H as SourceMap, L as ParseResult$1, P as MinifyOptions$1, R as ParserOptions$1, W as TsconfigCache$1, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, v as BindingTsconfigResult } from "./binding-CYVfiOV3.mjs";
2
+ import { F as MinifyResult$1, H as SourceMap, L as ParseResult$1, P as MinifyOptions$1, R as ParserOptions$1, W as TsconfigCache$1, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, v as BindingTsconfigResult } from "./binding-DUEnSb0A.mjs";
3
3
 
4
4
  //#region src/utils/resolve-tsconfig.d.ts
5
5
  /**
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CkWPGrSM.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-Rc5vBspi.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BCAF6TcN.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BGxmrQWF.mjs";
4
4
  import { t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-CxsB9UaT.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-BLhcSyeg.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-KavLbTK7.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-DBGOT6sf.mjs";
7
7
  //#region ../../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
8
8
  /**
9
9
  * This is not the set of all possible signals.
@@ -1,9 +1,9 @@
1
- import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-CYVfiOV3.mjs";
2
- import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-C_gBfjMR.mjs";
1
+ import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-DUEnSb0A.mjs";
2
+ import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-Kz3D2LbX.mjs";
3
3
  import * as ESTree from "@oxc-project/types";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
6
- //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.123.0_@emnapi+core@1.9.1_@emnapi+runtime@1.9.1/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
7
7
  interface VisitorObject$1 {
8
8
  DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
9
9
  "DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
@@ -1,6 +1,6 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-tRtSyZ-b.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-DJjTYbYr.mjs";
3
- //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
1
+ import { n as parseSync, t as parse } from "./shared/parse-CDR7akDs.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-BD5XUCWz.mjs";
3
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.123.0_@emnapi+core@1.9.1_@emnapi+runtime@1.9.1/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
6
6
  if (Array.isArray(node)) {
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
2010
2010
  exit !== null && exit(node);
2011
2011
  }
2012
2012
  //#endregion
2013
- //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2013
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.123.0_@emnapi+core@1.9.1_@emnapi+runtime@1.9.1/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2014
2014
  /** Mapping from node type name to node type ID */
2015
2015
  const NODE_TYPE_IDS_MAP = new Map([
2016
2016
  ["DebuggerStatement", 0],
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
2180
2180
  ["TSUnionType", 164]
2181
2181
  ]);
2182
2182
  //#endregion
2183
- //#region ../../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/visit/visitor.js
2183
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.123.0_@emnapi+core@1.9.1_@emnapi+runtime@1.9.1/node_modules/oxc-parser/src-js/visit/visitor.js
2184
2184
  let compiledVisitor;
2185
2185
  function createCompiledVisitor() {
2186
2186
  compiledVisitor = [];
@@ -1,7 +1,7 @@
1
1
  import { r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
2
- import { C as promiseWithResolvers, D as toArray, E as slash, S as pkgExists, T as resolveRegex, _ as yellow, a as createLogger, b as matchPattern, c as globalLogger, d as bold, f as dim, g as underline, h as red, i as LogLevels, l as prettyFormat, n as z, o as generateColor, p as green, r as version, s as getNameLabel, t as R, u as blue, v as debounce, w as resolveComma, x as noop, y as importWithError } from "./main-CYOGr7IM.js";
2
+ import { C as promiseWithResolvers, D as toArray, E as slash, S as pkgExists, T as resolveRegex, _ as yellow, a as createLogger, b as matchPattern, c as globalLogger, d as bold, f as dim, g as underline, h as red, i as LogLevels, l as prettyFormat, n as z, o as generateColor, p as green, r as version, s as getNameLabel, t as R, u as blue, v as debounce, w as resolveComma, x as noop, y as importWithError } from "./main-CC95VQtR.js";
3
3
  import { t as createDebug } from "./node-B3Gdtau1.js";
4
- import { d as filename_js_to_dts, i as RE_JS, n as RE_DTS, o as RE_NODE_MODULES$1, t as RE_CSS } from "./filename-DQnUJlio-B_23lF2M.js";
4
+ import { d as filename_js_to_dts, i as RE_JS, n as RE_DTS, o as RE_NODE_MODULES$1, t as RE_CSS } from "./filename-DQnUJlio-smVMy5Ot.js";
5
5
  import "./dist-CxeZzY9B.js";
6
6
  import module$1, { builtinModules, createRequire, isBuiltin } from "node:module";
7
7
  import process$1, { env } from "node:process";
@@ -22,7 +22,7 @@ import { pathToFileURL } from "node:url";
22
22
  import { Buffer } from "node:buffer";
23
23
  import { brotliCompress, gzip } from "node:zlib";
24
24
  import { importGlobPlugin } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
25
- //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/fs-Dd6Htx2P.mjs
25
+ //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/fs-Dd6Htx2P.mjs
26
26
  function fsExists(path) {
27
27
  return access(path).then(() => true, () => false);
28
28
  }
@@ -65,7 +65,7 @@ function stripExtname(filePath) {
65
65
  return filePath.slice(0, -ext.length);
66
66
  }
67
67
  //#endregion
68
- //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/format-_3CEX8E7.mjs
68
+ //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/format-_3CEX8E7.mjs
69
69
  const shimFile = path.resolve(import.meta.dirname, "..", "esm-shims.js");
70
70
  function getShimsInject(format, platform) {
71
71
  if (format === "es" && platform === "node") return {
@@ -277,7 +277,7 @@ function detectIndentation(jsonText) {
277
277
  return 2;
278
278
  }
279
279
  //#endregion
280
- //#region ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
280
+ //#region ../../node_modules/.pnpm/defu@6.1.6/node_modules/defu/dist/defu.mjs
281
281
  function isPlainObject(value) {
282
282
  if (value === null || typeof value !== "object") return false;
283
283
  const prototype = Object.getPrototypeOf(value);
@@ -288,8 +288,8 @@ function isPlainObject(value) {
288
288
  }
289
289
  function _defu(baseObject, defaults, namespace = ".", merger) {
290
290
  if (!isPlainObject(defaults)) return _defu(baseObject, {}, namespace, merger);
291
- const object = Object.assign({}, defaults);
292
- for (const key in baseObject) {
291
+ const object = { ...defaults };
292
+ for (const key of Object.keys(baseObject)) {
293
293
  if (key === "__proto__" || key === "constructor") continue;
294
294
  const value = baseObject[key];
295
295
  if (value === null || value === void 0) continue;
@@ -3341,7 +3341,7 @@ function createConfigCoreLoader(options) {
3341
3341
  };
3342
3342
  }
3343
3343
  //#endregion
3344
- //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/options-j2tUAf6W.mjs
3344
+ //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/options-j2tUAf6W.mjs
3345
3345
  const __cjs_require$1 = createRequire(import.meta.url);
3346
3346
  const picomatch = __cjs_require$1("./npm_entry_picomatch.cjs");
3347
3347
  const satisfies$1 = __cjs_require$1("./npm_entry_semver_functions_satisfies.cjs");
@@ -4157,7 +4157,7 @@ function filterConfig(filter, configCwd, name) {
4157
4157
  return toArray(filter).some((value) => name && name === value || cwd === value);
4158
4158
  }
4159
4159
  //#endregion
4160
- //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/watch-ZJbRq-K8.mjs
4160
+ //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/watch-ZJbRq-K8.mjs
4161
4161
  async function copy(options) {
4162
4162
  if (!options.copy) return;
4163
4163
  const resolved = await resolveCopyEntries(options);
@@ -4537,7 +4537,7 @@ var Hookable = class {
4537
4537
  }
4538
4538
  };
4539
4539
  //#endregion
4540
- //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/build-DU-BFLB1.mjs
4540
+ //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/build-DU-BFLB1.mjs
4541
4541
  const __cjs_require = createRequire(import.meta.url);
4542
4542
  const satisfies = __cjs_require("./npm_entry_semver_functions_satisfies.cjs");
4543
4543
  const coerce = __cjs_require("./npm_entry_semver_functions_coerce.cjs");
@@ -4834,7 +4834,7 @@ async function bundleDone(bundleByPkg, bundle) {
4834
4834
  async function packTarball(packageJsonPath) {
4835
4835
  const pkgDir = path.dirname(packageJsonPath);
4836
4836
  const destination = await mkdtemp(path.join(tmpdir(), "tsdown-pack-"));
4837
- const { detect } = await import("./detect-h8ZFBH96-C_8f1Pj6.js");
4837
+ const { detect } = await import("./detect-h8ZFBH96-CQBPtOHi.js");
4838
4838
  try {
4839
4839
  const detected = await detect({ cwd: pkgDir });
4840
4840
  if (detected?.name === "deno") throw new Error(`Cannot pack tarball for Deno projects at ${pkgDir}`);
@@ -4970,7 +4970,7 @@ async function resolveInputOptions(config, format, configFiles, bundle, cjsDts,
4970
4970
  if (nodeProtocol) plugins.push(NodeProtocolPlugin(nodeProtocol));
4971
4971
  if (config.pkg || config.deps.skipNodeModulesBundle) plugins.push(DepsPlugin(config, bundle));
4972
4972
  if (dts) {
4973
- const { dts: dtsPlugin } = await import("./dist-B98oBzil.js");
4973
+ const { dts: dtsPlugin } = await import("./dist-SqMQ6Q2q.js");
4974
4974
  const { cjsReexport: _, ...dtsPluginOptions } = dts;
4975
4975
  const options = {
4976
4976
  tsconfig,
@@ -0,0 +1,2 @@
1
+ import { r as build_exports } from "./build-DU-BFLB1-B3WPwpFM.js";
2
+ export { build_exports as r };
@@ -1,6 +1,6 @@
1
- import { D as toArray, w as resolveComma } from "./main-CYOGr7IM.js";
1
+ import { D as toArray, w as resolveComma } from "./main-CC95VQtR.js";
2
2
  import { n as enable, r as namespaces, t as createDebug } from "./node-B3Gdtau1.js";
3
- //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/debug-BmAPbhgA.mjs
3
+ //#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/debug-BmAPbhgA.mjs
4
4
  const debugLog = createDebug("tsdown:debug");
5
5
  function enableDebug(debug) {
6
6
  if (!debug) return;