rolldown 1.0.0-beta.41 → 1.0.0-beta.43

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.
@@ -416,11 +416,10 @@ ${indent}`);
416
416
  return causedPrefix + message + "\n" + stack + causedError;
417
417
  }
418
418
  formatArgs(args, opts) {
419
- const _args = args.map((arg) => {
419
+ return formatWithOptions(opts, ...args.map((arg) => {
420
420
  if (arg && typeof arg.stack === "string") return this.formatError(arg, opts);
421
421
  return arg;
422
- });
423
- return formatWithOptions(opts, ..._args);
422
+ }));
424
423
  }
425
424
  formatDate(date, opts) {
426
425
  return opts.date ? date.toLocaleTimeString() : "";
@@ -442,11 +441,10 @@ ${indent}`);
442
441
  ]);
443
442
  }
444
443
  log(logObj, ctx) {
445
- const line = this.formatLogObj(logObj, {
444
+ return writeStream(this.formatLogObj(logObj, {
446
445
  columns: ctx.options.stdout.columns || 0,
447
446
  ...ctx.options.formatOptions
448
- });
449
- return writeStream(line + "\n", logObj.level < 2 ? ctx.options.stderr || process.stderr : ctx.options.stdout || process.stdout);
447
+ }) + "\n", logObj.level < 2 ? ctx.options.stderr || process.stderr : ctx.options.stdout || process.stdout);
450
448
  }
451
449
  };
452
450
 
@@ -646,8 +644,7 @@ const r = Object.create(null), i = (e) => globalThis.process?.env || import.meta
646
644
  return i()[s$1] ?? r[s$1];
647
645
  },
648
646
  has(e, s$1) {
649
- const E = i();
650
- return s$1 in E || s$1 in r;
647
+ return s$1 in i() || s$1 in r;
651
648
  },
652
649
  set(e, s$1, E) {
653
650
  const B = i(true);
@@ -944,7 +941,7 @@ function createConsola(options = {}) {
944
941
  defaults: { level },
945
942
  stdout: process.stdout,
946
943
  stderr: process.stderr,
947
- prompt: (...args) => import("./prompt-R6XhwkxA.mjs").then((m) => m.prompt(...args)),
944
+ prompt: (...args) => import("./prompt-B4e-jZUR.mjs").then((m) => m.prompt(...args)),
948
945
  reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
949
946
  ...options
950
947
  });
@@ -1238,8 +1238,7 @@ function createNapiModule(options) {
1238
1238
  var p = [];
1239
1239
  var HEAP_DATA_VIEW = new DataView(wasmMemory.buffer);
1240
1240
  var _loop_1 = function(i$1) {
1241
- var pthreadPtr = HEAP_DATA_VIEW.getUint32(threads + i$1 * 4, true);
1242
- var worker = emnapiGetWorkerByPthreadPtr(pthreadPtr);
1241
+ var worker = emnapiGetWorkerByPthreadPtr(HEAP_DATA_VIEW.getUint32(threads + i$1 * 4, true));
1243
1242
  p.push(new Promise(function(resolve$1) {
1244
1243
  var handler = function(e) {
1245
1244
  var __emnapi__ = (ENVIRONMENT_IS_NODE$1 ? e : e.data).__emnapi__;
@@ -1870,9 +1869,7 @@ function createNapiModule(options) {
1870
1869
  emnapiCtx.refStore.get(resource).dispose();
1871
1870
  if (emnapiNodeBinding) {
1872
1871
  var view = new DataView(wasmMemory.buffer);
1873
- var asyncId = view.getFloat64(func + emnapiTSFN.offset.async_id, true);
1874
- var triggerAsyncId = view.getFloat64(func + emnapiTSFN.offset.trigger_async_id, true);
1875
- _emnapi_node_emit_async_destroy(asyncId, triggerAsyncId);
1872
+ _emnapi_node_emit_async_destroy(view.getFloat64(func + emnapiTSFN.offset.async_id, true), view.getFloat64(func + emnapiTSFN.offset.trigger_async_id, true));
1876
1873
  }
1877
1874
  _free(func);
1878
1875
  },
@@ -2409,9 +2406,7 @@ function createNapiModule(options) {
2409
2406
  emnapiCtx.refStore.get(resource).dispose();
2410
2407
  if (emnapiNodeBinding) {
2411
2408
  var view = new DataView(wasmMemory.buffer);
2412
- var asyncId = view.getFloat64(work + emnapiAWMT.offset.async_id, true);
2413
- var triggerAsyncId = view.getFloat64(work + emnapiAWMT.offset.trigger_async_id, true);
2414
- _emnapi_node_emit_async_destroy(asyncId, triggerAsyncId);
2409
+ _emnapi_node_emit_async_destroy(view.getFloat64(work + emnapiAWMT.offset.async_id, true), view.getFloat64(work + emnapiAWMT.offset.trigger_async_id, true));
2415
2410
  }
2416
2411
  _free(work);
2417
2412
  return envObject.clearLastError();
@@ -2559,11 +2554,11 @@ function createNapiModule(options) {
2559
2554
  view = emnapiExternalMemory.getOrUpdateMemoryView(view);
2560
2555
  if (view.buffer === wasmMemory.buffer) {
2561
2556
  if (emnapiExternalMemory.wasmMemoryViewTable.has(view)) {
2562
- var _a = emnapiExternalMemory.wasmMemoryViewTable.get(view), address_1 = _a.address, ownership_1 = _a.ownership, runtimeAllocated_1 = _a.runtimeAllocated;
2557
+ var _a = emnapiExternalMemory.wasmMemoryViewTable.get(view);
2563
2558
  return {
2564
- address: address_1,
2565
- ownership: ownership_1,
2566
- runtimeAllocated: runtimeAllocated_1,
2559
+ address: _a.address,
2560
+ ownership: _a.ownership,
2561
+ runtimeAllocated: _a.runtimeAllocated,
2567
2562
  view
2568
2563
  };
2569
2564
  }
@@ -4066,8 +4061,7 @@ function createNapiModule(options) {
4066
4061
  try {
4067
4062
  if (!arraybuffer_or_view) return envObject.setLastError(1);
4068
4063
  if (!address && !ownership && !runtime_allocated) return envObject.setLastError(1);
4069
- var handle = envObject.ctx.handleStore.get(arraybuffer_or_view);
4070
- info = $emnapiGetMemoryAddress(handle.value);
4064
+ info = $emnapiGetMemoryAddress(envObject.ctx.handleStore.get(arraybuffer_or_view).value);
4071
4065
  p = info.address;
4072
4066
  var HEAP_DATA_VIEW = new DataView(wasmMemory.buffer);
4073
4067
  if (address) HEAP_DATA_VIEW.setUint32(address, p, true);
@@ -6069,9 +6063,7 @@ function createNapiModule(options) {
6069
6063
  if (!lhs) return envObject.setLastError(1);
6070
6064
  if (!rhs) return envObject.setLastError(1);
6071
6065
  if (!result) return envObject.setLastError(1);
6072
- var lv = emnapiCtx.handleStore.get(lhs).value;
6073
- var rv = emnapiCtx.handleStore.get(rhs).value;
6074
- r = lv === rv ? 1 : 0;
6066
+ r = emnapiCtx.handleStore.get(lhs).value === emnapiCtx.handleStore.get(rhs).value ? 1 : 0;
6075
6067
  new DataView(wasmMemory.buffer).setInt8(result, r, true);
6076
6068
  return envObject.getReturnStatus();
6077
6069
  } catch (err$1) {
@@ -8257,7 +8249,7 @@ async function createAsyncWASI(options = kEmptyObject) {
8257
8249
  if (options.returnOnExit) wrap$2.proc_exit = wasiReturnOnProcExit.bind(_this);
8258
8250
  return _this;
8259
8251
  }
8260
- var _WebAssembly, ignoreNames, Asyncify, CHAR_DOT, CHAR_FORWARD_SLASH, FD_DATASYNC, FD_READ, FD_SEEK, FD_FDSTAT_SET_FLAGS, FD_SYNC, FD_TELL, FD_WRITE, FD_ADVISE, FD_ALLOCATE, PATH_CREATE_DIRECTORY, PATH_CREATE_FILE, PATH_LINK_SOURCE, PATH_LINK_TARGET, PATH_OPEN, FD_READDIR, PATH_READLINK, PATH_RENAME_SOURCE, PATH_RENAME_TARGET, PATH_FILESTAT_GET, PATH_FILESTAT_SET_SIZE, PATH_FILESTAT_SET_TIMES, FD_FILESTAT_GET, FD_FILESTAT_SET_SIZE, FD_FILESTAT_SET_TIMES, PATH_SYMLINK, PATH_REMOVE_DIRECTORY, PATH_UNLINK_FILE, POLL_FD_READWRITE, SOCK_SHUTDOWN, SOCK_ACCEPT, WasiRights, WasiError, RIGHTS_ALL, BLOCK_DEVICE_BASE, BLOCK_DEVICE_INHERITING, CHARACTER_DEVICE_BASE, CHARACTER_DEVICE_INHERITING, REGULAR_FILE_BASE, REGULAR_FILE_INHERITING, DIRECTORY_BASE, DIRECTORY_INHERITING, SOCKET_BASE, SOCKET_INHERITING, TTY_BASE, TTY_INHERITING, FileDescriptor, StandardOutput, FileDescriptorTable, SyncTable, AsyncTable, WebAssemblyMemory, Memory, _memory, _wasi, _fs, encoder, decoder, INT64_MAX, WASI$1, kEmptyObject, kExitCode, kSetMemory, kStarted, kInstance, kBindingName, WASI$2;
8252
+ var _WebAssembly, ignoreNames, Asyncify, CHAR_DOT, CHAR_FORWARD_SLASH, WasiRights, WasiError, RIGHTS_ALL, BLOCK_DEVICE_BASE, BLOCK_DEVICE_INHERITING, CHARACTER_DEVICE_BASE, CHARACTER_DEVICE_INHERITING, REGULAR_FILE_BASE, REGULAR_FILE_INHERITING, DIRECTORY_BASE, DIRECTORY_INHERITING, SOCKET_BASE, SOCKET_INHERITING, TTY_BASE, TTY_INHERITING, FileDescriptor, StandardOutput, FileDescriptorTable, SyncTable, AsyncTable, WebAssemblyMemory, Memory, _memory, _wasi, _fs, encoder, decoder, INT64_MAX, WASI$1, kEmptyObject, kExitCode, kSetMemory, kStarted, kInstance, kBindingName, WASI$2;
8261
8253
  var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-util@0.10.1/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js": (() => {
8262
8254
  _WebAssembly = typeof WebAssembly !== "undefined" ? WebAssembly : typeof WXWebAssembly !== "undefined" ? WXWebAssembly : void 0;
8263
8255
  if (!_WebAssembly) throw new Error("WebAssembly is not supported in this environment");
@@ -8355,67 +8347,37 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
8355
8347
  };
8356
8348
  CHAR_DOT = 46;
8357
8349
  CHAR_FORWARD_SLASH = 47;
8358
- FD_DATASYNC = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(0);
8359
- FD_READ = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(1);
8360
- FD_SEEK = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(2);
8361
- FD_FDSTAT_SET_FLAGS = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(3);
8362
- FD_SYNC = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(4);
8363
- FD_TELL = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(5);
8364
- FD_WRITE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(6);
8365
- FD_ADVISE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(7);
8366
- FD_ALLOCATE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(8);
8367
- PATH_CREATE_DIRECTORY = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(9);
8368
- PATH_CREATE_FILE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(10);
8369
- PATH_LINK_SOURCE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(11);
8370
- PATH_LINK_TARGET = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(12);
8371
- PATH_OPEN = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(13);
8372
- FD_READDIR = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(14);
8373
- PATH_READLINK = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(15);
8374
- PATH_RENAME_SOURCE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(16);
8375
- PATH_RENAME_TARGET = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(17);
8376
- PATH_FILESTAT_GET = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(18);
8377
- PATH_FILESTAT_SET_SIZE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(19);
8378
- PATH_FILESTAT_SET_TIMES = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(20);
8379
- FD_FILESTAT_GET = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(21);
8380
- FD_FILESTAT_SET_SIZE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(22);
8381
- FD_FILESTAT_SET_TIMES = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(23);
8382
- PATH_SYMLINK = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(24);
8383
- PATH_REMOVE_DIRECTORY = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(25);
8384
- PATH_UNLINK_FILE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(26);
8385
- POLL_FD_READWRITE = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(27);
8386
- SOCK_SHUTDOWN = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(28);
8387
- SOCK_ACCEPT = /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(29);
8388
8350
  WasiRights = {
8389
- FD_DATASYNC,
8390
- FD_READ,
8391
- FD_SEEK,
8392
- FD_FDSTAT_SET_FLAGS,
8393
- FD_SYNC,
8394
- FD_TELL,
8395
- FD_WRITE,
8396
- FD_ADVISE,
8397
- FD_ALLOCATE,
8398
- PATH_CREATE_DIRECTORY,
8399
- PATH_CREATE_FILE,
8400
- PATH_LINK_SOURCE,
8401
- PATH_LINK_TARGET,
8402
- PATH_OPEN,
8403
- FD_READDIR,
8404
- PATH_READLINK,
8405
- PATH_RENAME_SOURCE,
8406
- PATH_RENAME_TARGET,
8407
- PATH_FILESTAT_GET,
8408
- PATH_FILESTAT_SET_SIZE,
8409
- PATH_FILESTAT_SET_TIMES,
8410
- FD_FILESTAT_GET,
8411
- FD_FILESTAT_SET_SIZE,
8412
- FD_FILESTAT_SET_TIMES,
8413
- PATH_SYMLINK,
8414
- PATH_REMOVE_DIRECTORY,
8415
- PATH_UNLINK_FILE,
8416
- POLL_FD_READWRITE,
8417
- SOCK_SHUTDOWN,
8418
- SOCK_ACCEPT
8351
+ FD_DATASYNC: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(0),
8352
+ FD_READ: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(1),
8353
+ FD_SEEK: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(2),
8354
+ FD_FDSTAT_SET_FLAGS: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(3),
8355
+ FD_SYNC: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(4),
8356
+ FD_TELL: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(5),
8357
+ FD_WRITE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(6),
8358
+ FD_ADVISE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(7),
8359
+ FD_ALLOCATE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(8),
8360
+ PATH_CREATE_DIRECTORY: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(9),
8361
+ PATH_CREATE_FILE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(10),
8362
+ PATH_LINK_SOURCE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(11),
8363
+ PATH_LINK_TARGET: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(12),
8364
+ PATH_OPEN: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(13),
8365
+ FD_READDIR: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(14),
8366
+ PATH_READLINK: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(15),
8367
+ PATH_RENAME_SOURCE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(16),
8368
+ PATH_RENAME_TARGET: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(17),
8369
+ PATH_FILESTAT_GET: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(18),
8370
+ PATH_FILESTAT_SET_SIZE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(19),
8371
+ PATH_FILESTAT_SET_TIMES: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(20),
8372
+ FD_FILESTAT_GET: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(21),
8373
+ FD_FILESTAT_SET_SIZE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(22),
8374
+ FD_FILESTAT_SET_TIMES: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(23),
8375
+ PATH_SYMLINK: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(24),
8376
+ PATH_REMOVE_DIRECTORY: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(25),
8377
+ PATH_UNLINK_FILE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(26),
8378
+ POLL_FD_READWRITE: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(27),
8379
+ SOCK_SHUTDOWN: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(28),
8380
+ SOCK_ACCEPT: /* @__PURE__ */ BigInt(1) << /* @__PURE__ */ BigInt(29)
8419
8381
  };
8420
8382
  WasiError = class extends Error {
8421
8383
  constructor(message, errno) {
@@ -8558,8 +8520,7 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
8558
8520
  this.fs = options.fs;
8559
8521
  }
8560
8522
  getFileTypeByFd(fd) {
8561
- const stats = this.fs.fstatSync(fd, { bigint: true });
8562
- return toFileType(stats);
8523
+ return toFileType(this.fs.fstatSync(fd, { bigint: true }));
8563
8524
  }
8564
8525
  insertPreopen(fd, mappedPath, realPath) {
8565
8526
  const type = this.getFileTypeByFd(fd);
@@ -8585,8 +8546,7 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
8585
8546
  super(options);
8586
8547
  }
8587
8548
  async getFileTypeByFd(fd) {
8588
- const stats = await fd.stat({ bigint: true });
8589
- return toFileType(stats);
8549
+ return toFileType(await fd.stat({ bigint: true }));
8590
8550
  }
8591
8551
  async insertPreopen(fd, mappedPath, realPath) {
8592
8552
  const type = await this.getFileTypeByFd(fd);
@@ -8836,18 +8796,15 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
8836
8796
  const userdata = view.getBigUint64(sub, true);
8837
8797
  const type = view.getUint8(sub + 8);
8838
8798
  const clockIdOrFd = view.getUint32(sub + 16, true);
8839
- const timeout = view.getBigUint64(sub + 24, true);
8840
- const precision = view.getBigUint64(sub + 32, true);
8841
- const flags = view.getUint16(sub + 40, true);
8842
8799
  subscriptions[i] = {
8843
8800
  userdata,
8844
8801
  type,
8845
8802
  u: {
8846
8803
  clock: {
8847
8804
  clock_id: clockIdOrFd,
8848
- timeout,
8849
- precision,
8850
- flags
8805
+ timeout: view.getBigUint64(sub + 24, true),
8806
+ precision: view.getBigUint64(sub + 32, true),
8807
+ flags: view.getUint16(sub + 40, true)
8851
8808
  },
8852
8809
  fd_readwrite: { fd: clockIdOrFd }
8853
8810
  }
@@ -8890,8 +8847,7 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
8890
8847
  return 0;
8891
8848
  }
8892
8849
  if (has_timeout) {
8893
- const delay = Number(min_timeout / BigInt(1e6));
8894
- sleepBreakIf(delay, () => false);
8850
+ sleepBreakIf(Number(min_timeout / BigInt(1e6)), () => false);
8895
8851
  const event = out_ptr;
8896
8852
  view.setBigUint64(event, timer_userdata, true);
8897
8853
  view.setUint32(event + 8, 0, true);
@@ -9892,8 +9848,8 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
9892
9848
  }) });
9893
9849
 
9894
9850
  //#endregion
9895
- //#region ../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.5/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs
9896
- var require_fs_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.5/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs": ((exports) => {
9851
+ //#region ../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.7/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs
9852
+ var require_fs_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.7/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs": ((exports) => {
9897
9853
  /**
9898
9854
  * @param {unknown} value
9899
9855
  */
@@ -10079,8 +10035,7 @@ var require_fs_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
10079
10035
  const status = Atomics.load(i32arr, 0);
10080
10036
  const type = Atomics.load(i32arr, 1);
10081
10037
  const size = Atomics.load(i32arr, 2);
10082
- const content = new Uint8Array(sab, 16, size);
10083
- const value = decodeValue(memfs, content, type);
10038
+ const value = decodeValue(memfs, new Uint8Array(sab, 16, size), type);
10084
10039
  if (status === 1) throw value;
10085
10040
  return value;
10086
10041
  };
@@ -10090,8 +10045,8 @@ var require_fs_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
10090
10045
  }) });
10091
10046
 
10092
10047
  //#endregion
10093
- //#region ../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.5/node_modules/@napi-rs/wasm-runtime/runtime.cjs
10094
- var require_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.5/node_modules/@napi-rs/wasm-runtime/runtime.cjs": ((exports, module) => {
10048
+ //#region ../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.7/node_modules/@napi-rs/wasm-runtime/runtime.cjs
10049
+ var require_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.7/node_modules/@napi-rs/wasm-runtime/runtime.cjs": ((exports, module) => {
10095
10050
  const { MessageHandler, instantiateNapiModuleSync, instantiateNapiModule } = (init_emnapi_core_esm_bundler(), __toCommonJS(emnapi_core_esm_bundler_exports));
10096
10051
  const { getDefaultContext } = (init_emnapi_esm_bundler(), __toCommonJS(emnapi_esm_bundler_exports));
10097
10052
  const { WASI } = (init_wasm_util_esm_bundler(), __toCommonJS(wasm_util_esm_bundler_exports));
@@ -10197,9 +10152,7 @@ var require_rolldown_binding_wasi = /* @__PURE__ */ __commonJS({ "src/rolldown-b
10197
10152
  module.exports.BindingBundlerImpl = __napiModule.exports.BindingBundlerImpl;
10198
10153
  module.exports.BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin;
10199
10154
  module.exports.BindingChunkingContext = __napiModule.exports.BindingChunkingContext;
10200
- module.exports.BindingClientHmrUpdate = __napiModule.exports.BindingClientHmrUpdate;
10201
10155
  module.exports.BindingDevEngine = __napiModule.exports.BindingDevEngine;
10202
- module.exports.BindingHmrOutput = __napiModule.exports.BindingHmrOutput;
10203
10156
  module.exports.BindingMagicString = __napiModule.exports.BindingMagicString;
10204
10157
  module.exports.BindingModuleInfo = __napiModule.exports.BindingModuleInfo;
10205
10158
  module.exports.BindingNormalizedOptions = __napiModule.exports.BindingNormalizedOptions;
@@ -10225,12 +10178,13 @@ var require_rolldown_binding_wasi = /* @__PURE__ */ __commonJS({ "src/rolldown-b
10225
10178
  module.exports.BindingPluginOrder = __napiModule.exports.BindingPluginOrder;
10226
10179
  module.exports.BindingPropertyReadSideEffects = __napiModule.exports.BindingPropertyReadSideEffects;
10227
10180
  module.exports.BindingPropertyWriteSideEffects = __napiModule.exports.BindingPropertyWriteSideEffects;
10181
+ module.exports.BindingRebuildStrategy = __napiModule.exports.BindingRebuildStrategy;
10182
+ module.exports.createTokioRuntime = __napiModule.exports.createTokioRuntime;
10228
10183
  module.exports.FilterTokenKind = __napiModule.exports.FilterTokenKind;
10229
10184
  module.exports.initTraceSubscriber = __napiModule.exports.initTraceSubscriber;
10230
10185
  module.exports.registerPlugins = __napiModule.exports.registerPlugins;
10231
10186
  module.exports.shutdownAsyncRuntime = __napiModule.exports.shutdownAsyncRuntime;
10232
10187
  module.exports.startAsyncRuntime = __napiModule.exports.startAsyncRuntime;
10233
- module.exports.JsWatcher = __napiModule.exports.JsWatcher;
10234
10188
  }) });
10235
10189
 
10236
10190
  //#endregion
@@ -10315,7 +10269,7 @@ function requireNative() {
10315
10269
  try {
10316
10270
  const binding = __require("@rolldown/binding-android-arm64");
10317
10271
  const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
10318
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10272
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10319
10273
  return binding;
10320
10274
  } catch (e) {
10321
10275
  loadErrors.push(e);
@@ -10329,13 +10283,27 @@ function requireNative() {
10329
10283
  try {
10330
10284
  const binding = __require("@rolldown/binding-android-arm-eabi");
10331
10285
  const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
10332
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10286
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10333
10287
  return binding;
10334
10288
  } catch (e) {
10335
10289
  loadErrors.push(e);
10336
10290
  }
10337
10291
  } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on Android ${process.arch}`));
10338
- else if (process.platform === "win32") if (process.arch === "x64") {
10292
+ else if (process.platform === "win32") if (process.arch === "x64") if (process.report?.getReport?.()?.header?.osName?.startsWith?.("MINGW")) {
10293
+ try {
10294
+ return __require("../rolldown-binding.win32-x64-gnu.node");
10295
+ } catch (e) {
10296
+ loadErrors.push(e);
10297
+ }
10298
+ try {
10299
+ const binding = __require("@rolldown/binding-win32-x64-gnu");
10300
+ const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
10301
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10302
+ return binding;
10303
+ } catch (e) {
10304
+ loadErrors.push(e);
10305
+ }
10306
+ } else {
10339
10307
  try {
10340
10308
  return __require("../rolldown-binding.win32-x64-msvc.node");
10341
10309
  } catch (e) {
@@ -10344,12 +10312,13 @@ function requireNative() {
10344
10312
  try {
10345
10313
  const binding = __require("@rolldown/binding-win32-x64-msvc");
10346
10314
  const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
10347
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10315
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10348
10316
  return binding;
10349
10317
  } catch (e) {
10350
10318
  loadErrors.push(e);
10351
10319
  }
10352
- } else if (process.arch === "ia32") {
10320
+ }
10321
+ else if (process.arch === "ia32") {
10353
10322
  try {
10354
10323
  return __require("../rolldown-binding.win32-ia32-msvc.node");
10355
10324
  } catch (e) {
@@ -10358,7 +10327,7 @@ function requireNative() {
10358
10327
  try {
10359
10328
  const binding = __require("@rolldown/binding-win32-ia32-msvc");
10360
10329
  const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
10361
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10330
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10362
10331
  return binding;
10363
10332
  } catch (e) {
10364
10333
  loadErrors.push(e);
@@ -10372,7 +10341,7 @@ function requireNative() {
10372
10341
  try {
10373
10342
  const binding = __require("@rolldown/binding-win32-arm64-msvc");
10374
10343
  const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
10375
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10344
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10376
10345
  return binding;
10377
10346
  } catch (e) {
10378
10347
  loadErrors.push(e);
@@ -10387,7 +10356,7 @@ function requireNative() {
10387
10356
  try {
10388
10357
  const binding = __require("@rolldown/binding-darwin-universal");
10389
10358
  const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
10390
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10359
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10391
10360
  return binding;
10392
10361
  } catch (e) {
10393
10362
  loadErrors.push(e);
@@ -10401,7 +10370,7 @@ function requireNative() {
10401
10370
  try {
10402
10371
  const binding = __require("@rolldown/binding-darwin-x64");
10403
10372
  const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
10404
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10373
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10405
10374
  return binding;
10406
10375
  } catch (e) {
10407
10376
  loadErrors.push(e);
@@ -10415,7 +10384,7 @@ function requireNative() {
10415
10384
  try {
10416
10385
  const binding = __require("@rolldown/binding-darwin-arm64");
10417
10386
  const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
10418
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10387
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10419
10388
  return binding;
10420
10389
  } catch (e) {
10421
10390
  loadErrors.push(e);
@@ -10430,7 +10399,7 @@ function requireNative() {
10430
10399
  try {
10431
10400
  const binding = __require("@rolldown/binding-freebsd-x64");
10432
10401
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
10433
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10402
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10434
10403
  return binding;
10435
10404
  } catch (e) {
10436
10405
  loadErrors.push(e);
@@ -10444,7 +10413,7 @@ function requireNative() {
10444
10413
  try {
10445
10414
  const binding = __require("@rolldown/binding-freebsd-arm64");
10446
10415
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
10447
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10416
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10448
10417
  return binding;
10449
10418
  } catch (e) {
10450
10419
  loadErrors.push(e);
@@ -10459,7 +10428,7 @@ function requireNative() {
10459
10428
  try {
10460
10429
  const binding = __require("@rolldown/binding-linux-x64-musl");
10461
10430
  const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
10462
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10431
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10463
10432
  return binding;
10464
10433
  } catch (e) {
10465
10434
  loadErrors.push(e);
@@ -10473,7 +10442,7 @@ function requireNative() {
10473
10442
  try {
10474
10443
  const binding = __require("@rolldown/binding-linux-x64-gnu");
10475
10444
  const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
10476
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10445
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10477
10446
  return binding;
10478
10447
  } catch (e) {
10479
10448
  loadErrors.push(e);
@@ -10488,7 +10457,7 @@ function requireNative() {
10488
10457
  try {
10489
10458
  const binding = __require("@rolldown/binding-linux-arm64-musl");
10490
10459
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
10491
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10460
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10492
10461
  return binding;
10493
10462
  } catch (e) {
10494
10463
  loadErrors.push(e);
@@ -10502,7 +10471,7 @@ function requireNative() {
10502
10471
  try {
10503
10472
  const binding = __require("@rolldown/binding-linux-arm64-gnu");
10504
10473
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
10505
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10474
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10506
10475
  return binding;
10507
10476
  } catch (e) {
10508
10477
  loadErrors.push(e);
@@ -10517,7 +10486,7 @@ function requireNative() {
10517
10486
  try {
10518
10487
  const binding = __require("@rolldown/binding-linux-arm-musleabihf");
10519
10488
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
10520
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10489
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10521
10490
  return binding;
10522
10491
  } catch (e) {
10523
10492
  loadErrors.push(e);
@@ -10531,7 +10500,7 @@ function requireNative() {
10531
10500
  try {
10532
10501
  const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
10533
10502
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
10534
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10503
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10535
10504
  return binding;
10536
10505
  } catch (e) {
10537
10506
  loadErrors.push(e);
@@ -10546,7 +10515,7 @@ function requireNative() {
10546
10515
  try {
10547
10516
  const binding = __require("@rolldown/binding-linux-loong64-musl");
10548
10517
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
10549
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10518
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10550
10519
  return binding;
10551
10520
  } catch (e) {
10552
10521
  loadErrors.push(e);
@@ -10560,7 +10529,7 @@ function requireNative() {
10560
10529
  try {
10561
10530
  const binding = __require("@rolldown/binding-linux-loong64-gnu");
10562
10531
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
10563
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10532
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10564
10533
  return binding;
10565
10534
  } catch (e) {
10566
10535
  loadErrors.push(e);
@@ -10575,7 +10544,7 @@ function requireNative() {
10575
10544
  try {
10576
10545
  const binding = __require("@rolldown/binding-linux-riscv64-musl");
10577
10546
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
10578
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10547
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10579
10548
  return binding;
10580
10549
  } catch (e) {
10581
10550
  loadErrors.push(e);
@@ -10589,7 +10558,7 @@ function requireNative() {
10589
10558
  try {
10590
10559
  const binding = __require("@rolldown/binding-linux-riscv64-gnu");
10591
10560
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
10592
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10561
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10593
10562
  return binding;
10594
10563
  } catch (e) {
10595
10564
  loadErrors.push(e);
@@ -10604,7 +10573,7 @@ function requireNative() {
10604
10573
  try {
10605
10574
  const binding = __require("@rolldown/binding-linux-ppc64-gnu");
10606
10575
  const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
10607
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10576
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10608
10577
  return binding;
10609
10578
  } catch (e) {
10610
10579
  loadErrors.push(e);
@@ -10618,7 +10587,7 @@ function requireNative() {
10618
10587
  try {
10619
10588
  const binding = __require("@rolldown/binding-linux-s390x-gnu");
10620
10589
  const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
10621
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10590
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10622
10591
  return binding;
10623
10592
  } catch (e) {
10624
10593
  loadErrors.push(e);
@@ -10633,7 +10602,7 @@ function requireNative() {
10633
10602
  try {
10634
10603
  const binding = __require("@rolldown/binding-openharmony-arm64");
10635
10604
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
10636
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10605
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10637
10606
  return binding;
10638
10607
  } catch (e) {
10639
10608
  loadErrors.push(e);
@@ -10647,7 +10616,7 @@ function requireNative() {
10647
10616
  try {
10648
10617
  const binding = __require("@rolldown/binding-openharmony-x64");
10649
10618
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
10650
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10619
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10651
10620
  return binding;
10652
10621
  } catch (e) {
10653
10622
  loadErrors.push(e);
@@ -10661,7 +10630,7 @@ function requireNative() {
10661
10630
  try {
10662
10631
  const binding = __require("@rolldown/binding-openharmony-arm");
10663
10632
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
10664
- if (bindingPackageVersion !== "1.0.0-beta.41" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.41 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10633
+ if (bindingPackageVersion !== "1.0.0-beta.43" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-beta.43 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10665
10634
  return binding;
10666
10635
  } catch (e) {
10667
10636
  loadErrors.push(e);
@@ -10706,7 +10675,7 @@ if (!nativeBinding) {
10706
10675
  }) });
10707
10676
  throw new Error(`Failed to load native binding`);
10708
10677
  }
10709
- const { minify, Severity, ParseResult, ExportExportNameKind, ExportImportNameKind, ExportLocalNameKind, ImportNameKind, parseAsync, parseSync, rawTransferSupported, ResolverFactory, EnforceExtension, ModuleType, sync, HelperMode, isolatedDeclaration, moduleRunnerTransform, transform, transformAsync, BindingBundleEndEventData, BindingBundleErrorEventData, BindingBundler, BindingBundlerImpl, BindingCallableBuiltinPlugin, BindingChunkingContext, BindingClientHmrUpdate, BindingDevEngine, BindingHmrOutput, BindingMagicString, BindingModuleInfo, BindingNormalizedOptions, BindingOutputAsset, BindingOutputChunk, BindingOutputs, BindingPluginContext, BindingRenderedChunk, BindingRenderedChunkMeta, BindingRenderedModule, BindingTransformPluginContext, BindingWatcher, BindingWatcherChangeData, BindingWatcherEvent, ParallelJsPluginRegistry, ScheduledBuild, TraceSubscriberGuard, BindingAttachDebugInfo, BindingBuiltinPluginName, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, FilterTokenKind, initTraceSubscriber, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime, JsWatcher } = nativeBinding;
10678
+ const { minify, Severity, ParseResult, ExportExportNameKind, ExportImportNameKind, ExportLocalNameKind, ImportNameKind, parseAsync, parseSync, rawTransferSupported, ResolverFactory, EnforceExtension, ModuleType, sync, HelperMode, isolatedDeclaration, moduleRunnerTransform, transform, transformAsync, BindingBundleEndEventData, BindingBundleErrorEventData, BindingBundler, BindingBundlerImpl, BindingCallableBuiltinPlugin, BindingChunkingContext, BindingDevEngine, BindingMagicString, BindingModuleInfo, BindingNormalizedOptions, BindingOutputAsset, BindingOutputChunk, BindingOutputs, BindingPluginContext, BindingRenderedChunk, BindingRenderedChunkMeta, BindingRenderedModule, BindingTransformPluginContext, BindingWatcher, BindingWatcherChangeData, BindingWatcherEvent, ParallelJsPluginRegistry, ScheduledBuild, TraceSubscriberGuard, BindingAttachDebugInfo, BindingBuiltinPluginName, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, BindingRebuildStrategy, createTokioRuntime, FilterTokenKind, initTraceSubscriber, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime } = nativeBinding;
10710
10679
 
10711
10680
  //#endregion
10712
10681
  //#region src/utils/code-frame.ts
@@ -10895,7 +10864,7 @@ function augmentCodeLocation(properties, pos, source, id) {
10895
10864
  }
10896
10865
 
10897
10866
  //#endregion
10898
- //#region ../../node_modules/.pnpm/oxc-parser@0.93.0/node_modules/oxc-parser/src-js/wrap.js
10867
+ //#region ../../node_modules/.pnpm/oxc-parser@0.94.0/node_modules/oxc-parser/src-js/wrap.js
10899
10868
  function wrap$1(result) {
10900
10869
  let program, module$1, comments, errors;
10901
10870
  return {
@@ -10972,4 +10941,4 @@ async function parseAstAsync(sourceText, options, filename) {
10972
10941
  }
10973
10942
 
10974
10943
  //#endregion
10975
- export { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingClientHmrUpdate, BindingDevEngine, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, BindingWatcher, ParallelJsPluginRegistry, ResolverFactory, augmentCodeLocation, error, initTraceSubscriber, isolatedDeclaration, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, moduleRunnerTransform, parseAst, parseAstAsync, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime, transform };
10944
+ export { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingDevEngine, BindingJsx, BindingLogLevel, BindingMagicString, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, BindingRebuildStrategy, BindingWatcher, ParallelJsPluginRegistry, ResolverFactory, augmentCodeLocation, createTokioRuntime, error, initTraceSubscriber, isolatedDeclaration, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, moduleRunnerTransform, parseAst, parseAstAsync, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime, transform };