rolldown 1.0.0-beta.49 → 1.0.0-beta.50

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 (27) hide show
  1. package/dist/cli-setup.mjs +1 -1
  2. package/dist/cli.mjs +8 -8
  3. package/dist/config.d.mts +3 -3
  4. package/dist/config.mjs +5 -5
  5. package/dist/experimental-index.d.mts +4 -4
  6. package/dist/experimental-index.mjs +5 -5
  7. package/dist/filter-index.d.mts +3 -3
  8. package/dist/index.d.mts +3 -3
  9. package/dist/index.mjs +4 -4
  10. package/dist/parallel-plugin-worker.mjs +4 -4
  11. package/dist/parallel-plugin.d.mts +3 -3
  12. package/dist/parse-ast-index.d.mts +1 -1
  13. package/dist/parse-ast-index.mjs +2 -2
  14. package/dist/plugins-index.d.mts +3 -3
  15. package/dist/plugins-index.mjs +3 -3
  16. package/dist/shared/{binding-TAvxYaaL.d.mts → binding-BTw1cXhU.d.mts} +37 -2
  17. package/dist/shared/{binding-Byz_-zMd.mjs → binding-DkT6owYZ.mjs} +26 -26
  18. package/dist/shared/{constructors-DlLr_UMo.d.mts → constructors-BGT3rFMD.d.mts} +2 -2
  19. package/dist/shared/{constructors-DLBJKpBt.mjs → constructors-Xd4Pek8a.mjs} +1 -1
  20. package/dist/shared/{define-config-CYc9_msm.d.mts → define-config-CrMIxA40.d.mts} +2 -2
  21. package/dist/shared/{load-config-DZSqgTtd.mjs → load-config-8K0EpQy3.mjs} +1 -1
  22. package/dist/shared/{normalize-string-or-regex-DpeiLkum.mjs → normalize-string-or-regex-vZ5EI4ro.mjs} +1 -1
  23. package/dist/shared/{parse-ast-index-C3nalU1P.mjs → parse-ast-index-w6oTGOhH.mjs} +2 -2
  24. package/dist/shared/{prompt-sxF8x3Tv.mjs → prompt-CFbT7ROl.mjs} +1 -1
  25. package/dist/shared/{src-CmBhXIUZ.mjs → src-CYkh2Ybc.mjs} +11 -11
  26. package/dist/shared/{utils-CzdPrevI.d.mts → utils-BxvnUO-9.d.mts} +1 -1
  27. package/package.json +19 -19
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./shared/binding-Byz_-zMd.mjs";
1
+ import { t as require_binding } from "./shared/binding-DkT6owYZ.mjs";
2
2
 
3
3
  //#region src/cli/setup-index.ts
4
4
  var import_binding = require_binding();
package/dist/cli.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import "./shared/binding-Byz_-zMd.mjs";
2
- import { C as version, S as description, _ as getOutputCliKeys, b as styleText$1, g as getInputCliKeys, h as getCliSchemaInfo, i as watch, o as rolldown, v as validateCliOptions, w as onExit } from "./shared/src-CmBhXIUZ.mjs";
1
+ import "./shared/binding-DkT6owYZ.mjs";
2
+ import { C as version, S as description, _ as getOutputCliKeys, b as styleText$1, g as getInputCliKeys, h as getCliSchemaInfo, i as watch, o as rolldown, v as validateCliOptions, w as onExit } from "./shared/src-CYkh2Ybc.mjs";
3
3
  import "./shared/logs-CSQ_UMWp.mjs";
4
- import "./shared/normalize-string-or-regex-DpeiLkum.mjs";
4
+ import "./shared/normalize-string-or-regex-vZ5EI4ro.mjs";
5
5
  import { t as arraify } from "./shared/misc-DpQNcSw4.mjs";
6
- import "./shared/parse-ast-index-C3nalU1P.mjs";
7
- import { t as loadConfig } from "./shared/load-config-DZSqgTtd.mjs";
6
+ import "./shared/parse-ast-index-w6oTGOhH.mjs";
7
+ import { t as loadConfig } from "./shared/load-config-8K0EpQy3.mjs";
8
8
  import path, { sep } from "node:path";
9
9
  import { formatWithOptions, parseArgs } from "node:util";
10
10
  import process$1 from "node:process";
@@ -949,7 +949,7 @@ function createConsola(options$1 = {}) {
949
949
  defaults: { level },
950
950
  stdout: process.stdout,
951
951
  stderr: process.stderr,
952
- prompt: (...args) => import("./shared/prompt-sxF8x3Tv.mjs").then((m) => m.prompt(...args)),
952
+ prompt: (...args) => import("./shared/prompt-CFbT7ROl.mjs").then((m) => m.prompt(...args)),
953
953
  reporters: options$1.reporters || [options$1.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
954
954
  ...options$1
955
955
  });
@@ -1236,7 +1236,7 @@ function getClearScreenFunction(options$1) {
1236
1236
  }
1237
1237
 
1238
1238
  //#endregion
1239
- //#region \0@oxc-project+runtime@0.96.0/helpers/usingCtx.js
1239
+ //#region \0@oxc-project+runtime@0.97.0/helpers/usingCtx.js
1240
1240
  function _usingCtx() {
1241
1241
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1242
1242
  var n$2 = Error();
@@ -1548,7 +1548,7 @@ function checkNodeVersion(nodeVersion) {
1548
1548
  //#region src/cli/index.ts
1549
1549
  if (!checkNodeVersion(process$1.versions.node)) logger.warn(`You are using Node.js ${process$1.versions.node}. Rolldown requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.`);
1550
1550
  async function main() {
1551
- const { rawArgs,...cliOptions } = parseCliArguments();
1551
+ const { rawArgs, ...cliOptions } = parseCliArguments();
1552
1552
  if (cliOptions.environment) {
1553
1553
  const environment = Array.isArray(cliOptions.environment) ? cliOptions.environment : [cliOptions.environment];
1554
1554
  for (const argument of environment) for (const pair of argument.split(",")) {
package/dist/config.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { n as ConfigExport, t as defineConfig } from "./shared/define-config-CYc9_msm.mjs";
2
- import "./shared/binding-TAvxYaaL.mjs";
3
- import "./shared/utils-CzdPrevI.mjs";
1
+ import { n as ConfigExport, t as defineConfig } from "./shared/define-config-CrMIxA40.mjs";
2
+ import "./shared/binding-BTw1cXhU.mjs";
3
+ import "./shared/utils-BxvnUO-9.mjs";
4
4
 
5
5
  //#region src/utils/load-config.d.ts
6
6
  declare function loadConfig(configPath: string): Promise<ConfigExport>;
package/dist/config.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import "./shared/binding-Byz_-zMd.mjs";
2
- import { C as version, r as defineConfig } from "./shared/src-CmBhXIUZ.mjs";
1
+ import "./shared/binding-DkT6owYZ.mjs";
2
+ import { C as version, r as defineConfig } from "./shared/src-CYkh2Ybc.mjs";
3
3
  import "./shared/logs-CSQ_UMWp.mjs";
4
- import "./shared/normalize-string-or-regex-DpeiLkum.mjs";
4
+ import "./shared/normalize-string-or-regex-vZ5EI4ro.mjs";
5
5
  import "./shared/misc-DpQNcSw4.mjs";
6
- import "./shared/parse-ast-index-C3nalU1P.mjs";
7
- import { t as loadConfig } from "./shared/load-config-DZSqgTtd.mjs";
6
+ import "./shared/parse-ast-index-w6oTGOhH.mjs";
7
+ import { t as loadConfig } from "./shared/load-config-8K0EpQy3.mjs";
8
8
 
9
9
  //#region src/config.ts
10
10
  const VERSION = version;
@@ -1,7 +1,7 @@
1
- import { Dt as freeExternalMemory, H as defineParallelPlugin, M as SourceMapInput, Tt as RolldownOutput, o as InputOptions, yt as OutputOptions } from "./shared/define-config-CYc9_msm.mjs";
2
- import { A as IsolatedDeclarationsOptions, B as ResolverFactory, F as NapiResolveOptions, G as moduleRunnerTransform, H as TransformResult, I as ParseResult, J as transform, K as parseAsync, L as ParserOptions, N as MinifyOptions, P as MinifyResult, S as BindingViteCssPluginConfig, U as isolatedDeclaration, V as TransformOptions, W as minify, b as BindingTransformPluginConfig, h as BindingRebuildStrategy, i as BindingClientHmrUpdate, j as IsolatedDeclarationsResult, q as parseSync, t as BindingAssetPluginConfig, x as BindingUrlResolver, z as ResolveResult } from "./shared/binding-TAvxYaaL.mjs";
3
- import { t as BuiltinPlugin } from "./shared/utils-CzdPrevI.mjs";
4
- import { _ as wasmHelperPlugin, a as importGlobPlugin, c as loadFallbackPlugin, d as reactRefreshWrapperPlugin, f as reporterPlugin, g as wasmFallbackPlugin, h as viteResolvePlugin, i as htmlInlineProxyPlugin, l as manifestPlugin, m as viteHtmlPlugin, n as dynamicImportVarsPlugin, o as isolatedDeclarationPlugin, p as viteCSSPostPlugin, s as jsonPlugin, t as buildImportAnalysisPlugin, u as modulePreloadPolyfillPlugin, v as webWorkerPostPlugin } from "./shared/constructors-DlLr_UMo.mjs";
1
+ import { Dt as freeExternalMemory, H as defineParallelPlugin, M as SourceMapInput, Tt as RolldownOutput, o as InputOptions, yt as OutputOptions } from "./shared/define-config-CrMIxA40.mjs";
2
+ import { A as IsolatedDeclarationsOptions, B as ResolverFactory, F as NapiResolveOptions, G as moduleRunnerTransform, H as TransformResult, I as ParseResult, J as transform, K as parseAsync, L as ParserOptions, N as MinifyOptions, P as MinifyResult, S as BindingViteCssPluginConfig, U as isolatedDeclaration, V as TransformOptions, W as minify, b as BindingTransformPluginConfig, h as BindingRebuildStrategy, i as BindingClientHmrUpdate, j as IsolatedDeclarationsResult, q as parseSync, t as BindingAssetPluginConfig, x as BindingUrlResolver, z as ResolveResult } from "./shared/binding-BTw1cXhU.mjs";
3
+ import { t as BuiltinPlugin } from "./shared/utils-BxvnUO-9.mjs";
4
+ import { _ as wasmHelperPlugin, a as importGlobPlugin, c as loadFallbackPlugin, d as reactRefreshWrapperPlugin, f as reporterPlugin, g as wasmFallbackPlugin, h as viteResolvePlugin, i as htmlInlineProxyPlugin, l as manifestPlugin, m as viteHtmlPlugin, n as dynamicImportVarsPlugin, o as isolatedDeclarationPlugin, p as viteCSSPostPlugin, s as jsonPlugin, t as buildImportAnalysisPlugin, u as modulePreloadPolyfillPlugin, v as webWorkerPostPlugin } from "./shared/constructors-BGT3rFMD.mjs";
5
5
 
6
6
  //#region src/api/dev/dev-options.d.ts
7
7
  type DevOnHmrUpdates = (result: Error | {
@@ -1,10 +1,10 @@
1
- import { t as require_binding } from "./shared/binding-Byz_-zMd.mjs";
2
- import { c as createBundlerOptions, d as normalizeBindingResult, f as unwrapBindingResult, m as bindingifySourcemap, p as transformToRollupOutput, s as RolldownBuild, x as PluginDriver, y as validateOption } from "./shared/src-CmBhXIUZ.mjs";
1
+ import { t as require_binding } from "./shared/binding-DkT6owYZ.mjs";
2
+ import { c as createBundlerOptions, d as normalizeBindingResult, f as unwrapBindingResult, m as bindingifySourcemap, p as transformToRollupOutput, s as RolldownBuild, x as PluginDriver, y as validateOption } from "./shared/src-CYkh2Ybc.mjs";
3
3
  import "./shared/logs-CSQ_UMWp.mjs";
4
- import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-DpeiLkum.mjs";
4
+ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-vZ5EI4ro.mjs";
5
5
  import "./shared/misc-DpQNcSw4.mjs";
6
- import "./shared/parse-ast-index-C3nalU1P.mjs";
7
- import { _ as wasmHelperPlugin, a as importGlobPlugin, c as loadFallbackPlugin, d as reactRefreshWrapperPlugin, f as reporterPlugin, g as wasmFallbackPlugin, h as viteResolvePlugin, i as htmlInlineProxyPlugin, l as manifestPlugin, m as viteHtmlPlugin, n as dynamicImportVarsPlugin, o as isolatedDeclarationPlugin, p as viteCSSPostPlugin, s as jsonPlugin, t as buildImportAnalysisPlugin, u as modulePreloadPolyfillPlugin, v as webWorkerPostPlugin } from "./shared/constructors-DLBJKpBt.mjs";
6
+ import "./shared/parse-ast-index-w6oTGOhH.mjs";
7
+ import { _ as wasmHelperPlugin, a as importGlobPlugin, c as loadFallbackPlugin, d as reactRefreshWrapperPlugin, f as reporterPlugin, g as wasmFallbackPlugin, h as viteResolvePlugin, i as htmlInlineProxyPlugin, l as manifestPlugin, m as viteHtmlPlugin, n as dynamicImportVarsPlugin, o as isolatedDeclarationPlugin, p as viteCSSPostPlugin, s as jsonPlugin, t as buildImportAnalysisPlugin, u as modulePreloadPolyfillPlugin, v as webWorkerPostPlugin } from "./shared/constructors-Xd4Pek8a.mjs";
8
8
  import { pathToFileURL } from "node:url";
9
9
 
10
10
  //#region src/api/dev/dev-engine.ts
@@ -1,5 +1,5 @@
1
- import { k as withFilter } from "./shared/define-config-CYc9_msm.mjs";
2
- import "./shared/binding-TAvxYaaL.mjs";
3
- import "./shared/utils-CzdPrevI.mjs";
1
+ import { k as withFilter } from "./shared/define-config-CrMIxA40.mjs";
2
+ import "./shared/binding-BTw1cXhU.mjs";
3
+ import "./shared/utils-BxvnUO-9.mjs";
4
4
  import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
5
5
  export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as NormalizedOutputOptions, A as VERSION, At as LogLevel, B as PluginContext, C as ResolveIdResult, Ct as RenderedChunk, D as SourceDescription, E as RolldownPluginOption, Et as SourceMap, F as TreeshakingOptions, Ft as RollupLogWithString, G as GeneralHookFilter, I as TransformPluginContext, J as BufferEncoding, K as HookFilter, L as EmittedAsset, M as SourceMapInput, Mt as LogOrStringHandler, N as RolldownOptionsFunction, Nt as RollupError, O as TransformResult, Ot as ModuleInfo, P as OutputBundle, Pt as RollupLog, Q as InternalModuleFormat, R as EmittedFile, S as ResolveIdExtraOptions, St as OutputChunk, T as RolldownPlugin, Tt as RolldownOutput, U as MinimalPluginContext, V as DefineParallelPluginResult, W as PluginContextMeta, X as RolldownFileStats, Y as RolldownDirectoryEntry, Z as RolldownFsModule, _ as ModuleType, _t as MinifyOptions, a as InputOption, at as RolldownWatcherEvent, b as PartialResolvedId, bt as PreRenderedAsset, c as OptimizationOptions, ct as RolldownBuild, d as CustomPluginOptions, dt as AddonFunction, et as NormalizedInputOptions, f as FunctionPluginHooks, ft as ChunkFileNamesFunction, g as ModuleOptions, gt as GlobalsFunction, h as LoadResult, ht as GeneratedCodePreset, i as ExternalOption, it as RolldownWatcher, j as ExistingRawSourceMap, jt as LogLevelOption, kt as SourcemapIgnoreListOption, l as WatcherOptions, lt as BuildOptions, m as ImportKind, mt as GeneratedCodeOptions, n as ConfigExport, nt as WarningHandlerWithDefault, o as InputOptions, ot as WatchOptions, p as HookFilterExtension, pt as ChunkingContext, q as ModuleTypeFilter, r as RolldownOptions, rt as watch, s as ModuleTypes, st as rolldown, t as defineConfig, tt as LoggingFunction, u as AsyncPluginHooks, ut as build, v as ObjectHook, vt as ModuleFormat, w as ResolvedId, wt as RenderedModule, x as Plugin, xt as OutputAsset, y as ParallelPluginHooks, yt as OutputOptions, z as GetModuleInfo } from "./shared/define-config-CYc9_msm.mjs";
2
- import { R as PreRenderedChunk, d as BindingMagicString } from "./shared/binding-TAvxYaaL.mjs";
3
- import { o as PartialNull } from "./shared/utils-CzdPrevI.mjs";
1
+ import { $ as NormalizedOutputOptions, A as VERSION, At as LogLevel, B as PluginContext, C as ResolveIdResult, Ct as RenderedChunk, D as SourceDescription, E as RolldownPluginOption, Et as SourceMap, F as TreeshakingOptions, Ft as RollupLogWithString, G as GeneralHookFilter, I as TransformPluginContext, J as BufferEncoding, K as HookFilter, L as EmittedAsset, M as SourceMapInput, Mt as LogOrStringHandler, N as RolldownOptionsFunction, Nt as RollupError, O as TransformResult, Ot as ModuleInfo, P as OutputBundle, Pt as RollupLog, Q as InternalModuleFormat, R as EmittedFile, S as ResolveIdExtraOptions, St as OutputChunk, T as RolldownPlugin, Tt as RolldownOutput, U as MinimalPluginContext, V as DefineParallelPluginResult, W as PluginContextMeta, X as RolldownFileStats, Y as RolldownDirectoryEntry, Z as RolldownFsModule, _ as ModuleType, _t as MinifyOptions, a as InputOption, at as RolldownWatcherEvent, b as PartialResolvedId, bt as PreRenderedAsset, c as OptimizationOptions, ct as RolldownBuild, d as CustomPluginOptions, dt as AddonFunction, et as NormalizedInputOptions, f as FunctionPluginHooks, ft as ChunkFileNamesFunction, g as ModuleOptions, gt as GlobalsFunction, h as LoadResult, ht as GeneratedCodePreset, i as ExternalOption, it as RolldownWatcher, j as ExistingRawSourceMap, jt as LogLevelOption, kt as SourcemapIgnoreListOption, l as WatcherOptions, lt as BuildOptions, m as ImportKind, mt as GeneratedCodeOptions, n as ConfigExport, nt as WarningHandlerWithDefault, o as InputOptions, ot as WatchOptions, p as HookFilterExtension, pt as ChunkingContext, q as ModuleTypeFilter, r as RolldownOptions, rt as watch, s as ModuleTypes, st as rolldown, t as defineConfig, tt as LoggingFunction, u as AsyncPluginHooks, ut as build, v as ObjectHook, vt as ModuleFormat, w as ResolvedId, wt as RenderedModule, x as Plugin, xt as OutputAsset, y as ParallelPluginHooks, yt as OutputOptions, z as GetModuleInfo } from "./shared/define-config-CrMIxA40.mjs";
2
+ import { R as PreRenderedChunk, d as BindingMagicString } from "./shared/binding-BTw1cXhU.mjs";
3
+ import { o as PartialNull } from "./shared/utils-BxvnUO-9.mjs";
4
4
  export { AddonFunction, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, 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, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import "./shared/binding-Byz_-zMd.mjs";
2
- import { a as build, i as watch, n as import_binding, o as rolldown, r as defineConfig, t as VERSION } from "./shared/src-CmBhXIUZ.mjs";
1
+ import "./shared/binding-DkT6owYZ.mjs";
2
+ import { a as build, i as watch, n as import_binding, o as rolldown, r as defineConfig, t as VERSION } from "./shared/src-CYkh2Ybc.mjs";
3
3
  import "./shared/logs-CSQ_UMWp.mjs";
4
- import "./shared/normalize-string-or-regex-DpeiLkum.mjs";
4
+ import "./shared/normalize-string-or-regex-vZ5EI4ro.mjs";
5
5
  import "./shared/misc-DpQNcSw4.mjs";
6
- import "./shared/parse-ast-index-C3nalU1P.mjs";
6
+ import "./shared/parse-ast-index-w6oTGOhH.mjs";
7
7
 
8
8
  var BindingMagicString = import_binding.BindingMagicString;
9
9
  export { BindingMagicString, VERSION, build, defineConfig, rolldown, watch };
@@ -1,9 +1,9 @@
1
- import { t as require_binding } from "./shared/binding-Byz_-zMd.mjs";
2
- import { l as PluginContextData, u as bindingifyPlugin } from "./shared/src-CmBhXIUZ.mjs";
1
+ import { t as require_binding } from "./shared/binding-DkT6owYZ.mjs";
2
+ import { l as PluginContextData, u as bindingifyPlugin } from "./shared/src-CYkh2Ybc.mjs";
3
3
  import "./shared/logs-CSQ_UMWp.mjs";
4
- import "./shared/normalize-string-or-regex-DpeiLkum.mjs";
4
+ import "./shared/normalize-string-or-regex-vZ5EI4ro.mjs";
5
5
  import "./shared/misc-DpQNcSw4.mjs";
6
- import "./shared/parse-ast-index-C3nalU1P.mjs";
6
+ import "./shared/parse-ast-index-w6oTGOhH.mjs";
7
7
  import { parentPort, workerData } from "node:worker_threads";
8
8
 
9
9
  //#region src/parallel-plugin-worker.ts
@@ -1,6 +1,6 @@
1
- import { x as Plugin } from "./shared/define-config-CYc9_msm.mjs";
2
- import "./shared/binding-TAvxYaaL.mjs";
3
- import { i as MaybePromise } from "./shared/utils-CzdPrevI.mjs";
1
+ import { x as Plugin } from "./shared/define-config-CrMIxA40.mjs";
2
+ import "./shared/binding-BTw1cXhU.mjs";
3
+ import { i as MaybePromise } from "./shared/utils-BxvnUO-9.mjs";
4
4
 
5
5
  //#region src/plugin/parallel-plugin-implementation.d.ts
6
6
  type ParallelPluginImplementation = Plugin;
@@ -1,4 +1,4 @@
1
- import { I as ParseResult, L as ParserOptions } from "./shared/binding-TAvxYaaL.mjs";
1
+ import { I as ParseResult, L as ParserOptions } from "./shared/binding-BTw1cXhU.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
- import "./shared/binding-Byz_-zMd.mjs";
1
+ import "./shared/binding-DkT6owYZ.mjs";
2
2
  import "./shared/logs-CSQ_UMWp.mjs";
3
- import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-C3nalU1P.mjs";
3
+ import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-w6oTGOhH.mjs";
4
4
 
5
5
  export { parseAst, parseAstAsync };
@@ -1,6 +1,6 @@
1
- import { _ as BindingReplacePluginConfig } from "./shared/binding-TAvxYaaL.mjs";
2
- import { t as BuiltinPlugin } from "./shared/utils-CzdPrevI.mjs";
3
- import { r as esmExternalRequirePlugin } from "./shared/constructors-DlLr_UMo.mjs";
1
+ import { _ as BindingReplacePluginConfig } from "./shared/binding-BTw1cXhU.mjs";
2
+ import { t as BuiltinPlugin } from "./shared/utils-BxvnUO-9.mjs";
3
+ import { r as esmExternalRequirePlugin } from "./shared/constructors-BGT3rFMD.mjs";
4
4
 
5
5
  //#region src/builtin-plugin/replace-plugin.d.ts
6
6
 
@@ -1,7 +1,7 @@
1
- import "./shared/binding-Byz_-zMd.mjs";
1
+ import "./shared/binding-DkT6owYZ.mjs";
2
2
  import "./shared/logs-CSQ_UMWp.mjs";
3
- import { i as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-DpeiLkum.mjs";
4
- import { r as esmExternalRequirePlugin } from "./shared/constructors-DLBJKpBt.mjs";
3
+ import { i as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-vZ5EI4ro.mjs";
4
+ import { r as esmExternalRequirePlugin } from "./shared/constructors-Xd4Pek8a.mjs";
5
5
 
6
6
  //#region src/builtin-plugin/replace-plugin.ts
7
7
  /**
@@ -73,6 +73,8 @@ interface CompressOptions {
73
73
  dropLabels?: Array<string>;
74
74
  /** Limit the maximum number of iterations for debugging purpose. */
75
75
  maxIterations?: number;
76
+ /** Treeshake options. */
77
+ treeshake?: TreeShakeOptions;
76
78
  }
77
79
  interface CompressOptionsKeepNames {
78
80
  /**
@@ -125,7 +127,7 @@ interface MangleOptionsKeepNames {
125
127
  /** Minify synchronously. */
126
128
  declare function minify(filename: string, sourceText: string, options?: MinifyOptions | undefined | null): MinifyResult;
127
129
  interface MinifyOptions {
128
- /** Use when minifying an ES6 module. */
130
+ /** Use when minifying an ES module. */
129
131
  module?: boolean;
130
132
  compress?: boolean | CompressOptions;
131
133
  mangle?: boolean | MangleOptions;
@@ -137,6 +139,39 @@ interface MinifyResult {
137
139
  map?: SourceMap;
138
140
  errors: Array<OxcError>;
139
141
  }
142
+ interface TreeShakeOptions {
143
+ /**
144
+ * Whether to respect the pure annotations.
145
+ *
146
+ * Pure annotations are comments that mark an expression as pure.
147
+ * For example: @__PURE__ or #__NO_SIDE_EFFECTS__.
148
+ *
149
+ * @default true
150
+ */
151
+ annotations?: boolean;
152
+ /**
153
+ * Whether to treat this function call as pure.
154
+ *
155
+ * This function is called for normal function calls, new calls, and
156
+ * tagged template calls.
157
+ */
158
+ manualPureFunctions?: Array<string>;
159
+ /**
160
+ * Whether property read accesses have side effects.
161
+ *
162
+ * @default 'always'
163
+ */
164
+ propertyReadSideEffects?: boolean | 'always';
165
+ /**
166
+ * Whether accessing a global variable has side effects.
167
+ *
168
+ * Accessing a non-existing global variable will throw an error.
169
+ * Global variable may be a getter that has side effects.
170
+ *
171
+ * @default true
172
+ */
173
+ unknownGlobalSideEffects?: boolean;
174
+ }
140
175
  interface Comment {
141
176
  type: 'Line' | 'Block';
142
177
  value: string;
@@ -787,7 +822,7 @@ interface JsxOptions {
787
822
  /**
788
823
  * Enables `@babel/plugin-transform-react-pure-annotations`.
789
824
  *
790
- * It will mark top-level React method calls as pure for tree shaking.
825
+ * It will mark JSX elements and top-level React method calls as pure for tree shaking.
791
826
  *
792
827
  * @see {@link https://babeljs.io/docs/en/babel-plugin-transform-react-pure-annotations}
793
828
  *
@@ -89,7 +89,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
89
89
  try {
90
90
  const binding = __require("@rolldown/binding-android-arm64");
91
91
  const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
92
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
92
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
93
93
  return binding;
94
94
  } catch (e) {
95
95
  loadErrors.push(e);
@@ -103,7 +103,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
103
103
  try {
104
104
  const binding = __require("@rolldown/binding-android-arm-eabi");
105
105
  const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
106
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
106
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
107
  return binding;
108
108
  } catch (e) {
109
109
  loadErrors.push(e);
@@ -118,7 +118,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
118
118
  try {
119
119
  const binding = __require("@rolldown/binding-win32-x64-gnu");
120
120
  const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
121
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
122
122
  return binding;
123
123
  } catch (e) {
124
124
  loadErrors.push(e);
@@ -132,7 +132,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
132
132
  try {
133
133
  const binding = __require("@rolldown/binding-win32-x64-msvc");
134
134
  const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
135
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
136
136
  return binding;
137
137
  } catch (e) {
138
138
  loadErrors.push(e);
@@ -147,7 +147,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
147
147
  try {
148
148
  const binding = __require("@rolldown/binding-win32-ia32-msvc");
149
149
  const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
150
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
150
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
151
151
  return binding;
152
152
  } catch (e) {
153
153
  loadErrors.push(e);
@@ -161,7 +161,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
161
161
  try {
162
162
  const binding = __require("@rolldown/binding-win32-arm64-msvc");
163
163
  const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
164
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
164
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
165
165
  return binding;
166
166
  } catch (e) {
167
167
  loadErrors.push(e);
@@ -176,7 +176,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
176
176
  try {
177
177
  const binding = __require("@rolldown/binding-darwin-universal");
178
178
  const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
179
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
179
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
180
180
  return binding;
181
181
  } catch (e) {
182
182
  loadErrors.push(e);
@@ -190,7 +190,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
190
190
  try {
191
191
  const binding = __require("@rolldown/binding-darwin-x64");
192
192
  const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
193
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
193
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
194
194
  return binding;
195
195
  } catch (e) {
196
196
  loadErrors.push(e);
@@ -204,7 +204,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
204
204
  try {
205
205
  const binding = __require("@rolldown/binding-darwin-arm64");
206
206
  const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
207
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
208
208
  return binding;
209
209
  } catch (e) {
210
210
  loadErrors.push(e);
@@ -219,7 +219,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
219
219
  try {
220
220
  const binding = __require("@rolldown/binding-freebsd-x64");
221
221
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
222
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
223
223
  return binding;
224
224
  } catch (e) {
225
225
  loadErrors.push(e);
@@ -233,7 +233,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
233
233
  try {
234
234
  const binding = __require("@rolldown/binding-freebsd-arm64");
235
235
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
236
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
237
237
  return binding;
238
238
  } catch (e) {
239
239
  loadErrors.push(e);
@@ -248,7 +248,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
248
248
  try {
249
249
  const binding = __require("@rolldown/binding-linux-x64-musl");
250
250
  const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
251
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
251
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
252
252
  return binding;
253
253
  } catch (e) {
254
254
  loadErrors.push(e);
@@ -262,7 +262,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
262
262
  try {
263
263
  const binding = __require("@rolldown/binding-linux-x64-gnu");
264
264
  const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
265
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
265
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
266
266
  return binding;
267
267
  } catch (e) {
268
268
  loadErrors.push(e);
@@ -277,7 +277,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
277
277
  try {
278
278
  const binding = __require("@rolldown/binding-linux-arm64-musl");
279
279
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
280
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
280
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
281
281
  return binding;
282
282
  } catch (e) {
283
283
  loadErrors.push(e);
@@ -291,7 +291,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
291
291
  try {
292
292
  const binding = __require("@rolldown/binding-linux-arm64-gnu");
293
293
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
294
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
294
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
295
295
  return binding;
296
296
  } catch (e) {
297
297
  loadErrors.push(e);
@@ -306,7 +306,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
306
306
  try {
307
307
  const binding = __require("@rolldown/binding-linux-arm-musleabihf");
308
308
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
309
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
310
310
  return binding;
311
311
  } catch (e) {
312
312
  loadErrors.push(e);
@@ -320,7 +320,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
320
320
  try {
321
321
  const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
322
322
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
323
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
324
324
  return binding;
325
325
  } catch (e) {
326
326
  loadErrors.push(e);
@@ -335,7 +335,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
335
335
  try {
336
336
  const binding = __require("@rolldown/binding-linux-loong64-musl");
337
337
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
338
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
338
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
339
339
  return binding;
340
340
  } catch (e) {
341
341
  loadErrors.push(e);
@@ -349,7 +349,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
349
349
  try {
350
350
  const binding = __require("@rolldown/binding-linux-loong64-gnu");
351
351
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
352
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
352
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
353
353
  return binding;
354
354
  } catch (e) {
355
355
  loadErrors.push(e);
@@ -364,7 +364,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
364
364
  try {
365
365
  const binding = __require("@rolldown/binding-linux-riscv64-musl");
366
366
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
367
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
367
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
368
368
  return binding;
369
369
  } catch (e) {
370
370
  loadErrors.push(e);
@@ -378,7 +378,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
378
378
  try {
379
379
  const binding = __require("@rolldown/binding-linux-riscv64-gnu");
380
380
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
381
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
381
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
382
382
  return binding;
383
383
  } catch (e) {
384
384
  loadErrors.push(e);
@@ -393,7 +393,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
393
393
  try {
394
394
  const binding = __require("@rolldown/binding-linux-ppc64-gnu");
395
395
  const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
396
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
396
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
397
397
  return binding;
398
398
  } catch (e) {
399
399
  loadErrors.push(e);
@@ -407,7 +407,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
407
407
  try {
408
408
  const binding = __require("@rolldown/binding-linux-s390x-gnu");
409
409
  const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
410
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
410
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
411
411
  return binding;
412
412
  } catch (e) {
413
413
  loadErrors.push(e);
@@ -422,7 +422,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
422
422
  try {
423
423
  const binding = __require("@rolldown/binding-openharmony-arm64");
424
424
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
425
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
425
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
426
426
  return binding;
427
427
  } catch (e) {
428
428
  loadErrors.push(e);
@@ -436,7 +436,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
436
436
  try {
437
437
  const binding = __require("@rolldown/binding-openharmony-x64");
438
438
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
439
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
439
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
440
440
  return binding;
441
441
  } catch (e) {
442
442
  loadErrors.push(e);
@@ -450,7 +450,7 @@ var require_binding = /* @__PURE__ */ __commonJS({ "src/binding.cjs": ((exports,
450
450
  try {
451
451
  const binding = __require("@rolldown/binding-openharmony-arm");
452
452
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
453
- if (bindingPackageVersion !== "1.0.0-beta.49" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.49 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
453
+ if (bindingPackageVersion !== "1.0.0-beta.50" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.50 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
454
454
  return binding;
455
455
  } catch (e) {
456
456
  loadErrors.push(e);
@@ -1,5 +1,5 @@
1
- import { C as BindingViteCssPostPluginConfig, E as BindingWasmHelperPluginConfig, T as BindingViteResolvePluginConfig, a as BindingDynamicImportVarsPluginConfig, c as BindingImportGlobPluginConfig, f as BindingManifestPluginConfig, l as BindingIsolatedDeclarationPluginConfig, m as BindingReactRefreshWrapperPluginConfig, n as BindingBuildImportAnalysisPluginConfig, o as BindingEsmExternalRequirePluginConfig, p as BindingModulePreloadPolyfillPluginConfig, u as BindingJsonPluginConfig, v as BindingReporterPluginConfig, w as BindingViteHtmlPluginConfig } from "./binding-TAvxYaaL.mjs";
2
- import { s as StringOrRegExp, t as BuiltinPlugin } from "./utils-CzdPrevI.mjs";
1
+ import { C as BindingViteCssPostPluginConfig, E as BindingWasmHelperPluginConfig, T as BindingViteResolvePluginConfig, a as BindingDynamicImportVarsPluginConfig, c as BindingImportGlobPluginConfig, f as BindingManifestPluginConfig, l as BindingIsolatedDeclarationPluginConfig, m as BindingReactRefreshWrapperPluginConfig, n as BindingBuildImportAnalysisPluginConfig, o as BindingEsmExternalRequirePluginConfig, p as BindingModulePreloadPolyfillPluginConfig, u as BindingJsonPluginConfig, v as BindingReporterPluginConfig, w as BindingViteHtmlPluginConfig } from "./binding-BTw1cXhU.mjs";
2
+ import { s as StringOrRegExp, t as BuiltinPlugin } from "./utils-BxvnUO-9.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/constructors.d.ts
5
5
  declare function modulePreloadPolyfillPlugin(config?: BindingModulePreloadPolyfillPluginConfig): BuiltinPlugin;
@@ -1,4 +1,4 @@
1
- import { i as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DpeiLkum.mjs";
1
+ import { i as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-vZ5EI4ro.mjs";
2
2
 
3
3
  //#region src/builtin-plugin/constructors.ts
4
4
  function modulePreloadPolyfillPlugin(config) {
@@ -1,5 +1,5 @@
1
- import { D as BindingWatcherBundler, L as ParserOptions, M as JsxOptions, N as MinifyOptions$1, O as BindingWatcherEvent, R as PreRenderedChunk, V as TransformOptions$1, d as BindingMagicString, g as BindingRenderedChunk, k as ExternalMemoryStatus, s as BindingHookResolveIdExtraArgs, y as BindingTransformHookExtraArgs } from "./binding-TAvxYaaL.mjs";
2
- import { a as NullValue, i as MaybePromise, n as MakeAsync, o as PartialNull, r as MaybeArray, s as StringOrRegExp, t as BuiltinPlugin } from "./utils-CzdPrevI.mjs";
1
+ import { D as BindingWatcherBundler, L as ParserOptions, M as JsxOptions, N as MinifyOptions$1, O as BindingWatcherEvent, R as PreRenderedChunk, V as TransformOptions$1, d as BindingMagicString, g as BindingRenderedChunk, k as ExternalMemoryStatus, s as BindingHookResolveIdExtraArgs, y as BindingTransformHookExtraArgs } from "./binding-BTw1cXhU.mjs";
2
+ import { a as NullValue, i as MaybePromise, n as MakeAsync, o as PartialNull, r as MaybeArray, s as StringOrRegExp, t as BuiltinPlugin } from "./utils-BxvnUO-9.mjs";
3
3
  import { TopLevelFilterExpression } from "@rolldown/pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
@@ -1,4 +1,4 @@
1
- import { o as rolldown } from "./src-CmBhXIUZ.mjs";
1
+ import { o as rolldown } from "./src-CYkh2Ybc.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 { t as require_binding } from "./binding-Byz_-zMd.mjs";
1
+ import { t as require_binding } from "./binding-DkT6owYZ.mjs";
2
2
  import { c as logPluginError, n as error } from "./logs-CSQ_UMWp.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/utils.ts
@@ -1,7 +1,7 @@
1
- import { t as require_binding } from "./binding-Byz_-zMd.mjs";
1
+ import { t as require_binding } from "./binding-DkT6owYZ.mjs";
2
2
  import { l as locate, n as error, s as logParseError, u as getCodeFrame } from "./logs-CSQ_UMWp.mjs";
3
3
 
4
- //#region ../../node_modules/.pnpm/oxc-parser@0.96.0/node_modules/oxc-parser/src-js/wrap.js
4
+ //#region ../../node_modules/.pnpm/oxc-parser@0.97.0/node_modules/oxc-parser/src-js/wrap.js
5
5
  function wrap$1(result) {
6
6
  let program, module, comments, errors;
7
7
  return {
@@ -446,7 +446,7 @@ var AD = Object.defineProperty, pD = (t, u$1, F$1) => u$1 in t ? AD(t, u$1, {
446
446
  var x = class {
447
447
  constructor(u$1, F$1 = true) {
448
448
  h(this, "input"), h(this, "output"), h(this, "_abortSignal"), h(this, "rl"), h(this, "opts"), h(this, "_render"), h(this, "_track", false), h(this, "_prevFrame", ""), h(this, "_subscribers", /* @__PURE__ */ new Map()), h(this, "_cursor", 0), h(this, "state", "initial"), h(this, "error", ""), h(this, "value");
449
- const { input: e$1 = stdin, output: s = stdout, render: i, signal: D,...C$1 } = u$1;
449
+ const { input: e$1 = stdin, output: s = stdout, render: i, signal: D, ...C$1 } = u$1;
450
450
  this.opts = C$1, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = i.bind(this), this._track = F$1, this._abortSignal = D, this.input = e$1, this.output = s;
451
451
  }
452
452
  unsubscribe() {
@@ -1,8 +1,8 @@
1
- import { t as require_binding } from "./binding-Byz_-zMd.mjs";
1
+ import { t as require_binding } from "./binding-DkT6owYZ.mjs";
2
2
  import { a as logInvalidLogPosition, c as logPluginError, i as logInputHookInOutputPlugin, n as error, o as logMultiplyNotifyOption, r as logCycleLoading, t as augmentCodeLocation } from "./logs-CSQ_UMWp.mjs";
3
- import { n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DpeiLkum.mjs";
3
+ import { n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-vZ5EI4ro.mjs";
4
4
  import { a as unreachable, i as unimplemented, o as unsupported, r as noop, t as arraify } from "./misc-DpQNcSw4.mjs";
5
- import { t as parseAst } from "./parse-ast-index-C3nalU1P.mjs";
5
+ import { t as parseAst } from "./parse-ast-index-w6oTGOhH.mjs";
6
6
  import { Worker, isMainThread } from "node:worker_threads";
7
7
  import path from "node:path";
8
8
  import { styleText } from "node:util";
@@ -222,7 +222,7 @@ if (isMainThread) {
222
222
 
223
223
  //#endregion
224
224
  //#region package.json
225
- var version = "1.0.0-beta.49";
225
+ var version = "1.0.0-beta.50";
226
226
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
227
227
 
228
228
  //#endregion
@@ -337,7 +337,7 @@ function normalizeHook(hook) {
337
337
  meta: {}
338
338
  };
339
339
  if (typeof hook === "object" && hook !== null) {
340
- const { handler, order,...options } = hook;
340
+ const { handler, order, ...options } = hook;
341
341
  return {
342
342
  handler,
343
343
  options,
@@ -2240,7 +2240,7 @@ function bindingAssetSource(source) {
2240
2240
  }
2241
2241
 
2242
2242
  //#endregion
2243
- //#region \0@oxc-project+runtime@0.96.0/helpers/decorate.js
2243
+ //#region \0@oxc-project+runtime@0.97.0/helpers/decorate.js
2244
2244
  function __decorate(decorators, target, key, desc) {
2245
2245
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2246
2246
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -3927,7 +3927,7 @@ function normalizeTransformOptions(inputOptions) {
3927
3927
  const dropLabels = transform?.dropLabels;
3928
3928
  let oxcTransformOptions;
3929
3929
  if (transform) {
3930
- const { define: _define, inject: _inject, dropLabels: _dropLabels,...rest } = transform;
3930
+ const { define: _define, inject: _inject, dropLabels: _dropLabels, ...rest } = transform;
3931
3931
  if (Object.keys(rest).length > 0) {
3932
3932
  if (rest.jsx === false) rest.jsx = "disable";
3933
3933
  oxcTransformOptions = rest;
@@ -4043,7 +4043,7 @@ function bindingifyExperimental(experimental) {
4043
4043
  function bindingifyResolve(resolve) {
4044
4044
  const yarnPnp = typeof process === "object" && !!process.versions?.pnp;
4045
4045
  if (resolve) {
4046
- const { alias, extensionAlias,...rest } = resolve;
4046
+ const { alias, extensionAlias, ...rest } = resolve;
4047
4047
  return {
4048
4048
  alias: alias ? Object.entries(alias).map(([name, replacement]) => ({
4049
4049
  find: name,
@@ -4278,11 +4278,11 @@ function bindingifyAdvancedChunks(advancedChunks, manualChunks) {
4278
4278
  return manualChunks(moduleId, { getModuleInfo: (id) => ctx.getModuleInfo(id) });
4279
4279
  } }] };
4280
4280
  if (advancedChunks == null) return;
4281
- const { groups,...restAdvancedChunks } = advancedChunks;
4281
+ const { groups, ...restAdvancedChunks } = advancedChunks;
4282
4282
  return {
4283
4283
  ...restAdvancedChunks,
4284
4284
  groups: groups?.map((group) => {
4285
- const { name,...restGroup } = group;
4285
+ const { name, ...restGroup } = group;
4286
4286
  return {
4287
4287
  ...restGroup,
4288
4288
  name: typeof name === "function" ? (id, ctx) => name(id, new ChunkingContextImpl(ctx)) : name
@@ -4450,7 +4450,7 @@ const rolldown = async (input) => {
4450
4450
  async function build(options) {
4451
4451
  if (Array.isArray(options)) return Promise.all(options.map((opts) => build(opts)));
4452
4452
  else {
4453
- const { output, write = true,...inputOptions } = options;
4453
+ const { output, write = true, ...inputOptions } = options;
4454
4454
  const build$1 = await rolldown(inputOptions);
4455
4455
  try {
4456
4456
  if (write) return await build$1.write(output);
@@ -1,4 +1,4 @@
1
- import { r as BindingBuiltinPluginName } from "./binding-TAvxYaaL.mjs";
1
+ import { r as BindingBuiltinPluginName } from "./binding-BTw1cXhU.mjs";
2
2
 
3
3
  //#region src/types/utils.d.ts
4
4
  type MaybePromise<T> = T | Promise<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown",
3
- "version": "1.0.0-beta.49",
3
+ "version": "1.0.0-beta.50",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "type": "module",
6
6
  "homepage": "https://rolldown.rs/",
@@ -79,8 +79,8 @@
79
79
  "dtsHeader": "type MaybePromise<T> = T | Promise<T>\ntype Nullable<T> = T | null | undefined\ntype VoidNullable<T = void> = T | null | undefined | void\nexport type BindingStringOrRegex = string | RegExp\ntype BindingResult<T> = { errors: BindingError[], isBindingErrors: boolean } | T\n\n"
80
80
  },
81
81
  "dependencies": {
82
- "@oxc-project/types": "=0.96.0",
83
- "@rolldown/pluginutils": "1.0.0-beta.49"
82
+ "@oxc-project/types": "=0.97.0",
83
+ "@rolldown/pluginutils": "1.0.0-beta.50"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@napi-rs/cli": "^3.4.1",
@@ -91,7 +91,7 @@
91
91
  "consola": "^3.4.2",
92
92
  "execa": "^9.2.0",
93
93
  "glob": "^11.0.0",
94
- "oxc-parser": "=0.96.0",
94
+ "oxc-parser": "=0.97.0",
95
95
  "pathe": "^2.0.3",
96
96
  "remeda": "^2.10.0",
97
97
  "rolldown-plugin-dts": "^0.17.0",
@@ -100,26 +100,26 @@
100
100
  "source-map": "^0.7.4",
101
101
  "typescript": "^5.8.3",
102
102
  "valibot": "1.1.0",
103
- "rolldown": "1.0.0-beta.49"
103
+ "rolldown": "1.0.0-beta.50"
104
104
  },
105
105
  "engines": {
106
106
  "node": "^20.19.0 || >=22.12.0"
107
107
  },
108
108
  "optionalDependencies": {
109
- "@rolldown/binding-darwin-x64": "1.0.0-beta.49",
110
- "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.49",
111
- "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.49",
112
- "@rolldown/binding-linux-x64-musl": "1.0.0-beta.49",
113
- "@rolldown/binding-freebsd-x64": "1.0.0-beta.49",
114
- "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.49",
115
- "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.49",
116
- "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.49",
117
- "@rolldown/binding-darwin-arm64": "1.0.0-beta.49",
118
- "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.49",
119
- "@rolldown/binding-openharmony-arm64": "1.0.0-beta.49",
120
- "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.49",
121
- "@rolldown/binding-android-arm64": "1.0.0-beta.49",
122
- "@rolldown/binding-wasm32-wasi": "1.0.0-beta.49"
109
+ "@rolldown/binding-darwin-x64": "1.0.0-beta.50",
110
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.50",
111
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.50",
112
+ "@rolldown/binding-linux-x64-musl": "1.0.0-beta.50",
113
+ "@rolldown/binding-freebsd-x64": "1.0.0-beta.50",
114
+ "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.50",
115
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.50",
116
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.50",
117
+ "@rolldown/binding-darwin-arm64": "1.0.0-beta.50",
118
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.50",
119
+ "@rolldown/binding-openharmony-arm64": "1.0.0-beta.50",
120
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.50",
121
+ "@rolldown/binding-android-arm64": "1.0.0-beta.50",
122
+ "@rolldown/binding-wasm32-wasi": "1.0.0-beta.50"
123
123
  },
124
124
  "scripts": {
125
125
  "# Scrips for binding #": "_",