rolldown 1.0.0-beta.51 → 1.0.0-beta.53
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-setup.mjs +1 -1
- package/dist/cli.mjs +9 -10
- package/dist/config.d.mts +2 -3
- package/dist/config.mjs +7 -9
- package/dist/experimental-index.d.mts +30 -9
- package/dist/experimental-index.mjs +26 -17
- package/dist/filter-index.d.mts +2 -3
- package/dist/index.d.mts +2 -3
- package/dist/index.mjs +7 -9
- package/dist/parallel-plugin-worker.mjs +4 -6
- package/dist/parallel-plugin.d.mts +2 -3
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -3
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +3 -5
- package/dist/shared/{binding-JavE2bkj.mjs → binding-BJqdPU1r.mjs} +31 -34
- package/dist/shared/{binding-lSvYApx7.d.mts → binding-CY7Z709f.d.mts} +59 -12
- package/dist/shared/{bindingify-input-options-C8RwNEVu.mjs → bindingify-input-options-Bk0BBr2s.mjs} +8 -6
- package/dist/shared/{constructors-DgFF472b.d.mts → constructors-CMvFUBhn.d.mts} +4 -5
- package/dist/shared/{constructors-D1fHJKvO.mjs → constructors-LQ8mmhQE.mjs} +5 -8
- package/dist/shared/{define-config-CXCkQG1z.d.mts → define-config-BS8Bt-r8.d.mts} +82 -11
- package/dist/shared/{load-config-WNwAzWN-.mjs → load-config-JSXrnuaS.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-Bu88lzEx.mjs → normalize-string-or-regex-BhaIG1rU.mjs} +42 -5
- package/dist/shared/{parse-ast-index-DPVqqR9w.mjs → parse-ast-index-BFX0oHaQ.mjs} +21 -7
- package/dist/shared/{rolldown-Do5qEfGl.mjs → rolldown-Cqalltnr.mjs} +1 -1
- package/dist/shared/{rolldown-build-MAIadGaX.mjs → rolldown-build-BEU8N80I.mjs} +335 -189
- package/dist/shared/{watch-CUl9f7JR.mjs → watch-DBnC-zol.mjs} +4 -4
- package/package.json +21 -23
- package/dist/shared/utils-BJWI2OzT.d.mts +0 -62
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as require_binding } from "./binding-
|
|
1
|
+
import { t as require_binding } from "./binding-BJqdPU1r.mjs";
|
|
2
2
|
import { o as logMultiplyNotifyOption } from "./logs-CSQ_UMWp.mjs";
|
|
3
3
|
import { t as arraify } from "./misc-CxyvWjTr.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { l as PluginDriver, n as createBundlerOptions } from "./rolldown-build-
|
|
6
|
-
import { a as aggregateBindingErrorsIntoJsError } from "./bindingify-input-options-
|
|
4
|
+
import { E as LOG_LEVEL_WARN } from "./normalize-string-or-regex-BhaIG1rU.mjs";
|
|
5
|
+
import { l as PluginDriver, n as createBundlerOptions } from "./rolldown-build-BEU8N80I.mjs";
|
|
6
|
+
import { a as aggregateBindingErrorsIntoJsError } from "./bindingify-input-options-Bk0BBr2s.mjs";
|
|
7
7
|
|
|
8
8
|
//#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
9
9
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.53",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"x86_64-unknown-linux-gnu",
|
|
60
60
|
"x86_64-unknown-linux-musl",
|
|
61
61
|
"x86_64-unknown-freebsd",
|
|
62
|
-
"i686-pc-windows-msvc",
|
|
63
62
|
"armv7-unknown-linux-gnueabihf",
|
|
64
63
|
"aarch64-unknown-linux-gnu",
|
|
65
64
|
"aarch64-apple-darwin",
|
|
@@ -79,8 +78,8 @@
|
|
|
79
78
|
"dtsHeader": "type MaybePromise<T> = T | Promise<T>\ntype Nullable<T> = T | null | undefined\ntype VoidNullable<T = void> = T | null | undefined | void\nexport type BindingStringOrRegex = string | RegExp\ntype BindingResult<T> = { errors: BindingError[], isBindingErrors: boolean } | T\n\n"
|
|
80
79
|
},
|
|
81
80
|
"dependencies": {
|
|
82
|
-
"@oxc-project/types": "=0.
|
|
83
|
-
"@rolldown/pluginutils": "1.0.0-beta.
|
|
81
|
+
"@oxc-project/types": "=0.101.0",
|
|
82
|
+
"@rolldown/pluginutils": "1.0.0-beta.53"
|
|
84
83
|
},
|
|
85
84
|
"devDependencies": {
|
|
86
85
|
"@napi-rs/cli": "^3.4.1",
|
|
@@ -90,36 +89,35 @@
|
|
|
90
89
|
"buble": "^0.20.0",
|
|
91
90
|
"consola": "^3.4.2",
|
|
92
91
|
"execa": "^9.2.0",
|
|
93
|
-
"glob": "^
|
|
94
|
-
"oxc-parser": "=0.
|
|
92
|
+
"glob": "^13.0.0",
|
|
93
|
+
"oxc-parser": "=0.101.0",
|
|
95
94
|
"pathe": "^2.0.3",
|
|
96
95
|
"remeda": "^2.10.0",
|
|
97
|
-
"rolldown-plugin-dts": "^0.
|
|
96
|
+
"rolldown-plugin-dts": "^0.18.0",
|
|
98
97
|
"rollup": "^4.18.0",
|
|
99
98
|
"signal-exit": "4.1.0",
|
|
100
99
|
"source-map": "^0.7.4",
|
|
101
100
|
"typescript": "^5.8.3",
|
|
102
|
-
"valibot": "1.
|
|
103
|
-
"rolldown": "1.0.0-beta.
|
|
101
|
+
"valibot": "1.2.0",
|
|
102
|
+
"rolldown": "1.0.0-beta.53"
|
|
104
103
|
},
|
|
105
104
|
"engines": {
|
|
106
105
|
"node": "^20.19.0 || >=22.12.0"
|
|
107
106
|
},
|
|
108
107
|
"optionalDependencies": {
|
|
109
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.
|
|
110
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.
|
|
111
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.
|
|
112
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.
|
|
113
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-beta.
|
|
114
|
-
"@rolldown/binding-
|
|
115
|
-
"@rolldown/binding-linux-
|
|
116
|
-
"@rolldown/binding-
|
|
117
|
-
"@rolldown/binding-
|
|
118
|
-
"@rolldown/binding-
|
|
119
|
-
"@rolldown/binding-
|
|
120
|
-
"@rolldown/binding-
|
|
121
|
-
"@rolldown/binding-
|
|
122
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.51"
|
|
108
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.53",
|
|
109
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.53",
|
|
110
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.53",
|
|
111
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.53",
|
|
112
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.53",
|
|
113
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.53",
|
|
114
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.53",
|
|
115
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.53",
|
|
116
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.53",
|
|
117
|
+
"@rolldown/binding-openharmony-arm64": "1.0.0-beta.53",
|
|
118
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.53",
|
|
119
|
+
"@rolldown/binding-android-arm64": "1.0.0-beta.53",
|
|
120
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.53"
|
|
123
121
|
},
|
|
124
122
|
"scripts": {
|
|
125
123
|
"# Scrips for binding #": "_",
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { t as BindingBuiltinPluginName } from "./binding-lSvYApx7.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/log/logging.d.ts
|
|
4
|
-
type LogLevel = "info" | "debug" | "warn";
|
|
5
|
-
type LogLevelOption = LogLevel | "silent";
|
|
6
|
-
type LogLevelWithError = LogLevel | "error";
|
|
7
|
-
interface RollupLog {
|
|
8
|
-
binding?: string;
|
|
9
|
-
cause?: unknown;
|
|
10
|
-
code?: string;
|
|
11
|
-
exporter?: string;
|
|
12
|
-
frame?: string;
|
|
13
|
-
hook?: string;
|
|
14
|
-
id?: string;
|
|
15
|
-
ids?: string[];
|
|
16
|
-
loc?: {
|
|
17
|
-
column: number;
|
|
18
|
-
file?: string;
|
|
19
|
-
line: number;
|
|
20
|
-
};
|
|
21
|
-
message: string;
|
|
22
|
-
meta?: any;
|
|
23
|
-
names?: string[];
|
|
24
|
-
plugin?: string;
|
|
25
|
-
pluginCode?: unknown;
|
|
26
|
-
pos?: number;
|
|
27
|
-
reexporter?: string;
|
|
28
|
-
stack?: string;
|
|
29
|
-
url?: string;
|
|
30
|
-
}
|
|
31
|
-
type RollupLogWithString = RollupLog | string;
|
|
32
|
-
interface RollupError extends RollupLog {
|
|
33
|
-
name?: string;
|
|
34
|
-
stack?: string;
|
|
35
|
-
watchFiles?: string[];
|
|
36
|
-
}
|
|
37
|
-
type LogOrStringHandler = (level: LogLevelWithError, log: RollupLogWithString) => void;
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/types/utils.d.ts
|
|
40
|
-
type MaybePromise<T> = T | Promise<T>;
|
|
41
|
-
type NullValue<T = void> = T | undefined | null | void;
|
|
42
|
-
type PartialNull<T> = { [P in keyof T]: T[P] | null };
|
|
43
|
-
type MakeAsync<Function_> = Function_ extends ((this: infer This, ...parameters: infer Arguments) => infer Return) ? (this: This, ...parameters: Arguments) => Return | Promise<Return> : never;
|
|
44
|
-
type MaybeArray<T> = T | T[];
|
|
45
|
-
type StringOrRegExp = string | RegExp;
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/log/log-handler.d.ts
|
|
48
|
-
type LoggingFunction = (log: RollupLog | string | (() => RollupLog | string)) => void;
|
|
49
|
-
type LoggingFunctionWithPosition = (log: RollupLog | string | (() => RollupLog | string), pos?: number | {
|
|
50
|
-
column: number;
|
|
51
|
-
line: number;
|
|
52
|
-
}) => void;
|
|
53
|
-
type WarningHandlerWithDefault = (warning: RollupLog, defaultHandler: LoggingFunction) => void;
|
|
54
|
-
//#endregion
|
|
55
|
-
//#region src/builtin-plugin/utils.d.ts
|
|
56
|
-
declare class BuiltinPlugin {
|
|
57
|
-
name: BindingBuiltinPluginName;
|
|
58
|
-
_options?: unknown;
|
|
59
|
-
constructor(name: BindingBuiltinPluginName, _options?: unknown);
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
|
-
export { MakeAsync as a, NullValue as c, LogLevel as d, LogLevelOption as f, RollupLogWithString as g, RollupLog as h, WarningHandlerWithDefault as i, PartialNull as l, RollupError as m, LoggingFunction as n, MaybeArray as o, LogOrStringHandler as p, LoggingFunctionWithPosition as r, MaybePromise as s, BuiltinPlugin as t, StringOrRegExp as u };
|