@introspection-ai/recipes 0.35.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp-chunks/{auth-command-SDTBVC2R.js → auth-command-GMMLBU24.js} +23 -23
- package/dist/mcp-chunks/call-arguments-WSURHOLV.js +16 -0
- package/dist/mcp-chunks/{call-command-WOZT2DLX.js → call-command-2VF6IKAZ.js} +33 -33
- package/dist/mcp-chunks/{chunk-WQBESOWG.js → chunk-22WCLO4D.js} +7 -6
- package/dist/mcp-chunks/{chunk-2IO3FXZJ.js → chunk-2JTXIMGE.js} +1 -1
- package/dist/mcp-chunks/{chunk-SVCKS5MW.js → chunk-347GOMV4.js} +5 -5
- package/dist/mcp-chunks/{chunk-IR5SMKTP.js → chunk-35LLRCRA.js} +303 -128
- package/dist/mcp-chunks/{chunk-EIXFNLU6.js → chunk-3AAF3FSI.js} +1 -1
- package/dist/mcp-chunks/{chunk-TKZA4MPW.js → chunk-4PN2J74H.js} +4 -4
- package/dist/mcp-chunks/{chunk-FWWPRZ37.js → chunk-4U4BUXQD.js} +16 -16
- package/dist/mcp-chunks/{chunk-XDARNDP3.js → chunk-5OO6WVPL.js} +1 -1
- package/dist/mcp-chunks/{chunk-4IXQQER3.js → chunk-5UK2JLTN.js} +5 -5
- package/dist/mcp-chunks/{chunk-M7VINGHY.js → chunk-6TIU2CDB.js} +7 -7
- package/dist/mcp-chunks/{chunk-VRTH73R5.js → chunk-6XC5JJWD.js} +73 -36
- package/dist/mcp-chunks/{chunk-OURSGEZX.js → chunk-7BVYBZ4J.js} +8 -8
- package/dist/mcp-chunks/{chunk-HM26TIPK.js → chunk-7IVXKYTI.js} +42 -22
- package/dist/mcp-chunks/{chunk-CO4CYU5W.js → chunk-ANNJGB6F.js} +62 -32
- package/dist/mcp-chunks/{chunk-TL7V3OBY.js → chunk-BIVX2WFX.js} +3 -3
- package/dist/mcp-chunks/{chunk-JRU5LZJQ.js → chunk-C4TJGC4F.js} +1 -1
- package/dist/mcp-chunks/{chunk-7X3JHUMH.js → chunk-CN5KSNWG.js} +1 -1
- package/dist/mcp-chunks/{chunk-UXI26V4F.js → chunk-D2SZ7KRY.js} +1 -1
- package/dist/mcp-chunks/{chunk-VWNF5PIF.js → chunk-D65GOMYV.js} +2 -2
- package/dist/mcp-chunks/{chunk-27XDYSXJ.js → chunk-DBNBEWRX.js} +4 -1
- package/dist/mcp-chunks/{chunk-P3S4OJPI.js → chunk-DUBQHYW4.js} +9 -9
- package/dist/mcp-chunks/{chunk-FMYP6JXX.js → chunk-ENBJFQ6H.js} +1 -1
- package/dist/mcp-chunks/{chunk-YTO7DITJ.js → chunk-FLUF2FRN.js} +3 -3
- package/dist/mcp-chunks/{chunk-IJTZ2ZRM.js → chunk-HFHIY5TO.js} +4 -4
- package/dist/mcp-chunks/{chunk-35JUFDQI.js → chunk-HI6VG5LR.js} +2 -2
- package/dist/mcp-chunks/{chunk-7OQUF6V6.js → chunk-IHOU2BEL.js} +2 -2
- package/dist/mcp-chunks/{chunk-7CI6DKEP.js → chunk-IMXPLUKE.js} +20 -20
- package/dist/mcp-chunks/{chunk-UHXTAPEC.js → chunk-LISNXOIQ.js} +1 -1
- package/dist/mcp-chunks/{chunk-ASFI5AJK.js → chunk-LRGMFF5S.js} +7 -7
- package/dist/mcp-chunks/{chunk-ALLS7CUV.js → chunk-LUVLTUKR.js} +1 -1
- package/dist/mcp-chunks/{chunk-SONMFI3S.js → chunk-LZUKBEQZ.js} +12 -12
- package/dist/mcp-chunks/{chunk-FQAJT6U2.js → chunk-O2C3HXGS.js} +1 -1
- package/dist/mcp-chunks/{chunk-EIF7GALA.js → chunk-OI3RTQXY.js} +1 -1
- package/dist/mcp-chunks/{chunk-CRX2G22W.js → chunk-OSTHIELS.js} +1 -1
- package/dist/mcp-chunks/{chunk-R636HUNL.js → chunk-P5YLK5G2.js} +17 -12
- package/dist/mcp-chunks/{chunk-YGRORKGT.js → chunk-QDFL757K.js} +99 -74
- package/dist/mcp-chunks/{chunk-DUJ5WAHC.js → chunk-QNZGFUKC.js} +2 -2
- package/dist/mcp-chunks/{chunk-GJ7DWMRT.js → chunk-R4OYHQ4V.js} +1 -1
- package/dist/mcp-chunks/{chunk-7ZZZ7MR2.js → chunk-RHXZKYM7.js} +1 -1
- package/dist/mcp-chunks/{chunk-POYT6GCW.js → chunk-RKQC2EE6.js} +2 -2
- package/dist/mcp-chunks/{chunk-43QNQO5C.js → chunk-RZZO3ZD4.js} +4 -4
- package/dist/mcp-chunks/{chunk-FUKRLUU7.js → chunk-SS7V7GVT.js} +4 -4
- package/dist/mcp-chunks/{chunk-FVZKQMZS.js → chunk-TYL2NVXI.js} +2 -2
- package/dist/mcp-chunks/{chunk-TDBM2UIR.js → chunk-U5QZHPCC.js} +10 -1
- package/dist/mcp-chunks/{chunk-6XBQDCGX.js → chunk-UQUM7ICD.js} +36 -17
- package/dist/mcp-chunks/{chunk-JQCSGX6E.js → chunk-VWPKJFK4.js} +2 -5
- package/dist/mcp-chunks/{chunk-AHDUZPNI.js → chunk-WXNGATQ7.js} +1 -1
- package/dist/mcp-chunks/{chunk-VCPUZFU7.js → chunk-YFCNRWLV.js} +2 -2
- package/dist/mcp-chunks/{chunk-IWXEOLJL.js → chunk-YPSODIQX.js} +18 -18
- package/dist/mcp-chunks/{chunk-CMDB57MS.js → chunk-YWFQPA4D.js} +2 -2
- package/dist/mcp-chunks/{chunk-YM7ZVYI2.js → chunk-ZI5XYM4C.js} +23 -7
- package/dist/mcp-chunks/{chunk-UYG7PAN2.js → chunk-ZJWZY54X.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZLV5S5UP.js → chunk-ZXIF7MKN.js} +2 -2
- package/dist/mcp-chunks/{cli-67GWFF4R.js → cli-4OQD3H4N.js} +77 -70
- package/dist/mcp-chunks/client-LXKCCVMT.js +31 -0
- package/dist/mcp-chunks/{config-command-3IKIRWMW.js → config-command-72TCIWPV.js} +63 -36
- package/dist/mcp-chunks/daemon-command-QHS3ACBM.js +31 -0
- package/dist/mcp-chunks/{dist-YL3LFKVP.js → dist-74UCKZK5.js} +95 -69
- package/dist/mcp-chunks/{emit-ts-command-YWKROLL2.js → emit-ts-command-KD4ON2SE.js} +34 -22
- package/dist/mcp-chunks/{generate-cli-runner-CZEVY2Y7.js → generate-cli-runner-HWGI6HPL.js} +55 -49
- package/dist/mcp-chunks/generated-daemon-runtime-7ORS5KBR.js +31 -0
- package/dist/mcp-chunks/{inspect-cli-command-5Y2LORK5.js → inspect-cli-command-FT5JSB7V.js} +9 -9
- package/dist/mcp-chunks/{launch-43TA3HYF.js → launch-AHLKP2VM.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-BY2ILXTB.js → lifecycle-BJDITFWN.js} +1 -1
- package/dist/mcp-chunks/{list-command-7RU7NNAV.js → list-command-YKF7RN6Y.js} +30 -30
- package/dist/mcp-chunks/{output-utils-2R3SA6KR.js → output-utils-LYB5IJRD.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-GKQOEUY4.js → prompt-CH6TK0bC-B3USYOND.js} +1 -1
- package/dist/mcp-chunks/{record-command-ROIRRNFS.js → record-command-MJW3Z5E5.js} +5 -5
- package/dist/mcp-chunks/{replay-command-Y2MYVQTL.js → replay-command-5ZHBUOLE.js} +6 -6
- package/dist/mcp-chunks/{resource-command-VUV7AYYQ.js → resource-command-L4I24AX5.js} +9 -9
- package/dist/mcp-chunks/{result-utils-5U7NVXDZ.js → result-utils-5WRI66KV.js} +3 -3
- package/dist/mcp-chunks/runtime-IKWDQLZF.js +38 -0
- package/dist/mcp-chunks/{runtime-wrapper-3BVFTSWJ.js → runtime-wrapper-WFMNIHD5.js} +3 -3
- package/dist/mcp-chunks/{serve-command-BXLQWHFW.js → serve-command-KNCSJUXS.js} +185 -78
- package/dist/mcp-chunks/{timeouts-6GL2F44N.js → timeouts-2ZHGSB3R.js} +3 -3
- package/dist/mcp-chunks/{vault-command-JCMW3DQA.js → vault-command-7EDL45AA.js} +4 -4
- package/dist/mcp-chunks/{webapi-UMWFGMQV.js → webapi-NNCZGUMZ.js} +46 -46
- package/dist/mcp-daemon.js +27 -27
- package/dist/mcp-run-worker.js +27 -27
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +8 -1
- package/dist/pi-extension.js.map +1 -1
- package/docs/slack.md +6 -0
- package/package.json +10 -10
- package/dist/mcp-chunks/call-arguments-ER7NWEPS.js +0 -16
- package/dist/mcp-chunks/client-MQMNAYYW.js +0 -31
- package/dist/mcp-chunks/daemon-command-OMOZ5MP7.js +0 -31
- package/dist/mcp-chunks/generated-daemon-runtime-SRFULTIT.js +0 -31
- package/dist/mcp-chunks/runtime-Q4SCCOQE.js +0 -38
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import "./chunk-LRKZP7DJ.js";
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
4
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/binding-DlR5d34p.mjs
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
var __create = Object.create;
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
@@ -26,18 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
var __require = /* @__PURE__ */ (() => createRequire(import.meta.url))();
|
|
28
28
|
var require_webcontainer_fallback = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
29
|
-
const
|
|
29
|
+
const fs = __require("node:fs");
|
|
30
30
|
const childProcess = __require("node:child_process");
|
|
31
|
-
const version2 = JSON.parse(
|
|
31
|
+
const version2 = JSON.parse(fs.readFileSync(__require.resolve("rolldown/package.json"), "utf-8")).version;
|
|
32
32
|
const baseDir = `/tmp/rolldown-${version2}`;
|
|
33
33
|
const bindingEntry = `${baseDir}/node_modules/@rolldown/binding-wasm32-wasi/rolldown-binding.wasi.cjs`;
|
|
34
|
-
if (!
|
|
34
|
+
if (!fs.existsSync(bindingEntry)) {
|
|
35
35
|
const bindingPkg = `@rolldown/binding-wasm32-wasi@${version2}`;
|
|
36
|
-
|
|
36
|
+
fs.rmSync(baseDir, {
|
|
37
37
|
recursive: true,
|
|
38
38
|
force: true
|
|
39
39
|
});
|
|
40
|
-
|
|
40
|
+
fs.mkdirSync(baseDir, { recursive: true });
|
|
41
41
|
console.log(`[rolldown] Downloading ${bindingPkg} on WebContainer...`);
|
|
42
42
|
childProcess.execFileSync("pnpm", ["i", bindingPkg], {
|
|
43
43
|
cwd: baseDir,
|
|
@@ -106,7 +106,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
106
106
|
try {
|
|
107
107
|
const binding = __require("@rolldown/binding-android-arm64");
|
|
108
108
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
|
|
109
|
-
if (bindingPackageVersion !== "1.2.
|
|
109
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
110
110
|
return binding;
|
|
111
111
|
} catch (e2) {
|
|
112
112
|
loadErrors.push(e2);
|
|
@@ -120,7 +120,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
120
120
|
try {
|
|
121
121
|
const binding = __require("@rolldown/binding-android-arm-eabi");
|
|
122
122
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
|
|
123
|
-
if (bindingPackageVersion !== "1.2.
|
|
123
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
124
124
|
return binding;
|
|
125
125
|
} catch (e2) {
|
|
126
126
|
loadErrors.push(e2);
|
|
@@ -137,7 +137,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
137
137
|
try {
|
|
138
138
|
const binding = __require("@rolldown/binding-win32-x64-gnu");
|
|
139
139
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
|
|
140
|
-
if (bindingPackageVersion !== "1.2.
|
|
140
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
141
141
|
return binding;
|
|
142
142
|
} catch (e2) {
|
|
143
143
|
loadErrors.push(e2);
|
|
@@ -151,7 +151,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
151
151
|
try {
|
|
152
152
|
const binding = __require("@rolldown/binding-win32-x64-msvc");
|
|
153
153
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
|
|
154
|
-
if (bindingPackageVersion !== "1.2.
|
|
154
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
155
155
|
return binding;
|
|
156
156
|
} catch (e2) {
|
|
157
157
|
loadErrors.push(e2);
|
|
@@ -166,7 +166,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
166
166
|
try {
|
|
167
167
|
const binding = __require("@rolldown/binding-win32-ia32-msvc");
|
|
168
168
|
const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
|
|
169
|
-
if (bindingPackageVersion !== "1.2.
|
|
169
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
170
170
|
return binding;
|
|
171
171
|
} catch (e2) {
|
|
172
172
|
loadErrors.push(e2);
|
|
@@ -180,7 +180,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
180
180
|
try {
|
|
181
181
|
const binding = __require("@rolldown/binding-win32-arm64-msvc");
|
|
182
182
|
const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
|
|
183
|
-
if (bindingPackageVersion !== "1.2.
|
|
183
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
184
184
|
return binding;
|
|
185
185
|
} catch (e2) {
|
|
186
186
|
loadErrors.push(e2);
|
|
@@ -195,7 +195,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
195
195
|
try {
|
|
196
196
|
const binding = __require("@rolldown/binding-darwin-universal");
|
|
197
197
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
|
|
198
|
-
if (bindingPackageVersion !== "1.2.
|
|
198
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
199
199
|
return binding;
|
|
200
200
|
} catch (e2) {
|
|
201
201
|
loadErrors.push(e2);
|
|
@@ -209,7 +209,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
209
209
|
try {
|
|
210
210
|
const binding = __require("@rolldown/binding-darwin-x64");
|
|
211
211
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
|
|
212
|
-
if (bindingPackageVersion !== "1.2.
|
|
212
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
213
213
|
return binding;
|
|
214
214
|
} catch (e2) {
|
|
215
215
|
loadErrors.push(e2);
|
|
@@ -223,7 +223,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
223
223
|
try {
|
|
224
224
|
const binding = __require("@rolldown/binding-darwin-arm64");
|
|
225
225
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
|
|
226
|
-
if (bindingPackageVersion !== "1.2.
|
|
226
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
227
227
|
return binding;
|
|
228
228
|
} catch (e2) {
|
|
229
229
|
loadErrors.push(e2);
|
|
@@ -239,7 +239,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
239
239
|
try {
|
|
240
240
|
const binding = __require("@rolldown/binding-freebsd-x64");
|
|
241
241
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
|
|
242
|
-
if (bindingPackageVersion !== "1.2.
|
|
242
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
243
243
|
return binding;
|
|
244
244
|
} catch (e2) {
|
|
245
245
|
loadErrors.push(e2);
|
|
@@ -253,7 +253,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
253
253
|
try {
|
|
254
254
|
const binding = __require("@rolldown/binding-freebsd-arm64");
|
|
255
255
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
|
|
256
|
-
if (bindingPackageVersion !== "1.2.
|
|
256
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
257
257
|
return binding;
|
|
258
258
|
} catch (e2) {
|
|
259
259
|
loadErrors.push(e2);
|
|
@@ -270,7 +270,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
270
270
|
try {
|
|
271
271
|
const binding = __require("@rolldown/binding-linux-x64-musl");
|
|
272
272
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
|
|
273
|
-
if (bindingPackageVersion !== "1.2.
|
|
273
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
274
274
|
return binding;
|
|
275
275
|
} catch (e2) {
|
|
276
276
|
loadErrors.push(e2);
|
|
@@ -284,7 +284,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
284
284
|
try {
|
|
285
285
|
const binding = __require("@rolldown/binding-linux-x64-gnu");
|
|
286
286
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
|
|
287
|
-
if (bindingPackageVersion !== "1.2.
|
|
287
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
288
288
|
return binding;
|
|
289
289
|
} catch (e2) {
|
|
290
290
|
loadErrors.push(e2);
|
|
@@ -300,7 +300,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
300
300
|
try {
|
|
301
301
|
const binding = __require("@rolldown/binding-linux-arm64-musl");
|
|
302
302
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
|
|
303
|
-
if (bindingPackageVersion !== "1.2.
|
|
303
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
304
304
|
return binding;
|
|
305
305
|
} catch (e2) {
|
|
306
306
|
loadErrors.push(e2);
|
|
@@ -314,7 +314,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
314
314
|
try {
|
|
315
315
|
const binding = __require("@rolldown/binding-linux-arm64-gnu");
|
|
316
316
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
|
|
317
|
-
if (bindingPackageVersion !== "1.2.
|
|
317
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
318
318
|
return binding;
|
|
319
319
|
} catch (e2) {
|
|
320
320
|
loadErrors.push(e2);
|
|
@@ -330,7 +330,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
330
330
|
try {
|
|
331
331
|
const binding = __require("@rolldown/binding-linux-arm-musleabihf");
|
|
332
332
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
|
|
333
|
-
if (bindingPackageVersion !== "1.2.
|
|
333
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
334
334
|
return binding;
|
|
335
335
|
} catch (e2) {
|
|
336
336
|
loadErrors.push(e2);
|
|
@@ -344,7 +344,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
344
344
|
try {
|
|
345
345
|
const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
|
|
346
346
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
|
|
347
|
-
if (bindingPackageVersion !== "1.2.
|
|
347
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
348
348
|
return binding;
|
|
349
349
|
} catch (e2) {
|
|
350
350
|
loadErrors.push(e2);
|
|
@@ -360,7 +360,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
360
360
|
try {
|
|
361
361
|
const binding = __require("@rolldown/binding-linux-loong64-musl");
|
|
362
362
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
|
|
363
|
-
if (bindingPackageVersion !== "1.2.
|
|
363
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
364
364
|
return binding;
|
|
365
365
|
} catch (e2) {
|
|
366
366
|
loadErrors.push(e2);
|
|
@@ -374,7 +374,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
374
374
|
try {
|
|
375
375
|
const binding = __require("@rolldown/binding-linux-loong64-gnu");
|
|
376
376
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
|
|
377
|
-
if (bindingPackageVersion !== "1.2.
|
|
377
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
378
378
|
return binding;
|
|
379
379
|
} catch (e2) {
|
|
380
380
|
loadErrors.push(e2);
|
|
@@ -390,7 +390,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
390
390
|
try {
|
|
391
391
|
const binding = __require("@rolldown/binding-linux-riscv64-musl");
|
|
392
392
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
|
|
393
|
-
if (bindingPackageVersion !== "1.2.
|
|
393
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
394
394
|
return binding;
|
|
395
395
|
} catch (e2) {
|
|
396
396
|
loadErrors.push(e2);
|
|
@@ -404,7 +404,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
404
404
|
try {
|
|
405
405
|
const binding = __require("@rolldown/binding-linux-riscv64-gnu");
|
|
406
406
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
|
|
407
|
-
if (bindingPackageVersion !== "1.2.
|
|
407
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
408
408
|
return binding;
|
|
409
409
|
} catch (e2) {
|
|
410
410
|
loadErrors.push(e2);
|
|
@@ -419,7 +419,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
419
419
|
try {
|
|
420
420
|
const binding = __require("@rolldown/binding-linux-ppc64-gnu");
|
|
421
421
|
const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
|
|
422
|
-
if (bindingPackageVersion !== "1.2.
|
|
422
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
423
423
|
return binding;
|
|
424
424
|
} catch (e2) {
|
|
425
425
|
loadErrors.push(e2);
|
|
@@ -433,7 +433,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
433
433
|
try {
|
|
434
434
|
const binding = __require("@rolldown/binding-linux-s390x-gnu");
|
|
435
435
|
const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
|
|
436
|
-
if (bindingPackageVersion !== "1.2.
|
|
436
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
437
437
|
return binding;
|
|
438
438
|
} catch (e2) {
|
|
439
439
|
loadErrors.push(e2);
|
|
@@ -449,7 +449,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
449
449
|
try {
|
|
450
450
|
const binding = __require("@rolldown/binding-openharmony-arm64");
|
|
451
451
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
|
|
452
|
-
if (bindingPackageVersion !== "1.2.
|
|
452
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
453
453
|
return binding;
|
|
454
454
|
} catch (e2) {
|
|
455
455
|
loadErrors.push(e2);
|
|
@@ -463,7 +463,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
463
463
|
try {
|
|
464
464
|
const binding = __require("@rolldown/binding-openharmony-x64");
|
|
465
465
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
|
|
466
|
-
if (bindingPackageVersion !== "1.2.
|
|
466
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
467
467
|
return binding;
|
|
468
468
|
} catch (e2) {
|
|
469
469
|
loadErrors.push(e2);
|
|
@@ -477,7 +477,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
477
477
|
try {
|
|
478
478
|
const binding = __require("@rolldown/binding-openharmony-arm");
|
|
479
479
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
|
|
480
|
-
if (bindingPackageVersion !== "1.2.
|
|
480
|
+
if (bindingPackageVersion !== "1.2.13" && 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.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
481
481
|
return binding;
|
|
482
482
|
} catch (e2) {
|
|
483
483
|
loadErrors.push(e2);
|
|
@@ -568,7 +568,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
568
568
|
if (!candidateFailed) {
|
|
569
569
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
570
570
|
const bindingPackageVersion = __require("@rolldown/binding-wasm32-wasi/package.json").version;
|
|
571
|
-
if (bindingPackageVersion !== "1.2.
|
|
571
|
+
if (bindingPackageVersion !== "1.2.13") throw new Error(`WASI binding package version mismatch, expected 1.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
572
572
|
}
|
|
573
573
|
wasiBinding = __require("@rolldown/binding-wasm32-wasi");
|
|
574
574
|
nativeBinding = wasiBinding;
|
|
@@ -675,7 +675,6 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
675
675
|
module.exports.ParallelJsPluginRegistry = nativeBinding.ParallelJsPluginRegistry;
|
|
676
676
|
module.exports.TraceSubscriberGuard = nativeBinding.TraceSubscriberGuard;
|
|
677
677
|
module.exports.TsconfigCache = nativeBinding.TsconfigCache;
|
|
678
|
-
module.exports.__internalForcePanic = nativeBinding.__internalForcePanic;
|
|
679
678
|
module.exports.BindingAttachDebugInfo = nativeBinding.BindingAttachDebugInfo;
|
|
680
679
|
module.exports.BindingBuiltinPluginName = nativeBinding.BindingBuiltinPluginName;
|
|
681
680
|
module.exports.BindingChunkModuleOrderBy = nativeBinding.BindingChunkModuleOrderBy;
|
|
@@ -698,7 +697,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
698
697
|
module.exports.startAsyncRuntime = nativeBinding.startAsyncRuntime;
|
|
699
698
|
}));
|
|
700
699
|
|
|
701
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
700
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/logs-D6uA606S.mjs
|
|
702
701
|
function spaces(index) {
|
|
703
702
|
let result = "";
|
|
704
703
|
while (index--) result += " ";
|
|
@@ -873,7 +872,7 @@ function augmentCodeLocation(properties, pos, source, id2) {
|
|
|
873
872
|
}
|
|
874
873
|
}
|
|
875
874
|
|
|
876
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
875
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/normalize-string-or-regex-B7Gsiuz7.mjs
|
|
877
876
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
878
877
|
var BuiltinPlugin = class {
|
|
879
878
|
name;
|
|
@@ -912,7 +911,7 @@ function isReadonlyArray(input) {
|
|
|
912
911
|
return Array.isArray(input);
|
|
913
912
|
}
|
|
914
913
|
|
|
915
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
914
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/misc-DOSKtd97.mjs
|
|
916
915
|
function arraify(value) {
|
|
917
916
|
return Array.isArray(value) ? value : [value];
|
|
918
917
|
}
|
|
@@ -934,7 +933,7 @@ function isPathFragment(name) {
|
|
|
934
933
|
return name[0] === "/" || name[0] === "." && (name[1] === "/" || name[1] === ".") || ABSOLUTE_PATH_REGEX.test(name);
|
|
935
934
|
}
|
|
936
935
|
|
|
937
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
936
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/error-Dsqzw0Oa.mjs
|
|
938
937
|
function bindingifySourcemap(map) {
|
|
939
938
|
if (map == null) return;
|
|
940
939
|
return { inner: typeof map === "string" ? map : {
|
|
@@ -944,6 +943,7 @@ function bindingifySourcemap(map) {
|
|
|
944
943
|
sources: map.sources?.map((s2) => s2 ?? void 0),
|
|
945
944
|
sourcesContent: map.sourcesContent?.map((s2) => s2 ?? void 0),
|
|
946
945
|
names: map.names,
|
|
946
|
+
ignoreList: map.ignoreList,
|
|
947
947
|
x_google_ignoreList: map.x_google_ignoreList,
|
|
948
948
|
debugId: "debugId" in map ? map.debugId : void 0
|
|
949
949
|
} };
|
|
@@ -1014,7 +1014,7 @@ function joinNewLine(s1, s2) {
|
|
|
1014
1014
|
return s1.replace(/\n+$/, "") + "\n" + s2.replace(/^\n+/, "");
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
1017
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/parse-CbPMgY6t.mjs
|
|
1018
1018
|
var import_binding2 = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
1019
1019
|
function wrap(result) {
|
|
1020
1020
|
let program, module, comments, errors;
|
|
@@ -1055,7 +1055,7 @@ function parseSync(filename, sourceText, options) {
|
|
|
1055
1055
|
return wrap((0, import_binding2.parseSync)(filename, sourceText, options));
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
1058
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/parse-ast-index.mjs
|
|
1059
1059
|
function wrap2(result, filename, sourceText) {
|
|
1060
1060
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
|
1061
1061
|
return result.program;
|
|
@@ -1091,8 +1091,7 @@ function parseAst(sourceText, options, filename) {
|
|
|
1091
1091
|
}), filename, sourceText);
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
1095
|
-
import fs from "node:fs";
|
|
1094
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/bindingify-input-options-C0gEvtnB.mjs
|
|
1096
1095
|
import path from "node:path";
|
|
1097
1096
|
|
|
1098
1097
|
// node_modules/.pnpm/@rolldown+pluginutils@1.0.1/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs
|
|
@@ -1178,10 +1177,9 @@ function exclude(expr) {
|
|
|
1178
1177
|
return new Exclude(expr);
|
|
1179
1178
|
}
|
|
1180
1179
|
|
|
1181
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
1180
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/bindingify-input-options-C0gEvtnB.mjs
|
|
1182
1181
|
import fsp from "node:fs/promises";
|
|
1183
|
-
|
|
1184
|
-
var version = "1.2.11";
|
|
1182
|
+
var version = "1.2.13";
|
|
1185
1183
|
var VERSION = version;
|
|
1186
1184
|
var LOG_LEVEL_SILENT = "silent";
|
|
1187
1185
|
var LOG_LEVEL_WARN = "warn";
|
|
@@ -1483,6 +1481,12 @@ function transformToRollupSourceMap(map) {
|
|
|
1483
1481
|
return `data:application/json;charset=utf-8;base64,${Buffer.from(obj.toString(), "utf-8").toString("base64")}`;
|
|
1484
1482
|
}
|
|
1485
1483
|
};
|
|
1484
|
+
Object.defineProperty(obj, "x_google_ignoreList", {
|
|
1485
|
+
get: () => obj.ignoreList,
|
|
1486
|
+
set: (value) => {
|
|
1487
|
+
obj.ignoreList = value;
|
|
1488
|
+
}
|
|
1489
|
+
});
|
|
1486
1490
|
return obj;
|
|
1487
1491
|
}
|
|
1488
1492
|
function transformToRollupOutputChunk(bindingChunk) {
|
|
@@ -2639,7 +2643,7 @@ function bindingifyRenderChunk(args2) {
|
|
|
2639
2643
|
return bindingifyHook(args2.plugin.renderChunk, ({ handler, options }) => ({
|
|
2640
2644
|
plugin: async (ctx, code2, chunk, opts, meta) => {
|
|
2641
2645
|
if (args2.pluginContextData.getRenderChunkMeta() == null) args2.pluginContextData.setRenderChunkMeta({ chunks: Object.fromEntries(Object.entries(meta.chunks).map(([key, value]) => [key, transformRenderedChunk(value)])) });
|
|
2642
|
-
const renderChunkMeta = args2.pluginContextData.getRenderChunkMeta();
|
|
2646
|
+
const renderChunkMeta = { chunks: args2.pluginContextData.getRenderChunkMeta().chunks };
|
|
2643
2647
|
let magicStringInstance;
|
|
2644
2648
|
if (args2.options.experimental?.nativeMagicString) Object.defineProperty(renderChunkMeta, "magicString", {
|
|
2645
2649
|
get() {
|
|
@@ -2803,12 +2807,12 @@ function extractHookUsage(plugin) {
|
|
|
2803
2807
|
if (plugin.closeBundle) hookUsage.union(8192);
|
|
2804
2808
|
if (plugin.watchChange) hookUsage.union(16384);
|
|
2805
2809
|
if (plugin.closeWatcher) hookUsage.union(32768);
|
|
2806
|
-
if (plugin.banner) hookUsage.union(
|
|
2807
|
-
if (plugin.footer) hookUsage.union(
|
|
2808
|
-
if (plugin.intro) hookUsage.union(
|
|
2809
|
-
if (plugin.outro) hookUsage.union(
|
|
2810
|
-
if (plugin.resolveFileUrl) hookUsage.union(
|
|
2811
|
-
if (plugin.hotUpdate) hookUsage.union(
|
|
2810
|
+
if (plugin.banner) hookUsage.union(65536);
|
|
2811
|
+
if (plugin.footer) hookUsage.union(131072);
|
|
2812
|
+
if (plugin.intro) hookUsage.union(262144);
|
|
2813
|
+
if (plugin.outro) hookUsage.union(524288);
|
|
2814
|
+
if (plugin.resolveFileUrl) hookUsage.union(1048576);
|
|
2815
|
+
if (plugin.hotUpdate) hookUsage.union(2097152);
|
|
2812
2816
|
return hookUsage;
|
|
2813
2817
|
}
|
|
2814
2818
|
var OVERLAP_TOLERANCE = 0.01;
|
|
@@ -3083,11 +3087,7 @@ function normalizeTransformOptions(inputOptions) {
|
|
|
3083
3087
|
};
|
|
3084
3088
|
}
|
|
3085
3089
|
function getDefaultDevRuntime(host = "localhost", port = 3e3) {
|
|
3086
|
-
const runtimeEntry = fs.readFileSync(fileURLToPath(import.meta.resolve("#runtime")), "utf8");
|
|
3087
|
-
const runtimeHelperImportEnd = runtimeEntry.indexOf("\n");
|
|
3088
|
-
if (!runtimeEntry.startsWith("import ") || runtimeHelperImportEnd === -1) throw new Error("Expected the standalone runtime to start with a helper import");
|
|
3089
|
-
return `${runtimeEntry.slice(runtimeHelperImportEnd + 1)}
|
|
3090
|
-
${fs.readFileSync(fileURLToPath(import.meta.resolve("#default-runtime")), "utf8").replaceAll("$ADDR", `${host}:${port}`)}`;
|
|
3090
|
+
return "// @ts-check\n\nclass Module {\n /**\n * @type {{ exports: any }}\n */\n exportsHolder = { exports: null };\n /**\n * @type {string}\n */\n id;\n\n /**\n * @param {string} id\n */\n constructor(id) {\n this.id = id;\n }\n\n get exports() {\n return this.exportsHolder.exports;\n }\n}\n\n/**\n * Compiler-emitted module-graph delta \u2014 topology (static + dynamic edges).\n * `ids[0, localCount)` are the modules this payload carries; `ids[localCount, \u2026)` are foreign edge targets.\n * `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.\n * `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds\n * only some rows; a missing row, or a missing or `null` entry, means the whole namespace.\n * `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.\n * `stamps[i]` is the rebuild stamp of `ids[i]`; a missing row means 0.\n * @typedef {{ ids: string[], localCount: number, edges: number[][], bindings?: Record<number, (string[] | null)[]>, dynamicEdges?: Record<number, number[]>, stamps?: Record<number, number> }} ModuleGraphDelta\n * @typedef {{ createModuleHotContext(moduleId: string): any, onModuleCacheRemoval(moduleId: string): void }} DevRuntimeHooks\n */\n\nexport class MissingFactoryError extends Error {\n /**\n * @param {string} id\n */\n constructor(id) {\n super(`No factory registered for module ${id}`);\n this.id = id;\n }\n}\n\nexport class DevRuntime {\n /**\n * Client ID generated at runtime initialization, used for lazy compilation requests.\n * @type {string}\n */\n clientId;\n\n /**\n * @param {string} clientId\n */\n constructor(clientId) {\n this.clientId = clientId;\n }\n\n /**\n * Static import edges from `registerGraph` \u2014 entries persist across `removeModuleCache`\n * and change only by replacement from a newer payload (last write wins).\n * `bindings` is the payload row as sent; `getImportedBindings` resolves a missing entry.\n * @type {Map<string, { edges: string[], bindings: (string[] | null)[] | undefined }>}\n */\n staticImports = new Map();\n /**\n * Reverse index over the static imports.\n * @type {Map<string, Set<string>>}\n */\n importers = new Map();\n /**\n * Dynamic `import()` edges from `registerGraph`, keyed by importer \u2014 mirror of\n * `staticImports` for the dynamic reverse index.\n * @type {Map<string, { edges: string[] }>}\n */\n dynamicImports = new Map();\n /**\n * Reverse index over the dynamic imports.\n * @type {Map<string, Set<string>>}\n */\n dynamicImporters = new Map();\n /**\n * The module cache. Membership means \"this module's side effects ran in this tab\" \u2014\n * registration is emitted ahead of every module body, and nothing un-registers on\n * unwind, so a factory that throws mid-body stays registered. A `Map` rather than a\n * plain object: HMR eviction deletes entries, and a `delete` on an object drops V8\n * into dictionary mode, taxing every later lookup on the hottest read path.\n * @type {Map<string, Module>}\n */\n moduleCache = new Map();\n /**\n * Re-runnable factories from HMR patches and lazy chunks. The initial bundle stays\n * scope-hoisted and contributes none.\n * @type {Map<string, (id: string) => void>}\n */\n factories = new Map();\n /**\n * A late payload (a slow lazy chunk after an HMR patch) must not replace newer rows or\n * factories.\n * @type {Map<string, number>}\n */\n rowStamps = new Map();\n /** @type {Map<string, number>} */\n factoryStamps = new Map();\n /**\n * Installed by the dev client at boot. The runtime is a store + executor and makes\n * no HMR decisions; accepting, disposing, and reloading live behind these hooks.\n * @type {DevRuntimeHooks | null}\n */\n hooks = null;\n\n /**\n * @param {ModuleGraphDelta} delta\n */\n registerGraph(delta) {\n for (let i = 0; i < delta.localCount; i++) {\n const id = delta.ids[i];\n if (delta.stamps) {\n const stamp = delta.stamps[i] ?? 0;\n if (stamp < (this.rowStamps.get(id) ?? 0)) continue;\n this.rowStamps.set(id, stamp);\n } else {\n // A full-build chunk has no stamps. It runs its code right away, so its row always\n // replaces the old one.\n this.rowStamps.delete(id);\n }\n const edges = delta.edges[i].map((j) => delta.ids[j]);\n for (const target of this.staticImports.get(id)?.edges ?? []) {\n this.importers.get(target)?.delete(id);\n }\n for (const target of edges) {\n let importerSet = this.importers.get(target);\n if (!importerSet) {\n importerSet = new Set();\n this.importers.set(target, importerSet);\n }\n importerSet.add(id);\n }\n this.staticImports.set(id, { edges, bindings: delta.bindings?.[i] });\n\n // Dynamic `import()` edges are maintained in a parallel reverse index with the same\n // last-write-wins bookkeeping; `getImporters` unions the two.\n const dynamicEdges = (delta.dynamicEdges?.[i] ?? []).map((j) => delta.ids[j]);\n for (const target of this.dynamicImports.get(id)?.edges ?? []) {\n this.dynamicImporters.get(target)?.delete(id);\n }\n for (const target of dynamicEdges) {\n let importerSet = this.dynamicImporters.get(target);\n if (!importerSet) {\n importerSet = new Set();\n this.dynamicImporters.set(target, importerSet);\n }\n importerSet.add(id);\n }\n this.dynamicImports.set(id, { edges: dynamicEdges });\n }\n }\n\n /**\n * @param {string} id\n * @param {(id: string) => void} fn\n * @param {number} [stamp]\n */\n registerFactory(id, fn, stamp = 0) {\n if (stamp < (this.factoryStamps.get(id) ?? 0)) return;\n this.factoryStamps.set(id, stamp);\n this.factories.set(id, fn);\n }\n\n /**\n * @param {string} id\n * @param {{ exports: any }} [exportsHolder]\n */\n registerModule(id, exportsHolder = { exports: {} }) {\n const module = new Module(id);\n module.exportsHolder = exportsHolder;\n this.moduleCache.set(id, module);\n }\n\n /**\n * @param {string} id\n * @returns {string[]}\n */\n getImporters(id) {\n // Static \u222A dynamic importers \u2014 the boundary walk treats both kinds the same (parity\n // with Vite `node.importers` / webpack `module.parents`). Deduped so a module that\n // imports `id` both statically and via `import()` appears once.\n const dynamic = this.dynamicImporters.get(id);\n if (!dynamic || dynamic.size === 0) {\n return [...(this.importers.get(id) ?? [])];\n }\n return [...new Set([...(this.importers.get(id) ?? []), ...dynamic])];\n }\n\n /**\n * `\"*\"` means the whole namespace, an empty list a side-effect-only import, `undefined` no edge.\n * @param {string} importer\n * @param {string} id\n * @returns {string[] | undefined}\n */\n getImportedBindings(importer, id) {\n const record = this.staticImports.get(importer);\n const j = record ? record.edges.indexOf(id) : -1;\n const names = j === -1 ? undefined : (record?.bindings?.[j] ?? ['*']);\n if (!this.dynamicImports.get(importer)?.edges.includes(id)) {\n return names;\n }\n if (!names) return ['*'];\n return names.includes('*') ? names : [...names, '*'];\n }\n\n /**\n * @param {string} id\n */\n isExecuted(id) {\n return this.moduleCache.has(id);\n }\n\n /**\n * @param {string} id\n */\n hasFactory(id) {\n return this.factories.has(id);\n }\n\n /**\n * Module-cache delete only \u2014 static imports and factories persist. Removal is what\n * re-arms a cache-gated factory for `initModule`.\n * @param {string} id\n */\n removeModuleCache(id) {\n this.moduleCache.delete(id);\n this.hooks?.onModuleCacheRemoval(id);\n }\n\n /**\n * The one re-execution gate: registered \u2192 return the live exports; otherwise run the\n * mapped factory (which registers itself first, then runs the body).\n * @param {string} id\n */\n initModule(id) {\n if (this.moduleCache.has(id)) {\n return this.loadExports(id);\n }\n const factory = this.factories.get(id);\n if (!factory) {\n throw new MissingFactoryError(id);\n }\n factory(id);\n return this.loadExports(id);\n }\n\n /**\n * @param {string} id\n */\n loadExports(id) {\n const module = this.moduleCache.get(id);\n if (module) {\n return module.exportsHolder.exports;\n } else {\n console.warn(`Module ${id} not found`);\n return {};\n }\n }\n\n /**\n * @param {string} moduleId\n */\n createModuleHotContext(moduleId) {\n if (this.hooks) {\n return this.hooks.createModuleHotContext(moduleId);\n }\n throw new Error('createModuleHotContext requires installed hooks or an override');\n }\n\n /** @internal */\n // @ts-expect-error The variable will be injected at build time.\n __toESM = __toESM;\n /** @internal */\n // @ts-expect-error The variable will be injected at build time.\n __toCommonJS = __toCommonJS;\n /** @internal */\n // @ts-expect-error The variable will be injected at build time.\n __exportAll = __exportAll;\n /**\n * @param {boolean} [isNodeMode]\n * @returns {(mod: any) => any}\n * @internal\n */\n // @ts-expect-error The variable will be injected at build time.\n __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);\n /** @internal */\n // @ts-expect-error The variable will be injected at build time.\n __reExport = __reExport;\n}\n\n// @ts-check\n\n/** @import { DevRuntime } from './runtime-extra-dev-common.js' */\n\n/** @type {typeof DevRuntime} */\n// @ts-expect-error -- there's no way to declare a variable by JSDoc\nvar BaseDevRuntime = DevRuntime;\n\nclass ModuleHotContext {\n /**\n * @type {{ deps: [string], fn: (moduleExports: Record<string, any>[]) => void }[]}\n */\n acceptCallbacks = [];\n /**\n * @param {string} moduleId\n * @param {InstanceType<BaseDevRuntime>} devRuntime\n */\n constructor(moduleId, devRuntime) {\n this.moduleId = moduleId;\n this.devRuntime = devRuntime;\n }\n\n /**\n * @overload\n * @param {(mod: Record<string, any>) => void} cb\n * @returns {void}\n */\n /**\n * @param {...any} args\n * @returns {void}\n */\n accept(...args) {\n if (args.length === 1) {\n const [cb] = /** @type {[(mod: Record<string, any>) => void]} */ (args);\n const acceptingPath = this.moduleId;\n this.acceptCallbacks.push({\n deps: [acceptingPath],\n fn: cb,\n });\n } else if (args.length === 0) {}\n else {\n throw new Error('Invalid arguments for `import.meta.hot.accept`');\n }\n }\n\n invalidate() {\n socket.send(JSON.stringify({\n type: 'hmr:invalidate',\n moduleId: this.moduleId,\n }));\n }\n}\n\nclass DefaultDevRuntime extends BaseDevRuntime {\n /**\n * @type {Map<string, ModuleHotContext>}\n */\n moduleHotContexts = new Map();\n /**\n * @override\n * @param {string} moduleId\n */\n createModuleHotContext(moduleId) {\n const hotContext = new ModuleHotContext(moduleId, this);\n this.moduleHotContexts.set(moduleId, hotContext);\n return hotContext;\n }\n}\n\n/** @param {string} url */\nfunction loadScript(url) {\n var script = document.createElement('script');\n script.src = url;\n script.type = 'module';\n script.onerror = function() {\n console.error('Failed to load script: ' + url);\n };\n document.body.appendChild(script);\n}\n\nconsole.debug('HMR runtime loaded', '$ADDR');\n// Generate client ID immediately at runtime initialization\n// This ensures the client ID is available before any lazy imports\nconst clientId = crypto.randomUUID();\nconst addr = new URL('ws://$ADDR');\naddr.searchParams.set('clientId', clientId);\n\nconst socket = new WebSocket(addr);\n\n(/** @type {any} */ (globalThis)).__rolldown_runtime__ ??=\n new DefaultDevRuntime(clientId);\n\n/** @param {MessageEvent} event */\nsocket.onmessage = function(event) {\n const data = JSON.parse(event.data);\n console.debug('Received message:', data);\n if (data.type === 'connected') {\n // Server acknowledged the connection\n console.debug('[hmr]: Connection established with server');\n } else if (data.type === 'hmr:update') {\n if (typeof process === 'object') {\n import(data.path);\n console.debug(`[hmr]: Importing HMR patch: ${data.path}`);\n } else {\n console.debug(`[hmr]: Loading HMR patch: ${data.path}`);\n loadScript(data.url);\n }\n } else if (data.type === 'hmr:reload') {\n console.log('[hmr]: Full reload required, reloading page');\n if (typeof location !== 'undefined') {\n location.reload();\n } else {\n console.log('[hmr]: location is undefined, cannot reload page');\n }\n }\n};\n".replaceAll("$ADDR", `${host}:${port}`);
|
|
3091
3091
|
}
|
|
3092
3092
|
function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode, timings) {
|
|
3093
3093
|
const plugins = rawPlugins.map((plugin) => {
|
|
@@ -3344,7 +3344,7 @@ function bindingifyPreserveEntrySignatures(preserveEntrySignatures) {
|
|
|
3344
3344
|
};
|
|
3345
3345
|
}
|
|
3346
3346
|
|
|
3347
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
3347
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/create-bundler-option-2b9QJDoZ.mjs
|
|
3348
3348
|
import { Worker } from "node:worker_threads";
|
|
3349
3349
|
import path2, { sep } from "node:path";
|
|
3350
3350
|
import { formatWithOptions, styleText } from "node:util";
|
|
@@ -3665,6 +3665,22 @@ function awaitAsync() {
|
|
|
3665
3665
|
};
|
|
3666
3666
|
}
|
|
3667
3667
|
// @__NO_SIDE_EFFECTS__
|
|
3668
|
+
function check(requirement, message$1) {
|
|
3669
|
+
return {
|
|
3670
|
+
kind: "validation",
|
|
3671
|
+
type: "check",
|
|
3672
|
+
reference: check,
|
|
3673
|
+
async: false,
|
|
3674
|
+
expects: null,
|
|
3675
|
+
requirement,
|
|
3676
|
+
message: message$1,
|
|
3677
|
+
"~run"(dataset, config$1) {
|
|
3678
|
+
if (dataset.typed && !this.requirement(dataset.value)) _addIssue(this, "input", dataset, config$1);
|
|
3679
|
+
return dataset;
|
|
3680
|
+
}
|
|
3681
|
+
};
|
|
3682
|
+
}
|
|
3683
|
+
// @__NO_SIDE_EFFECTS__
|
|
3668
3684
|
function description(description_) {
|
|
3669
3685
|
return {
|
|
3670
3686
|
kind: "metadata",
|
|
@@ -4646,7 +4662,8 @@ var DevModeSchema = /* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE
|
|
|
4646
4662
|
host: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
4647
4663
|
implement: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
4648
4664
|
skipCommonRuntimeInjection: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
4649
|
-
lazy: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
4665
|
+
lazy: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
4666
|
+
hotUpdate: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
4650
4667
|
})]);
|
|
4651
4668
|
var InputOptionsSchema = /* @__PURE__ */ strictObject({
|
|
4652
4669
|
input: /* @__PURE__ */ optional(InputOptionSchema),
|
|
@@ -4693,7 +4710,7 @@ var InputOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
4693
4710
|
transform: /* @__PURE__ */ optional(TransformOptionsSchema),
|
|
4694
4711
|
watch: /* @__PURE__ */ optional(/* @__PURE__ */ union([WatcherOptionsSchema, /* @__PURE__ */ literal(false)])),
|
|
4695
4712
|
checks: /* @__PURE__ */ optional(ChecksOptionsSchema),
|
|
4696
|
-
devtools: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ object({ sessionId: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Used to name the build.")) })), /* @__PURE__ */ description("Enable debug mode. Emit debug information to disk. This might slow down the build process significantly.")),
|
|
4713
|
+
devtools: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ object({ sessionId: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ check((id2) => id2 !== "" && id2 !== "." && id2 !== ".." && !/[/\\\0]/.test(id2), 'Expected one path segment: not empty, not "." or "..", and without "/", "\\" or NUL'), /* @__PURE__ */ check((id2) => id2.toLowerCase().toUpperCase() !== "UNKNOWN-SESSION", '"unknown-session" is reserved for devtools events without a session context'))), /* @__PURE__ */ description("Used to name the build.")) })), /* @__PURE__ */ description("Enable debug mode. Emit debug information to disk. This might slow down the build process significantly.")),
|
|
4697
4714
|
preserveEntrySignatures: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([
|
|
4698
4715
|
/* @__PURE__ */ literal("strict"),
|
|
4699
4716
|
/* @__PURE__ */ literal("allow-extension"),
|
|
@@ -4747,6 +4764,7 @@ var AdvancedChunksTestFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__P
|
|
|
4747
4764
|
/* @__PURE__ */ void_(),
|
|
4748
4765
|
/* @__PURE__ */ undefined_()
|
|
4749
4766
|
])));
|
|
4767
|
+
var InlineCommonChunksExcludeItemSchema = /* @__PURE__ */ union([StringOrRegExpSchema, AdvancedChunksTestFunctionSchema]);
|
|
4750
4768
|
var AdvancedChunksSchema = /* @__PURE__ */ strictObject({
|
|
4751
4769
|
includeDependenciesRecursively: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
4752
4770
|
minSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -4768,7 +4786,11 @@ var AdvancedChunksSchema = /* @__PURE__ */ strictObject({
|
|
|
4768
4786
|
entriesAwareMergeThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
4769
4787
|
includeDependenciesRecursively: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
4770
4788
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string()))
|
|
4771
|
-
})))
|
|
4789
|
+
}))),
|
|
4790
|
+
experimentalInlineCommonChunks: /* @__PURE__ */ optional(/* @__PURE__ */ strictObject({
|
|
4791
|
+
maxSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
4792
|
+
exclude: /* @__PURE__ */ optional(/* @__PURE__ */ union([InlineCommonChunksExcludeItemSchema, /* @__PURE__ */ array(InlineCommonChunksExcludeItemSchema)]))
|
|
4793
|
+
}))
|
|
4772
4794
|
});
|
|
4773
4795
|
var GeneratedCodeOptionsSchema = /* @__PURE__ */ strictObject({
|
|
4774
4796
|
symbols: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to use Symbol.toStringTag for namespace objects")),
|
|
@@ -5903,7 +5925,7 @@ function createConsola(options = {}) {
|
|
|
5903
5925
|
defaults: { level },
|
|
5904
5926
|
stdout: process.stdout,
|
|
5905
5927
|
stderr: process.stderr,
|
|
5906
|
-
prompt: (...args2) => import("./prompt-CH6TK0bC-
|
|
5928
|
+
prompt: (...args2) => import("./prompt-CH6TK0bC-B3USYOND.js").then((m) => m.prompt(...args2)),
|
|
5907
5929
|
reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
5908
5930
|
...options
|
|
5909
5931
|
});
|
|
@@ -6094,11 +6116,15 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
|
|
|
6094
6116
|
}
|
|
6095
6117
|
let advancedChunksResult;
|
|
6096
6118
|
if (effectiveChunksOption != null) {
|
|
6097
|
-
const { groups, ...restOptions } = effectiveChunksOption;
|
|
6119
|
+
const { groups, experimentalInlineCommonChunks, ...restOptions } = effectiveChunksOption;
|
|
6098
6120
|
let chunkingContext;
|
|
6099
6121
|
const getChunkingContext = (bindingContext) => chunkingContext ??= new ChunkingContextImpl(bindingContext, pluginContextData);
|
|
6100
6122
|
advancedChunksResult = {
|
|
6101
6123
|
...restOptions,
|
|
6124
|
+
experimentalInlineCommonChunks: experimentalInlineCommonChunks == null ? void 0 : {
|
|
6125
|
+
maxSize: experimentalInlineCommonChunks.maxSize,
|
|
6126
|
+
exclude: experimentalInlineCommonChunks.exclude == null ? void 0 : arraify(experimentalInlineCommonChunks.exclude).map((matcher) => typeof matcher === "function" ? batchTest(measureHookCost(timings, OUTPUT_OPTIONS_OWNER, "codeSplitting.experimentalInlineCommonChunks.exclude", matcher), "output.codeSplitting.experimentalInlineCommonChunks.exclude") : matcher)
|
|
6127
|
+
},
|
|
6102
6128
|
internalInvalidateModuleInfoCache: () => {
|
|
6103
6129
|
chunkingContext?.clearModuleInfoCache();
|
|
6104
6130
|
chunkingContext = void 0;
|
|
@@ -6142,12 +6168,12 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
|
|
|
6142
6168
|
advancedChunks: advancedChunksResult
|
|
6143
6169
|
};
|
|
6144
6170
|
}
|
|
6145
|
-
function batchTest(test) {
|
|
6171
|
+
function batchTest(test, optionName = "output.codeSplitting.groups[].test") {
|
|
6146
6172
|
return (ids) => {
|
|
6147
6173
|
const results = new Uint8Array(ids.length);
|
|
6148
6174
|
for (let index = 0; index < ids.length; index++) {
|
|
6149
6175
|
const result = test(ids[index]);
|
|
6150
|
-
if (result != null && typeof result !== "boolean") throw new TypeError(
|
|
6176
|
+
if (result != null && typeof result !== "boolean") throw new TypeError(`\`${optionName}\` returned ${typeof result} for module "${ids[index]}", but expected a boolean, null or undefined.`);
|
|
6151
6177
|
results[index] = result === true ? 1 : 0;
|
|
6152
6178
|
}
|
|
6153
6179
|
return results;
|
|
@@ -6288,7 +6314,7 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, meas
|
|
|
6288
6314
|
}
|
|
6289
6315
|
}
|
|
6290
6316
|
|
|
6291
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
6317
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/watch-D9MpODOf.mjs
|
|
6292
6318
|
var signals = [];
|
|
6293
6319
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
6294
6320
|
if (process.platform !== "win32") signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
|
|
@@ -6587,7 +6613,7 @@ function watch(input) {
|
|
|
6587
6613
|
return emitter;
|
|
6588
6614
|
}
|
|
6589
6615
|
|
|
6590
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
6616
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/rolldown-D_vNlorD.mjs
|
|
6591
6617
|
var import_binding6 = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
6592
6618
|
var RolldownOutputImpl = class extends PlainObjectLike {
|
|
6593
6619
|
bindingOutputs;
|
|
@@ -6720,12 +6746,12 @@ var rolldown = async (input) => {
|
|
|
6720
6746
|
return new RolldownBuild(await PluginDriver.callOptionsHook(input));
|
|
6721
6747
|
};
|
|
6722
6748
|
|
|
6723
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
6749
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/shared/define-config-Demdg3_4.mjs
|
|
6724
6750
|
function defineConfig(config) {
|
|
6725
6751
|
return config;
|
|
6726
6752
|
}
|
|
6727
6753
|
|
|
6728
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
6754
|
+
// node_modules/.pnpm/rolldown@1.2.13/node_modules/rolldown/dist/index.mjs
|
|
6729
6755
|
import { isMainThread } from "node:worker_threads";
|
|
6730
6756
|
var import_binding7 = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
6731
6757
|
if (isMainThread) {
|