rolldown 1.0.0-beta.3-commit.98f16a0 → 1.0.0-beta.3-commit.d298c0b
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/cjs/cli.cjs +4 -4
- package/dist/cjs/experimental-index.cjs +2 -2
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/parallel-plugin-worker.cjs +2 -2
- package/dist/cjs/parse-ast-index.cjs +1 -1
- package/dist/esm/cli.mjs +4 -4
- package/dist/esm/experimental-index.mjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/parallel-plugin-worker.mjs +2 -2
- package/dist/esm/parse-ast-index.mjs +1 -1
- package/dist/shared/{parse-ast-index-CSo7-trQ.mjs → parse-ast-index-Aeq00bwr.mjs} +0 -1
- package/dist/shared/{parse-ast-index-DtSwpkV3.cjs → parse-ast-index-CQpWnODq.cjs} +0 -1
- package/dist/shared/{prompt-zTLhvFXo.mjs → prompt-CxK9euq3.mjs} +2 -2
- package/dist/shared/{prompt-Dh7e4K1i.cjs → prompt-ZZScCEWI.cjs} +2 -2
- package/dist/shared/{src-Bkdoz1UK.mjs → src-CeA4I13P.mjs} +2025 -1988
- package/dist/shared/{src-DOQfmgRW.cjs → src-GI88yV1N.cjs} +2025 -1988
- package/dist/types/binding.d.ts +11 -8
- package/dist/types/options/input-options.d.ts +0 -1
- package/dist/types/plugin/plugin-context.d.ts +2 -2
- package/dist/types/types/rolldown-output.d.ts +2 -0
- package/dist/types/types/sourcemap.d.ts +2 -1
- package/dist/types/utils/validator.d.ts +1 -2
- package/package.json +17 -17
package/dist/cjs/cli.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
4
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
3
|
+
const require_src = require('../shared/src-GI88yV1N.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-CQpWnODq.cjs');
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
7
7
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
@@ -954,7 +954,7 @@ function n(e) {
|
|
|
954
954
|
const I = globalThis.process?.platform || "", T = n(s$1.CI) || l.ci !== false, R = n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), U = n(s$1.DEBUG), A = t === "test" || n(s$1.TEST);
|
|
955
955
|
n(s$1.MINIMAL);
|
|
956
956
|
const _ = /^win/i.test(I);
|
|
957
|
-
!n(s$1.NO_COLOR) && (n(s$1.FORCE_COLOR) || (R || _) && s$1.TERM
|
|
957
|
+
!n(s$1.NO_COLOR) && (n(s$1.FORCE_COLOR) || (R || _) && s$1.TERM);
|
|
958
958
|
const C = (globalThis.process?.versions?.node || "").replace(/^v/, "") || null;
|
|
959
959
|
Number(C?.split(".")[0]);
|
|
960
960
|
const y = globalThis.process || Object.create(null), c = { versions: {} };
|
|
@@ -1125,7 +1125,7 @@ function createConsola(options$1 = {}) {
|
|
|
1125
1125
|
stdout: process.stdout,
|
|
1126
1126
|
stderr: process.stderr,
|
|
1127
1127
|
prompt: (...args) => Promise.resolve().then(function() {
|
|
1128
|
-
return require("../shared/prompt-
|
|
1128
|
+
return require("../shared/prompt-ZZScCEWI.cjs");
|
|
1129
1129
|
}).then((m) => m.prompt(...args)),
|
|
1130
1130
|
reporters: options$1.reporters || [options$1.fancy ?? !(T || A) ? new FancyReporter() : new BasicReporter()],
|
|
1131
1131
|
...options$1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
4
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
3
|
+
const require_src = require('../shared/src-GI88yV1N.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-CQpWnODq.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
7
7
|
//#region src/plugin/parallel-plugin.ts
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_src = require('../shared/src-
|
|
2
|
-
require('../shared/parse-ast-index-
|
|
1
|
+
const require_src = require('../shared/src-GI88yV1N.cjs');
|
|
2
|
+
require('../shared/parse-ast-index-CQpWnODq.cjs');
|
|
3
3
|
|
|
4
4
|
exports.VERSION = require_src.VERSION
|
|
5
5
|
exports.build = require_src.build
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('../shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('../shared/src-
|
|
4
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
3
|
+
const require_src = require('../shared/src-GI88yV1N.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-CQpWnODq.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_parse_ast_index = require('../shared/parse-ast-index-
|
|
1
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-CQpWnODq.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync
|
package/dist/esm/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from "../shared/parse-ast-index-
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-
|
|
1
|
+
import { colors } from "../shared/parse-ast-index-Aeq00bwr.mjs";
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-CeA4I13P.mjs";
|
|
3
3
|
import process$1, { cwd } from "node:process";
|
|
4
4
|
import path, { sep } from "node:path";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -952,7 +952,7 @@ function n(e) {
|
|
|
952
952
|
const I = globalThis.process?.platform || "", T = n(s$1.CI) || l.ci !== false, R = n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), U = n(s$1.DEBUG), A = t === "test" || n(s$1.TEST);
|
|
953
953
|
n(s$1.MINIMAL);
|
|
954
954
|
const _ = /^win/i.test(I);
|
|
955
|
-
!n(s$1.NO_COLOR) && (n(s$1.FORCE_COLOR) || (R || _) && s$1.TERM
|
|
955
|
+
!n(s$1.NO_COLOR) && (n(s$1.FORCE_COLOR) || (R || _) && s$1.TERM);
|
|
956
956
|
const C = (globalThis.process?.versions?.node || "").replace(/^v/, "") || null;
|
|
957
957
|
Number(C?.split(".")[0]);
|
|
958
958
|
const y = globalThis.process || Object.create(null), c = { versions: {} };
|
|
@@ -1122,7 +1122,7 @@ function createConsola(options$1 = {}) {
|
|
|
1122
1122
|
defaults: { level },
|
|
1123
1123
|
stdout: process.stdout,
|
|
1124
1124
|
stderr: process.stderr,
|
|
1125
|
-
prompt: (...args) => import("../shared/prompt-
|
|
1125
|
+
prompt: (...args) => import("../shared/prompt-CxK9euq3.mjs").then((m) => m.prompt(...args)),
|
|
1126
1126
|
reporters: options$1.reporters || [options$1.fancy ?? !(T || A) ? new FancyReporter() : new BasicReporter()],
|
|
1127
1127
|
...options$1
|
|
1128
1128
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { import_binding } from "../shared/parse-ast-index-
|
|
2
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-
|
|
1
|
+
import { import_binding } from "../shared/parse-ast-index-Aeq00bwr.mjs";
|
|
2
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-CeA4I13P.mjs";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
|
|
5
5
|
//#region src/plugin/parallel-plugin.ts
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../shared/parse-ast-index-
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
1
|
+
import "../shared/parse-ast-index-Aeq00bwr.mjs";
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-CeA4I13P.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { import_binding } from "../shared/parse-ast-index-
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
1
|
+
import { import_binding } from "../shared/parse-ast-index-Aeq00bwr.mjs";
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-CeA4I13P.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -602,7 +602,6 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
|
|
|
602
602
|
module.exports.isolatedDeclaration = nativeBinding.isolatedDeclaration;
|
|
603
603
|
module.exports.parseAsync = nativeBinding.parseAsync;
|
|
604
604
|
module.exports.parseSync = nativeBinding.parseSync;
|
|
605
|
-
module.exports.parseWithoutReturn = nativeBinding.parseWithoutReturn;
|
|
606
605
|
module.exports.registerPlugins = nativeBinding.registerPlugins;
|
|
607
606
|
module.exports.Severity = nativeBinding.Severity;
|
|
608
607
|
module.exports.transform = nativeBinding.transform;
|
|
@@ -576,7 +576,6 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
|
|
|
576
576
|
module.exports.isolatedDeclaration = nativeBinding.isolatedDeclaration;
|
|
577
577
|
module.exports.parseAsync = nativeBinding.parseAsync;
|
|
578
578
|
module.exports.parseSync = nativeBinding.parseSync;
|
|
579
|
-
module.exports.parseWithoutReturn = nativeBinding.parseWithoutReturn;
|
|
580
579
|
module.exports.registerPlugins = nativeBinding.registerPlugins;
|
|
581
580
|
module.exports.Severity = nativeBinding.Severity;
|
|
582
581
|
module.exports.transform = nativeBinding.transform;
|
|
@@ -137,8 +137,8 @@ function requirePicocolors() {
|
|
|
137
137
|
picocolors.exports.createColors = createColors;
|
|
138
138
|
return picocolors.exports;
|
|
139
139
|
}
|
|
140
|
-
var picocolorsExports =
|
|
141
|
-
const e =
|
|
140
|
+
var picocolorsExports = /* @__PURE__ */ requirePicocolors();
|
|
141
|
+
const e = /* @__PURE__ */ getDefaultExportFromCjs(picocolorsExports);
|
|
142
142
|
function J({ onlyFirst: t = false } = {}) {
|
|
143
143
|
const F = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
|
|
144
144
|
return new RegExp(F, t ? void 0 : "g");
|
|
@@ -140,8 +140,8 @@ function requirePicocolors() {
|
|
|
140
140
|
picocolors.exports.createColors = createColors;
|
|
141
141
|
return picocolors.exports;
|
|
142
142
|
}
|
|
143
|
-
var picocolorsExports =
|
|
144
|
-
const e =
|
|
143
|
+
var picocolorsExports = /* @__PURE__ */ requirePicocolors();
|
|
144
|
+
const e = /* @__PURE__ */ getDefaultExportFromCjs(picocolorsExports);
|
|
145
145
|
function J({ onlyFirst: t = false } = {}) {
|
|
146
146
|
const F = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
|
|
147
147
|
return new RegExp(F, t ? void 0 : "g");
|