@rollipop/rolldown 1.0.0-rc.3 → 1.0.0-rc.4
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/bin/cli.mjs +0 -1
- package/dist/cli.mjs +11 -22
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +10 -11
- package/dist/experimental-index.d.mts +20 -6
- package/dist/experimental-index.mjs +24 -22
- package/dist/filter-index.d.mts +2 -2
- package/dist/filter-index.mjs +2 -8
- package/dist/get-log-filter.mjs +1 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +10 -13
- package/dist/parallel-plugin-worker.mjs +7 -9
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parallel-plugin.mjs +1 -2
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +4 -6
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +4 -6
- package/dist/shared/{binding-C4ZlFAt6.d.mts → binding-BohGL_65.d.mts} +10 -5
- package/dist/shared/{binding-D25Pz9Tj.mjs → binding-BuW0Fhs2.mjs} +33 -42
- package/dist/shared/{bindingify-input-options-D6jfpJ6l.mjs → bindingify-input-options-o_7NioSs.mjs} +34 -57
- package/dist/shared/{constructors-C-tyKVjw.d.mts → constructors-Dg8A45sy.d.mts} +2 -2
- package/dist/shared/{constructors-BAGdj697.mjs → constructors-FqGyV5fj.mjs} +2 -4
- package/dist/shared/{define-config-BKLqq_zt.d.mts → define-config-BvszQ-i2.d.mts} +66 -30
- package/dist/shared/{define-config-BMj_QknW.mjs → define-config-DJOr6Iwt.mjs} +1 -2
- package/dist/shared/{error-BoaGIj5N.mjs → error-BjNWBTlf.mjs} +3 -8
- package/dist/shared/{load-config-CV5K8wKJ.mjs → load-config-2dmAH96P.mjs} +2 -4
- package/dist/shared/{logs-CCc_0vhs.mjs → logs-D80CXhvg.mjs} +5 -8
- package/dist/shared/{misc-Xty885dB.mjs → misc-DJYbNKZX.mjs} +1 -2
- package/dist/shared/{normalize-string-or-regex-tBSnk6HY.mjs → normalize-string-or-regex-BU5HSJy4.mjs} +3 -6
- package/dist/shared/{parse-DWZRPGsB.mjs → parse-Bt4kI3ey.mjs} +2 -5
- package/dist/shared/{prompt-B56gTa4S.mjs → prompt-BYQIwEjg.mjs} +1 -3
- package/dist/shared/{rolldown-CZ1SIh-x.mjs → rolldown-B4lV-glW.mjs} +2 -4
- package/dist/shared/{rolldown-build-BYA-VVk0.mjs → rolldown-build-tLuGZc7p.mjs} +424 -473
- package/dist/shared/{transform-DoG7c5_r.d.mts → transform-BoJxrM-e.d.mts} +1 -1
- package/dist/shared/{transform-CIcvJTbn.mjs → transform-Cbhgjik0.mjs} +3 -6
- package/dist/shared/{watch-DV7vV2OV.mjs → watch-hs9ntURJ.mjs} +71 -77
- package/dist/utils-index.d.mts +2 -2
- package/dist/utils-index.mjs +9 -18
- package/package.json +12 -12
- package/dist/cli-setup.d.mts +0 -1
- package/dist/cli-setup.mjs +0 -17
|
@@ -17,6 +17,5 @@ function unsupported(info) {
|
|
|
17
17
|
throw new Error(`UNSUPPORTED: ${info}`);
|
|
18
18
|
}
|
|
19
19
|
function noop(..._args) {}
|
|
20
|
-
|
|
21
20
|
//#endregion
|
|
22
|
-
export { unreachable as a, unimplemented as i, isPromiseLike as n, unsupported as o, noop as r, arraify as t };
|
|
21
|
+
export { unreachable as a, unimplemented as i, isPromiseLike as n, unsupported as o, noop as r, arraify as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { c as logPluginError, n as error } from "./logs-
|
|
3
|
-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BuW0Fhs2.mjs";
|
|
2
|
+
import { c as logPluginError, n as error } from "./logs-D80CXhvg.mjs";
|
|
4
3
|
//#region src/builtin-plugin/utils.ts
|
|
5
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
6
5
|
var BuiltinPlugin = class {
|
|
@@ -45,7 +44,6 @@ function bindingifyManifestPlugin(plugin, pluginContextData) {
|
|
|
45
44
|
}
|
|
46
45
|
};
|
|
47
46
|
}
|
|
48
|
-
|
|
49
47
|
//#endregion
|
|
50
48
|
//#region src/utils/normalize-string-or-regex.ts
|
|
51
49
|
function normalizedStringOrRegex(pattern) {
|
|
@@ -56,6 +54,5 @@ function normalizedStringOrRegex(pattern) {
|
|
|
56
54
|
function isReadonlyArray(input) {
|
|
57
55
|
return Array.isArray(input);
|
|
58
56
|
}
|
|
59
|
-
|
|
60
57
|
//#endregion
|
|
61
|
-
export { makeBuiltinPluginCallable as a, bindingifyManifestPlugin as i, BuiltinPlugin as n, bindingifyBuiltInPlugin as r, normalizedStringOrRegex as t };
|
|
58
|
+
export { makeBuiltinPluginCallable as a, bindingifyManifestPlugin as i, BuiltinPlugin as n, bindingifyBuiltInPlugin as r, normalizedStringOrRegex as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BuW0Fhs2.mjs";
|
|
3
2
|
//#region ../../node_modules/.pnpm/oxc-parser@0.115.0/node_modules/oxc-parser/src-js/wrap.js
|
|
4
3
|
function wrap(result) {
|
|
5
4
|
let program, module, comments, errors;
|
|
@@ -35,7 +34,6 @@ function applyFix(program, fixPath) {
|
|
|
35
34
|
node.value = RegExp(node.regex.pattern, node.regex.flags);
|
|
36
35
|
} catch {}
|
|
37
36
|
}
|
|
38
|
-
|
|
39
37
|
//#endregion
|
|
40
38
|
//#region src/utils/parse.ts
|
|
41
39
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -72,6 +70,5 @@ async function parse(filename, sourceText, options) {
|
|
|
72
70
|
function parseSync(filename, sourceText, options) {
|
|
73
71
|
return wrap((0, import_binding.parseSync)(filename, sourceText, options));
|
|
74
72
|
}
|
|
75
|
-
|
|
76
73
|
//#endregion
|
|
77
|
-
export { parseSync as n, parse as t };
|
|
74
|
+
export { parseSync as n, parse as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import process$1, { stdin, stdout } from "node:process";
|
|
2
2
|
import { WriteStream } from "node:tty";
|
|
3
3
|
import f from "node:readline";
|
|
4
|
-
|
|
5
4
|
//#region ../../node_modules/.pnpm/consola@3.4.2/node_modules/consola/dist/chunks/prompt.mjs
|
|
6
5
|
function getDefaultExportFromCjs(x) {
|
|
7
6
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -842,6 +841,5 @@ async function prompt(message, opts = {}) {
|
|
|
842
841
|
}).then(handleCancel);
|
|
843
842
|
throw new Error(`Unknown prompt type: ${opts.type}`);
|
|
844
843
|
}
|
|
845
|
-
|
|
846
844
|
//#endregion
|
|
847
|
-
export { prompt };
|
|
845
|
+
export { prompt };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-
|
|
2
|
-
|
|
1
|
+
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-tLuGZc7p.mjs";
|
|
3
2
|
//#region src/api/rolldown/index.ts
|
|
4
3
|
/**
|
|
5
4
|
* The API compatible with Rollup's `rollup` function.
|
|
@@ -37,6 +36,5 @@ const rolldown = async (input) => {
|
|
|
37
36
|
validateOption("input", input);
|
|
38
37
|
return new RolldownBuild(await PluginDriver.callOptionsHook(input));
|
|
39
38
|
};
|
|
40
|
-
|
|
41
39
|
//#endregion
|
|
42
|
-
export { rolldown as t };
|
|
40
|
+
export { rolldown as t };
|