rolldown 1.0.0-beta.40 → 1.0.0-beta.42

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.
@@ -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.6/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.6/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.6/node_modules/@napi-rs/wasm-runtime/runtime.cjs
10049
+ var require_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.6/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,6 +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;
10155
+ module.exports.BindingClientHmrUpdate = __napiModule.exports.BindingClientHmrUpdate;
10200
10156
  module.exports.BindingDevEngine = __napiModule.exports.BindingDevEngine;
10201
10157
  module.exports.BindingHmrOutput = __napiModule.exports.BindingHmrOutput;
10202
10158
  module.exports.BindingMagicString = __napiModule.exports.BindingMagicString;
@@ -10224,12 +10180,12 @@ var require_rolldown_binding_wasi = /* @__PURE__ */ __commonJS({ "src/rolldown-b
10224
10180
  module.exports.BindingPluginOrder = __napiModule.exports.BindingPluginOrder;
10225
10181
  module.exports.BindingPropertyReadSideEffects = __napiModule.exports.BindingPropertyReadSideEffects;
10226
10182
  module.exports.BindingPropertyWriteSideEffects = __napiModule.exports.BindingPropertyWriteSideEffects;
10183
+ module.exports.BindingRebuildStrategy = __napiModule.exports.BindingRebuildStrategy;
10227
10184
  module.exports.FilterTokenKind = __napiModule.exports.FilterTokenKind;
10228
10185
  module.exports.initTraceSubscriber = __napiModule.exports.initTraceSubscriber;
10229
10186
  module.exports.registerPlugins = __napiModule.exports.registerPlugins;
10230
10187
  module.exports.shutdownAsyncRuntime = __napiModule.exports.shutdownAsyncRuntime;
10231
10188
  module.exports.startAsyncRuntime = __napiModule.exports.startAsyncRuntime;
10232
- module.exports.JsWatcher = __napiModule.exports.JsWatcher;
10233
10189
  }) });
10234
10190
 
10235
10191
  //#endregion
@@ -10314,7 +10270,7 @@ function requireNative() {
10314
10270
  try {
10315
10271
  const binding = __require("@rolldown/binding-android-arm64");
10316
10272
  const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
10317
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10273
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10318
10274
  return binding;
10319
10275
  } catch (e) {
10320
10276
  loadErrors.push(e);
@@ -10328,13 +10284,27 @@ function requireNative() {
10328
10284
  try {
10329
10285
  const binding = __require("@rolldown/binding-android-arm-eabi");
10330
10286
  const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
10331
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10287
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10332
10288
  return binding;
10333
10289
  } catch (e) {
10334
10290
  loadErrors.push(e);
10335
10291
  }
10336
10292
  } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on Android ${process.arch}`));
10337
- else if (process.platform === "win32") if (process.arch === "x64") {
10293
+ else if (process.platform === "win32") if (process.arch === "x64") if (process.report?.getReport?.()?.header?.osName?.startsWith?.("MINGW")) {
10294
+ try {
10295
+ return __require("../rolldown-binding.win32-x64-gnu.node");
10296
+ } catch (e) {
10297
+ loadErrors.push(e);
10298
+ }
10299
+ try {
10300
+ const binding = __require("@rolldown/binding-win32-x64-gnu");
10301
+ const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
10302
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10303
+ return binding;
10304
+ } catch (e) {
10305
+ loadErrors.push(e);
10306
+ }
10307
+ } else {
10338
10308
  try {
10339
10309
  return __require("../rolldown-binding.win32-x64-msvc.node");
10340
10310
  } catch (e) {
@@ -10343,12 +10313,13 @@ function requireNative() {
10343
10313
  try {
10344
10314
  const binding = __require("@rolldown/binding-win32-x64-msvc");
10345
10315
  const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
10346
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10316
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10347
10317
  return binding;
10348
10318
  } catch (e) {
10349
10319
  loadErrors.push(e);
10350
10320
  }
10351
- } else if (process.arch === "ia32") {
10321
+ }
10322
+ else if (process.arch === "ia32") {
10352
10323
  try {
10353
10324
  return __require("../rolldown-binding.win32-ia32-msvc.node");
10354
10325
  } catch (e) {
@@ -10357,7 +10328,7 @@ function requireNative() {
10357
10328
  try {
10358
10329
  const binding = __require("@rolldown/binding-win32-ia32-msvc");
10359
10330
  const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
10360
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10331
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10361
10332
  return binding;
10362
10333
  } catch (e) {
10363
10334
  loadErrors.push(e);
@@ -10371,7 +10342,7 @@ function requireNative() {
10371
10342
  try {
10372
10343
  const binding = __require("@rolldown/binding-win32-arm64-msvc");
10373
10344
  const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
10374
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10345
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10375
10346
  return binding;
10376
10347
  } catch (e) {
10377
10348
  loadErrors.push(e);
@@ -10386,7 +10357,7 @@ function requireNative() {
10386
10357
  try {
10387
10358
  const binding = __require("@rolldown/binding-darwin-universal");
10388
10359
  const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
10389
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10360
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10390
10361
  return binding;
10391
10362
  } catch (e) {
10392
10363
  loadErrors.push(e);
@@ -10400,7 +10371,7 @@ function requireNative() {
10400
10371
  try {
10401
10372
  const binding = __require("@rolldown/binding-darwin-x64");
10402
10373
  const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
10403
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10374
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10404
10375
  return binding;
10405
10376
  } catch (e) {
10406
10377
  loadErrors.push(e);
@@ -10414,7 +10385,7 @@ function requireNative() {
10414
10385
  try {
10415
10386
  const binding = __require("@rolldown/binding-darwin-arm64");
10416
10387
  const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
10417
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10388
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10418
10389
  return binding;
10419
10390
  } catch (e) {
10420
10391
  loadErrors.push(e);
@@ -10429,7 +10400,7 @@ function requireNative() {
10429
10400
  try {
10430
10401
  const binding = __require("@rolldown/binding-freebsd-x64");
10431
10402
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
10432
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10403
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10433
10404
  return binding;
10434
10405
  } catch (e) {
10435
10406
  loadErrors.push(e);
@@ -10443,7 +10414,7 @@ function requireNative() {
10443
10414
  try {
10444
10415
  const binding = __require("@rolldown/binding-freebsd-arm64");
10445
10416
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
10446
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10417
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10447
10418
  return binding;
10448
10419
  } catch (e) {
10449
10420
  loadErrors.push(e);
@@ -10458,7 +10429,7 @@ function requireNative() {
10458
10429
  try {
10459
10430
  const binding = __require("@rolldown/binding-linux-x64-musl");
10460
10431
  const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
10461
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10432
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10462
10433
  return binding;
10463
10434
  } catch (e) {
10464
10435
  loadErrors.push(e);
@@ -10472,7 +10443,7 @@ function requireNative() {
10472
10443
  try {
10473
10444
  const binding = __require("@rolldown/binding-linux-x64-gnu");
10474
10445
  const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
10475
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10446
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10476
10447
  return binding;
10477
10448
  } catch (e) {
10478
10449
  loadErrors.push(e);
@@ -10487,7 +10458,7 @@ function requireNative() {
10487
10458
  try {
10488
10459
  const binding = __require("@rolldown/binding-linux-arm64-musl");
10489
10460
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
10490
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10461
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10491
10462
  return binding;
10492
10463
  } catch (e) {
10493
10464
  loadErrors.push(e);
@@ -10501,7 +10472,7 @@ function requireNative() {
10501
10472
  try {
10502
10473
  const binding = __require("@rolldown/binding-linux-arm64-gnu");
10503
10474
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
10504
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10475
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10505
10476
  return binding;
10506
10477
  } catch (e) {
10507
10478
  loadErrors.push(e);
@@ -10516,7 +10487,7 @@ function requireNative() {
10516
10487
  try {
10517
10488
  const binding = __require("@rolldown/binding-linux-arm-musleabihf");
10518
10489
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
10519
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10490
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10520
10491
  return binding;
10521
10492
  } catch (e) {
10522
10493
  loadErrors.push(e);
@@ -10530,7 +10501,7 @@ function requireNative() {
10530
10501
  try {
10531
10502
  const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
10532
10503
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
10533
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10504
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10534
10505
  return binding;
10535
10506
  } catch (e) {
10536
10507
  loadErrors.push(e);
@@ -10545,7 +10516,7 @@ function requireNative() {
10545
10516
  try {
10546
10517
  const binding = __require("@rolldown/binding-linux-loong64-musl");
10547
10518
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
10548
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10519
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10549
10520
  return binding;
10550
10521
  } catch (e) {
10551
10522
  loadErrors.push(e);
@@ -10559,7 +10530,7 @@ function requireNative() {
10559
10530
  try {
10560
10531
  const binding = __require("@rolldown/binding-linux-loong64-gnu");
10561
10532
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
10562
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10533
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10563
10534
  return binding;
10564
10535
  } catch (e) {
10565
10536
  loadErrors.push(e);
@@ -10574,7 +10545,7 @@ function requireNative() {
10574
10545
  try {
10575
10546
  const binding = __require("@rolldown/binding-linux-riscv64-musl");
10576
10547
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
10577
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10548
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10578
10549
  return binding;
10579
10550
  } catch (e) {
10580
10551
  loadErrors.push(e);
@@ -10588,7 +10559,7 @@ function requireNative() {
10588
10559
  try {
10589
10560
  const binding = __require("@rolldown/binding-linux-riscv64-gnu");
10590
10561
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
10591
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10562
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10592
10563
  return binding;
10593
10564
  } catch (e) {
10594
10565
  loadErrors.push(e);
@@ -10603,7 +10574,7 @@ function requireNative() {
10603
10574
  try {
10604
10575
  const binding = __require("@rolldown/binding-linux-ppc64-gnu");
10605
10576
  const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
10606
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10577
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10607
10578
  return binding;
10608
10579
  } catch (e) {
10609
10580
  loadErrors.push(e);
@@ -10617,7 +10588,7 @@ function requireNative() {
10617
10588
  try {
10618
10589
  const binding = __require("@rolldown/binding-linux-s390x-gnu");
10619
10590
  const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
10620
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10591
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10621
10592
  return binding;
10622
10593
  } catch (e) {
10623
10594
  loadErrors.push(e);
@@ -10632,7 +10603,7 @@ function requireNative() {
10632
10603
  try {
10633
10604
  const binding = __require("@rolldown/binding-openharmony-arm64");
10634
10605
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
10635
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10606
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10636
10607
  return binding;
10637
10608
  } catch (e) {
10638
10609
  loadErrors.push(e);
@@ -10646,7 +10617,7 @@ function requireNative() {
10646
10617
  try {
10647
10618
  const binding = __require("@rolldown/binding-openharmony-x64");
10648
10619
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
10649
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10620
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10650
10621
  return binding;
10651
10622
  } catch (e) {
10652
10623
  loadErrors.push(e);
@@ -10660,7 +10631,7 @@ function requireNative() {
10660
10631
  try {
10661
10632
  const binding = __require("@rolldown/binding-openharmony-arm");
10662
10633
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
10663
- if (bindingPackageVersion !== "1.0.0-beta.40" && 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.40 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10634
+ if (bindingPackageVersion !== "1.0.0-beta.42" && 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.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
10664
10635
  return binding;
10665
10636
  } catch (e) {
10666
10637
  loadErrors.push(e);
@@ -10705,7 +10676,7 @@ if (!nativeBinding) {
10705
10676
  }) });
10706
10677
  throw new Error(`Failed to load native binding`);
10707
10678
  }
10708
- 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, 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;
10679
+ 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, BindingRebuildStrategy, FilterTokenKind, initTraceSubscriber, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime } = nativeBinding;
10709
10680
 
10710
10681
  //#endregion
10711
10682
  //#region src/utils/code-frame.ts
@@ -10894,7 +10865,7 @@ function augmentCodeLocation(properties, pos, source, id) {
10894
10865
  }
10895
10866
 
10896
10867
  //#endregion
10897
- //#region ../../node_modules/.pnpm/oxc-parser@0.92.0/node_modules/oxc-parser/src-js/wrap.js
10868
+ //#region ../../node_modules/.pnpm/oxc-parser@0.94.0/node_modules/oxc-parser/src-js/wrap.js
10898
10869
  function wrap$1(result) {
10899
10870
  let program, module$1, comments, errors;
10900
10871
  return {
@@ -10971,4 +10942,4 @@ async function parseAstAsync(sourceText, options, filename) {
10971
10942
  }
10972
10943
 
10973
10944
  //#endregion
10974
- export { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, 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 };
10945
+ export { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingClientHmrUpdate, BindingDevEngine, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, BindingRebuildStrategy, BindingWatcher, ParallelJsPluginRegistry, ResolverFactory, augmentCodeLocation, error, initTraceSubscriber, isolatedDeclaration, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, moduleRunnerTransform, parseAst, parseAstAsync, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime, transform };