rolldown 1.0.0-beta.42 → 1.0.0-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.mjs +1 -0
- package/dist/cli-setup.d.mts +1 -0
- package/dist/cli-setup.mjs +16 -0
- package/dist/cli.mjs +1047 -68
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +5 -4
- package/dist/experimental-index.d.mts +26 -5
- package/dist/experimental-index.mjs +56 -15
- package/dist/filter-index.d.mts +2 -2
- package/dist/filter-index.mjs +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +5 -4
- package/dist/parallel-plugin-worker.mjs +4 -3
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -1
- package/dist/shared/{parse-ast-index-DHblAIjN.mjs → binding-DkR1uPxc.mjs} +102 -366
- package/dist/shared/{binding-CtbNz6TD.d.mts → binding-QBosa6N8.d.mts} +108 -17
- package/dist/shared/{define-config-C9Rp3knL.d.mts → define-config-D9LwN_tW.d.mts} +250 -87
- package/dist/shared/{load-config-a7bPxI7K.mjs → load-config-BwIN-FIB.mjs} +2 -2
- package/dist/shared/{misc-CQeo-AFx.mjs → misc-usdOVIou.mjs} +1 -1
- package/dist/shared/parse-ast-index-Dee9Dv5S.mjs +297 -0
- package/dist/shared/{prompt-B4e-jZUR.mjs → prompt-YGfbLmz5.mjs} +1 -1
- package/dist/shared/{src-CUdyD4rb.mjs → src-DY4_vVWu.mjs} +137 -94
- package/package.json +19 -20
- package/dist/shared/logger-B83ocDok.mjs +0 -985
|
@@ -37,13 +37,13 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
37
37
|
function getPostMessage(options) {
|
|
38
38
|
return typeof (options === null || options === void 0 ? void 0 : options.postMessage) === "function" ? options.postMessage : typeof postMessage === "function" ? postMessage : void 0;
|
|
39
39
|
}
|
|
40
|
-
function serizeErrorToBuffer(sab, code, error
|
|
40
|
+
function serizeErrorToBuffer(sab, code, error) {
|
|
41
41
|
var i32array = new Int32Array(sab);
|
|
42
42
|
Atomics.store(i32array, 0, code);
|
|
43
|
-
if (code > 1 && error
|
|
44
|
-
var name_1 = error
|
|
45
|
-
var message = error
|
|
46
|
-
var stack = error
|
|
43
|
+
if (code > 1 && error) {
|
|
44
|
+
var name_1 = error.name;
|
|
45
|
+
var message = error.message;
|
|
46
|
+
var stack = error.stack;
|
|
47
47
|
var nameBuffer = new TextEncoder().encode(name_1);
|
|
48
48
|
var messageBuffer = new TextEncoder().encode(message);
|
|
49
49
|
var stackBuffer = new TextEncoder().encode(stack);
|
|
@@ -70,14 +70,14 @@ function deserizeErrorFromBuffer(sab) {
|
|
|
70
70
|
var name = new TextDecoder().decode(nameBuffer);
|
|
71
71
|
var message = new TextDecoder().decode(messageBuffer);
|
|
72
72
|
var stack = new TextDecoder().decode(stackBuffer);
|
|
73
|
-
var error
|
|
74
|
-
Object.defineProperty(error
|
|
73
|
+
var error = new ((_a = globalThis[name]) !== null && _a !== void 0 ? _a : name === "RuntimeError" ? (_b = _WebAssembly$2.RuntimeError) !== null && _b !== void 0 ? _b : Error : Error)(message);
|
|
74
|
+
Object.defineProperty(error, "stack", {
|
|
75
75
|
value: stack,
|
|
76
76
|
writable: true,
|
|
77
77
|
enumerable: false,
|
|
78
78
|
configurable: true
|
|
79
79
|
});
|
|
80
|
-
return error
|
|
80
|
+
return error;
|
|
81
81
|
}
|
|
82
82
|
/** @public */
|
|
83
83
|
function isSharedArrayBuffer(value) {
|
|
@@ -222,9 +222,9 @@ function setupInstance(wasi, instance) {
|
|
|
222
222
|
wasi[kInstance$1] = instance;
|
|
223
223
|
wasi[kSetMemory$1](instance.exports.memory);
|
|
224
224
|
}
|
|
225
|
-
function notifyPthreadCreateResult(sab, result, error
|
|
225
|
+
function notifyPthreadCreateResult(sab, result, error) {
|
|
226
226
|
if (sab) {
|
|
227
|
-
serizeErrorToBuffer(sab.buffer, result, error
|
|
227
|
+
serizeErrorToBuffer(sab.buffer, result, error);
|
|
228
228
|
Atomics.notify(sab, 0);
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -4641,7 +4641,7 @@ function createNapiModule(options) {
|
|
|
4641
4641
|
HEAP_DATA_VIEW.setUint32(engine_reserved, engineReserved, true);
|
|
4642
4642
|
}
|
|
4643
4643
|
/** @__sig ipp */
|
|
4644
|
-
function napi_throw(env, error
|
|
4644
|
+
function napi_throw(env, error) {
|
|
4645
4645
|
if (!env) return 1;
|
|
4646
4646
|
var envObject = emnapiCtx.envStore.get(env);
|
|
4647
4647
|
envObject.checkGCAccess();
|
|
@@ -4649,8 +4649,8 @@ function createNapiModule(options) {
|
|
|
4649
4649
|
if (!envObject.canCallIntoJs()) return envObject.setLastError(envObject.moduleApiVersion >= 10 ? 23 : 10);
|
|
4650
4650
|
envObject.clearLastError();
|
|
4651
4651
|
try {
|
|
4652
|
-
if (!error
|
|
4653
|
-
envObject.tryCatch.setError(emnapiCtx.handleStore.get(error
|
|
4652
|
+
if (!error) return envObject.setLastError(1);
|
|
4653
|
+
envObject.tryCatch.setError(emnapiCtx.handleStore.get(error).value);
|
|
4654
4654
|
return envObject.clearLastError();
|
|
4655
4655
|
} catch (err$1) {
|
|
4656
4656
|
envObject.tryCatch.setError(err$1);
|
|
@@ -4667,9 +4667,9 @@ function createNapiModule(options) {
|
|
|
4667
4667
|
envObject.clearLastError();
|
|
4668
4668
|
try {
|
|
4669
4669
|
if (!msg) return envObject.setLastError(1);
|
|
4670
|
-
var error
|
|
4671
|
-
if (code) error
|
|
4672
|
-
envObject.tryCatch.setError(error
|
|
4670
|
+
var error = new Error(emnapiString.UTF8ToString(msg, -1));
|
|
4671
|
+
if (code) error.code = emnapiString.UTF8ToString(code, -1);
|
|
4672
|
+
envObject.tryCatch.setError(error);
|
|
4673
4673
|
return envObject.clearLastError();
|
|
4674
4674
|
} catch (err$1) {
|
|
4675
4675
|
envObject.tryCatch.setError(err$1);
|
|
@@ -4686,9 +4686,9 @@ function createNapiModule(options) {
|
|
|
4686
4686
|
envObject.clearLastError();
|
|
4687
4687
|
try {
|
|
4688
4688
|
if (!msg) return envObject.setLastError(1);
|
|
4689
|
-
var error
|
|
4690
|
-
if (code) error
|
|
4691
|
-
envObject.tryCatch.setError(error
|
|
4689
|
+
var error = new TypeError(emnapiString.UTF8ToString(msg, -1));
|
|
4690
|
+
if (code) error.code = emnapiString.UTF8ToString(code, -1);
|
|
4691
|
+
envObject.tryCatch.setError(error);
|
|
4692
4692
|
return envObject.clearLastError();
|
|
4693
4693
|
} catch (err$1) {
|
|
4694
4694
|
envObject.tryCatch.setError(err$1);
|
|
@@ -4705,9 +4705,9 @@ function createNapiModule(options) {
|
|
|
4705
4705
|
envObject.clearLastError();
|
|
4706
4706
|
try {
|
|
4707
4707
|
if (!msg) return envObject.setLastError(1);
|
|
4708
|
-
var error
|
|
4709
|
-
if (code) error
|
|
4710
|
-
envObject.tryCatch.setError(error
|
|
4708
|
+
var error = new RangeError(emnapiString.UTF8ToString(msg, -1));
|
|
4709
|
+
if (code) error.code = emnapiString.UTF8ToString(code, -1);
|
|
4710
|
+
envObject.tryCatch.setError(error);
|
|
4711
4711
|
return envObject.clearLastError();
|
|
4712
4712
|
} catch (err$1) {
|
|
4713
4713
|
envObject.tryCatch.setError(err$1);
|
|
@@ -4724,9 +4724,9 @@ function createNapiModule(options) {
|
|
|
4724
4724
|
envObject.clearLastError();
|
|
4725
4725
|
try {
|
|
4726
4726
|
if (!msg) return envObject.setLastError(1);
|
|
4727
|
-
var error
|
|
4728
|
-
if (code) error
|
|
4729
|
-
envObject.tryCatch.setError(error
|
|
4727
|
+
var error = new SyntaxError(emnapiString.UTF8ToString(msg, -1));
|
|
4728
|
+
if (code) error.code = emnapiString.UTF8ToString(code, -1);
|
|
4729
|
+
envObject.tryCatch.setError(error);
|
|
4730
4730
|
return envObject.clearLastError();
|
|
4731
4731
|
} catch (err$1) {
|
|
4732
4732
|
envObject.tryCatch.setError(err$1);
|
|
@@ -4752,13 +4752,13 @@ function createNapiModule(options) {
|
|
|
4752
4752
|
if (!result) return envObject.setLastError(1);
|
|
4753
4753
|
var msgValue = emnapiCtx.handleStore.get(msg).value;
|
|
4754
4754
|
if (typeof msgValue !== "string") return envObject.setLastError(3);
|
|
4755
|
-
var error
|
|
4755
|
+
var error = new Error(msgValue);
|
|
4756
4756
|
if (code) {
|
|
4757
4757
|
var codeValue = emnapiCtx.handleStore.get(code).value;
|
|
4758
4758
|
if (typeof codeValue !== "string") return envObject.setLastError(3);
|
|
4759
|
-
error
|
|
4759
|
+
error.code = codeValue;
|
|
4760
4760
|
}
|
|
4761
|
-
var value = emnapiCtx.addToCurrentScope(error
|
|
4761
|
+
var value = emnapiCtx.addToCurrentScope(error).id;
|
|
4762
4762
|
new DataView(wasmMemory.buffer).setUint32(result, value, true);
|
|
4763
4763
|
return envObject.clearLastError();
|
|
4764
4764
|
}
|
|
@@ -4771,13 +4771,13 @@ function createNapiModule(options) {
|
|
|
4771
4771
|
if (!result) return envObject.setLastError(1);
|
|
4772
4772
|
var msgValue = emnapiCtx.handleStore.get(msg).value;
|
|
4773
4773
|
if (typeof msgValue !== "string") return envObject.setLastError(3);
|
|
4774
|
-
var error
|
|
4774
|
+
var error = new TypeError(msgValue);
|
|
4775
4775
|
if (code) {
|
|
4776
4776
|
var codeValue = emnapiCtx.handleStore.get(code).value;
|
|
4777
4777
|
if (typeof codeValue !== "string") return envObject.setLastError(3);
|
|
4778
|
-
error
|
|
4778
|
+
error.code = codeValue;
|
|
4779
4779
|
}
|
|
4780
|
-
var value = emnapiCtx.addToCurrentScope(error
|
|
4780
|
+
var value = emnapiCtx.addToCurrentScope(error).id;
|
|
4781
4781
|
new DataView(wasmMemory.buffer).setUint32(result, value, true);
|
|
4782
4782
|
return envObject.clearLastError();
|
|
4783
4783
|
}
|
|
@@ -4790,13 +4790,13 @@ function createNapiModule(options) {
|
|
|
4790
4790
|
if (!result) return envObject.setLastError(1);
|
|
4791
4791
|
var msgValue = emnapiCtx.handleStore.get(msg).value;
|
|
4792
4792
|
if (typeof msgValue !== "string") return envObject.setLastError(3);
|
|
4793
|
-
var error
|
|
4793
|
+
var error = new RangeError(msgValue);
|
|
4794
4794
|
if (code) {
|
|
4795
4795
|
var codeValue = emnapiCtx.handleStore.get(code).value;
|
|
4796
4796
|
if (typeof codeValue !== "string") return envObject.setLastError(3);
|
|
4797
|
-
error
|
|
4797
|
+
error.code = codeValue;
|
|
4798
4798
|
}
|
|
4799
|
-
var value = emnapiCtx.addToCurrentScope(error
|
|
4799
|
+
var value = emnapiCtx.addToCurrentScope(error).id;
|
|
4800
4800
|
new DataView(wasmMemory.buffer).setUint32(result, value, true);
|
|
4801
4801
|
return envObject.clearLastError();
|
|
4802
4802
|
}
|
|
@@ -4809,13 +4809,13 @@ function createNapiModule(options) {
|
|
|
4809
4809
|
if (!result) return envObject.setLastError(1);
|
|
4810
4810
|
var msgValue = emnapiCtx.handleStore.get(msg).value;
|
|
4811
4811
|
if (typeof msgValue !== "string") return envObject.setLastError(3);
|
|
4812
|
-
var error
|
|
4812
|
+
var error = new SyntaxError(msgValue);
|
|
4813
4813
|
if (code) {
|
|
4814
4814
|
var codeValue = emnapiCtx.handleStore.get(code).value;
|
|
4815
4815
|
if (typeof codeValue !== "string") return envObject.setLastError(3);
|
|
4816
|
-
error
|
|
4816
|
+
error.code = codeValue;
|
|
4817
4817
|
}
|
|
4818
|
-
var value = emnapiCtx.addToCurrentScope(error
|
|
4818
|
+
var value = emnapiCtx.addToCurrentScope(error).id;
|
|
4819
4819
|
new DataView(wasmMemory.buffer).setUint32(result, value, true);
|
|
4820
4820
|
return envObject.clearLastError();
|
|
4821
4821
|
}
|
|
@@ -4854,9 +4854,9 @@ function createNapiModule(options) {
|
|
|
4854
4854
|
envObject.clearLastError();
|
|
4855
4855
|
try {
|
|
4856
4856
|
if (!err$1) return envObject.setLastError(1);
|
|
4857
|
-
var error
|
|
4857
|
+
var error = envObject.ctx.handleStore.get(err$1);
|
|
4858
4858
|
try {
|
|
4859
|
-
envObject.triggerFatalException(error
|
|
4859
|
+
envObject.triggerFatalException(error.value);
|
|
4860
4860
|
} catch (_) {
|
|
4861
4861
|
return envObject.setLastError(9);
|
|
4862
4862
|
}
|
|
@@ -6873,16 +6873,16 @@ var init_emnapi_esm_bundler = __esm({ "../../node_modules/.pnpm/@emnapi+runtime@
|
|
|
6873
6873
|
};
|
|
6874
6874
|
TrackedFinalizer$1.prototype.finalize = function() {
|
|
6875
6875
|
this.unlink();
|
|
6876
|
-
var error
|
|
6876
|
+
var error;
|
|
6877
6877
|
var caught = false;
|
|
6878
6878
|
try {
|
|
6879
6879
|
this._finalizer.callFinalizer();
|
|
6880
6880
|
} catch (err) {
|
|
6881
6881
|
caught = true;
|
|
6882
|
-
error
|
|
6882
|
+
error = err;
|
|
6883
6883
|
}
|
|
6884
6884
|
this.dispose();
|
|
6885
|
-
if (caught) throw error
|
|
6885
|
+
if (caught) throw error;
|
|
6886
6886
|
};
|
|
6887
6887
|
return TrackedFinalizer$1;
|
|
6888
6888
|
}(RefTracker);
|
|
@@ -8223,9 +8223,9 @@ function validateOptions(options) {
|
|
|
8223
8223
|
_WASI
|
|
8224
8224
|
};
|
|
8225
8225
|
}
|
|
8226
|
-
function initWASI(setMemory, wrap
|
|
8226
|
+
function initWASI(setMemory, wrap) {
|
|
8227
8227
|
this[kSetMemory] = setMemory;
|
|
8228
|
-
this.wasiImport = wrap
|
|
8228
|
+
this.wasiImport = wrap;
|
|
8229
8229
|
this[kStarted] = false;
|
|
8230
8230
|
this[kExitCode] = 0;
|
|
8231
8231
|
this[kInstance] = void 0;
|
|
@@ -8242,11 +8242,11 @@ async function createAsyncWASI(options = kEmptyObject) {
|
|
|
8242
8242
|
validateObject(options.asyncify, "options.asyncify");
|
|
8243
8243
|
validateFunction(options.asyncify.wrapImportFunction, "options.asyncify.wrapImportFunction");
|
|
8244
8244
|
}
|
|
8245
|
-
const wrap
|
|
8246
|
-
const setMemory = wrap
|
|
8247
|
-
delete wrap
|
|
8248
|
-
initWASI.call(_this, setMemory, wrap
|
|
8249
|
-
if (options.returnOnExit) wrap
|
|
8245
|
+
const wrap = await _WASI.createAsync(args, env, preopens, stdio, options.fs, options.print, options.printErr, options.asyncify);
|
|
8246
|
+
const setMemory = wrap._setMemory;
|
|
8247
|
+
delete wrap._setMemory;
|
|
8248
|
+
initWASI.call(_this, setMemory, wrap);
|
|
8249
|
+
if (options.returnOnExit) wrap.proc_exit = wasiReturnOnProcExit.bind(_this);
|
|
8250
8250
|
return _this;
|
|
8251
8251
|
}
|
|
8252
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;
|
|
@@ -8475,9 +8475,9 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
|
|
|
8475
8475
|
insertStdio(fd, expected, name) {
|
|
8476
8476
|
const type = 2;
|
|
8477
8477
|
const { base, inheriting } = getRights(this.stdio, fd, 2, type);
|
|
8478
|
-
const wrap
|
|
8479
|
-
if (wrap
|
|
8480
|
-
return wrap
|
|
8478
|
+
const wrap = this.insert(fd, name, name, type, base, inheriting, 0);
|
|
8479
|
+
if (wrap.id !== expected) throw new WasiError(`id: ${wrap.id} !== expected: ${expected}`, 8);
|
|
8480
|
+
return wrap;
|
|
8481
8481
|
}
|
|
8482
8482
|
insert(fd, mappedPath, realPath, type, rightsBase, rightsInheriting, preopen) {
|
|
8483
8483
|
var _a, _b;
|
|
@@ -9526,13 +9526,13 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
|
|
|
9526
9526
|
const filetype = wasi.fds.getFileTypeByFd(r);
|
|
9527
9527
|
if (filetype !== 3 && ((o_flags & 2) !== 0 || resolved_path.endsWith("/"))) return 54;
|
|
9528
9528
|
const { base: max_base, inheriting: max_inheriting } = getRights(wasi.fds.stdio, r, flagsRes, filetype);
|
|
9529
|
-
const wrap
|
|
9529
|
+
const wrap = wasi.fds.insert(r, resolved_path, resolved_path, filetype, fs_rights_base & max_base, fs_rights_inheriting & max_inheriting, 0);
|
|
9530
9530
|
const stat = fs$2.fstatSync(r, { bigint: true });
|
|
9531
9531
|
if (stat.isFile()) {
|
|
9532
|
-
wrap
|
|
9533
|
-
if ((flagsRes & 1024) !== 0) wrap
|
|
9532
|
+
wrap.size = stat.size;
|
|
9533
|
+
if ((flagsRes & 1024) !== 0) wrap.pos = stat.size;
|
|
9534
9534
|
}
|
|
9535
|
-
memory.view.setInt32(fd, wrap
|
|
9535
|
+
memory.view.setInt32(fd, wrap.id, true);
|
|
9536
9536
|
return 0;
|
|
9537
9537
|
}, async function path_open(dirfd, dirflags, path, path_len, o_flags, fs_rights_base, fs_rights_inheriting, fs_flags, fd) {
|
|
9538
9538
|
path = Number(path);
|
|
@@ -9553,13 +9553,13 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
|
|
|
9553
9553
|
const filetype = await wasi.fds.getFileTypeByFd(r);
|
|
9554
9554
|
if ((o_flags & 2) !== 0 && filetype !== 3) return 54;
|
|
9555
9555
|
const { base: max_base, inheriting: max_inheriting } = getRights(wasi.fds.stdio, r.fd, flagsRes, filetype);
|
|
9556
|
-
const wrap
|
|
9556
|
+
const wrap = wasi.fds.insert(r, resolved_path, resolved_path, filetype, fs_rights_base & max_base, fs_rights_inheriting & max_inheriting, 0);
|
|
9557
9557
|
const stat = await r.stat({ bigint: true });
|
|
9558
9558
|
if (stat.isFile()) {
|
|
9559
|
-
wrap
|
|
9560
|
-
if ((flagsRes & 1024) !== 0) wrap
|
|
9559
|
+
wrap.size = stat.size;
|
|
9560
|
+
if ((flagsRes & 1024) !== 0) wrap.pos = stat.size;
|
|
9561
9561
|
}
|
|
9562
|
-
memory.view.setInt32(fd, wrap
|
|
9562
|
+
memory.view.setInt32(fd, wrap.id, true);
|
|
9563
9563
|
return 0;
|
|
9564
9564
|
}, [
|
|
9565
9565
|
"i32",
|
|
@@ -9799,11 +9799,11 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
|
|
|
9799
9799
|
WASI$2 = class {
|
|
9800
9800
|
constructor(options = kEmptyObject) {
|
|
9801
9801
|
const { args, env, preopens, stdio, _WASI } = validateOptions.call(this, options);
|
|
9802
|
-
const wrap
|
|
9803
|
-
const setMemory = wrap
|
|
9804
|
-
delete wrap
|
|
9805
|
-
initWASI.call(this, setMemory, wrap
|
|
9806
|
-
if (options.returnOnExit) wrap
|
|
9802
|
+
const wrap = _WASI.createSync(args, env, preopens, stdio, options.fs, options.print, options.printErr);
|
|
9803
|
+
const setMemory = wrap._setMemory;
|
|
9804
|
+
delete wrap._setMemory;
|
|
9805
|
+
initWASI.call(this, setMemory, wrap);
|
|
9806
|
+
if (options.returnOnExit) wrap.proc_exit = wasiReturnOnProcExit.bind(this);
|
|
9807
9807
|
}
|
|
9808
9808
|
finalizeBindings(instance, _a) {
|
|
9809
9809
|
var _b;
|
|
@@ -9848,8 +9848,8 @@ var init_wasm_util_esm_bundler = __esm({ "../../node_modules/.pnpm/@tybys+wasm-u
|
|
|
9848
9848
|
}) });
|
|
9849
9849
|
|
|
9850
9850
|
//#endregion
|
|
9851
|
-
//#region ../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.
|
|
9852
|
-
var require_fs_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.
|
|
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) => {
|
|
9853
9853
|
/**
|
|
9854
9854
|
* @param {unknown} value
|
|
9855
9855
|
*/
|
|
@@ -10045,8 +10045,8 @@ var require_fs_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
|
|
|
10045
10045
|
}) });
|
|
10046
10046
|
|
|
10047
10047
|
//#endregion
|
|
10048
|
-
//#region ../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.
|
|
10049
|
-
var require_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.0.
|
|
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) => {
|
|
10050
10050
|
const { MessageHandler, instantiateNapiModuleSync, instantiateNapiModule } = (init_emnapi_core_esm_bundler(), __toCommonJS(emnapi_core_esm_bundler_exports));
|
|
10051
10051
|
const { getDefaultContext } = (init_emnapi_esm_bundler(), __toCommonJS(emnapi_esm_bundler_exports));
|
|
10052
10052
|
const { WASI } = (init_wasm_util_esm_bundler(), __toCommonJS(wasm_util_esm_bundler_exports));
|
|
@@ -10152,9 +10152,7 @@ var require_rolldown_binding_wasi = /* @__PURE__ */ __commonJS({ "src/rolldown-b
|
|
|
10152
10152
|
module.exports.BindingBundlerImpl = __napiModule.exports.BindingBundlerImpl;
|
|
10153
10153
|
module.exports.BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin;
|
|
10154
10154
|
module.exports.BindingChunkingContext = __napiModule.exports.BindingChunkingContext;
|
|
10155
|
-
module.exports.BindingClientHmrUpdate = __napiModule.exports.BindingClientHmrUpdate;
|
|
10156
10155
|
module.exports.BindingDevEngine = __napiModule.exports.BindingDevEngine;
|
|
10157
|
-
module.exports.BindingHmrOutput = __napiModule.exports.BindingHmrOutput;
|
|
10158
10156
|
module.exports.BindingMagicString = __napiModule.exports.BindingMagicString;
|
|
10159
10157
|
module.exports.BindingModuleInfo = __napiModule.exports.BindingModuleInfo;
|
|
10160
10158
|
module.exports.BindingNormalizedOptions = __napiModule.exports.BindingNormalizedOptions;
|
|
@@ -10166,6 +10164,7 @@ var require_rolldown_binding_wasi = /* @__PURE__ */ __commonJS({ "src/rolldown-b
|
|
|
10166
10164
|
module.exports.BindingRenderedChunkMeta = __napiModule.exports.BindingRenderedChunkMeta;
|
|
10167
10165
|
module.exports.BindingRenderedModule = __napiModule.exports.BindingRenderedModule;
|
|
10168
10166
|
module.exports.BindingTransformPluginContext = __napiModule.exports.BindingTransformPluginContext;
|
|
10167
|
+
module.exports.BindingUrlResolver = __napiModule.exports.BindingUrlResolver;
|
|
10169
10168
|
module.exports.BindingWatcher = __napiModule.exports.BindingWatcher;
|
|
10170
10169
|
module.exports.BindingWatcherChangeData = __napiModule.exports.BindingWatcherChangeData;
|
|
10171
10170
|
module.exports.BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent;
|
|
@@ -10175,12 +10174,12 @@ var require_rolldown_binding_wasi = /* @__PURE__ */ __commonJS({ "src/rolldown-b
|
|
|
10175
10174
|
module.exports.BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo;
|
|
10176
10175
|
module.exports.BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName;
|
|
10177
10176
|
module.exports.BindingChunkModuleOrderBy = __napiModule.exports.BindingChunkModuleOrderBy;
|
|
10178
|
-
module.exports.BindingJsx = __napiModule.exports.BindingJsx;
|
|
10179
10177
|
module.exports.BindingLogLevel = __napiModule.exports.BindingLogLevel;
|
|
10180
10178
|
module.exports.BindingPluginOrder = __napiModule.exports.BindingPluginOrder;
|
|
10181
10179
|
module.exports.BindingPropertyReadSideEffects = __napiModule.exports.BindingPropertyReadSideEffects;
|
|
10182
10180
|
module.exports.BindingPropertyWriteSideEffects = __napiModule.exports.BindingPropertyWriteSideEffects;
|
|
10183
10181
|
module.exports.BindingRebuildStrategy = __napiModule.exports.BindingRebuildStrategy;
|
|
10182
|
+
module.exports.createTokioRuntime = __napiModule.exports.createTokioRuntime;
|
|
10184
10183
|
module.exports.FilterTokenKind = __napiModule.exports.FilterTokenKind;
|
|
10185
10184
|
module.exports.initTraceSubscriber = __napiModule.exports.initTraceSubscriber;
|
|
10186
10185
|
module.exports.registerPlugins = __napiModule.exports.registerPlugins;
|
|
@@ -10270,7 +10269,7 @@ function requireNative() {
|
|
|
10270
10269
|
try {
|
|
10271
10270
|
const binding = __require("@rolldown/binding-android-arm64");
|
|
10272
10271
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
|
|
10273
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10272
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10274
10273
|
return binding;
|
|
10275
10274
|
} catch (e) {
|
|
10276
10275
|
loadErrors.push(e);
|
|
@@ -10284,7 +10283,7 @@ function requireNative() {
|
|
|
10284
10283
|
try {
|
|
10285
10284
|
const binding = __require("@rolldown/binding-android-arm-eabi");
|
|
10286
10285
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
|
|
10287
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10286
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10288
10287
|
return binding;
|
|
10289
10288
|
} catch (e) {
|
|
10290
10289
|
loadErrors.push(e);
|
|
@@ -10299,7 +10298,7 @@ function requireNative() {
|
|
|
10299
10298
|
try {
|
|
10300
10299
|
const binding = __require("@rolldown/binding-win32-x64-gnu");
|
|
10301
10300
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
|
|
10302
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10301
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10303
10302
|
return binding;
|
|
10304
10303
|
} catch (e) {
|
|
10305
10304
|
loadErrors.push(e);
|
|
@@ -10313,7 +10312,7 @@ function requireNative() {
|
|
|
10313
10312
|
try {
|
|
10314
10313
|
const binding = __require("@rolldown/binding-win32-x64-msvc");
|
|
10315
10314
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
|
|
10316
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10315
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10317
10316
|
return binding;
|
|
10318
10317
|
} catch (e) {
|
|
10319
10318
|
loadErrors.push(e);
|
|
@@ -10328,7 +10327,7 @@ function requireNative() {
|
|
|
10328
10327
|
try {
|
|
10329
10328
|
const binding = __require("@rolldown/binding-win32-ia32-msvc");
|
|
10330
10329
|
const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
|
|
10331
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10330
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10332
10331
|
return binding;
|
|
10333
10332
|
} catch (e) {
|
|
10334
10333
|
loadErrors.push(e);
|
|
@@ -10342,7 +10341,7 @@ function requireNative() {
|
|
|
10342
10341
|
try {
|
|
10343
10342
|
const binding = __require("@rolldown/binding-win32-arm64-msvc");
|
|
10344
10343
|
const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
|
|
10345
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10344
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10346
10345
|
return binding;
|
|
10347
10346
|
} catch (e) {
|
|
10348
10347
|
loadErrors.push(e);
|
|
@@ -10357,7 +10356,7 @@ function requireNative() {
|
|
|
10357
10356
|
try {
|
|
10358
10357
|
const binding = __require("@rolldown/binding-darwin-universal");
|
|
10359
10358
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
|
|
10360
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10359
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10361
10360
|
return binding;
|
|
10362
10361
|
} catch (e) {
|
|
10363
10362
|
loadErrors.push(e);
|
|
@@ -10371,7 +10370,7 @@ function requireNative() {
|
|
|
10371
10370
|
try {
|
|
10372
10371
|
const binding = __require("@rolldown/binding-darwin-x64");
|
|
10373
10372
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
|
|
10374
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10373
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10375
10374
|
return binding;
|
|
10376
10375
|
} catch (e) {
|
|
10377
10376
|
loadErrors.push(e);
|
|
@@ -10385,7 +10384,7 @@ function requireNative() {
|
|
|
10385
10384
|
try {
|
|
10386
10385
|
const binding = __require("@rolldown/binding-darwin-arm64");
|
|
10387
10386
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
|
|
10388
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10387
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10389
10388
|
return binding;
|
|
10390
10389
|
} catch (e) {
|
|
10391
10390
|
loadErrors.push(e);
|
|
@@ -10400,7 +10399,7 @@ function requireNative() {
|
|
|
10400
10399
|
try {
|
|
10401
10400
|
const binding = __require("@rolldown/binding-freebsd-x64");
|
|
10402
10401
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
|
|
10403
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10402
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10404
10403
|
return binding;
|
|
10405
10404
|
} catch (e) {
|
|
10406
10405
|
loadErrors.push(e);
|
|
@@ -10414,7 +10413,7 @@ function requireNative() {
|
|
|
10414
10413
|
try {
|
|
10415
10414
|
const binding = __require("@rolldown/binding-freebsd-arm64");
|
|
10416
10415
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
|
|
10417
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10416
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10418
10417
|
return binding;
|
|
10419
10418
|
} catch (e) {
|
|
10420
10419
|
loadErrors.push(e);
|
|
@@ -10429,7 +10428,7 @@ function requireNative() {
|
|
|
10429
10428
|
try {
|
|
10430
10429
|
const binding = __require("@rolldown/binding-linux-x64-musl");
|
|
10431
10430
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
|
|
10432
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10431
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10433
10432
|
return binding;
|
|
10434
10433
|
} catch (e) {
|
|
10435
10434
|
loadErrors.push(e);
|
|
@@ -10443,7 +10442,7 @@ function requireNative() {
|
|
|
10443
10442
|
try {
|
|
10444
10443
|
const binding = __require("@rolldown/binding-linux-x64-gnu");
|
|
10445
10444
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
|
|
10446
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10445
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10447
10446
|
return binding;
|
|
10448
10447
|
} catch (e) {
|
|
10449
10448
|
loadErrors.push(e);
|
|
@@ -10458,7 +10457,7 @@ function requireNative() {
|
|
|
10458
10457
|
try {
|
|
10459
10458
|
const binding = __require("@rolldown/binding-linux-arm64-musl");
|
|
10460
10459
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
|
|
10461
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10460
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10462
10461
|
return binding;
|
|
10463
10462
|
} catch (e) {
|
|
10464
10463
|
loadErrors.push(e);
|
|
@@ -10472,7 +10471,7 @@ function requireNative() {
|
|
|
10472
10471
|
try {
|
|
10473
10472
|
const binding = __require("@rolldown/binding-linux-arm64-gnu");
|
|
10474
10473
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
|
|
10475
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10474
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10476
10475
|
return binding;
|
|
10477
10476
|
} catch (e) {
|
|
10478
10477
|
loadErrors.push(e);
|
|
@@ -10487,7 +10486,7 @@ function requireNative() {
|
|
|
10487
10486
|
try {
|
|
10488
10487
|
const binding = __require("@rolldown/binding-linux-arm-musleabihf");
|
|
10489
10488
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
|
|
10490
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10489
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10491
10490
|
return binding;
|
|
10492
10491
|
} catch (e) {
|
|
10493
10492
|
loadErrors.push(e);
|
|
@@ -10501,7 +10500,7 @@ function requireNative() {
|
|
|
10501
10500
|
try {
|
|
10502
10501
|
const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
|
|
10503
10502
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
|
|
10504
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10503
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10505
10504
|
return binding;
|
|
10506
10505
|
} catch (e) {
|
|
10507
10506
|
loadErrors.push(e);
|
|
@@ -10516,7 +10515,7 @@ function requireNative() {
|
|
|
10516
10515
|
try {
|
|
10517
10516
|
const binding = __require("@rolldown/binding-linux-loong64-musl");
|
|
10518
10517
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
|
|
10519
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10518
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10520
10519
|
return binding;
|
|
10521
10520
|
} catch (e) {
|
|
10522
10521
|
loadErrors.push(e);
|
|
@@ -10530,7 +10529,7 @@ function requireNative() {
|
|
|
10530
10529
|
try {
|
|
10531
10530
|
const binding = __require("@rolldown/binding-linux-loong64-gnu");
|
|
10532
10531
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
|
|
10533
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10532
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10534
10533
|
return binding;
|
|
10535
10534
|
} catch (e) {
|
|
10536
10535
|
loadErrors.push(e);
|
|
@@ -10545,7 +10544,7 @@ function requireNative() {
|
|
|
10545
10544
|
try {
|
|
10546
10545
|
const binding = __require("@rolldown/binding-linux-riscv64-musl");
|
|
10547
10546
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
|
|
10548
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10547
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10549
10548
|
return binding;
|
|
10550
10549
|
} catch (e) {
|
|
10551
10550
|
loadErrors.push(e);
|
|
@@ -10559,7 +10558,7 @@ function requireNative() {
|
|
|
10559
10558
|
try {
|
|
10560
10559
|
const binding = __require("@rolldown/binding-linux-riscv64-gnu");
|
|
10561
10560
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
|
|
10562
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10561
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10563
10562
|
return binding;
|
|
10564
10563
|
} catch (e) {
|
|
10565
10564
|
loadErrors.push(e);
|
|
@@ -10574,7 +10573,7 @@ function requireNative() {
|
|
|
10574
10573
|
try {
|
|
10575
10574
|
const binding = __require("@rolldown/binding-linux-ppc64-gnu");
|
|
10576
10575
|
const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
|
|
10577
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10576
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10578
10577
|
return binding;
|
|
10579
10578
|
} catch (e) {
|
|
10580
10579
|
loadErrors.push(e);
|
|
@@ -10588,7 +10587,7 @@ function requireNative() {
|
|
|
10588
10587
|
try {
|
|
10589
10588
|
const binding = __require("@rolldown/binding-linux-s390x-gnu");
|
|
10590
10589
|
const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
|
|
10591
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10590
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10592
10591
|
return binding;
|
|
10593
10592
|
} catch (e) {
|
|
10594
10593
|
loadErrors.push(e);
|
|
@@ -10603,7 +10602,7 @@ function requireNative() {
|
|
|
10603
10602
|
try {
|
|
10604
10603
|
const binding = __require("@rolldown/binding-openharmony-arm64");
|
|
10605
10604
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
|
|
10606
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10605
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10607
10606
|
return binding;
|
|
10608
10607
|
} catch (e) {
|
|
10609
10608
|
loadErrors.push(e);
|
|
@@ -10617,7 +10616,7 @@ function requireNative() {
|
|
|
10617
10616
|
try {
|
|
10618
10617
|
const binding = __require("@rolldown/binding-openharmony-x64");
|
|
10619
10618
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
|
|
10620
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10619
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10621
10620
|
return binding;
|
|
10622
10621
|
} catch (e) {
|
|
10623
10622
|
loadErrors.push(e);
|
|
@@ -10631,7 +10630,7 @@ function requireNative() {
|
|
|
10631
10630
|
try {
|
|
10632
10631
|
const binding = __require("@rolldown/binding-openharmony-arm");
|
|
10633
10632
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
|
|
10634
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
10633
|
+
if (bindingPackageVersion !== "1.0.0-beta.44" && 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.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10635
10634
|
return binding;
|
|
10636
10635
|
} catch (e) {
|
|
10637
10636
|
loadErrors.push(e);
|
|
@@ -10659,9 +10658,9 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
10659
10658
|
}
|
|
10660
10659
|
}
|
|
10661
10660
|
if (process.env.NAPI_RS_FORCE_WASI === "error" && !wasiBinding) {
|
|
10662
|
-
const error
|
|
10663
|
-
error
|
|
10664
|
-
throw error
|
|
10661
|
+
const error = /* @__PURE__ */ new Error("WASI binding not found and NAPI_RS_FORCE_WASI is set to error");
|
|
10662
|
+
error.cause = wasiBindingError;
|
|
10663
|
+
throw error;
|
|
10665
10664
|
}
|
|
10666
10665
|
}
|
|
10667
10666
|
if (!nativeBinding && globalThis.process?.versions?.["webcontainer"]) try {
|
|
@@ -10676,270 +10675,7 @@ if (!nativeBinding) {
|
|
|
10676
10675
|
}) });
|
|
10677
10676
|
throw new Error(`Failed to load native binding`);
|
|
10678
10677
|
}
|
|
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,
|
|
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, BindingUrlResolver, BindingWatcher, BindingWatcherChangeData, BindingWatcherEvent, ParallelJsPluginRegistry, ScheduledBuild, TraceSubscriberGuard, BindingAttachDebugInfo, BindingBuiltinPluginName, BindingChunkModuleOrderBy, BindingLogLevel, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, BindingRebuildStrategy, createTokioRuntime, FilterTokenKind, initTraceSubscriber, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime } = nativeBinding;
|
|
10680
10679
|
|
|
10681
10680
|
//#endregion
|
|
10682
|
-
|
|
10683
|
-
function spaces(index) {
|
|
10684
|
-
let result = "";
|
|
10685
|
-
while (index--) result += " ";
|
|
10686
|
-
return result;
|
|
10687
|
-
}
|
|
10688
|
-
function tabsToSpaces(value) {
|
|
10689
|
-
return value.replace(/^\t+/, (match) => match.split(" ").join(" "));
|
|
10690
|
-
}
|
|
10691
|
-
const LINE_TRUNCATE_LENGTH = 120;
|
|
10692
|
-
const MIN_CHARACTERS_SHOWN_AFTER_LOCATION = 10;
|
|
10693
|
-
const ELLIPSIS = "...";
|
|
10694
|
-
function getCodeFrame(source, line, column) {
|
|
10695
|
-
let lines = source.split("\n");
|
|
10696
|
-
if (line > lines.length) return "";
|
|
10697
|
-
const maxLineLength = Math.max(tabsToSpaces(lines[line - 1].slice(0, column)).length + MIN_CHARACTERS_SHOWN_AFTER_LOCATION + 3, LINE_TRUNCATE_LENGTH);
|
|
10698
|
-
const frameStart = Math.max(0, line - 3);
|
|
10699
|
-
let frameEnd = Math.min(line + 2, lines.length);
|
|
10700
|
-
lines = lines.slice(frameStart, frameEnd);
|
|
10701
|
-
while (!/\S/.test(lines[lines.length - 1])) {
|
|
10702
|
-
lines.pop();
|
|
10703
|
-
frameEnd -= 1;
|
|
10704
|
-
}
|
|
10705
|
-
const digits = String(frameEnd).length;
|
|
10706
|
-
return lines.map((sourceLine, index) => {
|
|
10707
|
-
const isErrorLine = frameStart + index + 1 === line;
|
|
10708
|
-
let lineNumber = String(index + frameStart + 1);
|
|
10709
|
-
while (lineNumber.length < digits) lineNumber = ` ${lineNumber}`;
|
|
10710
|
-
let displayedLine = tabsToSpaces(sourceLine);
|
|
10711
|
-
if (displayedLine.length > maxLineLength) displayedLine = `${displayedLine.slice(0, maxLineLength - 3)}${ELLIPSIS}`;
|
|
10712
|
-
if (isErrorLine) {
|
|
10713
|
-
const indicator = spaces(digits + 2 + tabsToSpaces(sourceLine.slice(0, column)).length) + "^";
|
|
10714
|
-
return `${lineNumber}: ${displayedLine}\n${indicator}`;
|
|
10715
|
-
}
|
|
10716
|
-
return `${lineNumber}: ${displayedLine}`;
|
|
10717
|
-
}).join("\n");
|
|
10718
|
-
}
|
|
10719
|
-
|
|
10720
|
-
//#endregion
|
|
10721
|
-
//#region src/log/locate-character/index.js
|
|
10722
|
-
/** @typedef {import('./types').Location} Location */
|
|
10723
|
-
/**
|
|
10724
|
-
* @param {import('./types').Range} range
|
|
10725
|
-
* @param {number} index
|
|
10726
|
-
*/
|
|
10727
|
-
function rangeContains(range, index) {
|
|
10728
|
-
return range.start <= index && index < range.end;
|
|
10729
|
-
}
|
|
10730
|
-
/**
|
|
10731
|
-
* @param {string} source
|
|
10732
|
-
* @param {import('./types').Options} [options]
|
|
10733
|
-
*/
|
|
10734
|
-
function getLocator(source, options = {}) {
|
|
10735
|
-
const { offsetLine = 0, offsetColumn = 0 } = options;
|
|
10736
|
-
let start = 0;
|
|
10737
|
-
const ranges = source.split("\n").map((line, i$1) => {
|
|
10738
|
-
const end = start + line.length + 1;
|
|
10739
|
-
/** @type {import('./types').Range} */
|
|
10740
|
-
const range = {
|
|
10741
|
-
start,
|
|
10742
|
-
end,
|
|
10743
|
-
line: i$1
|
|
10744
|
-
};
|
|
10745
|
-
start = end;
|
|
10746
|
-
return range;
|
|
10747
|
-
});
|
|
10748
|
-
let i = 0;
|
|
10749
|
-
/**
|
|
10750
|
-
* @param {string | number} search
|
|
10751
|
-
* @param {number} [index]
|
|
10752
|
-
* @returns {Location | undefined}
|
|
10753
|
-
*/
|
|
10754
|
-
function locator(search, index) {
|
|
10755
|
-
if (typeof search === "string") search = source.indexOf(search, index ?? 0);
|
|
10756
|
-
if (search === -1) return void 0;
|
|
10757
|
-
let range = ranges[i];
|
|
10758
|
-
const d = search >= range.end ? 1 : -1;
|
|
10759
|
-
while (range) {
|
|
10760
|
-
if (rangeContains(range, search)) return {
|
|
10761
|
-
line: offsetLine + range.line,
|
|
10762
|
-
column: offsetColumn + search - range.start,
|
|
10763
|
-
character: search
|
|
10764
|
-
};
|
|
10765
|
-
i += d;
|
|
10766
|
-
range = ranges[i];
|
|
10767
|
-
}
|
|
10768
|
-
}
|
|
10769
|
-
return locator;
|
|
10770
|
-
}
|
|
10771
|
-
/**
|
|
10772
|
-
* @param {string} source
|
|
10773
|
-
* @param {string | number} search
|
|
10774
|
-
* @param {import('./types').Options} [options]
|
|
10775
|
-
* @returns {Location | undefined}
|
|
10776
|
-
*/
|
|
10777
|
-
function locate(source, search, options) {
|
|
10778
|
-
return getLocator(source, options)(search, options && options.startIndex);
|
|
10779
|
-
}
|
|
10780
|
-
|
|
10781
|
-
//#endregion
|
|
10782
|
-
//#region src/log/logs.ts
|
|
10783
|
-
const INVALID_LOG_POSITION = "INVALID_LOG_POSITION", PLUGIN_ERROR = "PLUGIN_ERROR", INPUT_HOOK_IN_OUTPUT_PLUGIN = "INPUT_HOOK_IN_OUTPUT_PLUGIN", CYCLE_LOADING = "CYCLE_LOADING", MULTIPLY_NOTIFY_OPTION = "MULTIPLY_NOTIFY_OPTION", PARSE_ERROR = "PARSE_ERROR", DUPLICATE_JSX_CONFIG = "DUPLICATE_JSX_CONFIG", NO_FS_IN_BROWSER = "NO_FS_IN_BROWSER";
|
|
10784
|
-
function logParseError(message) {
|
|
10785
|
-
return {
|
|
10786
|
-
code: PARSE_ERROR,
|
|
10787
|
-
message
|
|
10788
|
-
};
|
|
10789
|
-
}
|
|
10790
|
-
function logInvalidLogPosition(pluginName) {
|
|
10791
|
-
return {
|
|
10792
|
-
code: INVALID_LOG_POSITION,
|
|
10793
|
-
message: `Plugin "${pluginName}" tried to add a file position to a log or warning. This is only supported in the "transform" hook at the moment and will be ignored.`
|
|
10794
|
-
};
|
|
10795
|
-
}
|
|
10796
|
-
function logInputHookInOutputPlugin(pluginName, hookName) {
|
|
10797
|
-
return {
|
|
10798
|
-
code: INPUT_HOOK_IN_OUTPUT_PLUGIN,
|
|
10799
|
-
message: `The "${hookName}" hook used by the output plugin ${pluginName} is a build time hook and will not be run for that plugin. Either this plugin cannot be used as an output plugin, or it should have an option to configure it as an output plugin.`
|
|
10800
|
-
};
|
|
10801
|
-
}
|
|
10802
|
-
function logCycleLoading(pluginName, moduleId) {
|
|
10803
|
-
return {
|
|
10804
|
-
code: CYCLE_LOADING,
|
|
10805
|
-
message: `Found the module "${moduleId}" cycle loading at ${pluginName} plugin, it maybe blocking fetching modules.`
|
|
10806
|
-
};
|
|
10807
|
-
}
|
|
10808
|
-
function logMultiplyNotifyOption() {
|
|
10809
|
-
return {
|
|
10810
|
-
code: MULTIPLY_NOTIFY_OPTION,
|
|
10811
|
-
message: `Found multiply notify option at watch options, using first one to start notify watcher.`
|
|
10812
|
-
};
|
|
10813
|
-
}
|
|
10814
|
-
function logDuplicateJsxConfig() {
|
|
10815
|
-
return {
|
|
10816
|
-
code: DUPLICATE_JSX_CONFIG,
|
|
10817
|
-
message: "Both `options.jsx` and `options.transform.jsx` are set so `options.jsx` is ignored"
|
|
10818
|
-
};
|
|
10819
|
-
}
|
|
10820
|
-
function logPluginError(error$1, plugin, { hook, id } = {}) {
|
|
10821
|
-
try {
|
|
10822
|
-
const code = error$1.code;
|
|
10823
|
-
if (!error$1.pluginCode && code != null && (typeof code !== "string" || !code.startsWith("PLUGIN_"))) error$1.pluginCode = code;
|
|
10824
|
-
error$1.code = PLUGIN_ERROR;
|
|
10825
|
-
error$1.plugin = plugin;
|
|
10826
|
-
if (hook) error$1.hook = hook;
|
|
10827
|
-
if (id) error$1.id = id;
|
|
10828
|
-
} catch (_) {} finally {
|
|
10829
|
-
return error$1;
|
|
10830
|
-
}
|
|
10831
|
-
}
|
|
10832
|
-
function error(base) {
|
|
10833
|
-
if (!(base instanceof Error)) {
|
|
10834
|
-
base = Object.assign(new Error(base.message), base);
|
|
10835
|
-
Object.defineProperty(base, "name", {
|
|
10836
|
-
value: "RollupError",
|
|
10837
|
-
writable: true
|
|
10838
|
-
});
|
|
10839
|
-
}
|
|
10840
|
-
throw base;
|
|
10841
|
-
}
|
|
10842
|
-
function augmentCodeLocation(properties, pos, source, id) {
|
|
10843
|
-
if (typeof pos === "object") {
|
|
10844
|
-
const { line, column } = pos;
|
|
10845
|
-
properties.loc = {
|
|
10846
|
-
column,
|
|
10847
|
-
file: id,
|
|
10848
|
-
line
|
|
10849
|
-
};
|
|
10850
|
-
} else {
|
|
10851
|
-
properties.pos = pos;
|
|
10852
|
-
const location = locate(source, pos, { offsetLine: 1 });
|
|
10853
|
-
if (!location) return;
|
|
10854
|
-
const { line, column } = location;
|
|
10855
|
-
properties.loc = {
|
|
10856
|
-
column,
|
|
10857
|
-
file: id,
|
|
10858
|
-
line
|
|
10859
|
-
};
|
|
10860
|
-
}
|
|
10861
|
-
if (properties.frame === void 0) {
|
|
10862
|
-
const { line, column } = properties.loc;
|
|
10863
|
-
properties.frame = getCodeFrame(source, line, column);
|
|
10864
|
-
}
|
|
10865
|
-
}
|
|
10866
|
-
|
|
10867
|
-
//#endregion
|
|
10868
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.94.0/node_modules/oxc-parser/src-js/wrap.js
|
|
10869
|
-
function wrap$1(result) {
|
|
10870
|
-
let program, module$1, comments, errors;
|
|
10871
|
-
return {
|
|
10872
|
-
get program() {
|
|
10873
|
-
if (!program) program = jsonParseAst(result.program);
|
|
10874
|
-
return program;
|
|
10875
|
-
},
|
|
10876
|
-
get module() {
|
|
10877
|
-
if (!module$1) module$1 = result.module;
|
|
10878
|
-
return module$1;
|
|
10879
|
-
},
|
|
10880
|
-
get comments() {
|
|
10881
|
-
if (!comments) comments = result.comments;
|
|
10882
|
-
return comments;
|
|
10883
|
-
},
|
|
10884
|
-
get errors() {
|
|
10885
|
-
if (!errors) errors = result.errors;
|
|
10886
|
-
return errors;
|
|
10887
|
-
}
|
|
10888
|
-
};
|
|
10889
|
-
}
|
|
10890
|
-
function jsonParseAst(programJson) {
|
|
10891
|
-
const { node: program, fixes } = JSON.parse(programJson);
|
|
10892
|
-
for (const fixPath of fixes) applyFix(program, fixPath);
|
|
10893
|
-
return program;
|
|
10894
|
-
}
|
|
10895
|
-
function applyFix(program, fixPath) {
|
|
10896
|
-
let node = program;
|
|
10897
|
-
for (const key of fixPath) node = node[key];
|
|
10898
|
-
if (node.bigint) node.value = BigInt(node.bigint);
|
|
10899
|
-
else try {
|
|
10900
|
-
node.value = RegExp(node.regex.pattern, node.regex.flags);
|
|
10901
|
-
} catch (_err) {}
|
|
10902
|
-
}
|
|
10903
|
-
|
|
10904
|
-
//#endregion
|
|
10905
|
-
//#region src/parse-ast-index.ts
|
|
10906
|
-
function wrap(result, sourceText) {
|
|
10907
|
-
result = wrap$1(result);
|
|
10908
|
-
if (result.errors.length > 0) return normalizeParseError(sourceText, result.errors);
|
|
10909
|
-
return result.program;
|
|
10910
|
-
}
|
|
10911
|
-
function normalizeParseError(sourceText, errors) {
|
|
10912
|
-
let message = `Parse failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`;
|
|
10913
|
-
for (let i = 0; i < errors.length; i++) {
|
|
10914
|
-
if (i >= 5) {
|
|
10915
|
-
message += "\n...";
|
|
10916
|
-
break;
|
|
10917
|
-
}
|
|
10918
|
-
const e = errors[i];
|
|
10919
|
-
message += e.message + "\n" + e.labels.map((label) => {
|
|
10920
|
-
const location = locate(sourceText, label.start, { offsetLine: 1 });
|
|
10921
|
-
if (!location) return;
|
|
10922
|
-
return getCodeFrame(sourceText, location.line, location.column);
|
|
10923
|
-
}).filter(Boolean).join("\n");
|
|
10924
|
-
}
|
|
10925
|
-
return error(logParseError(message));
|
|
10926
|
-
}
|
|
10927
|
-
const defaultParserOptions = {
|
|
10928
|
-
lang: "js",
|
|
10929
|
-
preserveParens: false
|
|
10930
|
-
};
|
|
10931
|
-
function parseAst(sourceText, options, filename) {
|
|
10932
|
-
return wrap(parseSync(filename ?? "file.js", sourceText, {
|
|
10933
|
-
...defaultParserOptions,
|
|
10934
|
-
...options
|
|
10935
|
-
}), sourceText);
|
|
10936
|
-
}
|
|
10937
|
-
async function parseAstAsync(sourceText, options, filename) {
|
|
10938
|
-
return wrap(await parseAsync(filename ?? "file.js", sourceText, {
|
|
10939
|
-
...defaultParserOptions,
|
|
10940
|
-
...options
|
|
10941
|
-
}), sourceText);
|
|
10942
|
-
}
|
|
10943
|
-
|
|
10944
|
-
//#endregion
|
|
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 };
|
|
10681
|
+
export { startAsyncRuntime as C, shutdownAsyncRuntime as S, isolatedDeclaration as _, BindingDevEngine as a, parseSync as b, BindingPluginOrder as c, BindingRebuildStrategy as d, BindingWatcher as f, initTraceSubscriber as g, createTokioRuntime as h, BindingChunkModuleOrderBy as i, BindingPropertyReadSideEffects as l, ResolverFactory as m, BindingBundler as n, BindingLogLevel as o, ParallelJsPluginRegistry as p, BindingCallableBuiltinPlugin as r, BindingMagicString as s, BindingAttachDebugInfo as t, BindingPropertyWriteSideEffects as u, moduleRunnerTransform as v, transform as w, registerPlugins as x, parseAsync as y };
|