rolldown 1.0.0-beta.4-commit.beda261 → 1.0.0-beta.4-commit.d3748b6

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 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-Ca8wjB-L.cjs');
4
- const require_parse_ast_index = require('../shared/parse-ast-index-Dh_sWnMa.cjs');
3
+ const require_src = require('../shared/src-CH716UxL.cjs');
4
+ const require_parse_ast_index = require('../shared/parse-ast-index-D7XtMFo4.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"));
@@ -1745,6 +1745,7 @@ async function main() {
1745
1745
  showHelp();
1746
1746
  }
1747
1747
  main().catch((err) => {
1748
+ if (err instanceof Error && typeof err.stack === "string") err.stack = err.stack.replace(err.message, "");
1748
1749
  logger.error(err);
1749
1750
  node_process.default.exit(1);
1750
1751
  });
@@ -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-Ca8wjB-L.cjs');
4
- const require_parse_ast_index = require('../shared/parse-ast-index-Dh_sWnMa.cjs');
3
+ const require_src = require('../shared/src-CH716UxL.cjs');
4
+ const require_parse_ast_index = require('../shared/parse-ast-index-D7XtMFo4.cjs');
5
5
  const node_url = require_chunk.__toESM(require("node:url"));
6
6
 
7
7
  //#region src/plugin/parallel-plugin.ts
@@ -1,5 +1,5 @@
1
- const require_src = require('../shared/src-Ca8wjB-L.cjs');
2
- require('../shared/parse-ast-index-Dh_sWnMa.cjs');
1
+ const require_src = require('../shared/src-CH716UxL.cjs');
2
+ require('../shared/parse-ast-index-D7XtMFo4.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-Ca8wjB-L.cjs');
4
- const require_parse_ast_index = require('../shared/parse-ast-index-Dh_sWnMa.cjs');
3
+ const require_src = require('../shared/src-CH716UxL.cjs');
4
+ const require_parse_ast_index = require('../shared/parse-ast-index-D7XtMFo4.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-Dh_sWnMa.cjs');
1
+ const require_parse_ast_index = require('../shared/parse-ast-index-D7XtMFo4.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-DIxeQDpE.mjs";
2
- import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-DJYlASEw.mjs";
1
+ import { colors } from "../shared/parse-ast-index-CyX8MVZE.mjs";
2
+ import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-CzSgWS0h.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";
@@ -1741,6 +1741,7 @@ async function main() {
1741
1741
  showHelp();
1742
1742
  }
1743
1743
  main().catch((err) => {
1744
+ if (err instanceof Error && typeof err.stack === "string") err.stack = err.stack.replace(err.message, "");
1744
1745
  logger.error(err);
1745
1746
  process$1.exit(1);
1746
1747
  });
@@ -1,5 +1,5 @@
1
- import { import_binding } from "../shared/parse-ast-index-DIxeQDpE.mjs";
2
- import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-DJYlASEw.mjs";
1
+ import { import_binding } from "../shared/parse-ast-index-CyX8MVZE.mjs";
2
+ import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-CzSgWS0h.mjs";
3
3
  import { pathToFileURL } from "node:url";
4
4
 
5
5
  //#region src/plugin/parallel-plugin.ts
@@ -1,4 +1,4 @@
1
- import "../shared/parse-ast-index-DIxeQDpE.mjs";
2
- import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-DJYlASEw.mjs";
1
+ import "../shared/parse-ast-index-CyX8MVZE.mjs";
2
+ import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-CzSgWS0h.mjs";
3
3
 
4
4
  export { VERSION, build, defineConfig, rolldown, watch };
@@ -1,5 +1,5 @@
1
- import { import_binding } from "../shared/parse-ast-index-DIxeQDpE.mjs";
2
- import { PluginContextData, bindingifyPlugin } from "../shared/src-DJYlASEw.mjs";
1
+ import { import_binding } from "../shared/parse-ast-index-CyX8MVZE.mjs";
2
+ import { PluginContextData, bindingifyPlugin } from "../shared/src-CzSgWS0h.mjs";
3
3
  import { parentPort, workerData } from "node:worker_threads";
4
4
 
5
5
  //#region src/parallel-plugin-worker.ts
@@ -1,3 +1,3 @@
1
- import { parseAst, parseAstAsync } from "../shared/parse-ast-index-DIxeQDpE.mjs";
1
+ import { parseAst, parseAstAsync } from "../shared/parse-ast-index-CyX8MVZE.mjs";
2
2
 
3
3
  export { parseAst, parseAstAsync };
@@ -326,7 +326,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
326
326
  }
327
327
  else if (process.platform === "android") if (process.arch === "arm64") {
328
328
  try {
329
- return __require("./rolldown-binding.android-arm64.node");
329
+ return __require("../rolldown-binding.android-arm64.node");
330
330
  } catch (e) {
331
331
  loadErrors.push(e);
332
332
  }
@@ -337,7 +337,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
337
337
  }
338
338
  } else if (process.arch === "arm") {
339
339
  try {
340
- return __require("./rolldown-binding.android-arm-eabi.node");
340
+ return __require("../rolldown-binding.android-arm-eabi.node");
341
341
  } catch (e) {
342
342
  loadErrors.push(e);
343
343
  }
@@ -349,7 +349,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
349
349
  } else loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`));
350
350
  else if (process.platform === "win32") if (process.arch === "x64") {
351
351
  try {
352
- return __require("./rolldown-binding.win32-x64-msvc.node");
352
+ return __require("../rolldown-binding.win32-x64-msvc.node");
353
353
  } catch (e) {
354
354
  loadErrors.push(e);
355
355
  }
@@ -360,7 +360,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
360
360
  }
361
361
  } else if (process.arch === "ia32") {
362
362
  try {
363
- return __require("./rolldown-binding.win32-ia32-msvc.node");
363
+ return __require("../rolldown-binding.win32-ia32-msvc.node");
364
364
  } catch (e) {
365
365
  loadErrors.push(e);
366
366
  }
@@ -371,7 +371,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
371
371
  }
372
372
  } else if (process.arch === "arm64") {
373
373
  try {
374
- return __require("./rolldown-binding.win32-arm64-msvc.node");
374
+ return __require("../rolldown-binding.win32-arm64-msvc.node");
375
375
  } catch (e) {
376
376
  loadErrors.push(e);
377
377
  }
@@ -383,7 +383,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
383
383
  } else loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`));
384
384
  else if (process.platform === "darwin") {
385
385
  try {
386
- return __require("./rolldown-binding.darwin-universal.node");
386
+ return __require("../rolldown-binding.darwin-universal.node");
387
387
  } catch (e) {
388
388
  loadErrors.push(e);
389
389
  }
@@ -394,7 +394,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
394
394
  }
395
395
  if (process.arch === "x64") {
396
396
  try {
397
- return __require("./rolldown-binding.darwin-x64.node");
397
+ return __require("../rolldown-binding.darwin-x64.node");
398
398
  } catch (e) {
399
399
  loadErrors.push(e);
400
400
  }
@@ -405,7 +405,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
405
405
  }
406
406
  } else if (process.arch === "arm64") {
407
407
  try {
408
- return __require("./rolldown-binding.darwin-arm64.node");
408
+ return __require("../rolldown-binding.darwin-arm64.node");
409
409
  } catch (e) {
410
410
  loadErrors.push(e);
411
411
  }
@@ -417,7 +417,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
417
417
  } else loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`));
418
418
  } else if (process.platform === "freebsd") if (process.arch === "x64") {
419
419
  try {
420
- return __require("./rolldown-binding.freebsd-x64.node");
420
+ return __require("../rolldown-binding.freebsd-x64.node");
421
421
  } catch (e) {
422
422
  loadErrors.push(e);
423
423
  }
@@ -428,7 +428,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
428
428
  }
429
429
  } else if (process.arch === "arm64") {
430
430
  try {
431
- return __require("./rolldown-binding.freebsd-arm64.node");
431
+ return __require("../rolldown-binding.freebsd-arm64.node");
432
432
  } catch (e) {
433
433
  loadErrors.push(e);
434
434
  }
@@ -440,7 +440,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
440
440
  } else loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`));
441
441
  else if (process.platform === "linux") if (process.arch === "x64") if (isMusl()) {
442
442
  try {
443
- return __require("./rolldown-binding.linux-x64-musl.node");
443
+ return __require("../rolldown-binding.linux-x64-musl.node");
444
444
  } catch (e) {
445
445
  loadErrors.push(e);
446
446
  }
@@ -451,7 +451,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
451
451
  }
452
452
  } else {
453
453
  try {
454
- return __require("./rolldown-binding.linux-x64-gnu.node");
454
+ return __require("../rolldown-binding.linux-x64-gnu.node");
455
455
  } catch (e) {
456
456
  loadErrors.push(e);
457
457
  }
@@ -463,7 +463,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
463
463
  }
464
464
  else if (process.arch === "arm64") if (isMusl()) {
465
465
  try {
466
- return __require("./rolldown-binding.linux-arm64-musl.node");
466
+ return __require("../rolldown-binding.linux-arm64-musl.node");
467
467
  } catch (e) {
468
468
  loadErrors.push(e);
469
469
  }
@@ -474,7 +474,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
474
474
  }
475
475
  } else {
476
476
  try {
477
- return __require("./rolldown-binding.linux-arm64-gnu.node");
477
+ return __require("../rolldown-binding.linux-arm64-gnu.node");
478
478
  } catch (e) {
479
479
  loadErrors.push(e);
480
480
  }
@@ -486,7 +486,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
486
486
  }
487
487
  else if (process.arch === "arm") if (isMusl()) {
488
488
  try {
489
- return __require("./rolldown-binding.linux-arm-musleabihf.node");
489
+ return __require("../rolldown-binding.linux-arm-musleabihf.node");
490
490
  } catch (e) {
491
491
  loadErrors.push(e);
492
492
  }
@@ -497,7 +497,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
497
497
  }
498
498
  } else {
499
499
  try {
500
- return __require("./rolldown-binding.linux-arm-gnueabihf.node");
500
+ return __require("../rolldown-binding.linux-arm-gnueabihf.node");
501
501
  } catch (e) {
502
502
  loadErrors.push(e);
503
503
  }
@@ -509,7 +509,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
509
509
  }
510
510
  else if (process.arch === "riscv64") if (isMusl()) {
511
511
  try {
512
- return __require("./rolldown-binding.linux-riscv64-musl.node");
512
+ return __require("../rolldown-binding.linux-riscv64-musl.node");
513
513
  } catch (e) {
514
514
  loadErrors.push(e);
515
515
  }
@@ -520,7 +520,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
520
520
  }
521
521
  } else {
522
522
  try {
523
- return __require("./rolldown-binding.linux-riscv64-gnu.node");
523
+ return __require("../rolldown-binding.linux-riscv64-gnu.node");
524
524
  } catch (e) {
525
525
  loadErrors.push(e);
526
526
  }
@@ -532,7 +532,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
532
532
  }
533
533
  else if (process.arch === "ppc64") {
534
534
  try {
535
- return __require("./rolldown-binding.linux-ppc64-gnu.node");
535
+ return __require("../rolldown-binding.linux-ppc64-gnu.node");
536
536
  } catch (e) {
537
537
  loadErrors.push(e);
538
538
  }
@@ -543,7 +543,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
543
543
  }
544
544
  } else if (process.arch === "s390x") {
545
545
  try {
546
- return __require("./rolldown-binding.linux-s390x-gnu.node");
546
+ return __require("../rolldown-binding.linux-s390x-gnu.node");
547
547
  } catch (e) {
548
548
  loadErrors.push(e);
549
549
  }
@@ -558,7 +558,7 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
558
558
  nativeBinding = requireNative();
559
559
  if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
560
560
  try {
561
- nativeBinding = __require("./rolldown-binding.wasi.cjs");
561
+ nativeBinding = __require("../rolldown-binding.wasi.cjs");
562
562
  } catch (err) {
563
563
  if (process.env.NAPI_RS_FORCE_WASI) loadErrors.push(err);
564
564
  }
@@ -300,7 +300,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
300
300
  }
301
301
  else if (process.platform === "android") if (process.arch === "arm64") {
302
302
  try {
303
- return require("./rolldown-binding.android-arm64.node");
303
+ return require("../rolldown-binding.android-arm64.node");
304
304
  } catch (e) {
305
305
  loadErrors.push(e);
306
306
  }
@@ -311,7 +311,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
311
311
  }
312
312
  } else if (process.arch === "arm") {
313
313
  try {
314
- return require("./rolldown-binding.android-arm-eabi.node");
314
+ return require("../rolldown-binding.android-arm-eabi.node");
315
315
  } catch (e) {
316
316
  loadErrors.push(e);
317
317
  }
@@ -323,7 +323,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
323
323
  } else loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`));
324
324
  else if (process.platform === "win32") if (process.arch === "x64") {
325
325
  try {
326
- return require("./rolldown-binding.win32-x64-msvc.node");
326
+ return require("../rolldown-binding.win32-x64-msvc.node");
327
327
  } catch (e) {
328
328
  loadErrors.push(e);
329
329
  }
@@ -334,7 +334,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
334
334
  }
335
335
  } else if (process.arch === "ia32") {
336
336
  try {
337
- return require("./rolldown-binding.win32-ia32-msvc.node");
337
+ return require("../rolldown-binding.win32-ia32-msvc.node");
338
338
  } catch (e) {
339
339
  loadErrors.push(e);
340
340
  }
@@ -345,7 +345,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
345
345
  }
346
346
  } else if (process.arch === "arm64") {
347
347
  try {
348
- return require("./rolldown-binding.win32-arm64-msvc.node");
348
+ return require("../rolldown-binding.win32-arm64-msvc.node");
349
349
  } catch (e) {
350
350
  loadErrors.push(e);
351
351
  }
@@ -357,7 +357,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
357
357
  } else loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`));
358
358
  else if (process.platform === "darwin") {
359
359
  try {
360
- return require("./rolldown-binding.darwin-universal.node");
360
+ return require("../rolldown-binding.darwin-universal.node");
361
361
  } catch (e) {
362
362
  loadErrors.push(e);
363
363
  }
@@ -368,7 +368,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
368
368
  }
369
369
  if (process.arch === "x64") {
370
370
  try {
371
- return require("./rolldown-binding.darwin-x64.node");
371
+ return require("../rolldown-binding.darwin-x64.node");
372
372
  } catch (e) {
373
373
  loadErrors.push(e);
374
374
  }
@@ -379,7 +379,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
379
379
  }
380
380
  } else if (process.arch === "arm64") {
381
381
  try {
382
- return require("./rolldown-binding.darwin-arm64.node");
382
+ return require("../rolldown-binding.darwin-arm64.node");
383
383
  } catch (e) {
384
384
  loadErrors.push(e);
385
385
  }
@@ -391,7 +391,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
391
391
  } else loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`));
392
392
  } else if (process.platform === "freebsd") if (process.arch === "x64") {
393
393
  try {
394
- return require("./rolldown-binding.freebsd-x64.node");
394
+ return require("../rolldown-binding.freebsd-x64.node");
395
395
  } catch (e) {
396
396
  loadErrors.push(e);
397
397
  }
@@ -402,7 +402,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
402
402
  }
403
403
  } else if (process.arch === "arm64") {
404
404
  try {
405
- return require("./rolldown-binding.freebsd-arm64.node");
405
+ return require("../rolldown-binding.freebsd-arm64.node");
406
406
  } catch (e) {
407
407
  loadErrors.push(e);
408
408
  }
@@ -414,7 +414,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
414
414
  } else loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`));
415
415
  else if (process.platform === "linux") if (process.arch === "x64") if (isMusl()) {
416
416
  try {
417
- return require("./rolldown-binding.linux-x64-musl.node");
417
+ return require("../rolldown-binding.linux-x64-musl.node");
418
418
  } catch (e) {
419
419
  loadErrors.push(e);
420
420
  }
@@ -425,7 +425,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
425
425
  }
426
426
  } else {
427
427
  try {
428
- return require("./rolldown-binding.linux-x64-gnu.node");
428
+ return require("../rolldown-binding.linux-x64-gnu.node");
429
429
  } catch (e) {
430
430
  loadErrors.push(e);
431
431
  }
@@ -437,7 +437,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
437
437
  }
438
438
  else if (process.arch === "arm64") if (isMusl()) {
439
439
  try {
440
- return require("./rolldown-binding.linux-arm64-musl.node");
440
+ return require("../rolldown-binding.linux-arm64-musl.node");
441
441
  } catch (e) {
442
442
  loadErrors.push(e);
443
443
  }
@@ -448,7 +448,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
448
448
  }
449
449
  } else {
450
450
  try {
451
- return require("./rolldown-binding.linux-arm64-gnu.node");
451
+ return require("../rolldown-binding.linux-arm64-gnu.node");
452
452
  } catch (e) {
453
453
  loadErrors.push(e);
454
454
  }
@@ -460,7 +460,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
460
460
  }
461
461
  else if (process.arch === "arm") if (isMusl()) {
462
462
  try {
463
- return require("./rolldown-binding.linux-arm-musleabihf.node");
463
+ return require("../rolldown-binding.linux-arm-musleabihf.node");
464
464
  } catch (e) {
465
465
  loadErrors.push(e);
466
466
  }
@@ -471,7 +471,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
471
471
  }
472
472
  } else {
473
473
  try {
474
- return require("./rolldown-binding.linux-arm-gnueabihf.node");
474
+ return require("../rolldown-binding.linux-arm-gnueabihf.node");
475
475
  } catch (e) {
476
476
  loadErrors.push(e);
477
477
  }
@@ -483,7 +483,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
483
483
  }
484
484
  else if (process.arch === "riscv64") if (isMusl()) {
485
485
  try {
486
- return require("./rolldown-binding.linux-riscv64-musl.node");
486
+ return require("../rolldown-binding.linux-riscv64-musl.node");
487
487
  } catch (e) {
488
488
  loadErrors.push(e);
489
489
  }
@@ -494,7 +494,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
494
494
  }
495
495
  } else {
496
496
  try {
497
- return require("./rolldown-binding.linux-riscv64-gnu.node");
497
+ return require("../rolldown-binding.linux-riscv64-gnu.node");
498
498
  } catch (e) {
499
499
  loadErrors.push(e);
500
500
  }
@@ -506,7 +506,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
506
506
  }
507
507
  else if (process.arch === "ppc64") {
508
508
  try {
509
- return require("./rolldown-binding.linux-ppc64-gnu.node");
509
+ return require("../rolldown-binding.linux-ppc64-gnu.node");
510
510
  } catch (e) {
511
511
  loadErrors.push(e);
512
512
  }
@@ -517,7 +517,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
517
517
  }
518
518
  } else if (process.arch === "s390x") {
519
519
  try {
520
- return require("./rolldown-binding.linux-s390x-gnu.node");
520
+ return require("../rolldown-binding.linux-s390x-gnu.node");
521
521
  } catch (e) {
522
522
  loadErrors.push(e);
523
523
  }
@@ -532,7 +532,7 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
532
532
  nativeBinding = requireNative();
533
533
  if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
534
534
  try {
535
- nativeBinding = require("./rolldown-binding.wasi.cjs");
535
+ nativeBinding = require("../rolldown-binding.wasi.cjs");
536
536
  } catch (err) {
537
537
  if (process.env.NAPI_RS_FORCE_WASI) loadErrors.push(err);
538
538
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const require_chunk = require('./chunk-qZFfknuJ.cjs');
3
- const require_parse_ast_index = require('./parse-ast-index-Dh_sWnMa.cjs');
3
+ const require_parse_ast_index = require('./parse-ast-index-D7XtMFo4.cjs');
4
4
  const node_path = require_chunk.__toESM(require("node:path"));
5
5
  const valibot = require_chunk.__toESM(require("valibot"));
6
6
  const __valibot_to_json_schema = require_chunk.__toESM(require("@valibot/to-json-schema"));
@@ -504,7 +504,19 @@ const WatchOptionsSchema = valibot.strictObject({
504
504
  skipWrite: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Skip the bundle.write() step")),
505
505
  buildDelay: valibot.pipe(valibot.optional(valibot.number()), valibot.description("Throttle watch rebuilds"))
506
506
  });
507
- const ChecksOptionsSchema = valibot.strictObject({ circularDependency: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warnings when detecting circular dependencies")) });
507
+ const ChecksOptionsSchema = valibot.strictObject({
508
+ circularDependency: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting circular dependency")),
509
+ eval: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting eval")),
510
+ missingGlobalName: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting missing global name")),
511
+ missingNameOptionForIifeExport: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting missing name option for iife export")),
512
+ mixedExport: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting mixed export")),
513
+ unresolvedEntry: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting unresolved entry")),
514
+ unresolvedImport: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting unresolved import")),
515
+ filenameConflict: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting filename conflict")),
516
+ commonJsVariableInEsm: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting common js variable in esm")),
517
+ importIsUndefined: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting import is undefined")),
518
+ configurationFieldConflict: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warning when detecting configuration field conflict"))
519
+ });
508
520
  const MinifyOptionsSchema = valibot.strictObject({
509
521
  mangle: valibot.boolean(),
510
522
  compress: valibot.boolean(),
@@ -803,11 +815,12 @@ function normalizeErrors(rawErrors) {
803
815
  }));
804
816
  let summary = `Build failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
805
817
  for (let i = 0; i < errors.length; i++) {
818
+ summary += "\n";
806
819
  if (i >= 5) {
807
- summary += "\n...";
820
+ summary += "...";
808
821
  break;
809
822
  }
810
- summary += getErrorMessage(errors[i]) + "\n";
823
+ summary += getErrorMessage(errors[i]);
811
824
  }
812
825
  const wrapper = new Error(summary);
813
826
  Object.defineProperty(wrapper, "errors", {
@@ -823,6 +836,7 @@ function normalizeErrors(rawErrors) {
823
836
  return wrapper;
824
837
  }
825
838
  function getErrorMessage(e) {
839
+ if (Object.hasOwn(e, "kind")) return e.message;
826
840
  let s = "";
827
841
  if (e.plugin) s += `[plugin ${e.plugin}]`;
828
842
  const id = e.id ?? e.loc?.file;
@@ -1119,7 +1133,8 @@ function bindingifySideEffects(sideEffects) {
1119
1133
  function transformResolvedExternal(bindingResolvedExternal$1) {
1120
1134
  switch (bindingResolvedExternal$1.type) {
1121
1135
  case "Bool": return bindingResolvedExternal$1.field0;
1122
- default: unimplemented(`external ${bindingResolvedExternal$1.type}`);
1136
+ case "Absolute": return "absolute";
1137
+ case "Relative": unreachable(`The PluginContext resolve result external couldn't be 'relative'`);
1123
1138
  }
1124
1139
  }
1125
1140
  function bindingResolvedExternal(external) {
@@ -1127,6 +1142,8 @@ function bindingResolvedExternal(external) {
1127
1142
  type: "Bool",
1128
1143
  field0: external
1129
1144
  };
1145
+ if (external === "absolute") return { type: "Absolute" };
1146
+ if (external === "relative") return { type: "Relative" };
1130
1147
  }
1131
1148
 
1132
1149
  //#endregion
@@ -1361,9 +1378,13 @@ function bindingifyResolveId(args) {
1361
1378
  if (ret == null) return;
1362
1379
  if (ret === false) return {
1363
1380
  id: specifier,
1364
- external: bindingResolvedExternal(true)
1381
+ external: bindingResolvedExternal(true),
1382
+ normalizeExternalId: true
1383
+ };
1384
+ if (typeof ret === "string") return {
1385
+ id: ret,
1386
+ normalizeExternalId: true
1365
1387
  };
1366
- if (typeof ret === "string") return { id: ret };
1367
1388
  let exist = args.pluginContextData.updateModuleOption(ret.id, {
1368
1389
  meta: ret.meta || {},
1369
1390
  moduleSideEffects: ret.moduleSideEffects ?? null,
@@ -1372,6 +1393,7 @@ function bindingifyResolveId(args) {
1372
1393
  return {
1373
1394
  id: ret.id,
1374
1395
  external: bindingResolvedExternal(ret.external),
1396
+ normalizeExternalId: false,
1375
1397
  sideEffects: bindingifySideEffects(exist.moduleSideEffects)
1376
1398
  };
1377
1399
  },
@@ -2079,7 +2101,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
2079
2101
  });
2080
2102
  });
2081
2103
  return ret;
2082
- }
2104
+ },
2105
+ makeAbsoluteExternalsRelative: bindingifyMakeAbsoluteExternalsRelative(inputOptions.makeAbsoluteExternalsRelative)
2083
2106
  };
2084
2107
  }
2085
2108
  function bindingifyExternal(external) {
@@ -2205,6 +2228,13 @@ function bindingifyTreeshakeOptions(config) {
2205
2228
  else normalizedConfig.moduleSideEffects = config.moduleSideEffects;
2206
2229
  return normalizedConfig;
2207
2230
  }
2231
+ function bindingifyMakeAbsoluteExternalsRelative(makeAbsoluteExternalsRelative) {
2232
+ if (makeAbsoluteExternalsRelative === "ifRelativeSource") return { type: "IfRelativeSource" };
2233
+ if (typeof makeAbsoluteExternalsRelative === "boolean") return {
2234
+ type: "Bool",
2235
+ field0: makeAbsoluteExternalsRelative
2236
+ };
2237
+ }
2208
2238
 
2209
2239
  //#endregion
2210
2240
  //#region ../../node_modules/.pnpm/remeda@2.21.1/node_modules/remeda/dist/chunk-D6FCK2GA.js
@@ -2820,7 +2850,7 @@ const watch = (input) => {
2820
2850
 
2821
2851
  //#endregion
2822
2852
  //#region package.json
2823
- var version = "1.0.0-beta.4-commit.beda261";
2853
+ var version = "1.0.0-beta.4-commit.d3748b6";
2824
2854
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
2825
2855
 
2826
2856
  //#endregion
@@ -1,4 +1,4 @@
1
- import { augmentCodeLocation, colors, error, import_binding, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-DIxeQDpE.mjs";
1
+ import { augmentCodeLocation, colors, error, import_binding, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-CyX8MVZE.mjs";
2
2
  import path from "node:path";
3
3
  import * as v from "valibot";
4
4
  import { toJsonSchema } from "@valibot/to-json-schema";
@@ -502,7 +502,19 @@ const WatchOptionsSchema = v.strictObject({
502
502
  skipWrite: v.pipe(v.optional(v.boolean()), v.description("Skip the bundle.write() step")),
503
503
  buildDelay: v.pipe(v.optional(v.number()), v.description("Throttle watch rebuilds"))
504
504
  });
505
- const ChecksOptionsSchema = v.strictObject({ circularDependency: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warnings when detecting circular dependencies")) });
505
+ const ChecksOptionsSchema = v.strictObject({
506
+ circularDependency: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting circular dependency")),
507
+ eval: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting eval")),
508
+ missingGlobalName: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting missing global name")),
509
+ missingNameOptionForIifeExport: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting missing name option for iife export")),
510
+ mixedExport: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting mixed export")),
511
+ unresolvedEntry: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting unresolved entry")),
512
+ unresolvedImport: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting unresolved import")),
513
+ filenameConflict: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting filename conflict")),
514
+ commonJsVariableInEsm: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting common js variable in esm")),
515
+ importIsUndefined: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting import is undefined")),
516
+ configurationFieldConflict: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warning when detecting configuration field conflict"))
517
+ });
506
518
  const MinifyOptionsSchema = v.strictObject({
507
519
  mangle: v.boolean(),
508
520
  compress: v.boolean(),
@@ -801,11 +813,12 @@ function normalizeErrors(rawErrors) {
801
813
  }));
802
814
  let summary = `Build failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
803
815
  for (let i = 0; i < errors.length; i++) {
816
+ summary += "\n";
804
817
  if (i >= 5) {
805
- summary += "\n...";
818
+ summary += "...";
806
819
  break;
807
820
  }
808
- summary += getErrorMessage(errors[i]) + "\n";
821
+ summary += getErrorMessage(errors[i]);
809
822
  }
810
823
  const wrapper = new Error(summary);
811
824
  Object.defineProperty(wrapper, "errors", {
@@ -821,6 +834,7 @@ function normalizeErrors(rawErrors) {
821
834
  return wrapper;
822
835
  }
823
836
  function getErrorMessage(e) {
837
+ if (Object.hasOwn(e, "kind")) return e.message;
824
838
  let s = "";
825
839
  if (e.plugin) s += `[plugin ${e.plugin}]`;
826
840
  const id = e.id ?? e.loc?.file;
@@ -1117,7 +1131,8 @@ function bindingifySideEffects(sideEffects) {
1117
1131
  function transformResolvedExternal(bindingResolvedExternal$1) {
1118
1132
  switch (bindingResolvedExternal$1.type) {
1119
1133
  case "Bool": return bindingResolvedExternal$1.field0;
1120
- default: unimplemented(`external ${bindingResolvedExternal$1.type}`);
1134
+ case "Absolute": return "absolute";
1135
+ case "Relative": unreachable(`The PluginContext resolve result external couldn't be 'relative'`);
1121
1136
  }
1122
1137
  }
1123
1138
  function bindingResolvedExternal(external) {
@@ -1125,6 +1140,8 @@ function bindingResolvedExternal(external) {
1125
1140
  type: "Bool",
1126
1141
  field0: external
1127
1142
  };
1143
+ if (external === "absolute") return { type: "Absolute" };
1144
+ if (external === "relative") return { type: "Relative" };
1128
1145
  }
1129
1146
 
1130
1147
  //#endregion
@@ -1359,9 +1376,13 @@ function bindingifyResolveId(args) {
1359
1376
  if (ret == null) return;
1360
1377
  if (ret === false) return {
1361
1378
  id: specifier,
1362
- external: bindingResolvedExternal(true)
1379
+ external: bindingResolvedExternal(true),
1380
+ normalizeExternalId: true
1381
+ };
1382
+ if (typeof ret === "string") return {
1383
+ id: ret,
1384
+ normalizeExternalId: true
1363
1385
  };
1364
- if (typeof ret === "string") return { id: ret };
1365
1386
  let exist = args.pluginContextData.updateModuleOption(ret.id, {
1366
1387
  meta: ret.meta || {},
1367
1388
  moduleSideEffects: ret.moduleSideEffects ?? null,
@@ -1370,6 +1391,7 @@ function bindingifyResolveId(args) {
1370
1391
  return {
1371
1392
  id: ret.id,
1372
1393
  external: bindingResolvedExternal(ret.external),
1394
+ normalizeExternalId: false,
1373
1395
  sideEffects: bindingifySideEffects(exist.moduleSideEffects)
1374
1396
  };
1375
1397
  },
@@ -2077,7 +2099,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
2077
2099
  });
2078
2100
  });
2079
2101
  return ret;
2080
- }
2102
+ },
2103
+ makeAbsoluteExternalsRelative: bindingifyMakeAbsoluteExternalsRelative(inputOptions.makeAbsoluteExternalsRelative)
2081
2104
  };
2082
2105
  }
2083
2106
  function bindingifyExternal(external) {
@@ -2203,6 +2226,13 @@ function bindingifyTreeshakeOptions(config) {
2203
2226
  else normalizedConfig.moduleSideEffects = config.moduleSideEffects;
2204
2227
  return normalizedConfig;
2205
2228
  }
2229
+ function bindingifyMakeAbsoluteExternalsRelative(makeAbsoluteExternalsRelative) {
2230
+ if (makeAbsoluteExternalsRelative === "ifRelativeSource") return { type: "IfRelativeSource" };
2231
+ if (typeof makeAbsoluteExternalsRelative === "boolean") return {
2232
+ type: "Bool",
2233
+ field0: makeAbsoluteExternalsRelative
2234
+ };
2235
+ }
2206
2236
 
2207
2237
  //#endregion
2208
2238
  //#region ../../node_modules/.pnpm/remeda@2.21.1/node_modules/remeda/dist/chunk-D6FCK2GA.js
@@ -2818,7 +2848,7 @@ const watch = (input) => {
2818
2848
 
2819
2849
  //#endregion
2820
2850
  //#region package.json
2821
- var version = "1.0.0-beta.4-commit.beda261";
2851
+ var version = "1.0.0-beta.4-commit.d3748b6";
2822
2852
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
2823
2853
 
2824
2854
  //#endregion
@@ -246,6 +246,16 @@ export interface BindingBundlerOptions {
246
246
 
247
247
  export interface BindingChecksOptions {
248
248
  circularDependency?: boolean
249
+ eval?: boolean
250
+ missingGlobalName?: boolean
251
+ missingNameOptionForIifeExport?: boolean
252
+ mixedExport?: boolean
253
+ unresolvedEntry?: boolean
254
+ unresolvedImport?: boolean
255
+ filenameConflict?: boolean
256
+ commonJsVariableInEsm?: boolean
257
+ importIsUndefined?: boolean
258
+ configurationFieldConflict?: boolean
249
259
  }
250
260
 
251
261
  export interface BindingDeferSyncScanData {
@@ -323,6 +333,7 @@ export interface BindingHookResolveIdExtraArgs {
323
333
  export interface BindingHookResolveIdOutput {
324
334
  id: string
325
335
  external?: BindingResolvedExternal
336
+ normalizeExternalId?: boolean
326
337
  sideEffects?: BindingHookSideEffects
327
338
  }
328
339
 
@@ -380,6 +391,7 @@ export interface BindingInputOptions {
380
391
  keepNames?: boolean
381
392
  checks?: BindingChecksOptions
382
393
  deferSyncScanData?: undefined | (() => BindingDeferSyncScanData[])
394
+ makeAbsoluteExternalsRelative?: BindingMakeAbsoluteExternalsRelative
383
395
  }
384
396
 
385
397
  export interface BindingJsonPluginConfig {
@@ -428,6 +440,10 @@ export declare enum BindingLogLevel {
428
440
  Debug = 3
429
441
  }
430
442
 
443
+ export type BindingMakeAbsoluteExternalsRelative =
444
+ | { type: 'Bool', field0: boolean }
445
+ | { type: 'IfRelativeSource' }
446
+
431
447
  export interface BindingManifestPluginConfig {
432
448
  root: string
433
449
  outPath: string
@@ -0,0 +1,57 @@
1
+ export interface ChecksOptions {
2
+ /**
3
+ * Whether to emit warning when detecting circular dependency
4
+ * @default false
5
+ * */
6
+ circularDependency?: boolean;
7
+ /**
8
+ * Whether to emit warning when detecting eval
9
+ * @default true
10
+ * */
11
+ eval?: boolean;
12
+ /**
13
+ * Whether to emit warning when detecting missing global name
14
+ * @default true
15
+ * */
16
+ missingGlobalName?: boolean;
17
+ /**
18
+ * Whether to emit warning when detecting missing name option for iife export
19
+ * @default true
20
+ * */
21
+ missingNameOptionForIifeExport?: boolean;
22
+ /**
23
+ * Whether to emit warning when detecting mixed export
24
+ * @default true
25
+ * */
26
+ mixedExport?: boolean;
27
+ /**
28
+ * Whether to emit warning when detecting unresolved entry
29
+ * @default true
30
+ * */
31
+ unresolvedEntry?: boolean;
32
+ /**
33
+ * Whether to emit warning when detecting unresolved import
34
+ * @default true
35
+ * */
36
+ unresolvedImport?: boolean;
37
+ /**
38
+ * Whether to emit warning when detecting filename conflict
39
+ * @default true
40
+ * */
41
+ filenameConflict?: boolean;
42
+ /**
43
+ * Whether to emit warning when detecting common js variable in esm
44
+ * @default true
45
+ * */
46
+ commonJsVariableInEsm?: boolean;
47
+ /**
48
+ * Whether to emit warning when detecting import is undefined
49
+ * @default true
50
+ * */
51
+ importIsUndefined?: boolean;
52
+ /**
53
+ * Whether to emit warning when detecting configuration field conflict
54
+ * @default true
55
+ * */
56
+ configurationFieldConflict?: boolean;
57
+ }
@@ -3,6 +3,7 @@ import type { LogLevel, LogLevelOption, LogOrStringHandler, RollupLog, RollupLog
3
3
  import type { NullValue, StringOrRegExp } from '../types/utils';
4
4
  import type { TreeshakingOptions } from '../types/module-side-effects';
5
5
  import { TransformOptions } from '../binding';
6
+ import type { ChecksOptions } from './generated/checks-options';
6
7
  export type InputOption = string | string[] | Record<string, string>;
7
8
  type OxcTransformOption = Omit<TransformOptions, 'sourceType' | 'lang' | 'cwd' | 'sourcemap' | 'jsx' | 'define' | 'inject' | 'target'>;
8
9
  export type ExternalOption = StringOrRegExp | StringOrRegExp[] | ((id: string, parentId: string | undefined, isResolved: boolean) => NullValue<boolean>);
@@ -26,13 +27,7 @@ export interface WatchOptions {
26
27
  include?: StringOrRegExp | StringOrRegExp[];
27
28
  exclude?: StringOrRegExp | StringOrRegExp[];
28
29
  }
29
- export interface ChecksOptions {
30
- /**
31
- * Whether to emit warnings when detecting circular dependencies.
32
- * @default false
33
- */
34
- circularDependency?: boolean;
35
- }
30
+ export type MakeAbsoluteExternalsRelative = boolean | 'ifRelativeSource';
36
31
  export interface InputOptions {
37
32
  input?: InputOption;
38
33
  plugins?: RolldownPluginOption;
@@ -171,6 +166,7 @@ export interface InputOptions {
171
166
  dropLabels?: string[];
172
167
  keepNames?: boolean;
173
168
  checks?: ChecksOptions;
169
+ makeAbsoluteExternalsRelative?: MakeAbsoluteExternalsRelative;
174
170
  }
175
171
  interface OverwriteInputOptionsForCli {
176
172
  external?: string[];
@@ -30,11 +30,11 @@ export interface ModuleOptions {
30
30
  invalidate?: boolean;
31
31
  }
32
32
  export interface ResolvedId extends ModuleOptions {
33
- external: boolean;
33
+ external: boolean | 'absolute';
34
34
  id: string;
35
35
  }
36
36
  export interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> {
37
- external?: boolean;
37
+ external?: boolean | 'absolute' | 'relative';
38
38
  id: string;
39
39
  }
40
40
  export interface SourceDescription extends Partial<PartialNull<ModuleOptions>> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown",
3
- "version": "1.0.0-beta.4-commit.beda261",
3
+ "version": "1.0.0-beta.4-commit.d3748b6",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "homepage": "https://rolldown.rs/",
6
6
  "repository": {
@@ -84,12 +84,12 @@
84
84
  "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\n\n"
85
85
  },
86
86
  "dependencies": {
87
- "@oxc-project/types": "0.57.0",
87
+ "@oxc-project/types": "0.58.1",
88
88
  "@valibot/to-json-schema": "1.0.0-rc.0",
89
89
  "valibot": "1.0.0-rc.3"
90
90
  },
91
91
  "peerDependencies": {
92
- "@oxc-project/runtime": "0.57.0"
92
+ "@oxc-project/runtime": "0.58.1"
93
93
  },
94
94
  "peerDependenciesMeta": {
95
95
  "@oxc-project/runtime": {
@@ -98,7 +98,7 @@
98
98
  },
99
99
  "devDependencies": {
100
100
  "@jridgewell/sourcemap-codec": "^1.5.0",
101
- "@napi-rs/cli": "^3.0.0-alpha.72",
101
+ "@napi-rs/cli": "^3.0.0-alpha.74",
102
102
  "@napi-rs/wasm-runtime": "^0.2.4",
103
103
  "@oxc-node/core": "^0.0.20",
104
104
  "@types/fs-extra": "^11.0.4",
@@ -121,22 +121,22 @@
121
121
  "typescript": "^5.7.3",
122
122
  "unbuild": "^3.0.0",
123
123
  "why-is-node-running": "^3.0.0",
124
- "rolldown": "1.0.0-beta.4-commit.beda261",
125
- "@rolldown/testing": "0.0.1"
124
+ "@rolldown/testing": "0.0.1",
125
+ "rolldown": "1.0.0-beta.4-commit.d3748b6"
126
126
  },
127
127
  "optionalDependencies": {
128
- "@rolldown/binding-darwin-arm64": "1.0.0-beta.4-commit.beda261",
129
- "@rolldown/binding-darwin-x64": "1.0.0-beta.4-commit.beda261",
130
- "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.4-commit.beda261",
131
- "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.4-commit.beda261",
132
- "@rolldown/binding-freebsd-x64": "1.0.0-beta.4-commit.beda261",
133
- "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.4-commit.beda261",
134
- "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.4-commit.beda261",
135
- "@rolldown/binding-linux-x64-musl": "1.0.0-beta.4-commit.beda261",
136
- "@rolldown/binding-wasm32-wasi": "1.0.0-beta.4-commit.beda261",
137
- "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.4-commit.beda261",
138
- "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.4-commit.beda261",
139
- "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.4-commit.beda261"
128
+ "@rolldown/binding-darwin-arm64": "1.0.0-beta.4-commit.d3748b6",
129
+ "@rolldown/binding-darwin-x64": "1.0.0-beta.4-commit.d3748b6",
130
+ "@rolldown/binding-freebsd-x64": "1.0.0-beta.4-commit.d3748b6",
131
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.4-commit.d3748b6",
132
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.4-commit.d3748b6",
133
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.4-commit.d3748b6",
134
+ "@rolldown/binding-linux-x64-musl": "1.0.0-beta.4-commit.d3748b6",
135
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.4-commit.d3748b6",
136
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.4-commit.d3748b6",
137
+ "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.4-commit.d3748b6",
138
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.4-commit.d3748b6",
139
+ "@rolldown/binding-wasm32-wasi": "1.0.0-beta.4-commit.d3748b6"
140
140
  },
141
141
  "scripts": {
142
142
  "# Scrips for binding #": "_",