rolldown 1.0.0 → 1.0.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.
- package/dist/cli.mjs +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +3 -3
- package/dist/experimental-index.d.mts +20 -4
- package/dist/experimental-index.mjs +11 -9
- package/dist/filter-index.d.mts +4 -4
- package/dist/filter-index.mjs +5 -5
- package/dist/get-log-filter.d.mts +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +5 -5
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.mts +1 -1
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -2
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +2 -2
- package/dist/shared/{binding-zH1vcmbM.d.mts → binding-DktDDYoY.d.mts} +1 -3
- package/dist/shared/{binding-ESkOU1xr.mjs → binding-lLxFxuG-.mjs} +26 -26
- package/dist/shared/{bindingify-input-options-zrVFGksD.mjs → bindingify-input-options-DmY7myA4.mjs} +11 -11
- package/dist/shared/{constructors-D6i2Tbyl.mjs → constructors-BWzinPZW.mjs} +1 -1
- package/dist/shared/{constructors-D0W3rNfA.d.mts → constructors-Dc4Y1bfN.d.mts} +2 -2
- package/dist/shared/{define-config-5HJ1b9vG.d.mts → define-config-Bo24xyUK.d.mts} +66 -14
- package/dist/shared/{error-BrnLyQ-g.mjs → error-B8po7KiL.mjs} +1 -1
- package/dist/shared/{get-log-filter-semyr3Lj.d.mts → get-log-filter-BpNVNJ5-.d.mts} +1 -1
- package/dist/shared/{load-config-xUNmcCRn.mjs → load-config-ByfeVF0s.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-dAjLOSbp.mjs → normalize-string-or-regex-DqWsYC5b.mjs} +2 -2
- package/dist/shared/{parse-_9Vwp6y3.mjs → parse-DRL-bdRR.mjs} +2 -2
- package/dist/shared/{resolve-tsconfig-DCdBlPeK.mjs → resolve-tsconfig-B5gzX9_3.mjs} +2 -2
- package/dist/shared/{rolldown-hwU2j9UL.mjs → rolldown-B9_Kw98b.mjs} +1 -1
- package/dist/shared/{rolldown-build-D_ShytiL.mjs → rolldown-build-9MccaWPU.mjs} +42 -63
- package/dist/shared/{transform-DgZ3paSD.d.mts → transform-BpeSEA-X.d.mts} +2 -2
- package/dist/shared/{watch-Bak_bDNe.mjs → watch-HI3wX0Zu.mjs} +6 -6
- package/dist/utils-index.d.mts +3 -3
- package/dist/utils-index.mjs +5 -5
- package/package.json +24 -24
- /package/dist/shared/{define-config-DJOr6Iwt.mjs → define-config-Demdg3_4.mjs} +0 -0
- /package/dist/shared/{logging-C6h4g8dA.d.mts → logging-BSNejiLS.d.mts} +0 -0
- /package/dist/shared/{logs-D80CXhvg.mjs → logs-aMKUxRpj.mjs} +0 -0
- /package/dist/shared/{misc-DJYbNKZX.mjs → misc-CoQm4NHO.mjs} +0 -0
- /package/dist/shared/{prompt-U5ajztzG.mjs → prompt-DewH0PjV.mjs} +0 -0
package/dist/shared/{bindingify-input-options-zrVFGksD.mjs → bindingify-input-options-DmY7myA4.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-
|
|
3
|
-
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
4
|
-
import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-
|
|
5
|
-
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-lLxFxuG-.mjs";
|
|
2
|
+
import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-aMKUxRpj.mjs";
|
|
3
|
+
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DqWsYC5b.mjs";
|
|
4
|
+
import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-CoQm4NHO.mjs";
|
|
5
|
+
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-B8po7KiL.mjs";
|
|
6
6
|
import { parseAst } from "../parse-ast-index.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import * as filter from "@rolldown/pluginutils";
|
|
9
9
|
import fsp from "node:fs/promises";
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.0.
|
|
11
|
+
var version = "1.0.2";
|
|
12
12
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/constants/version.ts
|
|
@@ -219,7 +219,7 @@ function bindingAssetSource(source) {
|
|
|
219
219
|
return { inner: source };
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region \0@oxc-project+runtime@0.
|
|
222
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/decorate.js
|
|
223
223
|
function __decorate(decorators, target, key, desc) {
|
|
224
224
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
225
225
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -674,7 +674,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
|
|
|
674
674
|
return map;
|
|
675
675
|
}
|
|
676
676
|
//#endregion
|
|
677
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
677
|
+
//#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
|
|
678
678
|
function e(e, t, n) {
|
|
679
679
|
let r = (n) => e(n, ...t);
|
|
680
680
|
return n === void 0 ? r : Object.assign(r, {
|
|
@@ -683,7 +683,7 @@ function e(e, t, n) {
|
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
685
|
//#endregion
|
|
686
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
686
|
+
//#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/purry.js
|
|
687
687
|
function t$1(t, n, r) {
|
|
688
688
|
let i = t.length - n.length;
|
|
689
689
|
if (i === 0) return t(...n);
|
|
@@ -691,7 +691,7 @@ function t$1(t, n, r) {
|
|
|
691
691
|
throw Error(`Wrong number of arguments`);
|
|
692
692
|
}
|
|
693
693
|
//#endregion
|
|
694
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
694
|
+
//#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/partition.js
|
|
695
695
|
function t(...t) {
|
|
696
696
|
return t$1(n, t);
|
|
697
697
|
}
|
|
@@ -2010,7 +2010,7 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
|
|
|
2010
2010
|
platform: inputOptions.platform,
|
|
2011
2011
|
shimMissingExports: inputOptions.shimMissingExports,
|
|
2012
2012
|
logLevel: bindingifyLogLevel(logLevel),
|
|
2013
|
-
onLog
|
|
2013
|
+
onLog,
|
|
2014
2014
|
treeshake: bindingifyTreeshakeOptions(inputOptions.treeshake),
|
|
2015
2015
|
moduleTypes: inputOptions.moduleTypes,
|
|
2016
2016
|
define: normalizedTransform.define,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DqWsYC5b.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-
|
|
2
|
-
import {
|
|
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-DktDDYoY.mjs";
|
|
2
|
+
import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-Bo24xyUK.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
|
-
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-
|
|
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-
|
|
1
|
+
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-BSNejiLS.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-DktDDYoY.mjs";
|
|
3
3
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
4
|
import { Program } from "@oxc-project/types";
|
|
5
5
|
|
|
@@ -861,8 +861,6 @@ interface OutputOptions {
|
|
|
861
861
|
*
|
|
862
862
|
* When both `legalComments` and `comments.legal` are set, `comments.legal` takes priority.
|
|
863
863
|
*
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
864
|
* @default true
|
|
867
865
|
*/
|
|
868
866
|
comments?: boolean | CommentsOptions;
|
|
@@ -906,9 +904,18 @@ interface OutputOptions {
|
|
|
906
904
|
*/
|
|
907
905
|
preserveModulesRoot?: string;
|
|
908
906
|
/**
|
|
909
|
-
* Whether to
|
|
907
|
+
* Whether to convert top-level `let` and `const` declarations into `var` declarations.
|
|
908
|
+
*
|
|
909
|
+
* Enabling this option can improve runtime performance of the generated code in
|
|
910
|
+
* certain environments by avoiding Temporal Dead Zone (TDZ) checks. Only declarations
|
|
911
|
+
* in the module's top-level scope are rewritten — declarations inside nested scopes
|
|
912
|
+
* (functions, blocks, etc.) are left as-is.
|
|
910
913
|
*
|
|
911
|
-
*
|
|
914
|
+
* Note:
|
|
915
|
+
* - Top-level `class X {}` declarations are always emitted as `var X = class {}` so
|
|
916
|
+
* rolldown can hoist them alongside other top-level bindings; this transform is
|
|
917
|
+
* independent of `topLevelVar`.
|
|
918
|
+
* - Top-level `function` declarations are never rewritten.
|
|
912
919
|
*
|
|
913
920
|
* @default false
|
|
914
921
|
*
|
|
@@ -1502,6 +1509,15 @@ interface ChecksOptions {
|
|
|
1502
1509
|
* */
|
|
1503
1510
|
missingNameOptionForIifeExport?: boolean;
|
|
1504
1511
|
/**
|
|
1512
|
+
* Whether to emit warnings when a `#__PURE__` / `@__PURE__` annotation has no effect due to its position.
|
|
1513
|
+
*
|
|
1514
|
+
* Annotations placed where they cannot annotate a call expression (e.g. before a non-call expression,
|
|
1515
|
+
* before a statement declaration, or between an identifier and `=` in a variable declarator) are
|
|
1516
|
+
* ignored by the parser. Matches Rollup's `INVALID_ANNOTATION` log code.
|
|
1517
|
+
* @default true
|
|
1518
|
+
* */
|
|
1519
|
+
invalidAnnotation?: boolean;
|
|
1520
|
+
/**
|
|
1505
1521
|
* Whether to emit warnings when the way to export values is ambiguous.
|
|
1506
1522
|
*
|
|
1507
1523
|
* See [`output.exports`](https://rolldown.rs/reference/OutputOptions.exports).
|
|
@@ -1609,6 +1625,15 @@ interface ChecksOptions {
|
|
|
1609
1625
|
* @default true
|
|
1610
1626
|
* */
|
|
1611
1627
|
ineffectiveDynamicImport?: boolean;
|
|
1628
|
+
/**
|
|
1629
|
+
* Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000).
|
|
1630
|
+
*
|
|
1631
|
+
* Such modules can significantly slow down module resolution. Consider using
|
|
1632
|
+
* [`@rolldown/plugin-transform-imports`](https://github.com/rolldown/plugins/tree/main/packages/transform-imports)
|
|
1633
|
+
* to rewrite barrel imports at the source level so the barrel file is never loaded.
|
|
1634
|
+
* @default true
|
|
1635
|
+
* */
|
|
1636
|
+
largeBarrelModules?: boolean;
|
|
1612
1637
|
}
|
|
1613
1638
|
//#endregion
|
|
1614
1639
|
//#region src/options/transform-options.d.ts
|
|
@@ -3080,6 +3105,28 @@ type InputOption = string | string[] | Record<string, string>;
|
|
|
3080
3105
|
type ExternalOptionFunction = (id: string, parentId: string | undefined, isResolved: boolean) => NullValue<boolean>;
|
|
3081
3106
|
/** @inline */
|
|
3082
3107
|
type ExternalOption = StringOrRegExp | StringOrRegExp[] | ExternalOptionFunction;
|
|
3108
|
+
interface ChunkOptimizationOptions {
|
|
3109
|
+
/**
|
|
3110
|
+
* Merge common chunks into existing entry chunks when it is safe.
|
|
3111
|
+
*
|
|
3112
|
+
* This can reduce the number of emitted chunks by moving shared/common modules
|
|
3113
|
+
* into an entry chunk that already depends on them. Rolldown only applies the
|
|
3114
|
+
* merge when it does not create a circular chunk dependency or change strict
|
|
3115
|
+
* entry export signatures. This pass also covers safe empty-facade cleanup.
|
|
3116
|
+
*
|
|
3117
|
+
* @default true
|
|
3118
|
+
*/
|
|
3119
|
+
mergeCommonChunks?: boolean;
|
|
3120
|
+
/**
|
|
3121
|
+
* Avoid emitting redundant chunk loads for dynamic entries.
|
|
3122
|
+
*
|
|
3123
|
+
* This pass can reduce dynamic-entry dependent chunks when the shared modules
|
|
3124
|
+
* are guaranteed to be loaded by every importer of that dynamic entry.
|
|
3125
|
+
*
|
|
3126
|
+
* @default true
|
|
3127
|
+
*/
|
|
3128
|
+
avoidRedundantChunkLoads?: boolean;
|
|
3129
|
+
}
|
|
3083
3130
|
type ModuleTypes = Record<string, "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css" | "asset" | "copy">;
|
|
3084
3131
|
interface WatcherFileWatcherOptions {
|
|
3085
3132
|
/**
|
|
@@ -3683,18 +3730,18 @@ interface InputOptions {
|
|
|
3683
3730
|
*/
|
|
3684
3731
|
nativeMagicString?: boolean;
|
|
3685
3732
|
/**
|
|
3686
|
-
* Control
|
|
3687
|
-
* This optimization can reduce the number of generated chunks.
|
|
3733
|
+
* Control chunk optimizations.
|
|
3688
3734
|
*
|
|
3689
|
-
*
|
|
3690
|
-
*
|
|
3735
|
+
* `true` enables both common-chunk merging and redundant dynamic chunk-load avoidance.
|
|
3736
|
+
* `false` disables all chunk optimizations. Use the object form to control
|
|
3737
|
+
* `mergeCommonChunks` and `avoidRedundantChunkLoads` separately.
|
|
3691
3738
|
*
|
|
3692
|
-
*
|
|
3693
|
-
* as
|
|
3739
|
+
* These optimizations are automatically disabled when any module uses top-level await (TLA) or contains TLA dependencies,
|
|
3740
|
+
* as they could affect execution order guarantees.
|
|
3694
3741
|
*
|
|
3695
3742
|
* @default true
|
|
3696
3743
|
*/
|
|
3697
|
-
chunkOptimization?: boolean;
|
|
3744
|
+
chunkOptimization?: boolean | ChunkOptimizationOptions;
|
|
3698
3745
|
/**
|
|
3699
3746
|
* Control whether to enable lazy barrel optimization.
|
|
3700
3747
|
*
|
|
@@ -3749,6 +3796,11 @@ interface InputOptions {
|
|
|
3749
3796
|
makeAbsoluteExternalsRelative?: MakeAbsoluteExternalsRelative;
|
|
3750
3797
|
/**
|
|
3751
3798
|
* Devtools integration options.
|
|
3799
|
+
*
|
|
3800
|
+
* When enabled, Rolldown writes JSON-lines devtools output under
|
|
3801
|
+
* `node_modules/.rolldown/{session_id}/`. Consumers can parse the output with
|
|
3802
|
+
* `@rolldown/debug` after `await bundle.close()` resolves.
|
|
3803
|
+
*
|
|
3752
3804
|
* @experimental
|
|
3753
3805
|
*/
|
|
3754
3806
|
devtools?: {
|
|
@@ -3826,4 +3878,4 @@ declare function defineConfig(config: RolldownOptions[]): RolldownOptions[];
|
|
|
3826
3878
|
declare function defineConfig(config: RolldownOptionsFunction): RolldownOptionsFunction;
|
|
3827
3879
|
declare function defineConfig(config: ConfigExport): ConfigExport;
|
|
3828
3880
|
//#endregion
|
|
3829
|
-
export {
|
|
3881
|
+
export { PluginContextMeta as $, RolldownPluginOption as A, CodeSplittingGroup as At, OutputBundle as B, PreRenderedAsset as Bt, ParallelPluginHooks as C, build as Ct, ResolveIdResult as D, BuiltinModuleTag as Dt, ResolveIdExtraOptions as E, AdvancedChunksOptions as Et, RUNTIME_MODULE_ID as F, GeneratedCodePreset as Ft, EmittedFile as G, OutputChunk as Gt, TransformPluginContext as H, PartialNull as Ht, VERSION as I, GlobalsFunction as It, PluginContext as J, RolldownOutput as Jt, EmittedPrebuiltChunk as K, RenderedChunk as Kt, BundleError as L, MinifyOptions as Lt, TransformResult as M, CodeSplittingOptions as Mt, withFilter as N, CommentsOptions as Nt, ResolvedId as O, ChunkFileNamesFunction as Ot, BuiltinPlugin as P, GeneratedCodeOptions as Pt, MinimalPluginContext as Q, SourcemapIgnoreListOption as Qt, ExistingRawSourceMap as R, ModuleFormat as Rt, ObjectHook as S, BuildOptions as St, Plugin as T, AdvancedChunksGroup as Tt, EmittedAsset as U, StringOrRegExp as Ut, TreeshakingOptions as V, MaybePromise as Vt, EmittedChunk as W, OutputAsset as Wt, DefineParallelPluginResult as X, freeExternalMemory as Xt, PluginContextResolveOptions as Y, SourceMap as Yt, defineParallelPlugin as Z, ModuleInfo as Zt, HookFilterExtension as _, RolldownWatcherEvent as _t, ChunkOptimizationOptions as a, RolldownFileStats as at, ModuleOptions as b, rolldown as bt, InputOption as c, NormalizedOutputOptions as ct, OptimizationOptions as d, ChecksOptions as dt, GeneralHookFilter as et, WatcherFileWatcherOptions as f, LoggingFunction as ft, FunctionPluginHooks as g, RolldownWatcher as gt, CustomPluginOptions as h, watch as ht, RolldownOptions as i, RolldownDirectoryEntry as it, SourceDescription as j, CodeSplittingNameFunction as jt, RolldownPlugin as k, ChunkingContext as kt, InputOptions as l, NormalizedInputOptions as lt, AsyncPluginHooks as m, RolldownMagicString as mt, RolldownOptionsFunction as n, ModuleTypeFilter as nt, ExternalOption as o, RolldownFsModule as ot, WatcherOptions as p, WarningHandlerWithDefault as pt, GetModuleInfo as q, RenderedModule as qt, defineConfig as r, BufferEncoding as rt, ExternalOptionFunction as s, InternalModuleFormat as st, ConfigExport as t, HookFilter as tt, ModuleTypes as u, TransformOptions as ut, ImportKind as v, RolldownWatcherWatcherEventMap as vt, PartialResolvedId as w, AddonFunction as wt, ModuleType as x, RolldownBuild as xt, LoadResult as y, WatchOptions as yt, SourceMapInput as z, OutputOptions as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { c as logPluginError, n as error } from "./logs-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-lLxFxuG-.mjs";
|
|
2
|
+
import { c as logPluginError, n as error } from "./logs-aMKUxRpj.mjs";
|
|
3
3
|
//#region src/builtin-plugin/utils.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
5
5
|
var BuiltinPlugin = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-lLxFxuG-.mjs";
|
|
2
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.132.0/node_modules/oxc-parser/src-js/wrap.js
|
|
3
3
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
4
4
|
function wrap(result) {
|
|
5
5
|
let program, module, comments, errors;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-lLxFxuG-.mjs";
|
|
2
|
+
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-B8po7KiL.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-
|
|
1
|
+
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-9MccaWPU.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-
|
|
2
|
-
import { i as logInputHookInOutputPlugin, n as error } from "./logs-
|
|
3
|
-
import { n as BuiltinPlugin } from "./normalize-string-or-regex-
|
|
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-
|
|
5
|
-
import { i as unimplemented } from "./misc-
|
|
6
|
-
import { i as unwrapBindingResult } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-lLxFxuG-.mjs";
|
|
2
|
+
import { i as logInputHookInOutputPlugin, n as error } from "./logs-aMKUxRpj.mjs";
|
|
3
|
+
import { n as BuiltinPlugin } from "./normalize-string-or-regex-DqWsYC5b.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-DmY7myA4.mjs";
|
|
5
|
+
import { i as unimplemented } from "./misc-CoQm4NHO.mjs";
|
|
6
|
+
import { i as unwrapBindingResult } from "./error-B8po7KiL.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";
|
|
@@ -211,9 +211,12 @@ function getSortedPlugins(hookName, plugins) {
|
|
|
211
211
|
...post
|
|
212
212
|
];
|
|
213
213
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
const DEFAULT_CONFIG = {
|
|
215
|
+
lang: void 0,
|
|
216
|
+
message: void 0,
|
|
217
|
+
abortEarly: void 0,
|
|
218
|
+
abortPipeEarly: void 0
|
|
219
|
+
};
|
|
217
220
|
/**
|
|
218
221
|
* Returns the global configuration.
|
|
219
222
|
*
|
|
@@ -223,50 +226,14 @@ let store$4;
|
|
|
223
226
|
*/
|
|
224
227
|
/* @__NO_SIDE_EFFECTS__ */
|
|
225
228
|
function getGlobalConfig(config$1) {
|
|
229
|
+
if (!config$1 && true) return DEFAULT_CONFIG;
|
|
226
230
|
return {
|
|
227
|
-
lang: config$1?.lang ??
|
|
231
|
+
lang: config$1?.lang ?? void 0,
|
|
228
232
|
message: config$1?.message,
|
|
229
|
-
abortEarly: config$1?.abortEarly ??
|
|
230
|
-
abortPipeEarly: config$1?.abortPipeEarly ??
|
|
233
|
+
abortEarly: config$1?.abortEarly ?? void 0,
|
|
234
|
+
abortPipeEarly: config$1?.abortPipeEarly ?? void 0
|
|
231
235
|
};
|
|
232
236
|
}
|
|
233
|
-
let store$3;
|
|
234
|
-
/**
|
|
235
|
-
* Returns a global error message.
|
|
236
|
-
*
|
|
237
|
-
* @param lang The language of the message.
|
|
238
|
-
*
|
|
239
|
-
* @returns The error message.
|
|
240
|
-
*/
|
|
241
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
242
|
-
function getGlobalMessage(lang) {
|
|
243
|
-
return store$3?.get(lang);
|
|
244
|
-
}
|
|
245
|
-
let store$2;
|
|
246
|
-
/**
|
|
247
|
-
* Returns a schema error message.
|
|
248
|
-
*
|
|
249
|
-
* @param lang The language of the message.
|
|
250
|
-
*
|
|
251
|
-
* @returns The error message.
|
|
252
|
-
*/
|
|
253
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
254
|
-
function getSchemaMessage(lang) {
|
|
255
|
-
return store$2?.get(lang);
|
|
256
|
-
}
|
|
257
|
-
let store$1;
|
|
258
|
-
/**
|
|
259
|
-
* Returns a specific error message.
|
|
260
|
-
*
|
|
261
|
-
* @param reference The identifier reference.
|
|
262
|
-
* @param lang The language of the message.
|
|
263
|
-
*
|
|
264
|
-
* @returns The error message.
|
|
265
|
-
*/
|
|
266
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
267
|
-
function getSpecificMessage(reference, lang) {
|
|
268
|
-
return store$1?.get(reference)?.get(lang);
|
|
269
|
-
}
|
|
270
237
|
/**
|
|
271
238
|
* Stringifies an unknown input to a literal or type string.
|
|
272
239
|
*
|
|
@@ -314,12 +281,13 @@ function _addIssue(context, label, dataset, config$1, other) {
|
|
|
314
281
|
abortPipeEarly: config$1.abortPipeEarly
|
|
315
282
|
};
|
|
316
283
|
const isSchema = context.kind === "schema";
|
|
317
|
-
const message$1 = other?.message ?? context.message ??
|
|
284
|
+
const message$1 = other?.message ?? context.message ?? (context.reference, issue.lang, void 0) ?? (isSchema ? (issue.lang, void 0) : null) ?? config$1.message ?? (issue.lang, void 0);
|
|
318
285
|
if (message$1 !== void 0) issue.message = typeof message$1 === "function" ? message$1(issue) : message$1;
|
|
319
286
|
if (isSchema) dataset.typed = false;
|
|
320
287
|
if (dataset.issues) dataset.issues.push(issue);
|
|
321
288
|
else dataset.issues = [issue];
|
|
322
289
|
}
|
|
290
|
+
const _standardCache = /* @__PURE__ */ new WeakMap();
|
|
323
291
|
/**
|
|
324
292
|
* Returns the Standard Schema properties.
|
|
325
293
|
*
|
|
@@ -329,13 +297,18 @@ function _addIssue(context, label, dataset, config$1, other) {
|
|
|
329
297
|
*/
|
|
330
298
|
/* @__NO_SIDE_EFFECTS__ */
|
|
331
299
|
function _getStandardProps(context) {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
300
|
+
let cached = _standardCache.get(context);
|
|
301
|
+
if (!cached) {
|
|
302
|
+
cached = {
|
|
303
|
+
version: 1,
|
|
304
|
+
vendor: "valibot",
|
|
305
|
+
validate(value$1) {
|
|
306
|
+
return context["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig());
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
_standardCache.set(context, cached);
|
|
310
|
+
}
|
|
311
|
+
return cached;
|
|
339
312
|
}
|
|
340
313
|
/**
|
|
341
314
|
* Disallows inherited object properties and prevents object prototype
|
|
@@ -350,7 +323,7 @@ function _getStandardProps(context) {
|
|
|
350
323
|
*/
|
|
351
324
|
/* @__NO_SIDE_EFFECTS__ */
|
|
352
325
|
function _isValidObjectKey(object$1, key) {
|
|
353
|
-
return Object.
|
|
326
|
+
return Object.prototype.hasOwnProperty.call(object$1, key) && key !== "__proto__" && key !== "prototype" && key !== "constructor";
|
|
354
327
|
}
|
|
355
328
|
/**
|
|
356
329
|
* Joins multiple `expects` values with the given separator.
|
|
@@ -474,6 +447,7 @@ function returnsAsync(schema) {
|
|
|
474
447
|
}
|
|
475
448
|
};
|
|
476
449
|
}
|
|
450
|
+
const ABORT_EARLY_CONFIG = { abortEarly: true };
|
|
477
451
|
/**
|
|
478
452
|
* Returns the fallback value of the schema.
|
|
479
453
|
*
|
|
@@ -511,7 +485,7 @@ function getDefault(schema, dataset, config$1) {
|
|
|
511
485
|
*/
|
|
512
486
|
/* @__NO_SIDE_EFFECTS__ */
|
|
513
487
|
function is(schema, input) {
|
|
514
|
-
return !schema["~run"]({ value: input },
|
|
488
|
+
return !schema["~run"]({ value: input }, ABORT_EARLY_CONFIG).issues;
|
|
515
489
|
}
|
|
516
490
|
/**
|
|
517
491
|
* Creates an any schema.
|
|
@@ -1123,7 +1097,7 @@ function undefined_(message$1) {
|
|
|
1123
1097
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1124
1098
|
function _subIssues(datasets) {
|
|
1125
1099
|
let issues;
|
|
1126
|
-
if (datasets) for (const dataset of datasets) if (issues)
|
|
1100
|
+
if (datasets) for (const dataset of datasets) if (issues) for (const issue of dataset.issues) issues.push(issue);
|
|
1127
1101
|
else issues = dataset.issues;
|
|
1128
1102
|
return issues;
|
|
1129
1103
|
}
|
|
@@ -1521,6 +1495,7 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
1521
1495
|
eval: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when detecting uses of direct `eval`s")),
|
|
1522
1496
|
missingGlobalName: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when the `output.globals` option is missing when needed")),
|
|
1523
1497
|
missingNameOptionForIifeExport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when the `output.name` option is missing when needed")),
|
|
1498
|
+
invalidAnnotation: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a `#__PURE__` / `@__PURE__` annotation has no effect due to its position")),
|
|
1524
1499
|
mixedExports: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when the way to export values is ambiguous")),
|
|
1525
1500
|
unresolvedEntry: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when an entrypoint cannot be resolved")),
|
|
1526
1501
|
unresolvedImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when an import cannot be resolved")),
|
|
@@ -1536,7 +1511,8 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
1536
1511
|
pluginTimings: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when plugins take significant time during the build process")),
|
|
1537
1512
|
duplicateShebang: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when both the code and postBanner contain shebang")),
|
|
1538
1513
|
unsupportedTsconfigOption: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a tsconfig option or combination of options is not supported")),
|
|
1539
|
-
ineffectiveDynamicImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting"))
|
|
1514
|
+
ineffectiveDynamicImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting")),
|
|
1515
|
+
largeBarrelModules: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000)"))
|
|
1540
1516
|
});
|
|
1541
1517
|
const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
|
|
1542
1518
|
compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
|
|
@@ -1654,7 +1630,10 @@ const InputOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
1654
1630
|
onDemandWrapping: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
1655
1631
|
incrementalBuild: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
1656
1632
|
nativeMagicString: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
1657
|
-
chunkOptimization: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()
|
|
1633
|
+
chunkOptimization: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
|
|
1634
|
+
mergeCommonChunks: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
1635
|
+
avoidRedundantChunkLoads: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
1636
|
+
})])),
|
|
1658
1637
|
lazyBarrel: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
1659
1638
|
})),
|
|
1660
1639
|
transform: /* @__PURE__ */ optional(TransformOptionsSchema),
|
|
@@ -2878,7 +2857,7 @@ function createConsola(options = {}) {
|
|
|
2878
2857
|
defaults: { level },
|
|
2879
2858
|
stdout: process.stdout,
|
|
2880
2859
|
stderr: process.stderr,
|
|
2881
|
-
prompt: (...args) => import("./prompt-
|
|
2860
|
+
prompt: (...args) => import("./prompt-DewH0PjV.mjs").then((m) => m.prompt(...args)),
|
|
2882
2861
|
reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
2883
2862
|
...options
|
|
2884
2863
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as RolldownLog } from "./logging-
|
|
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-
|
|
1
|
+
import { a as RolldownLog } from "./logging-BSNejiLS.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-DktDDYoY.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-
|
|
2
|
-
import { o as logMultipleWatcherOption } from "./logs-
|
|
3
|
-
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
4
|
-
import { t as arraify } from "./misc-
|
|
5
|
-
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-
|
|
6
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-lLxFxuG-.mjs";
|
|
2
|
+
import { o as logMultipleWatcherOption } from "./logs-aMKUxRpj.mjs";
|
|
3
|
+
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-DmY7myA4.mjs";
|
|
4
|
+
import { t as arraify } from "./misc-CoQm4NHO.mjs";
|
|
5
|
+
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-9MccaWPU.mjs";
|
|
6
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-B8po7KiL.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.
|
package/dist/utils-index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-
|
|
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-
|
|
1
|
+
import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-DktDDYoY.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-BpeSEA-X.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.
|
|
6
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.132.0/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;
|
package/dist/utils-index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
-
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-
|
|
3
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
1
|
+
import { n as parseSync, t as parse } from "./shared/parse-DRL-bdRR.mjs";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-B5gzX9_3.mjs";
|
|
3
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.132.0/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.
|
|
2013
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.132.0/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.
|
|
2183
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.132.0/node_modules/oxc-parser/src-js/visit/visitor.js
|
|
2184
2184
|
let compiledVisitor;
|
|
2185
2185
|
function createCompiledVisitor() {
|
|
2186
2186
|
compiledVisitor = [];
|