rolldown 1.2.4 → 1.2.5
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 +6 -6
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/experimental-index.d.mts +28 -28
- package/dist/experimental-index.mjs +11 -9
- package/dist/filter-index.d.mts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +4 -4
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.mts +3 -3
- package/dist/parse-ast-index.d.mts +6 -7
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/plugins-index.d.mts +5 -5
- package/dist/plugins-index.mjs +2 -2
- package/dist/shared/{binding-CVtkJvyl.d.mts → binding-Bvw14S3g.d.mts} +70 -1
- package/dist/shared/{binding-Zhafd14U.mjs → binding-C__LJDBG.mjs} +29 -27
- package/dist/shared/{bindingify-input-options-C-Zsy1EG.mjs → bindingify-input-options-COG1sboO.mjs} +5 -5
- package/dist/shared/{constructors-CGzna3vk.d.mts → constructors-CRumnw21.d.mts} +2 -2
- package/dist/shared/{constructors-u6EEiG8n.mjs → constructors-DklcHr18.mjs} +1 -1
- package/dist/shared/{create-bundler-option-wRiQzEJ3.mjs → create-bundler-option-Cj0juyCQ.mjs} +5 -4
- package/dist/shared/{define-config-Dsp5YQR4.d.mts → define-config-DwTNhgWB.d.mts} +9 -4
- package/dist/shared/{error-CVc7IgvG.mjs → error-NcRuXAVN.mjs} +1 -1
- package/dist/shared/{load-config-63nAW5KO.mjs → load-config-CLrSp_LC.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-BxRYnPRv.mjs → normalize-string-or-regex-CFtim40S.mjs} +1 -1
- package/dist/shared/{parse-DnWvq9XZ.mjs → parse-HzGoFgdF.mjs} +2 -2
- package/dist/shared/{resolve-tsconfig-SPewz4V3.mjs → resolve-tsconfig-D2vSIIkR.mjs} +2 -2
- package/dist/shared/{rolldown-DiYVDns9.mjs → rolldown-vcii7mEa.mjs} +4 -4
- package/dist/shared/{transform-WmU_cI8e.d.mts → transform--WSMLt1x.d.mts} +1 -1
- package/dist/shared/{watch-BNCfUBmW.mjs → watch-olxWZPOn.mjs} +4 -4
- package/dist/utils-index.d.mts +5 -5
- package/dist/utils-index.mjs +5 -5
- package/package.json +31 -29
package/dist/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { D as version, E as description } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-olxWZPOn.mjs";
|
|
2
|
+
import { D as version, E as description } from "./shared/bindingify-input-options-COG1sboO.mjs";
|
|
3
3
|
import { t as arraify } from "./shared/misc-DOSKtd97.mjs";
|
|
4
|
-
import { a as getOutputCliKeys, c as styleText, i as getInputCliKeys, n as logger, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/create-bundler-option-
|
|
5
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
6
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { a as getOutputCliKeys, c as styleText, i as getInputCliKeys, n as logger, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/create-bundler-option-Cj0juyCQ.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-vcii7mEa.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-CLrSp_LC.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import g$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
@@ -866,7 +866,7 @@ function getClearScreenFunction(options) {
|
|
|
866
866
|
};
|
|
867
867
|
}
|
|
868
868
|
//#endregion
|
|
869
|
-
//#region \0@oxc-project+runtime@0.
|
|
869
|
+
//#region \0@oxc-project+runtime@0.146.0/helpers/esm/usingCtx.js
|
|
870
870
|
function _usingCtx() {
|
|
871
871
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
872
872
|
var n = Error();
|
package/dist/config.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-
|
|
1
|
+
import { R as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-DwTNhgWB.mjs";
|
|
2
2
|
//#region src/utils/load-config.d.ts
|
|
3
3
|
type ConfigLoader = "bundle" | "native";
|
|
4
4
|
interface LoadConfigOptions {
|
|
@@ -21,6 +21,6 @@ interface LoadConfigOptions {
|
|
|
21
21
|
*
|
|
22
22
|
* @category Config
|
|
23
23
|
*/
|
|
24
|
-
declare function loadConfig(configPath: string, options?: LoadConfigOptions): Promise<ConfigExport>;
|
|
24
|
+
export declare function loadConfig(configPath: string, options?: LoadConfigOptions): Promise<ConfigExport>;
|
|
25
25
|
//#endregion
|
|
26
|
-
export { VERSION, defineConfig
|
|
26
|
+
export { VERSION, defineConfig };
|
package/dist/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as VERSION } from "./shared/bindingify-input-options-
|
|
1
|
+
import { T as VERSION } from "./shared/bindingify-input-options-COG1sboO.mjs";
|
|
2
2
|
import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
|
|
3
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
3
|
+
import { t as loadConfig } from "./shared/load-config-CLrSp_LC.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as
|
|
2
|
-
import { $ as defineParallelPlugin, Gt as StringOrRegExp, I as BuiltinPlugin, Qt as freeExternalMemory, Vt as OutputOptions, Xt as RolldownOutput, l as InputOptions, ut as NormalizedOutputOptions } from "./shared/define-config-
|
|
3
|
-
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform
|
|
4
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
1
|
+
import { A as BindingViteTransformPluginConfig, H as ResolveResult, J as isolatedDeclaration, N as IsolatedDeclarationsOptions, P as IsolatedDeclarationsResult, R as NapiResolveOptions, T as BindingViteManifestPluginConfig, U as ResolverFactory, X as moduleRunnerTransform, Y as isolatedDeclarationSync, Z as resetNativeMemoryStats, f as BindingNativeMemoryStats, i as BindingClientHmrUpdate, m as BindingRebuildStrategy, n as BindingBundleAnalyzerPluginConfig, q as getNativeMemoryStats, r as BindingBundleState, u as BindingLazyChunkOutput, v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-Bvw14S3g.mjs";
|
|
2
|
+
import { $ as defineParallelPlugin, Gt as StringOrRegExp, I as BuiltinPlugin, Qt as freeExternalMemory, Vt as OutputOptions, Xt as RolldownOutput, l as InputOptions, ut as NormalizedOutputOptions } from "./shared/define-config-DwTNhgWB.mjs";
|
|
3
|
+
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform--WSMLt1x.mjs";
|
|
4
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-CRumnw21.mjs";
|
|
5
5
|
//#region src/api/dev/dev-options.d.ts
|
|
6
6
|
type DevOnHmrUpdates = (result: Error | {
|
|
7
7
|
updates: BindingClientHmrUpdate[];
|
|
@@ -96,7 +96,7 @@ interface DevOptions {
|
|
|
96
96
|
}
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/api/dev/dev-engine.d.ts
|
|
99
|
-
declare class DevEngine {
|
|
99
|
+
export declare class DevEngine {
|
|
100
100
|
#private;
|
|
101
101
|
static create(inputOptions: InputOptions, outputOptions?: OutputOptions, devOptions?: DevOptions): Promise<DevEngine>;
|
|
102
102
|
private constructor();
|
|
@@ -133,7 +133,7 @@ declare class DevEngine {
|
|
|
133
133
|
}
|
|
134
134
|
//#endregion
|
|
135
135
|
//#region src/api/dev/index.d.ts
|
|
136
|
-
declare const dev: typeof DevEngine.create;
|
|
136
|
+
export declare const dev: typeof DevEngine.create;
|
|
137
137
|
//#endregion
|
|
138
138
|
//#region src/api/experimental.d.ts
|
|
139
139
|
/**
|
|
@@ -151,7 +151,7 @@ declare const dev: typeof DevEngine.create;
|
|
|
151
151
|
* // Now all resources have been cleaned up.
|
|
152
152
|
* ```
|
|
153
153
|
*/
|
|
154
|
-
declare const scan: (rawInputOptions: InputOptions, rawOutputOptions?: {}) => Promise<Promise<void>>;
|
|
154
|
+
export declare const scan: (rawInputOptions: InputOptions, rawOutputOptions?: {}) => Promise<Promise<void>>;
|
|
155
155
|
//#endregion
|
|
156
156
|
//#region src/builtin-plugin/alias-plugin.d.ts
|
|
157
157
|
type ViteAliasPluginConfig = {
|
|
@@ -160,7 +160,7 @@ type ViteAliasPluginConfig = {
|
|
|
160
160
|
replacement: string;
|
|
161
161
|
}[];
|
|
162
162
|
};
|
|
163
|
-
declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
|
|
163
|
+
export declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
|
|
164
164
|
//#endregion
|
|
165
165
|
//#region src/builtin-plugin/bundle-analyzer-plugin.d.ts
|
|
166
166
|
/**
|
|
@@ -211,7 +211,7 @@ declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
|
|
|
211
211
|
* }
|
|
212
212
|
* ```
|
|
213
213
|
*/
|
|
214
|
-
declare function bundleAnalyzerPlugin(config?: BindingBundleAnalyzerPluginConfig): BuiltinPlugin;
|
|
214
|
+
export declare function bundleAnalyzerPlugin(config?: BindingBundleAnalyzerPluginConfig): BuiltinPlugin;
|
|
215
215
|
//#endregion
|
|
216
216
|
//#region src/builtin-plugin/transform-plugin.d.ts
|
|
217
217
|
type TransformPattern = string | RegExp | readonly (RegExp | string)[];
|
|
@@ -221,13 +221,13 @@ type TransformPluginConfig = Omit<BindingViteTransformPluginConfig, "include" |
|
|
|
221
221
|
jsxRefreshInclude?: TransformPattern;
|
|
222
222
|
jsxRefreshExclude?: TransformPattern;
|
|
223
223
|
};
|
|
224
|
-
declare function viteTransformPlugin(config: TransformPluginConfig): BuiltinPlugin;
|
|
224
|
+
export declare function viteTransformPlugin(config: TransformPluginConfig): BuiltinPlugin;
|
|
225
225
|
//#endregion
|
|
226
226
|
//#region src/builtin-plugin/vite-manifest-plugin.d.ts
|
|
227
227
|
type ViteManifestPluginConfig = Omit<BindingViteManifestPluginConfig, "isLegacy"> & {
|
|
228
228
|
isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
|
|
229
229
|
};
|
|
230
|
-
declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPlugin;
|
|
230
|
+
export declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPlugin;
|
|
231
231
|
//#endregion
|
|
232
232
|
//#region src/experimental-index.d.ts
|
|
233
233
|
/**
|
|
@@ -257,39 +257,39 @@ declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPl
|
|
|
257
257
|
*
|
|
258
258
|
* @see {@link https://github.com/streamich/memfs} for more information on the memfs API.
|
|
259
259
|
*/
|
|
260
|
-
declare const memfs: {
|
|
260
|
+
export declare const memfs: {
|
|
261
261
|
fs: any;
|
|
262
262
|
volume: any;
|
|
263
263
|
} | undefined;
|
|
264
264
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
265
|
-
declare const parse: typeof parse$1;
|
|
265
|
+
export declare const parse: typeof parse$1;
|
|
266
266
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
267
|
-
declare const parseSync: typeof parseSync$1;
|
|
267
|
+
export declare const parseSync: typeof parseSync$1;
|
|
268
268
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
269
|
-
type ParseResult = ParseResult$1;
|
|
269
|
+
export type ParseResult = ParseResult$1;
|
|
270
270
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
271
|
-
type ParserOptions = ParserOptions$1;
|
|
271
|
+
export type ParserOptions = ParserOptions$1;
|
|
272
272
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
273
|
-
declare const minify: typeof minify$1;
|
|
273
|
+
export declare const minify: typeof minify$1;
|
|
274
274
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
275
|
-
declare const minifySync: typeof minifySync$1;
|
|
275
|
+
export declare const minifySync: typeof minifySync$1;
|
|
276
276
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
277
|
-
type MinifyOptions = MinifyOptions$1;
|
|
277
|
+
export type MinifyOptions = MinifyOptions$1;
|
|
278
278
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
279
|
-
type MinifyResult = MinifyResult$1;
|
|
279
|
+
export type MinifyResult = MinifyResult$1;
|
|
280
280
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
281
|
-
declare const transform: typeof transform$1;
|
|
281
|
+
export declare const transform: typeof transform$1;
|
|
282
282
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
283
|
-
declare const transformSync: typeof transformSync$1;
|
|
283
|
+
export declare const transformSync: typeof transformSync$1;
|
|
284
284
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
285
|
-
type TransformOptions = TransformOptions$1;
|
|
285
|
+
export type TransformOptions = TransformOptions$1;
|
|
286
286
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
287
|
-
type TransformResult = TransformResult$1;
|
|
287
|
+
export type TransformResult = TransformResult$1;
|
|
288
288
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
289
|
-
declare const TsconfigCache: typeof TsconfigCache$1;
|
|
289
|
+
export declare const TsconfigCache: typeof TsconfigCache$1;
|
|
290
290
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
291
|
-
type TsconfigRawOptions = BindingTsconfigRawOptions;
|
|
291
|
+
export type TsconfigRawOptions = BindingTsconfigRawOptions;
|
|
292
292
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
293
|
-
type TsconfigCompilerOptions = BindingTsconfigCompilerOptions;
|
|
293
|
+
export type TsconfigCompilerOptions = BindingTsconfigCompilerOptions;
|
|
294
294
|
//#endregion
|
|
295
|
-
export { type BindingClientHmrUpdate,
|
|
295
|
+
export { type BindingClientHmrUpdate, type BindingNativeMemoryStats, BindingRebuildStrategy, type DevOptions, type DevWatchOptions, type IsolatedDeclarationsOptions, type IsolatedDeclarationsResult, type NapiResolveOptions as ResolveOptions, type ResolveResult, ResolverFactory, defineParallelPlugin, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, getNativeMemoryStats, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, moduleRunnerTransform, oxcRuntimePlugin, resetNativeMemoryStats, resolveTsconfig, viteBuildImportAnalysisPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteWebWorkerPostPlugin };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { u as transformToRollupOutput } from "./shared/bindingify-input-options-
|
|
4
|
-
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./shared/create-bundler-option-
|
|
5
|
-
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-
|
|
6
|
-
import { n as parseSync$1, t as parse$1 } from "./shared/parse-
|
|
7
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
8
|
-
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-C__LJDBG.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-CFtim40S.mjs";
|
|
3
|
+
import { u as transformToRollupOutput } from "./shared/bindingify-input-options-COG1sboO.mjs";
|
|
4
|
+
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./shared/create-bundler-option-Cj0juyCQ.mjs";
|
|
5
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-NcRuXAVN.mjs";
|
|
6
|
+
import { n as parseSync$1, t as parse$1 } from "./shared/parse-HzGoFgdF.mjs";
|
|
7
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DklcHr18.mjs";
|
|
8
|
+
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-D2vSIIkR.mjs";
|
|
9
9
|
import { pathToFileURL } from "node:url";
|
|
10
10
|
//#region src/api/dev/dev-engine.ts
|
|
11
11
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -350,7 +350,9 @@ const TsconfigCache = TsconfigCache$1;
|
|
|
350
350
|
//#endregion
|
|
351
351
|
var BindingRebuildStrategy = import_binding.BindingRebuildStrategy;
|
|
352
352
|
var ResolverFactory = import_binding.ResolverFactory;
|
|
353
|
+
var getNativeMemoryStats = import_binding.getNativeMemoryStats;
|
|
353
354
|
var isolatedDeclaration = import_binding.isolatedDeclaration;
|
|
354
355
|
var isolatedDeclarationSync = import_binding.isolatedDeclarationSync;
|
|
355
356
|
var moduleRunnerTransform = import_binding.moduleRunnerTransform;
|
|
356
|
-
|
|
357
|
+
var resetNativeMemoryStats = import_binding.resetNativeMemoryStats;
|
|
358
|
+
export { BindingRebuildStrategy, DevEngine, ResolverFactory, TsconfigCache, bundleAnalyzerPlugin, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, getNativeMemoryStats, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, memfs, minify, minifySync, moduleRunnerTransform, oxcRuntimePlugin, parse, parseSync, resetNativeMemoryStats, resolveTsconfig, scan, transform, transformSync, viteAliasPlugin, viteBuildImportAnalysisPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWebWorkerPostPlugin };
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as withFilter } from "./shared/define-config-
|
|
1
|
+
import { F as withFilter } from "./shared/define-config-DwTNhgWB.mjs";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.1/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts
|
|
3
3
|
//#region src/filter/composable-filters.d.ts
|
|
4
4
|
type StringOrRegExp = string | RegExp;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-xuHO4mAy.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { $t as ModuleInfo, A as ResolvedId, At as ChunkFileNamesFunction, B as ExistingRawSourceMap, Bt as ModuleFormat, C as ParallelPluginHooks, Ct as RolldownBuild, D as ResolveFileUrlArgs, Dt as AdvancedChunksGroup, E as PluginMeta, Et as AddonFunction, Ft as CommentsOptions, G as EmittedAsset, H as OutputBundle, Ht as PreRenderedAsset, It as GeneratedCodeOptions, J as EmittedPrebuiltChunk, Jt as RenderedChunk, K as EmittedChunk, Kt as OutputAsset, L as RUNTIME_MODULE_ID, Lt as GeneratedCodePreset, M as RolldownPluginOption, Mt as CodeSplittingGroup, N as SourceDescription, Nt as CodeSplittingNameFunction, O as ResolveIdExtraOptions, Ot as AdvancedChunksOptions, P as TransformResult, Pt as CodeSplittingOptions, Q as DefineParallelPluginResult, R as VERSION, Rt as GlobalsFunction, S as ObjectHook, St as rolldown, T as Plugin, Tt as build, U as TreeshakingOptions, V as SourceMapInput, Vt as OutputOptions, W as TransformPluginContext, Wt as PartialNull, X as PluginContext, Xt as RolldownOutput, Y as GetModuleInfo, Yt as RenderedModule, Z as PluginContextResolveOptions, Zt as SourceMap, _ as HookFilterExtension, _t as watch, a as ChunkOptimizationOptions, at as BufferEncoding, b as ModuleOptions, bt as RolldownWatcherWatcherEventMap, c as InputOption, ct as RolldownFsModule, d as OptimizationOptions, dt as NormalizedInputOptions, en as SourcemapIgnoreListOption, et as MinimalPluginContext, f as WatcherFileWatcherOptions, ft as TransformOptions, g as FunctionPluginHooks, gt as RolldownMagicString, h as CustomPluginOptions, ht as WarningHandlerWithDefault, i as RolldownOptions, it as ModuleTypeFilter, j as RolldownPlugin, jt as ChunkingContext, k as ResolveIdResult, kt as BuiltinModuleTag, l as InputOptions, lt as InternalModuleFormat, m as AsyncPluginHooks, mt as LoggingFunction, n as RolldownOptionsFunction, nt as GeneralHookFilter, o as ExternalOption, ot as RolldownDirectoryEntry, p as WatcherOptions, pt as ChecksOptions, q as EmittedFile, qt as OutputChunk, r as defineConfig, rt as HookFilter, s as ExternalOptionFunction, st as RolldownFileStats, t as ConfigExport, tt as PluginContextMeta, u as ModuleTypes, ut as NormalizedOutputOptions, v as ImportKind, vt as RolldownWatcher, w as PartialResolvedId, wt as BuildOptions, x as ModuleType, xt as WatchOptions, y as LoadResult, yt as RolldownWatcherEvent, z as BundleError, zt as MinifyOptions } from "./shared/define-config-
|
|
2
|
+
import { V as PreRenderedChunk } from "./shared/binding-Bvw14S3g.mjs";
|
|
3
|
+
import { $t as ModuleInfo, A as ResolvedId, At as ChunkFileNamesFunction, B as ExistingRawSourceMap, Bt as ModuleFormat, C as ParallelPluginHooks, Ct as RolldownBuild, D as ResolveFileUrlArgs, Dt as AdvancedChunksGroup, E as PluginMeta, Et as AddonFunction, Ft as CommentsOptions, G as EmittedAsset, H as OutputBundle, Ht as PreRenderedAsset, It as GeneratedCodeOptions, J as EmittedPrebuiltChunk, Jt as RenderedChunk, K as EmittedChunk, Kt as OutputAsset, L as RUNTIME_MODULE_ID, Lt as GeneratedCodePreset, M as RolldownPluginOption, Mt as CodeSplittingGroup, N as SourceDescription, Nt as CodeSplittingNameFunction, O as ResolveIdExtraOptions, Ot as AdvancedChunksOptions, P as TransformResult, Pt as CodeSplittingOptions, Q as DefineParallelPluginResult, R as VERSION, Rt as GlobalsFunction, S as ObjectHook, St as rolldown, T as Plugin, Tt as build, U as TreeshakingOptions, V as SourceMapInput, Vt as OutputOptions, W as TransformPluginContext, Wt as PartialNull, X as PluginContext, Xt as RolldownOutput, Y as GetModuleInfo, Yt as RenderedModule, Z as PluginContextResolveOptions, Zt as SourceMap, _ as HookFilterExtension, _t as watch, a as ChunkOptimizationOptions, at as BufferEncoding, b as ModuleOptions, bt as RolldownWatcherWatcherEventMap, c as InputOption, ct as RolldownFsModule, d as OptimizationOptions, dt as NormalizedInputOptions, en as SourcemapIgnoreListOption, et as MinimalPluginContext, f as WatcherFileWatcherOptions, ft as TransformOptions, g as FunctionPluginHooks, gt as RolldownMagicString, h as CustomPluginOptions, ht as WarningHandlerWithDefault, i as RolldownOptions, it as ModuleTypeFilter, j as RolldownPlugin, jt as ChunkingContext, k as ResolveIdResult, kt as BuiltinModuleTag, l as InputOptions, lt as InternalModuleFormat, m as AsyncPluginHooks, mt as LoggingFunction, n as RolldownOptionsFunction, nt as GeneralHookFilter, o as ExternalOption, ot as RolldownDirectoryEntry, p as WatcherOptions, pt as ChecksOptions, q as EmittedFile, qt as OutputChunk, r as defineConfig, rt as HookFilter, s as ExternalOptionFunction, st as RolldownFileStats, t as ConfigExport, tt as PluginContextMeta, u as ModuleTypes, ut as NormalizedOutputOptions, v as ImportKind, vt as RolldownWatcher, w as PartialResolvedId, wt as BuildOptions, x as ModuleType, xt as WatchOptions, y as LoadResult, yt as RolldownWatcherEvent, z as BundleError, zt as MinifyOptions } from "./shared/define-config-DwTNhgWB.mjs";
|
|
4
4
|
export { type AddonFunction, type AdvancedChunksGroup, type AdvancedChunksOptions, type AsyncPluginHooks, type BufferEncoding, type BuildOptions, type BuiltinModuleTag, type BundleError, type ChecksOptions, type ChunkFileNamesFunction, type ChunkOptimizationOptions, type ChunkingContext, type CodeSplittingGroup, type CodeSplittingNameFunction, type CodeSplittingOptions, type CommentsOptions, type ConfigExport, type CustomPluginOptions, type DefineParallelPluginResult, type EmittedAsset, type EmittedChunk, type EmittedFile, type EmittedPrebuiltChunk, type ExistingRawSourceMap, type ExternalOption, type ExternalOptionFunction, type FunctionPluginHooks, type GeneralHookFilter, type GeneratedCodeOptions, type GeneratedCodePreset, type GetModuleInfo, type GlobalsFunction, type HookFilter, type HookFilterExtension, type ImportKind, type InputOption, type InputOptions, type InternalModuleFormat, type LoadResult, type LogLevel, type LogLevelOption, type LogOrStringHandler, type LoggingFunction, type MinifyOptions, type MinimalPluginContext, type ModuleFormat, type ModuleInfo, type ModuleOptions, type ModuleType, type ModuleTypeFilter, type ModuleTypes, type NormalizedInputOptions, type NormalizedOutputOptions, type ObjectHook, type OptimizationOptions, type OutputAsset, type OutputBundle, type OutputChunk, type OutputOptions, type ParallelPluginHooks, type PartialNull, type PartialResolvedId, type Plugin, type PluginContext, type PluginContextMeta, type PluginContextResolveOptions, type PluginMeta, type PreRenderedAsset, type PreRenderedChunk, RUNTIME_MODULE_ID, type RenderedChunk, type RenderedModule, type ResolveFileUrlArgs, type ResolveIdExtraOptions, type ResolveIdResult, type ResolvedId, type RolldownBuild, type RolldownDirectoryEntry, type RolldownError, type RolldownError as RollupError, type RolldownFileStats, type RolldownFsModule, type RolldownLog, type RolldownLog as RollupLog, type RolldownLogWithString, type RolldownLogWithString as RollupLogWithString, RolldownMagicString, type RolldownOptions, type RolldownOptionsFunction, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatcher, type RolldownWatcherEvent, type RolldownWatcherWatcherEventMap, type SourceDescription, type SourceMap, type SourceMapInput, type SourcemapIgnoreListOption, type TransformOptions, type TransformPluginContext, type TransformResult, type TreeshakingOptions, VERSION, type WarningHandlerWithDefault, type WatchOptions, type WatcherFileWatcherOptions, type WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import { T as VERSION, s as RolldownMagicString } from "./shared/bindingify-input-options-
|
|
4
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-C__LJDBG.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-olxWZPOn.mjs";
|
|
3
|
+
import { T as VERSION, s as RolldownMagicString } from "./shared/bindingify-input-options-COG1sboO.mjs";
|
|
4
|
+
import { t as rolldown } from "./shared/rolldown-vcii7mEa.mjs";
|
|
5
5
|
import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
|
|
6
6
|
import { isMainThread } from "node:worker_threads";
|
|
7
7
|
//#region src/setup.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { c as PluginContextData, n as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-C__LJDBG.mjs";
|
|
2
|
+
import { c as PluginContextData, n as bindingifyPlugin } from "./shared/bindingify-input-options-COG1sboO.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
//#region src/parallel-plugin-worker.ts
|
|
5
5
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Plugin, Ut as MaybePromise } from "./shared/define-config-
|
|
1
|
+
import { T as Plugin, Ut as MaybePromise } from "./shared/define-config-DwTNhgWB.mjs";
|
|
2
2
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
3
3
|
type ParallelPluginImplementation = Plugin;
|
|
4
4
|
type Context = {
|
|
@@ -7,6 +7,6 @@ type Context = {
|
|
|
7
7
|
*/
|
|
8
8
|
threadNumber: number;
|
|
9
9
|
};
|
|
10
|
-
declare function defineParallelPluginImplementation<Options>(plugin: (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>): (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>;
|
|
10
|
+
export declare function defineParallelPluginImplementation<Options>(plugin: (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>): (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export {
|
|
12
|
+
export type { Context, ParallelPluginImplementation };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as ParserOptions$1, z as ParseResult$1 } from "./shared/binding-Bvw14S3g.mjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
//#region src/parse-ast-index.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* @hidden
|
|
6
6
|
*/
|
|
7
|
-
type ParseResult = ParseResult$1;
|
|
7
|
+
export type ParseResult = ParseResult$1;
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
type ParserOptions = ParserOptions$1;
|
|
11
|
+
export type ParserOptions = ParserOptions$1;
|
|
12
12
|
/**
|
|
13
13
|
* Parse code synchronously and return the AST.
|
|
14
14
|
*
|
|
@@ -17,7 +17,7 @@ type ParserOptions = ParserOptions$1;
|
|
|
17
17
|
*
|
|
18
18
|
* @category Utilities
|
|
19
19
|
*/
|
|
20
|
-
declare function parseAst(sourceText: string, options?: ParserOptions | null, filename?: string): Program;
|
|
20
|
+
export declare function parseAst(sourceText: string, options?: ParserOptions | null, filename?: string): Program;
|
|
21
21
|
/**
|
|
22
22
|
* Parse code asynchronously and return the AST.
|
|
23
23
|
*
|
|
@@ -26,6 +26,5 @@ declare function parseAst(sourceText: string, options?: ParserOptions | null, fi
|
|
|
26
26
|
*
|
|
27
27
|
* @category Utilities
|
|
28
28
|
*/
|
|
29
|
-
declare function parseAstAsync(sourceText: string, options?: ParserOptions | null, filename?: string): Promise<Program>;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { ParseResult, ParserOptions, parseAst, parseAstAsync };
|
|
29
|
+
export declare function parseAstAsync(sourceText: string, options?: ParserOptions | null, filename?: string): Promise<Program>;
|
|
30
|
+
//#endregion
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as logParseError, d as getCodeFrame, n as error, t as augmentCodeLocation, u as locate } from "./shared/logs-DmYCAKcW.mjs";
|
|
2
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
+
import { n as parseSync, t as parse } from "./shared/parse-HzGoFgdF.mjs";
|
|
3
3
|
//#region src/parse-ast-index.ts
|
|
4
4
|
function wrap(result, filename, sourceText) {
|
|
5
5
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { I as BuiltinPlugin } from "./shared/define-config-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { g as BindingReplacePluginConfig } from "./shared/binding-Bvw14S3g.mjs";
|
|
2
|
+
import { I as BuiltinPlugin } from "./shared/define-config-DwTNhgWB.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-CRumnw21.mjs";
|
|
4
4
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Replaces targeted strings in files while bundling.
|
|
@@ -27,6 +27,6 @@ import { t as esmExternalRequirePlugin } from "./shared/constructors-CGzna3vk.mj
|
|
|
27
27
|
* @see https://rolldown.rs/builtin-plugins/replace
|
|
28
28
|
* @category Builtin Plugins
|
|
29
29
|
*/
|
|
30
|
-
declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit<BindingReplacePluginConfig, "values">): BuiltinPlugin;
|
|
30
|
+
export declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit<BindingReplacePluginConfig, "values">): BuiltinPlugin;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { esmExternalRequirePlugin
|
|
32
|
+
export { esmExternalRequirePlugin };
|
package/dist/plugins-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-CFtim40S.mjs";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-DklcHr18.mjs";
|
|
3
3
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
4
4
|
/**
|
|
5
5
|
* Replaces targeted strings in files while bundling.
|
|
@@ -147,11 +147,48 @@ interface MangleOptionsKeepNames {
|
|
|
147
147
|
*/
|
|
148
148
|
class: boolean;
|
|
149
149
|
}
|
|
150
|
+
interface ManglePropertiesOptions {
|
|
151
|
+
/**
|
|
152
|
+
* JavaScript `RegExp` selecting property names to mangle. The source and flags are compiled
|
|
153
|
+
* with Rust's regex engine. Flags `i`, `m`, `s`, and `u` are supported.
|
|
154
|
+
*/
|
|
155
|
+
include: RegExp;
|
|
156
|
+
/** JavaScript `RegExp` excluding property names selected by `include`. */
|
|
157
|
+
exclude?: RegExp;
|
|
158
|
+
/** Exact names that are neither mangled nor emitted as automatic output names. */
|
|
159
|
+
reserved?: Array<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Mangle quoted property occurrences in addition to unquoted occurrences.
|
|
162
|
+
*
|
|
163
|
+
* @default false
|
|
164
|
+
*/
|
|
165
|
+
quoted?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Generate readable `_$name$_`-style output names.
|
|
168
|
+
*
|
|
169
|
+
* @default false
|
|
170
|
+
*/
|
|
171
|
+
debug?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Stable mappings from original names to output names. `false` reserves an original name.
|
|
174
|
+
* Entries that do not match `include`, or that match `exclude`, remain inert but are
|
|
175
|
+
* preserved in the returned `mangleCache`. String targets must be `IdentifierName` values
|
|
176
|
+
* other than `__proto__`, `constructor`, or `prototype`. The original name `__proto__` is
|
|
177
|
+
* always reserved and cannot be used as a cache key.
|
|
178
|
+
*/
|
|
179
|
+
cache?: Record<string, string | false>;
|
|
180
|
+
}
|
|
150
181
|
interface MinifyOptions {
|
|
151
182
|
/** Use when minifying an ES module. */
|
|
152
183
|
module?: boolean;
|
|
153
184
|
compress?: boolean | CompressOptions;
|
|
154
185
|
mangle?: boolean | MangleOptions;
|
|
186
|
+
/**
|
|
187
|
+
* Mangle matching property names independently of identifier mangling. Properties owned by
|
|
188
|
+
* unminified code, imported module namespaces, globals, or host APIs must be excluded or
|
|
189
|
+
* reserved.
|
|
190
|
+
*/
|
|
191
|
+
mangleProps?: ManglePropertiesOptions;
|
|
155
192
|
codegen?: boolean | CodegenOptions;
|
|
156
193
|
sourcemap?: boolean;
|
|
157
194
|
}
|
|
@@ -164,6 +201,11 @@ interface MinifyResult {
|
|
|
164
201
|
* Only populated when `codegen.legalComments` is `"linked"` or `"external"`.
|
|
165
202
|
*/
|
|
166
203
|
legalComments: Array<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Updated property-name cache sorted by original name. Present when `mangleProps` ran on a
|
|
206
|
+
* parse without errors.
|
|
207
|
+
*/
|
|
208
|
+
mangleCache?: Record<string, string | false>;
|
|
167
209
|
}
|
|
168
210
|
interface TreeShakeOptions {
|
|
169
211
|
/**
|
|
@@ -1737,6 +1779,21 @@ interface BindingModules {
|
|
|
1737
1779
|
values: Array<BindingRenderedModule>;
|
|
1738
1780
|
keys: Array<string>;
|
|
1739
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* Counters of the Rust-side tracking allocator. V8 never allocates through
|
|
1784
|
+
* the Rust global allocator, so these numbers exclude the JS heap and GC
|
|
1785
|
+
* noise completely, unlike `process.memoryUsage()`.
|
|
1786
|
+
*/
|
|
1787
|
+
interface BindingNativeMemoryStats {
|
|
1788
|
+
/** Bytes currently allocated and not yet freed, since process start. */
|
|
1789
|
+
liveBytes: number;
|
|
1790
|
+
/** Highest `live_bytes` seen since process start or the last reset. */
|
|
1791
|
+
peakBytes: number;
|
|
1792
|
+
/** Successful `alloc` calls since the last reset. */
|
|
1793
|
+
allocCount: number;
|
|
1794
|
+
/** Successful `realloc` calls since the last reset. */
|
|
1795
|
+
reallocCount: number;
|
|
1796
|
+
}
|
|
1740
1797
|
interface BindingOverwriteOptions {
|
|
1741
1798
|
contentOnly?: boolean;
|
|
1742
1799
|
/** Stores the replaced content in the generated sourcemap's `names` field. */
|
|
@@ -1948,6 +2005,12 @@ interface ExternalMemoryStatus {
|
|
|
1948
2005
|
freed: boolean;
|
|
1949
2006
|
reason?: string;
|
|
1950
2007
|
}
|
|
2008
|
+
/**
|
|
2009
|
+
* Returns the Rust-side allocator counters, or `None` when this binding was
|
|
2010
|
+
* built without the `tracking_allocator` cargo feature (the default —
|
|
2011
|
+
* tracking costs a few atomic operations per allocation).
|
|
2012
|
+
*/
|
|
2013
|
+
declare function getNativeMemoryStats(): BindingNativeMemoryStats | null;
|
|
1951
2014
|
/** Error emitted from native side, it only contains kind and message, no stack trace. */
|
|
1952
2015
|
interface NativeError {
|
|
1953
2016
|
kind: string;
|
|
@@ -1975,8 +2038,14 @@ interface PreRenderedChunk {
|
|
|
1975
2038
|
/** Exported variable names from this chunk. */
|
|
1976
2039
|
exports: Array<string>;
|
|
1977
2040
|
}
|
|
2041
|
+
/**
|
|
2042
|
+
* Starts a new measuring window: the peak restarts from the current live
|
|
2043
|
+
* bytes and the counts restart from zero. No-op when the binding was built
|
|
2044
|
+
* without the `tracking_allocator` cargo feature.
|
|
2045
|
+
*/
|
|
2046
|
+
declare function resetNativeMemoryStats(): void;
|
|
1978
2047
|
interface ViteImportGlobMeta {
|
|
1979
2048
|
isSubImportsPattern?: boolean;
|
|
1980
2049
|
}
|
|
1981
2050
|
//#endregion
|
|
1982
|
-
export {
|
|
2051
|
+
export { BindingViteTransformPluginConfig as A, ParserOptions as B, BindingViteImportGlobPluginConfig as C, BindingViteReactRefreshWrapperPluginConfig as D, BindingViteModulePreloadPolyfillPluginConfig as E, JsxOptions as F, TransformOptions as G, ResolveResult as H, MinifyOptions as I, isolatedDeclaration as J, TsconfigCache as K, MinifyResult as L, ExternalMemoryStatus as M, IsolatedDeclarationsOptions as N, BindingViteReporterPluginConfig as O, IsolatedDeclarationsResult as P, NapiResolveOptions as R, BindingViteDynamicImportVarsPluginConfig as S, BindingViteManifestPluginConfig as T, ResolverFactory as U, PreRenderedChunk as V, SourceMap as W, moduleRunnerTransform as X, isolatedDeclarationSync as Y, resetNativeMemoryStats as Z, BindingTransformHookExtraArgs as _, BindingEnhancedTransformOptions as a, BindingTsconfigResult as b, BindingHookResolveIdExtraArgs as c, BindingMagicString as d, BindingNativeMemoryStats as f, BindingReplacePluginConfig as g, BindingRenderedChunk as h, BindingClientHmrUpdate as i, BindingWatcherBundler as j, BindingViteResolvePluginConfig as k, BindingIsolatedDeclarationPluginConfig as l, BindingRebuildStrategy as m, BindingBundleAnalyzerPluginConfig as n, BindingEnhancedTransformResult as o, BindingPluginContextResolveOptions as p, getNativeMemoryStats as q, BindingBundleState as r, BindingEsmExternalRequirePluginConfig as s, BindingBuiltinPluginName as t, BindingLazyChunkOutput as u, BindingTsconfigCompilerOptions as v, BindingViteJsonPluginConfig as w, BindingViteBuildImportAnalysisPluginConfig as x, BindingTsconfigRawOptions as y, ParseResult as z };
|
|
@@ -104,7 +104,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
104
104
|
try {
|
|
105
105
|
const binding = __require("@rolldown/binding-android-arm64");
|
|
106
106
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
|
|
107
|
-
if (bindingPackageVersion !== "1.2.
|
|
107
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
108
108
|
return binding;
|
|
109
109
|
} catch (e) {
|
|
110
110
|
loadErrors.push(e);
|
|
@@ -118,7 +118,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
118
118
|
try {
|
|
119
119
|
const binding = __require("@rolldown/binding-android-arm-eabi");
|
|
120
120
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
|
|
121
|
-
if (bindingPackageVersion !== "1.2.
|
|
121
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
122
122
|
return binding;
|
|
123
123
|
} catch (e) {
|
|
124
124
|
loadErrors.push(e);
|
|
@@ -135,7 +135,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
135
135
|
try {
|
|
136
136
|
const binding = __require("@rolldown/binding-win32-x64-gnu");
|
|
137
137
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
|
|
138
|
-
if (bindingPackageVersion !== "1.2.
|
|
138
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
139
139
|
return binding;
|
|
140
140
|
} catch (e) {
|
|
141
141
|
loadErrors.push(e);
|
|
@@ -149,7 +149,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
149
149
|
try {
|
|
150
150
|
const binding = __require("@rolldown/binding-win32-x64-msvc");
|
|
151
151
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
|
|
152
|
-
if (bindingPackageVersion !== "1.2.
|
|
152
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
153
153
|
return binding;
|
|
154
154
|
} catch (e) {
|
|
155
155
|
loadErrors.push(e);
|
|
@@ -164,7 +164,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
164
164
|
try {
|
|
165
165
|
const binding = __require("@rolldown/binding-win32-ia32-msvc");
|
|
166
166
|
const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
|
|
167
|
-
if (bindingPackageVersion !== "1.2.
|
|
167
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
168
168
|
return binding;
|
|
169
169
|
} catch (e) {
|
|
170
170
|
loadErrors.push(e);
|
|
@@ -178,7 +178,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
178
178
|
try {
|
|
179
179
|
const binding = __require("@rolldown/binding-win32-arm64-msvc");
|
|
180
180
|
const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
|
|
181
|
-
if (bindingPackageVersion !== "1.2.
|
|
181
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
182
182
|
return binding;
|
|
183
183
|
} catch (e) {
|
|
184
184
|
loadErrors.push(e);
|
|
@@ -193,7 +193,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
193
193
|
try {
|
|
194
194
|
const binding = __require("@rolldown/binding-darwin-universal");
|
|
195
195
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
|
|
196
|
-
if (bindingPackageVersion !== "1.2.
|
|
196
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
197
197
|
return binding;
|
|
198
198
|
} catch (e) {
|
|
199
199
|
loadErrors.push(e);
|
|
@@ -207,7 +207,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
207
207
|
try {
|
|
208
208
|
const binding = __require("@rolldown/binding-darwin-x64");
|
|
209
209
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
|
|
210
|
-
if (bindingPackageVersion !== "1.2.
|
|
210
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
211
211
|
return binding;
|
|
212
212
|
} catch (e) {
|
|
213
213
|
loadErrors.push(e);
|
|
@@ -221,7 +221,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
221
221
|
try {
|
|
222
222
|
const binding = __require("@rolldown/binding-darwin-arm64");
|
|
223
223
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
|
|
224
|
-
if (bindingPackageVersion !== "1.2.
|
|
224
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
225
225
|
return binding;
|
|
226
226
|
} catch (e) {
|
|
227
227
|
loadErrors.push(e);
|
|
@@ -237,7 +237,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
237
237
|
try {
|
|
238
238
|
const binding = __require("@rolldown/binding-freebsd-x64");
|
|
239
239
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
|
|
240
|
-
if (bindingPackageVersion !== "1.2.
|
|
240
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
241
241
|
return binding;
|
|
242
242
|
} catch (e) {
|
|
243
243
|
loadErrors.push(e);
|
|
@@ -251,7 +251,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
251
251
|
try {
|
|
252
252
|
const binding = __require("@rolldown/binding-freebsd-arm64");
|
|
253
253
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
|
|
254
|
-
if (bindingPackageVersion !== "1.2.
|
|
254
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
255
255
|
return binding;
|
|
256
256
|
} catch (e) {
|
|
257
257
|
loadErrors.push(e);
|
|
@@ -268,7 +268,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
268
268
|
try {
|
|
269
269
|
const binding = __require("@rolldown/binding-linux-x64-musl");
|
|
270
270
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
|
|
271
|
-
if (bindingPackageVersion !== "1.2.
|
|
271
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
272
272
|
return binding;
|
|
273
273
|
} catch (e) {
|
|
274
274
|
loadErrors.push(e);
|
|
@@ -282,7 +282,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
282
282
|
try {
|
|
283
283
|
const binding = __require("@rolldown/binding-linux-x64-gnu");
|
|
284
284
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
|
|
285
|
-
if (bindingPackageVersion !== "1.2.
|
|
285
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
286
286
|
return binding;
|
|
287
287
|
} catch (e) {
|
|
288
288
|
loadErrors.push(e);
|
|
@@ -298,7 +298,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
298
298
|
try {
|
|
299
299
|
const binding = __require("@rolldown/binding-linux-arm64-musl");
|
|
300
300
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
|
|
301
|
-
if (bindingPackageVersion !== "1.2.
|
|
301
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
302
302
|
return binding;
|
|
303
303
|
} catch (e) {
|
|
304
304
|
loadErrors.push(e);
|
|
@@ -312,7 +312,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
312
312
|
try {
|
|
313
313
|
const binding = __require("@rolldown/binding-linux-arm64-gnu");
|
|
314
314
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
|
|
315
|
-
if (bindingPackageVersion !== "1.2.
|
|
315
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
316
316
|
return binding;
|
|
317
317
|
} catch (e) {
|
|
318
318
|
loadErrors.push(e);
|
|
@@ -328,7 +328,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
328
328
|
try {
|
|
329
329
|
const binding = __require("@rolldown/binding-linux-arm-musleabihf");
|
|
330
330
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
|
|
331
|
-
if (bindingPackageVersion !== "1.2.
|
|
331
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
332
332
|
return binding;
|
|
333
333
|
} catch (e) {
|
|
334
334
|
loadErrors.push(e);
|
|
@@ -342,7 +342,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
342
342
|
try {
|
|
343
343
|
const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
|
|
344
344
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
|
|
345
|
-
if (bindingPackageVersion !== "1.2.
|
|
345
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
346
346
|
return binding;
|
|
347
347
|
} catch (e) {
|
|
348
348
|
loadErrors.push(e);
|
|
@@ -358,7 +358,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
358
358
|
try {
|
|
359
359
|
const binding = __require("@rolldown/binding-linux-loong64-musl");
|
|
360
360
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
|
|
361
|
-
if (bindingPackageVersion !== "1.2.
|
|
361
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
362
362
|
return binding;
|
|
363
363
|
} catch (e) {
|
|
364
364
|
loadErrors.push(e);
|
|
@@ -372,7 +372,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
372
372
|
try {
|
|
373
373
|
const binding = __require("@rolldown/binding-linux-loong64-gnu");
|
|
374
374
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
|
|
375
|
-
if (bindingPackageVersion !== "1.2.
|
|
375
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
376
376
|
return binding;
|
|
377
377
|
} catch (e) {
|
|
378
378
|
loadErrors.push(e);
|
|
@@ -388,7 +388,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
388
388
|
try {
|
|
389
389
|
const binding = __require("@rolldown/binding-linux-riscv64-musl");
|
|
390
390
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
|
|
391
|
-
if (bindingPackageVersion !== "1.2.
|
|
391
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
392
392
|
return binding;
|
|
393
393
|
} catch (e) {
|
|
394
394
|
loadErrors.push(e);
|
|
@@ -402,7 +402,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
402
402
|
try {
|
|
403
403
|
const binding = __require("@rolldown/binding-linux-riscv64-gnu");
|
|
404
404
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
|
|
405
|
-
if (bindingPackageVersion !== "1.2.
|
|
405
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
406
406
|
return binding;
|
|
407
407
|
} catch (e) {
|
|
408
408
|
loadErrors.push(e);
|
|
@@ -417,7 +417,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
417
417
|
try {
|
|
418
418
|
const binding = __require("@rolldown/binding-linux-ppc64-gnu");
|
|
419
419
|
const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
|
|
420
|
-
if (bindingPackageVersion !== "1.2.
|
|
420
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
421
421
|
return binding;
|
|
422
422
|
} catch (e) {
|
|
423
423
|
loadErrors.push(e);
|
|
@@ -431,7 +431,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
431
431
|
try {
|
|
432
432
|
const binding = __require("@rolldown/binding-linux-s390x-gnu");
|
|
433
433
|
const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
|
|
434
|
-
if (bindingPackageVersion !== "1.2.
|
|
434
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
435
435
|
return binding;
|
|
436
436
|
} catch (e) {
|
|
437
437
|
loadErrors.push(e);
|
|
@@ -447,7 +447,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
447
447
|
try {
|
|
448
448
|
const binding = __require("@rolldown/binding-openharmony-arm64");
|
|
449
449
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
|
|
450
|
-
if (bindingPackageVersion !== "1.2.
|
|
450
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
451
451
|
return binding;
|
|
452
452
|
} catch (e) {
|
|
453
453
|
loadErrors.push(e);
|
|
@@ -461,7 +461,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
461
461
|
try {
|
|
462
462
|
const binding = __require("@rolldown/binding-openharmony-x64");
|
|
463
463
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
|
|
464
|
-
if (bindingPackageVersion !== "1.2.
|
|
464
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
465
465
|
return binding;
|
|
466
466
|
} catch (e) {
|
|
467
467
|
loadErrors.push(e);
|
|
@@ -475,7 +475,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
475
475
|
try {
|
|
476
476
|
const binding = __require("@rolldown/binding-openharmony-arm");
|
|
477
477
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
|
|
478
|
-
if (bindingPackageVersion !== "1.2.
|
|
478
|
+
if (bindingPackageVersion !== "1.2.5" && 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.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
479
479
|
return binding;
|
|
480
480
|
} catch (e) {
|
|
481
481
|
loadErrors.push(e);
|
|
@@ -565,7 +565,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
565
565
|
if (!candidateFailed) {
|
|
566
566
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
567
567
|
const bindingPackageVersion = __require("@rolldown/binding-wasm32-wasi/package.json").version;
|
|
568
|
-
if (bindingPackageVersion !== "1.2.
|
|
568
|
+
if (bindingPackageVersion !== "1.2.5") throw new Error(`WASI binding package version mismatch, expected 1.2.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
569
569
|
}
|
|
570
570
|
wasiBinding = __require("@rolldown/binding-wasm32-wasi");
|
|
571
571
|
nativeBinding = wasiBinding;
|
|
@@ -663,8 +663,10 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
663
663
|
module.exports.enhancedTransform = nativeBinding.enhancedTransform;
|
|
664
664
|
module.exports.enhancedTransformSync = nativeBinding.enhancedTransformSync;
|
|
665
665
|
module.exports.FilterTokenKind = nativeBinding.FilterTokenKind;
|
|
666
|
+
module.exports.getNativeMemoryStats = nativeBinding.getNativeMemoryStats;
|
|
666
667
|
module.exports.initTraceSubscriber = nativeBinding.initTraceSubscriber;
|
|
667
668
|
module.exports.registerPlugins = nativeBinding.registerPlugins;
|
|
669
|
+
module.exports.resetNativeMemoryStats = nativeBinding.resetNativeMemoryStats;
|
|
668
670
|
module.exports.resolveTsconfig = nativeBinding.resolveTsconfig;
|
|
669
671
|
module.exports.shutdownAsyncRuntime = nativeBinding.shutdownAsyncRuntime;
|
|
670
672
|
module.exports.startAsyncRuntime = nativeBinding.startAsyncRuntime;
|
package/dist/shared/{bindingify-input-options-C-Zsy1EG.mjs → bindingify-input-options-COG1sboO.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-C__LJDBG.mjs";
|
|
2
2
|
import { i as logFailedValidation, l as logPluginError, n as error, o as logInvalidLogPosition, r as logCycleLoading, t as augmentCodeLocation } from "./logs-DmYCAKcW.mjs";
|
|
3
|
-
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
3
|
+
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CFtim40S.mjs";
|
|
4
4
|
import { i as noop, n as isPathFragment, o as unreachable, s as unsupported, t as arraify } from "./misc-DOSKtd97.mjs";
|
|
5
|
-
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-NcRuXAVN.mjs";
|
|
6
6
|
import { parseAst } from "../parse-ast-index.mjs";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
@@ -10,7 +10,7 @@ import * as filter from "@rolldown/pluginutils";
|
|
|
10
10
|
import fsp from "node:fs/promises";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
12
12
|
//#region package.json
|
|
13
|
-
var version = "1.2.
|
|
13
|
+
var version = "1.2.5";
|
|
14
14
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/constants/version.ts
|
|
@@ -236,7 +236,7 @@ function bindingAssetSource(source) {
|
|
|
236
236
|
return { inner: source };
|
|
237
237
|
}
|
|
238
238
|
//#endregion
|
|
239
|
-
//#region \0@oxc-project+runtime@0.
|
|
239
|
+
//#region \0@oxc-project+runtime@0.146.0/helpers/esm/decorate.js
|
|
240
240
|
function __decorate(decorators, target, key, desc) {
|
|
241
241
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
242
242
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { Gt as StringOrRegExp, I as BuiltinPlugin } from "./define-config-
|
|
1
|
+
import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-Bvw14S3g.mjs";
|
|
2
|
+
import { Gt as StringOrRegExp, I as BuiltinPlugin } from "./define-config-DwTNhgWB.mjs";
|
|
3
3
|
//#region src/builtin-plugin/constructors.d.ts
|
|
4
4
|
declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
|
|
5
5
|
type DynamicImportVarsPluginConfig = Omit<BindingViteDynamicImportVarsPluginConfig, "include" | "exclude"> & {
|
|
@@ -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-CFtim40S.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);
|
package/dist/shared/{create-bundler-option-wRiQzEJ3.mjs → create-bundler-option-Cj0juyCQ.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-C__LJDBG.mjs";
|
|
2
2
|
import { a as logInputHookInOutputPlugin, n as error } from "./logs-DmYCAKcW.mjs";
|
|
3
|
-
import { n as BuiltinPlugin } from "./normalize-string-or-regex-
|
|
4
|
-
import { C as LOG_LEVEL_WARN, T as VERSION, _ as getParallelPluginInfo, a as measureIfFunction, b as LOG_LEVEL_DEBUG, c as PluginContextData, d as transformRenderedChunk, g as MinimalPluginContextImpl, i as measureHookCost, l as transformModuleInfo, o as pluginTimingsRecorderFor, p as transformAssetSource, r as OUTPUT_OPTIONS_OWNER, t as bindingifyInputOptions, v as normalizeHook, w as logLevelPriority, y as normalizeLog } from "./bindingify-input-options-
|
|
3
|
+
import { n as BuiltinPlugin } from "./normalize-string-or-regex-CFtim40S.mjs";
|
|
4
|
+
import { C as LOG_LEVEL_WARN, T as VERSION, _ as getParallelPluginInfo, a as measureIfFunction, b as LOG_LEVEL_DEBUG, c as PluginContextData, d as transformRenderedChunk, g as MinimalPluginContextImpl, i as measureHookCost, l as transformModuleInfo, o as pluginTimingsRecorderFor, p as transformAssetSource, r as OUTPUT_OPTIONS_OWNER, t as bindingifyInputOptions, v as normalizeHook, w as logLevelPriority, y as normalizeLog } from "./bindingify-input-options-COG1sboO.mjs";
|
|
5
5
|
import { a as unimplemented } from "./misc-DOSKtd97.mjs";
|
|
6
6
|
import { Worker } from "node:worker_threads";
|
|
7
7
|
import path, { sep } from "node:path";
|
|
@@ -1522,7 +1522,8 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
1522
1522
|
unsupportedTsconfigOption: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a tsconfig option or combination of options is not supported")),
|
|
1523
1523
|
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")),
|
|
1524
1524
|
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)")),
|
|
1525
|
-
sourcemapBroken: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a plugin transforms code without generating a sourcemap"))
|
|
1525
|
+
sourcemapBroken: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a plugin transforms code without generating a sourcemap")),
|
|
1526
|
+
namespaceConflict: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when multiple star re-exports provide the same name from different modules"))
|
|
1526
1527
|
});
|
|
1527
1528
|
const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
|
|
1528
1529
|
compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-xuHO4mAy.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { B as ParserOptions, F as JsxOptions, G as TransformOptions$1, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, _ as BindingTransformHookExtraArgs, c as BindingHookResolveIdExtraArgs, d as BindingMagicString, h as BindingRenderedChunk, j as BindingWatcherBundler, p as BindingPluginContextResolveOptions, t as BindingBuiltinPluginName } from "./binding-Bvw14S3g.mjs";
|
|
3
3
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
4
|
import { Program } from "@oxc-project/types";
|
|
5
5
|
//#region src/types/misc.d.ts
|
|
@@ -334,7 +334,7 @@ type GlobalsFunction = (name: string) => string;
|
|
|
334
334
|
type CodeSplittingNameFunction = (moduleId: string, ctx: ChunkingContext) => string | NullValue;
|
|
335
335
|
/** @inline @category Code Splitting */
|
|
336
336
|
type CodeSplittingTestFunction = (id: string) => boolean | undefined | void;
|
|
337
|
-
type MinifyOptions = Omit<MinifyOptions$1, "module" | "sourcemap">;
|
|
337
|
+
type MinifyOptions = Omit<MinifyOptions$1, "module" | "sourcemap" | "mangleProps">;
|
|
338
338
|
interface CommentsOptions {
|
|
339
339
|
/**
|
|
340
340
|
* Comments that contain `@license`, `@preserve` or start with `//!` or `/*!`
|
|
@@ -1679,6 +1679,11 @@ interface ChecksOptions {
|
|
|
1679
1679
|
* @default true
|
|
1680
1680
|
* */
|
|
1681
1681
|
sourcemapBroken?: boolean;
|
|
1682
|
+
/**
|
|
1683
|
+
* Whether to emit warnings when multiple star re-exports provide the same name from different modules.
|
|
1684
|
+
* @default true
|
|
1685
|
+
* */
|
|
1686
|
+
namespaceConflict?: boolean;
|
|
1682
1687
|
}
|
|
1683
1688
|
//#endregion
|
|
1684
1689
|
//#region src/options/transform-options.d.ts
|
|
@@ -2608,10 +2613,10 @@ declare const RUNTIME_MODULE_ID = "\0rolldown/runtime.js";
|
|
|
2608
2613
|
//#region src/builtin-plugin/utils.d.ts
|
|
2609
2614
|
declare class BuiltinPlugin {
|
|
2610
2615
|
name: BindingBuiltinPluginName;
|
|
2611
|
-
_options?: unknown;
|
|
2616
|
+
_options?: unknown | undefined;
|
|
2612
2617
|
/** Vite-specific option to control plugin ordering */
|
|
2613
2618
|
enforce?: "pre" | "post";
|
|
2614
|
-
constructor(name: BindingBuiltinPluginName, _options?: unknown);
|
|
2619
|
+
constructor(name: BindingBuiltinPluginName, _options?: unknown | undefined);
|
|
2615
2620
|
}
|
|
2616
2621
|
//#endregion
|
|
2617
2622
|
//#region src/constants/plugin.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-C__LJDBG.mjs";
|
|
2
2
|
import { l as logPluginError, n as error } from "./logs-DmYCAKcW.mjs";
|
|
3
3
|
//#region src/builtin-plugin/utils.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -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-C__LJDBG.mjs";
|
|
2
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.146.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-C__LJDBG.mjs";
|
|
2
|
+
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-NcRuXAVN.mjs";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { f as __decorate, h as PlainObjectLike, m as lazyProp, u as transformToRollupOutput } from "./bindingify-input-options-
|
|
3
|
-
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./create-bundler-option-
|
|
4
|
-
import { i as unwrapBindingResult } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-C__LJDBG.mjs";
|
|
2
|
+
import { f as __decorate, h as PlainObjectLike, m as lazyProp, u as transformToRollupOutput } from "./bindingify-input-options-COG1sboO.mjs";
|
|
3
|
+
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./create-bundler-option-Cj0juyCQ.mjs";
|
|
4
|
+
import { i as unwrapBindingResult } from "./error-NcRuXAVN.mjs";
|
|
5
5
|
//#region src/types/rolldown-output-impl.ts
|
|
6
6
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
7
7
|
var RolldownOutputImpl = class extends PlainObjectLike {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as RolldownLog } from "./logging-xuHO4mAy.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { B as ParserOptions$1, I as MinifyOptions$1, K as TsconfigCache$1, L as MinifyResult$1, W as SourceMap, a as BindingEnhancedTransformOptions, b as BindingTsconfigResult, o as BindingEnhancedTransformResult, z as ParseResult$1 } from "./binding-Bvw14S3g.mjs";
|
|
3
3
|
//#region src/utils/resolve-tsconfig.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Cache for tsconfig resolution to avoid redundant file system operations.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-C__LJDBG.mjs";
|
|
2
2
|
import { s as logMultipleWatcherOption } from "./logs-DmYCAKcW.mjs";
|
|
3
|
-
import { C as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
3
|
+
import { C as LOG_LEVEL_WARN } from "./bindingify-input-options-COG1sboO.mjs";
|
|
4
4
|
import { t as arraify } from "./misc-DOSKtd97.mjs";
|
|
5
|
-
import { l as PluginDriver, t as createBundlerOptions } from "./create-bundler-option-
|
|
6
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { l as PluginDriver, t as createBundlerOptions } from "./create-bundler-option-Cj0juyCQ.mjs";
|
|
6
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-NcRuXAVN.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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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 { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-Bvw14S3g.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--WSMLt1x.mjs";
|
|
3
3
|
import * as ESTree from "@oxc-project/types";
|
|
4
4
|
import { Program } from "@oxc-project/types";
|
|
5
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
5
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.146.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
|
|
6
6
|
interface VisitorObject$1 {
|
|
7
7
|
DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
|
|
8
8
|
"DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
|
|
@@ -366,10 +366,10 @@ type VisitorObject = VisitorObject$1;
|
|
|
366
366
|
* @category Utilities
|
|
367
367
|
* @experimental
|
|
368
368
|
*/
|
|
369
|
-
declare class Visitor {
|
|
369
|
+
export declare class Visitor {
|
|
370
370
|
#private;
|
|
371
371
|
constructor(visitor: VisitorObject);
|
|
372
372
|
visit(program: Program): void;
|
|
373
373
|
}
|
|
374
374
|
//#endregion
|
|
375
|
-
export { type ESTree, type MinifyOptions, type MinifyResult, type ParseResult, type ParserOptions, type TransformOptions, type TransformResult, TsconfigCache, type BindingTsconfigCompilerOptions as TsconfigCompilerOptions, type BindingTsconfigRawOptions as TsconfigRawOptions,
|
|
375
|
+
export { type ESTree, type MinifyOptions, type MinifyResult, type ParseResult, type ParserOptions, type TransformOptions, type TransformResult, TsconfigCache, type BindingTsconfigCompilerOptions as TsconfigCompilerOptions, type BindingTsconfigRawOptions as TsconfigRawOptions, type VisitorObject, minify, minifySync, parse, parseSync, transform, transformSync };
|
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-HzGoFgdF.mjs";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-D2vSIIkR.mjs";
|
|
3
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.146.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)) {
|
|
@@ -2008,7 +2008,7 @@ function walkTSUnionType(node, visitors) {
|
|
|
2008
2008
|
exit !== null && exit(node);
|
|
2009
2009
|
}
|
|
2010
2010
|
//#endregion
|
|
2011
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2011
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.146.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
|
|
2012
2012
|
/** Mapping from node type name to node type ID */
|
|
2013
2013
|
const NODE_TYPE_IDS_MAP = /* @__PURE__ */ new Map([
|
|
2014
2014
|
["DebuggerStatement", 0],
|
|
@@ -2178,7 +2178,7 @@ const NODE_TYPE_IDS_MAP = /* @__PURE__ */ new Map([
|
|
|
2178
2178
|
["TSUnionType", 164]
|
|
2179
2179
|
]);
|
|
2180
2180
|
//#endregion
|
|
2181
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2181
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.146.0/node_modules/oxc-parser/src-js/visit/visitor.js
|
|
2182
2182
|
let compiledVisitor;
|
|
2183
2183
|
function createCompiledVisitor() {
|
|
2184
2184
|
compiledVisitor = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bundler",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"registry": "https://registry.npmjs.org/"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@oxc-project/types": "=0.
|
|
64
|
+
"@oxc-project/types": "=0.146.0",
|
|
65
65
|
"@rolldown/pluginutils": "^1.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"execa": "^9.2.0",
|
|
77
77
|
"fresh-import": "^0.2.1",
|
|
78
78
|
"glob": "^13.0.0",
|
|
79
|
-
"oxc-parser": "=0.
|
|
79
|
+
"oxc-parser": "=0.146.0",
|
|
80
80
|
"pathe": "^2.0.3",
|
|
81
81
|
"remeda": "^2.34.1",
|
|
82
82
|
"rolldown-plugin-dts": "^0.28.0",
|
|
@@ -85,28 +85,29 @@
|
|
|
85
85
|
"source-map": "0.8.0",
|
|
86
86
|
"typescript": "^6.0.0",
|
|
87
87
|
"valibot": "1.4.2",
|
|
88
|
-
"rolldown": "1.2.
|
|
88
|
+
"rolldown": "1.2.5"
|
|
89
89
|
},
|
|
90
90
|
"napi": {
|
|
91
91
|
"binaryName": "rolldown-binding",
|
|
92
92
|
"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\nexport type BindingResult<T> = { errors: BindingError[], isBindingErrors: boolean } | T\n\n",
|
|
93
93
|
"packageName": "@rolldown/binding",
|
|
94
94
|
"targets": [
|
|
95
|
-
"x86_64-apple-darwin",
|
|
96
|
-
"x86_64-pc-windows-msvc",
|
|
97
|
-
"x86_64-unknown-linux-gnu",
|
|
98
|
-
"x86_64-unknown-linux-musl",
|
|
99
|
-
"x86_64-unknown-freebsd",
|
|
100
|
-
"armv7-unknown-linux-gnueabihf",
|
|
101
|
-
"aarch64-unknown-linux-gnu",
|
|
102
95
|
"aarch64-apple-darwin",
|
|
96
|
+
"aarch64-linux-android",
|
|
97
|
+
"aarch64-pc-windows-msvc",
|
|
98
|
+
"aarch64-unknown-linux-gnu",
|
|
103
99
|
"aarch64-unknown-linux-musl",
|
|
104
100
|
"aarch64-unknown-linux-ohos",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
101
|
+
"armv7-linux-androideabi",
|
|
102
|
+
"armv7-unknown-linux-gnueabihf",
|
|
103
|
+
"powerpc64le-unknown-linux-gnu",
|
|
108
104
|
"s390x-unknown-linux-gnu",
|
|
109
|
-
"
|
|
105
|
+
"wasm32-wasip1-threads",
|
|
106
|
+
"x86_64-apple-darwin",
|
|
107
|
+
"x86_64-pc-windows-msvc",
|
|
108
|
+
"x86_64-unknown-freebsd",
|
|
109
|
+
"x86_64-unknown-linux-gnu",
|
|
110
|
+
"x86_64-unknown-linux-musl"
|
|
110
111
|
],
|
|
111
112
|
"wasm": {
|
|
112
113
|
"initialMemory": 16384,
|
|
@@ -121,20 +122,21 @@
|
|
|
121
122
|
"node": "^20.19.0 || >=22.12.0"
|
|
122
123
|
},
|
|
123
124
|
"optionalDependencies": {
|
|
124
|
-
"@rolldown/binding-darwin-
|
|
125
|
-
"@rolldown/binding-
|
|
126
|
-
"@rolldown/binding-
|
|
127
|
-
"@rolldown/binding-linux-
|
|
128
|
-
"@rolldown/binding-
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-
|
|
131
|
-
"@rolldown/binding-
|
|
132
|
-
"@rolldown/binding-linux-
|
|
133
|
-
"@rolldown/binding-
|
|
134
|
-
"@rolldown/binding-
|
|
135
|
-
"@rolldown/binding-
|
|
136
|
-
"@rolldown/binding-
|
|
137
|
-
"@rolldown/binding-linux-
|
|
125
|
+
"@rolldown/binding-darwin-arm64": "1.2.5",
|
|
126
|
+
"@rolldown/binding-android-arm64": "1.2.5",
|
|
127
|
+
"@rolldown/binding-win32-arm64-msvc": "1.2.5",
|
|
128
|
+
"@rolldown/binding-linux-arm64-gnu": "1.2.5",
|
|
129
|
+
"@rolldown/binding-linux-arm64-musl": "1.2.5",
|
|
130
|
+
"@rolldown/binding-openharmony-arm64": "1.2.5",
|
|
131
|
+
"@rolldown/binding-android-arm-eabi": "1.2.5",
|
|
132
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.2.5",
|
|
133
|
+
"@rolldown/binding-linux-ppc64-gnu": "1.2.5",
|
|
134
|
+
"@rolldown/binding-linux-s390x-gnu": "1.2.5",
|
|
135
|
+
"@rolldown/binding-darwin-x64": "1.2.5",
|
|
136
|
+
"@rolldown/binding-win32-x64-msvc": "1.2.5",
|
|
137
|
+
"@rolldown/binding-freebsd-x64": "1.2.5",
|
|
138
|
+
"@rolldown/binding-linux-x64-gnu": "1.2.5",
|
|
139
|
+
"@rolldown/binding-linux-x64-musl": "1.2.5"
|
|
138
140
|
},
|
|
139
141
|
"scripts": {
|
|
140
142
|
"# Scrips for binding #": "_",
|