rolldown 1.0.0-beta.15 → 1.0.0-beta.17

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.
Files changed (44) hide show
  1. package/dist/cli.cjs +8 -8
  2. package/dist/cli.mjs +1042 -1081
  3. package/dist/config.cjs +3 -3
  4. package/dist/config.d.cts +2 -2
  5. package/dist/config.d.mts +2 -2
  6. package/dist/config.mjs +4 -5
  7. package/dist/experimental-index.cjs +7 -31
  8. package/dist/experimental-index.d.cts +2 -2
  9. package/dist/experimental-index.d.mts +2 -2
  10. package/dist/experimental-index.mjs +4 -22
  11. package/dist/experimental-runtime-types.d.ts +52 -0
  12. package/dist/filter-index.d.cts +2 -2
  13. package/dist/filter-index.d.mts +2 -2
  14. package/dist/filter-index.mjs +1 -2
  15. package/dist/index.cjs +2 -2
  16. package/dist/index.d.cts +2 -2
  17. package/dist/index.d.mts +2 -2
  18. package/dist/index.mjs +3 -4
  19. package/dist/parallel-plugin-worker.cjs +3 -4
  20. package/dist/parallel-plugin-worker.mjs +27 -34
  21. package/dist/parallel-plugin.d.cts +2 -2
  22. package/dist/parallel-plugin.d.mts +2 -2
  23. package/dist/parse-ast-index.cjs +1 -1
  24. package/dist/parse-ast-index.d.cts +1 -1
  25. package/dist/parse-ast-index.d.mts +1 -1
  26. package/dist/parse-ast-index.mjs +1 -2
  27. package/dist/shared/{binding-CZdobbZA.d.cts → binding-CWvDTpOw.d.mts} +23 -15
  28. package/dist/shared/{binding-Dze8QVpf.d.mts → binding-um3VI33z.d.cts} +23 -15
  29. package/dist/shared/{define-config-De_1kjGz.d.mts → define-config-Cm86JHb7.d.mts} +73 -12
  30. package/dist/shared/{define-config-BE-fkZNW.d.cts → define-config-POPyhxOq.d.cts} +73 -12
  31. package/dist/shared/{load-config-Bq6nGoUg.cjs → load-config-B4zzmrcW.cjs} +1 -1
  32. package/dist/shared/{load-config-BOcke1T-.mjs → load-config-BlOqMlge.mjs} +14 -19
  33. package/dist/shared/{misc-DGAe2XOW.mjs → misc-BN0nse6C.mjs} +1 -4
  34. package/dist/shared/parse-ast-index-BpqxVgDm.mjs +616 -0
  35. package/dist/shared/parse-ast-index-XFcW-g8N.cjs +738 -0
  36. package/dist/shared/prompt-C5jz26Zn.mjs +852 -0
  37. package/dist/shared/{prompt-8EeOGx1_.cjs → prompt-QNI93ne7.cjs} +2 -2
  38. package/dist/shared/{src-aJubL6dq.cjs → src-C98Q0NLX.cjs} +63 -55
  39. package/dist/shared/{src-DBOqhEP1.mjs → src-CuIbdNSi.mjs} +1146 -1391
  40. package/package.json +22 -22
  41. package/dist/shared/chunk--iN_1bjD.mjs +0 -33
  42. package/dist/shared/parse-ast-index-BAuPesgO.mjs +0 -658
  43. package/dist/shared/parse-ast-index-C53MhHqY.cjs +0 -700
  44. package/dist/shared/prompt-Dc0i9ubg.mjs +0 -854
package/dist/cli.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-aJubL6dq.cjs');
3
- require('./shared/parse-ast-index-C53MhHqY.cjs');
2
+ const require_src = require('./shared/src-C98Q0NLX.cjs');
3
+ require('./shared/parse-ast-index-XFcW-g8N.cjs');
4
4
  const require_misc = require('./shared/misc-BKp5iIef.cjs');
5
- const require_load_config = require('./shared/load-config-Bq6nGoUg.cjs');
5
+ const require_load_config = require('./shared/load-config-B4zzmrcW.cjs');
6
6
  const node_path = require_chunk.__toESM(require("node:path"));
7
7
  const ansis = require_chunk.__toESM(require("ansis"));
8
8
  const node_process = require_chunk.__toESM(require("node:process"));
@@ -933,7 +933,7 @@ ${indent}`);
933
933
  line = space > 0 && (opts.columns || 0) >= 80 ? left + " ".repeat(space) + right : (right ? `${colors$2.gray(`[${right}]`)} ` : "") + left;
934
934
  line += characterFormat(additional.length > 0 ? "\n" + additional.join("\n") : "");
935
935
  if (logObj.type === "trace") {
936
- const _err = new Error("Trace: " + logObj.message);
936
+ const _err = /* @__PURE__ */ new Error("Trace: " + logObj.message);
937
937
  line += this.formatStack(_err.stack || "", _err.message);
938
938
  }
939
939
  return isBadge ? "\n" + line + "\n" : line;
@@ -956,7 +956,7 @@ function createConsola(options$1 = {}) {
956
956
  defaults: { level },
957
957
  stdout: process.stdout,
958
958
  stderr: process.stderr,
959
- prompt: (...args) => Promise.resolve().then(() => require("./shared/prompt-8EeOGx1_.cjs")).then((m) => m.prompt(...args)),
959
+ prompt: (...args) => Promise.resolve().then(() => require("./shared/prompt-QNI93ne7.cjs")).then((m) => m.prompt(...args)),
960
960
  reporters: options$1.reporters || [options$1.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
961
961
  ...options$1
962
962
  });
@@ -1424,8 +1424,8 @@ const process$2 = globalThis.process;
1424
1424
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
1425
1425
 
1426
1426
  //#endregion
1427
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.72.3/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1428
- var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.3/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1427
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.73.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1428
+ var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.73.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1429
1429
  function _usingCtx() {
1430
1430
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1431
1431
  var n$2 = Error();
@@ -1485,7 +1485,7 @@ var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc
1485
1485
 
1486
1486
  //#endregion
1487
1487
  //#region src/cli/commands/bundle.ts
1488
- var import_usingCtx = require_chunk.__toESM(require_usingCtx());
1488
+ var import_usingCtx = require_chunk.__toESM(require_usingCtx(), 1);
1489
1489
  async function bundleWithConfig(configPath, cliOptions) {
1490
1490
  if (cliOptions.watch) {
1491
1491
  process.env.ROLLUP_WATCH = "true";