@donotdev/cli 0.1.46 → 0.2.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/dependencies-matrix.json +189 -149
- package/dist/bin/commands/agent-setup.js +83 -19
- package/dist/bin/commands/build.js +105 -37
- package/dist/bin/commands/bump.js +108 -44
- package/dist/bin/commands/cacheout.js +83 -19
- package/dist/bin/commands/coach.js +83 -19
- package/dist/bin/commands/create-app.js +107 -43
- package/dist/bin/commands/create-project.js +107 -43
- package/dist/bin/commands/db.js +134098 -72027
- package/dist/bin/commands/deploy.js +310 -239
- package/dist/bin/commands/dev.js +87 -23
- package/dist/bin/commands/doctor.js +83 -19
- package/dist/bin/commands/emu.js +93 -29
- package/dist/bin/commands/format.js +83 -19
- package/dist/bin/commands/get-demo.js +87 -23
- package/dist/bin/commands/make-admin.js +7466 -8217
- package/dist/bin/commands/preview.js +87 -23
- package/dist/bin/commands/seed.js +134098 -72027
- package/dist/bin/commands/setup-cicd.js +107 -43
- package/dist/bin/commands/setup.js +110 -43
- package/dist/bin/commands/staging.js +310 -239
- package/dist/bin/commands/sync-secrets.js +88 -24
- package/dist/bin/commands/type-check.js +83 -19
- package/dist/bin/commands/wai.js +83 -19
- package/dist/bin/dndev.js +8 -3
- package/dist/index.js +317 -246
- package/package.json +3 -3
- package/templates/app-next/src/app/ClientLayout.tsx.example +11 -1
- package/templates/app-next/src/app/layout.tsx.example +19 -1
- package/templates/functions-firebase/src/billing/handleStripeWebhook.ts.example +8 -18
- package/templates/functions-firebase/src/billing/index.ts.example +0 -1
- package/templates/functions-firebase/src/billing/refreshSubscriptionStatus.ts.example +4 -8
- package/templates/functions-firebase/src/index.ts.example +0 -1
- package/templates/functions-supabase/supabase/config.toml.example +4 -0
- package/templates/functions-supabase/supabase/functions/stripe-webhook/index.ts.example +12 -0
- package/templates/functions-supabase/supabase/migrations/20250101000005_webhook_events.sql +133 -0
- package/templates/functions-vercel/.env.example +9 -0
- package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +12 -14
- package/templates/functions-vercel/src/api/billing/refreshSubscriptionStatus.ts.example +4 -14
- package/templates/overlay-supabase/src/config/providers.ts.example +2 -2
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +32 -0
- package/templates/root-consumer/.claude/hooks/record-lookup.sh.example +22 -0
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +7 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +6 -0
- package/templates/root-consumer/.claude/settings.json.example +11 -1
- package/templates/functions-firebase/src/billing/processPaymentSuccess.ts.example +0 -14
- package/templates/functions-vercel/src/api/billing/processPaymentSuccess.ts.example +0 -20
package/dist/index.js
CHANGED
|
@@ -10,11 +10,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
10
10
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
11
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
12
|
});
|
|
13
|
-
var __esm = (fn, res) => function __init() {
|
|
14
|
-
|
|
13
|
+
var __esm = (fn, res, err) => function __init() {
|
|
14
|
+
if (err) throw err[0];
|
|
15
|
+
try {
|
|
16
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
17
|
+
} catch (e) {
|
|
18
|
+
throw err = [e], e;
|
|
19
|
+
}
|
|
15
20
|
};
|
|
16
21
|
var __commonJS = (cb, mod) => function __require2() {
|
|
17
|
-
|
|
22
|
+
try {
|
|
23
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
24
|
+
} catch (e) {
|
|
25
|
+
throw mod = 0, e;
|
|
26
|
+
}
|
|
18
27
|
};
|
|
19
28
|
var __export = (target, all) => {
|
|
20
29
|
for (var name in all)
|
|
@@ -457,7 +466,7 @@ var require_src = __commonJS({
|
|
|
457
466
|
}
|
|
458
467
|
});
|
|
459
468
|
|
|
460
|
-
// node_modules/.bun/@clack+core@1.5.
|
|
469
|
+
// node_modules/.bun/@clack+core@1.5.1/node_modules/@clack/core/dist/index.mjs
|
|
461
470
|
import { styleText } from "node:util";
|
|
462
471
|
import { stdout, stdin } from "node:process";
|
|
463
472
|
import * as l from "node:readline";
|
|
@@ -556,7 +565,7 @@ function runValidation(e, a2) {
|
|
|
556
565
|
}
|
|
557
566
|
var import_sisteransi, a$1, t, settings, R, CANCEL_SYMBOL, getColumns, getRows, y, r, a, n$1, n2;
|
|
558
567
|
var init_dist3 = __esm({
|
|
559
|
-
"node_modules/.bun/@clack+core@1.5.
|
|
568
|
+
"node_modules/.bun/@clack+core@1.5.1/node_modules/@clack/core/dist/index.mjs"() {
|
|
560
569
|
init_utils2();
|
|
561
570
|
init_main();
|
|
562
571
|
import_sisteransi = __toESM(require_src(), 1);
|
|
@@ -906,7 +915,7 @@ var init_dist3 = __esm({
|
|
|
906
915
|
}
|
|
907
916
|
});
|
|
908
917
|
|
|
909
|
-
// node_modules/.bun/@clack+prompts@1.8.
|
|
918
|
+
// node_modules/.bun/@clack+prompts@1.8.1/node_modules/@clack/prompts/dist/index.mjs
|
|
910
919
|
import { styleText as styleText2, stripVTControlCharacters } from "node:util";
|
|
911
920
|
import process$1 from "node:process";
|
|
912
921
|
import { existsSync, lstatSync, readdirSync } from "node:fs";
|
|
@@ -923,7 +932,7 @@ function formatInstructionFooter(o, e) {
|
|
|
923
932
|
}
|
|
924
933
|
var import_sisteransi2, unicode, isCI, unicodeOr, S_STEP_ACTIVE, S_STEP_CANCEL, S_STEP_ERROR, S_STEP_SUBMIT, S_BAR_START, S_BAR, S_BAR_END, S_BAR_START_RIGHT, S_BAR_END_RIGHT, S_RADIO_ACTIVE, S_RADIO_INACTIVE, S_CHECKBOX_ACTIVE, S_CHECKBOX_SELECTED, S_CHECKBOX_INACTIVE, S_PASSWORD_MASK, S_BAR_H, S_CORNER_TOP_RIGHT, S_CONNECT_LEFT, S_CORNER_BOTTOM_RIGHT, S_CORNER_BOTTOM_LEFT, S_CORNER_TOP_LEFT, S_INFO, S_SUCCESS, S_WARN, S_ERROR, symbol, symbolBar, I, limitOptions, confirm, MULTISELECT_INSTRUCTIONS, m, multiselect, log, cancel, intro, outro, W$1, C, note, W, spinner, u2, SELECT_INSTRUCTIONS, c, select, i, text;
|
|
925
934
|
var init_dist4 = __esm({
|
|
926
|
-
"node_modules/.bun/@clack+prompts@1.8.
|
|
935
|
+
"node_modules/.bun/@clack+prompts@1.8.1/node_modules/@clack/prompts/dist/index.mjs"() {
|
|
927
936
|
init_utils2();
|
|
928
937
|
init_dist3();
|
|
929
938
|
init_dist3();
|
|
@@ -1052,39 +1061,39 @@ var init_dist4 = __esm({
|
|
|
1052
1061
|
x.push(n3);
|
|
1053
1062
|
return c2 && x.push(M), x;
|
|
1054
1063
|
};
|
|
1055
|
-
confirm = (
|
|
1056
|
-
const a2 =
|
|
1064
|
+
confirm = (e) => {
|
|
1065
|
+
const a2 = e.active ?? "Yes", o = e.inactive ?? "No";
|
|
1057
1066
|
return new r({
|
|
1058
1067
|
active: a2,
|
|
1059
|
-
inactive:
|
|
1060
|
-
signal:
|
|
1061
|
-
input:
|
|
1062
|
-
output:
|
|
1063
|
-
initialValue:
|
|
1068
|
+
inactive: o,
|
|
1069
|
+
signal: e.signal,
|
|
1070
|
+
input: e.input,
|
|
1071
|
+
output: e.output,
|
|
1072
|
+
initialValue: e.initialValue ?? true,
|
|
1064
1073
|
render() {
|
|
1065
|
-
const
|
|
1066
|
-
|
|
1067
|
-
|
|
1074
|
+
const i2 = e.withGuide ?? settings.withGuide, u3 = `${symbol(this.state)} `, l2 = i2 ? `${styleText2("gray", S_BAR)} ` : "", f = wrapTextWithPrefix(
|
|
1075
|
+
e.output,
|
|
1076
|
+
e.message,
|
|
1068
1077
|
l2,
|
|
1069
1078
|
u3
|
|
1070
|
-
),
|
|
1079
|
+
), s = `${i2 ? `${styleText2("gray", S_BAR)}
|
|
1071
1080
|
` : ""}${f}
|
|
1072
|
-
`, c2 = this.value ? a2 :
|
|
1081
|
+
`, c2 = this.value ? a2 : o;
|
|
1073
1082
|
switch (this.state) {
|
|
1074
1083
|
case "submit": {
|
|
1075
|
-
const r2 =
|
|
1076
|
-
return `${
|
|
1084
|
+
const r2 = i2 ? `${styleText2("gray", S_BAR)} ` : "";
|
|
1085
|
+
return `${s}${r2}${styleText2("dim", c2)}`;
|
|
1077
1086
|
}
|
|
1078
1087
|
case "cancel": {
|
|
1079
|
-
const r2 =
|
|
1080
|
-
return `${
|
|
1088
|
+
const r2 = i2 ? `${styleText2("gray", S_BAR)} ` : "";
|
|
1089
|
+
return `${s}${r2}${styleText2(["strikethrough", "dim"], c2)}${i2 ? `
|
|
1081
1090
|
${styleText2("gray", S_BAR)}` : ""}`;
|
|
1082
1091
|
}
|
|
1083
1092
|
default: {
|
|
1084
|
-
const r2 =
|
|
1085
|
-
return `${
|
|
1093
|
+
const r2 = i2 ? `${styleText2("cyan", S_BAR)} ` : "", g = i2 ? styleText2("cyan", S_BAR_END) : "";
|
|
1094
|
+
return `${s}${r2}${this.value ? `${styleText2("green", S_RADIO_ACTIVE)} ${a2}` : `${styleText2("dim", S_RADIO_INACTIVE)} ${styleText2("dim", a2)}`}${e.vertical ? i2 ? `
|
|
1086
1095
|
${styleText2("cyan", S_BAR)} ` : `
|
|
1087
|
-
` : ` ${styleText2("dim", "/")} `}${this.value ? `${styleText2("dim", S_RADIO_INACTIVE)} ${styleText2("dim",
|
|
1096
|
+
` : ` ${styleText2("dim", "/")} `}${this.value ? `${styleText2("dim", S_RADIO_INACTIVE)} ${styleText2("dim", o)}` : `${styleText2("green", S_RADIO_ACTIVE)} ${o}`}
|
|
1088
1097
|
${g}
|
|
1089
1098
|
`;
|
|
1090
1099
|
}
|
|
@@ -1104,7 +1113,7 @@ ${g}
|
|
|
1104
1113
|
const u3 = (t2, a2) => {
|
|
1105
1114
|
const r2 = t2.label ?? String(t2.value);
|
|
1106
1115
|
return a2 === "disabled" ? `${styleText2("gray", S_CHECKBOX_INACTIVE)} ${m(r2, (o) => styleText2(["strikethrough", "gray"], o))}${t2.hint ? ` ${styleText2("dim", `(${t2.hint ?? "disabled"})`)}` : ""}` : a2 === "active" ? `${styleText2("cyan", S_CHECKBOX_ACTIVE)} ${r2}${t2.hint ? ` ${styleText2("dim", `(${t2.hint})`)}` : ""}` : a2 === "selected" ? `${styleText2("green", S_CHECKBOX_SELECTED)} ${m(r2, (o) => styleText2("dim", o))}${t2.hint ? ` ${styleText2("dim", `(${t2.hint})`)}` : ""}` : a2 === "cancelled" ? `${m(r2, (o) => styleText2(["strikethrough", "dim"], o))}` : a2 === "active-selected" ? `${styleText2("green", S_CHECKBOX_SELECTED)} ${r2}${t2.hint ? ` ${styleText2("dim", `(${t2.hint})`)}` : ""}` : a2 === "submitted" ? `${m(r2, (o) => styleText2("dim", o))}` : `${styleText2("dim", S_CHECKBOX_INACTIVE)} ${m(r2, (o) => styleText2("dim", o))}`;
|
|
1107
|
-
}, d = i2.required ?? true,
|
|
1116
|
+
}, d = i2.required ?? true, x = i2.showInstructions ?? true;
|
|
1108
1117
|
return new a({
|
|
1109
1118
|
options: i2.options,
|
|
1110
1119
|
signal: i2.signal,
|
|
@@ -1135,7 +1144,7 @@ ${styleText2(
|
|
|
1135
1144
|
`${symbol(this.state)} `
|
|
1136
1145
|
), r2 = `${t2 ? `${styleText2("gray", S_BAR)}
|
|
1137
1146
|
` : ""}${a2}
|
|
1138
|
-
`, o = this.value ?? [],
|
|
1147
|
+
`, o = this.value ?? [], g = (n3, l2) => {
|
|
1139
1148
|
if (n3.disabled)
|
|
1140
1149
|
return u3(n3, "disabled");
|
|
1141
1150
|
const s = o.includes(n3.value);
|
|
@@ -1165,7 +1174,7 @@ ${styleText2("gray", S_BAR)}` : ""}`;
|
|
|
1165
1174
|
case "error": {
|
|
1166
1175
|
const n3 = t2 ? `${styleText2("yellow", S_BAR)} ` : "", l2 = this.error.split(`
|
|
1167
1176
|
`).map(
|
|
1168
|
-
($,
|
|
1177
|
+
($, v) => v === 0 ? `${t2 ? `${styleText2("yellow", S_BAR_END)} ` : ""}${styleText2("yellow", $)}` : ` ${$}`
|
|
1169
1178
|
).join(`
|
|
1170
1179
|
`), s = r2.split(`
|
|
1171
1180
|
`).length, h2 = l2.split(`
|
|
@@ -1177,7 +1186,7 @@ ${styleText2("gray", S_BAR)}` : ""}`;
|
|
|
1177
1186
|
maxItems: i2.maxItems,
|
|
1178
1187
|
columnPadding: n3.length,
|
|
1179
1188
|
rowPadding: s + h2,
|
|
1180
|
-
style:
|
|
1189
|
+
style: g
|
|
1181
1190
|
}).join(`
|
|
1182
1191
|
${n3}`)}
|
|
1183
1192
|
${l2}
|
|
@@ -1185,7 +1194,7 @@ ${l2}
|
|
|
1185
1194
|
}
|
|
1186
1195
|
default: {
|
|
1187
1196
|
const n3 = t2 ? `${styleText2("cyan", S_BAR)} ` : "", l2 = r2.split(`
|
|
1188
|
-
`).length, s =
|
|
1197
|
+
`).length, s = x ? formatInstructionFooter(MULTISELECT_INSTRUCTIONS, t2) : t2 ? [styleText2("cyan", S_BAR_END)] : [], h2 = s.join(`
|
|
1189
1198
|
`), $ = s.length + 1;
|
|
1190
1199
|
return `${r2}${n3}${limitOptions({
|
|
1191
1200
|
output: i2.output,
|
|
@@ -1194,7 +1203,7 @@ ${l2}
|
|
|
1194
1203
|
maxItems: i2.maxItems,
|
|
1195
1204
|
columnPadding: n3.length,
|
|
1196
1205
|
rowPadding: l2 + $,
|
|
1197
|
-
style:
|
|
1206
|
+
style: g
|
|
1198
1207
|
}).join(`
|
|
1199
1208
|
${n3}`)}
|
|
1200
1209
|
${h2}
|
|
@@ -1443,19 +1452,19 @@ ${styleText2("gray", S_BAR)}` : ""}`;
|
|
|
1443
1452
|
}
|
|
1444
1453
|
default: {
|
|
1445
1454
|
const r2 = n3 ? `${styleText2("cyan", S_BAR)} ` : "", a2 = u3.split(`
|
|
1446
|
-
`).length, p = d ? formatInstructionFooter(SELECT_INSTRUCTIONS, n3) : n3 ? [styleText2("cyan", S_BAR_END)] : [],
|
|
1447
|
-
`),
|
|
1455
|
+
`).length, p = d ? formatInstructionFooter(SELECT_INSTRUCTIONS, n3) : n3 ? [styleText2("cyan", S_BAR_END)] : [], f = p.join(`
|
|
1456
|
+
`), b = p.length + 1;
|
|
1448
1457
|
return `${u3}${r2}${limitOptions({
|
|
1449
1458
|
output: t2.output,
|
|
1450
1459
|
cursor: this.cursor,
|
|
1451
1460
|
options: this.options,
|
|
1452
1461
|
maxItems: t2.maxItems,
|
|
1453
1462
|
columnPadding: r2.length,
|
|
1454
|
-
rowPadding: a2 +
|
|
1463
|
+
rowPadding: a2 + b,
|
|
1455
1464
|
style: (g, x) => o(g, g.disabled ? "disabled" : x ? "active" : "inactive")
|
|
1456
1465
|
}).join(`
|
|
1457
1466
|
${r2}`)}
|
|
1458
|
-
${
|
|
1467
|
+
${f}
|
|
1459
1468
|
`;
|
|
1460
1469
|
}
|
|
1461
1470
|
}
|
|
@@ -6205,9 +6214,9 @@ var require_reusify = __commonJS({
|
|
|
6205
6214
|
}
|
|
6206
6215
|
});
|
|
6207
6216
|
|
|
6208
|
-
// node_modules/.bun/fastq@1.20.
|
|
6217
|
+
// node_modules/.bun/fastq@1.20.3/node_modules/fastq/queue.js
|
|
6209
6218
|
var require_queue = __commonJS({
|
|
6210
|
-
"node_modules/.bun/fastq@1.20.
|
|
6219
|
+
"node_modules/.bun/fastq@1.20.3/node_modules/fastq/queue.js"(exports, module) {
|
|
6211
6220
|
"use strict";
|
|
6212
6221
|
init_utils2();
|
|
6213
6222
|
var reusify = require_reusify();
|
|
@@ -6387,11 +6396,12 @@ var require_queue = __commonJS({
|
|
|
6387
6396
|
current.value = null;
|
|
6388
6397
|
current.callback = noop;
|
|
6389
6398
|
current.errorHandler = null;
|
|
6399
|
+
current.next = null;
|
|
6390
6400
|
if (errorHandler2) {
|
|
6391
6401
|
errorHandler2(new Error("abort"), val);
|
|
6392
6402
|
}
|
|
6393
6403
|
callback.call(context2, new Error("abort"));
|
|
6394
|
-
|
|
6404
|
+
cache.release(current);
|
|
6395
6405
|
current = next;
|
|
6396
6406
|
}
|
|
6397
6407
|
self.drain = noop;
|
|
@@ -7857,7 +7867,7 @@ import {
|
|
|
7857
7867
|
sep,
|
|
7858
7868
|
extname
|
|
7859
7869
|
} from "node:path";
|
|
7860
|
-
import "node:url";
|
|
7870
|
+
import { fileURLToPath } from "node:url";
|
|
7861
7871
|
function safeExecuteAsync(fn, message) {
|
|
7862
7872
|
return fn().catch((error2) => {
|
|
7863
7873
|
throw new Error(
|
|
@@ -7914,6 +7924,7 @@ var init_PathResolver = __esm({
|
|
|
7914
7924
|
options;
|
|
7915
7925
|
_repoRoot;
|
|
7916
7926
|
_appRoot = null;
|
|
7927
|
+
_writtenPaths = null;
|
|
7917
7928
|
/**
|
|
7918
7929
|
* Get or create singleton instance
|
|
7919
7930
|
* @param options - Configuration options
|
|
@@ -8232,16 +8243,17 @@ var init_PathResolver = __esm({
|
|
|
8232
8243
|
}
|
|
8233
8244
|
const detectedFormat = this._detectFormat(filePath, format);
|
|
8234
8245
|
let writeContent;
|
|
8235
|
-
if (
|
|
8246
|
+
if (Buffer2.isBuffer(content)) {
|
|
8236
8247
|
writeContent = content;
|
|
8237
8248
|
} else if (detectedFormat === "json" && typeof content === "object") {
|
|
8238
|
-
writeContent = JSON.stringify(content, null, 2)
|
|
8249
|
+
writeContent = `${JSON.stringify(content, null, 2)}
|
|
8250
|
+
`;
|
|
8239
8251
|
} else {
|
|
8240
8252
|
writeContent = String(content);
|
|
8241
8253
|
}
|
|
8242
8254
|
try {
|
|
8243
8255
|
return await safeExecuteAsync(async () => {
|
|
8244
|
-
if (
|
|
8256
|
+
if (Buffer2.isBuffer(writeContent)) {
|
|
8245
8257
|
await fs.promises.writeFile(normalizedPath, writeContent);
|
|
8246
8258
|
} else {
|
|
8247
8259
|
await fs.promises.writeFile(normalizedPath, writeContent, "utf8");
|
|
@@ -8293,19 +8305,21 @@ var init_PathResolver = __esm({
|
|
|
8293
8305
|
}
|
|
8294
8306
|
const detectedFormat = this._detectFormat(filePath, format);
|
|
8295
8307
|
let writeContent;
|
|
8296
|
-
if (
|
|
8308
|
+
if (Buffer2.isBuffer(content)) {
|
|
8297
8309
|
writeContent = content;
|
|
8298
8310
|
} else if (detectedFormat === "json" && typeof content === "object") {
|
|
8299
|
-
writeContent = JSON.stringify(content, null, 2)
|
|
8311
|
+
writeContent = `${JSON.stringify(content, null, 2)}
|
|
8312
|
+
`;
|
|
8300
8313
|
} else {
|
|
8301
8314
|
writeContent = String(content);
|
|
8302
8315
|
}
|
|
8303
8316
|
try {
|
|
8304
|
-
if (
|
|
8317
|
+
if (Buffer2.isBuffer(writeContent)) {
|
|
8305
8318
|
fs.writeFileSync(normalizedPath, writeContent);
|
|
8306
8319
|
} else {
|
|
8307
8320
|
fs.writeFileSync(normalizedPath, writeContent, "utf8");
|
|
8308
8321
|
}
|
|
8322
|
+
this._writtenPaths?.add(normalizedPath);
|
|
8309
8323
|
if (verbose) {
|
|
8310
8324
|
log3.info(
|
|
8311
8325
|
`${fileExists ? "Updated" : "Created"} file: ${normalizedPath}`
|
|
@@ -8390,6 +8404,7 @@ var init_PathResolver = __esm({
|
|
|
8390
8404
|
}
|
|
8391
8405
|
try {
|
|
8392
8406
|
fs.copyFileSync(srcPath, normalizedDestPath);
|
|
8407
|
+
this._writtenPaths?.add(normalizedDestPath);
|
|
8393
8408
|
if (verbose) {
|
|
8394
8409
|
log3.info(
|
|
8395
8410
|
`${fileExists ? "Updated" : "Created"} file: ${normalizedDestPath}`
|
|
@@ -8457,6 +8472,24 @@ var init_PathResolver = __esm({
|
|
|
8457
8472
|
return null;
|
|
8458
8473
|
}
|
|
8459
8474
|
}
|
|
8475
|
+
/**
|
|
8476
|
+
* Resolve the real path of a file, following symlinks
|
|
8477
|
+
* @param filePath - Path to resolve
|
|
8478
|
+
* @returns Resolved real path
|
|
8479
|
+
*/
|
|
8480
|
+
realpathSync(filePath) {
|
|
8481
|
+
return fs.realpathSync(filePath);
|
|
8482
|
+
}
|
|
8483
|
+
/**
|
|
8484
|
+
* Watch a directory for changes
|
|
8485
|
+
* @param dirPath - Directory to watch
|
|
8486
|
+
* @param options - fs.watch options
|
|
8487
|
+
* @param callback - Callback for change events
|
|
8488
|
+
* @returns FSWatcher instance
|
|
8489
|
+
*/
|
|
8490
|
+
watch(dirPath, options, callback) {
|
|
8491
|
+
return fs.watch(dirPath, options, callback);
|
|
8492
|
+
}
|
|
8460
8493
|
/**
|
|
8461
8494
|
* Get file stats synchronously (follows symlinks)
|
|
8462
8495
|
* Returns null if file doesn't exist (graceful degradation)
|
|
@@ -8536,6 +8569,28 @@ var init_PathResolver = __esm({
|
|
|
8536
8569
|
* Get app root (where vite.config.ts is, Vite's config.root)
|
|
8537
8570
|
* Falls back to repoRoot if not set
|
|
8538
8571
|
*/
|
|
8572
|
+
/**
|
|
8573
|
+
* Start recording every path written by writeSync/copySync.
|
|
8574
|
+
* Lets a generator know exactly which files the current run produced,
|
|
8575
|
+
* without comparing file timestamps to a clock.
|
|
8576
|
+
*/
|
|
8577
|
+
startWriteRecording() {
|
|
8578
|
+
this._writtenPaths = /* @__PURE__ */ new Set();
|
|
8579
|
+
}
|
|
8580
|
+
/**
|
|
8581
|
+
* Stop recording and return the normalized paths written since
|
|
8582
|
+
* startWriteRecording().
|
|
8583
|
+
*/
|
|
8584
|
+
stopWriteRecording() {
|
|
8585
|
+
if (!this._writtenPaths) {
|
|
8586
|
+
throw new Error(
|
|
8587
|
+
"stopWriteRecording() called without startWriteRecording()"
|
|
8588
|
+
);
|
|
8589
|
+
}
|
|
8590
|
+
const written = this._writtenPaths;
|
|
8591
|
+
this._writtenPaths = null;
|
|
8592
|
+
return written;
|
|
8593
|
+
}
|
|
8539
8594
|
getAppRoot() {
|
|
8540
8595
|
if (!this._appRoot) {
|
|
8541
8596
|
return this._repoRoot;
|
|
@@ -8793,6 +8848,15 @@ var init_PathResolver = __esm({
|
|
|
8793
8848
|
const cjsPath = this.getEmptyCjsModulePath();
|
|
8794
8849
|
return cjsPath.replace(/\.cjs$/, ".js");
|
|
8795
8850
|
}
|
|
8851
|
+
/**
|
|
8852
|
+
* Get absolute path to empty flag component module.
|
|
8853
|
+
* Returns `export default () => null;` — used by flag filtering plugins
|
|
8854
|
+
* to replace unused flag files at build time.
|
|
8855
|
+
*/
|
|
8856
|
+
getEmptyFlagModulePath() {
|
|
8857
|
+
const __dirname2 = dirname2(fileURLToPath(import.meta.url));
|
|
8858
|
+
return this.normalizePath(resolve(__dirname2, "emptyFlag.js"));
|
|
8859
|
+
}
|
|
8796
8860
|
/**
|
|
8797
8861
|
* Get absolute path to empty CJS module for esbuild pre-bundling.
|
|
8798
8862
|
* CJS because esbuild statically analyzes ESM exports — CJS has dynamic
|
|
@@ -9061,7 +9125,7 @@ async function isBinaryFile(filePath) {
|
|
|
9061
9125
|
try {
|
|
9062
9126
|
let fileHandle = null;
|
|
9063
9127
|
try {
|
|
9064
|
-
const buffer =
|
|
9128
|
+
const buffer = Buffer2.alloc(4096);
|
|
9065
9129
|
const fs3 = await import("node:fs");
|
|
9066
9130
|
fileHandle = await fs3.promises.open(filePath, "r");
|
|
9067
9131
|
const { bytesRead } = await fileHandle.read(buffer, 0, 4096, 0);
|
|
@@ -9371,7 +9435,7 @@ var init_typed_file_operations = __esm({
|
|
|
9371
9435
|
});
|
|
9372
9436
|
|
|
9373
9437
|
// packages/tooling/src/bundler/utils.ts
|
|
9374
|
-
import { Buffer } from "node:buffer";
|
|
9438
|
+
import { Buffer as Buffer2 } from "node:buffer";
|
|
9375
9439
|
import { copyFileSync as copyFileSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
9376
9440
|
import { createRequire as createRequire3 } from "node:module";
|
|
9377
9441
|
import { dirname as dirname4, resolve as resolve3 } from "node:path";
|
|
@@ -9388,7 +9452,7 @@ var init_utils2 = __esm({
|
|
|
9388
9452
|
globalThis.require = require2;
|
|
9389
9453
|
globalThis.__filename = __filename;
|
|
9390
9454
|
globalThis.__dirname = __dirname;
|
|
9391
|
-
globalThis.Buffer =
|
|
9455
|
+
globalThis.Buffer = Buffer2;
|
|
9392
9456
|
globalThis.process = process;
|
|
9393
9457
|
if (typeof global === "undefined") {
|
|
9394
9458
|
globalThis.global = globalThis;
|
|
@@ -9744,9 +9808,9 @@ var init_error_handling = __esm({
|
|
|
9744
9808
|
}
|
|
9745
9809
|
});
|
|
9746
9810
|
|
|
9747
|
-
// node_modules/.bun/esbuild@0.
|
|
9811
|
+
// node_modules/.bun/esbuild@0.28.2/node_modules/esbuild/lib/main.js
|
|
9748
9812
|
var require_main = __commonJS({
|
|
9749
|
-
"node_modules/.bun/esbuild@0.
|
|
9813
|
+
"node_modules/.bun/esbuild@0.28.2/node_modules/esbuild/lib/main.js"(exports, module) {
|
|
9750
9814
|
"use strict";
|
|
9751
9815
|
init_utils2();
|
|
9752
9816
|
var __defProp2 = Object.defineProperty;
|
|
@@ -9923,11 +9987,11 @@ var require_main = __commonJS({
|
|
|
9923
9987
|
encodeUTF8 = (text2) => encoder.encode(text2);
|
|
9924
9988
|
decodeUTF8 = (bytes) => decoder.decode(bytes);
|
|
9925
9989
|
encodeInvariant = 'new TextEncoder().encode("")';
|
|
9926
|
-
} else if (typeof
|
|
9927
|
-
encodeUTF8 = (text2) =>
|
|
9990
|
+
} else if (typeof Buffer2 !== "undefined") {
|
|
9991
|
+
encodeUTF8 = (text2) => Buffer2.from(text2);
|
|
9928
9992
|
decodeUTF8 = (bytes) => {
|
|
9929
9993
|
let { buffer, byteOffset, byteLength } = bytes;
|
|
9930
|
-
return
|
|
9994
|
+
return Buffer2.from(buffer, byteOffset, byteLength).toString();
|
|
9931
9995
|
};
|
|
9932
9996
|
encodeInvariant = 'Buffer.from("")';
|
|
9933
9997
|
} else {
|
|
@@ -10304,10 +10368,12 @@ is not a problem with esbuild. You need to fix your environment instead.
|
|
|
10304
10368
|
let color = getFlag(options, keys, "color", mustBeBoolean);
|
|
10305
10369
|
let logLevel = getFlag(options, keys, "logLevel", mustBeString);
|
|
10306
10370
|
let logLimit = getFlag(options, keys, "logLimit", mustBeInteger);
|
|
10371
|
+
let logStyle = getFlag(options, keys, "logStyle", mustBeString);
|
|
10307
10372
|
if (color !== void 0) flags.push(`--color=${color}`);
|
|
10308
10373
|
else if (isTTY2) flags.push(`--color=true`);
|
|
10309
10374
|
flags.push(`--log-level=${logLevel || logLevelDefault}`);
|
|
10310
10375
|
flags.push(`--log-limit=${logLimit || 0}`);
|
|
10376
|
+
if (logStyle) flags.push(`--log-style=${logStyle}`);
|
|
10311
10377
|
}
|
|
10312
10378
|
function validateStringValue(value, what, key) {
|
|
10313
10379
|
if (typeof value !== "string") {
|
|
@@ -10656,8 +10722,8 @@ is not a problem with esbuild. You need to fix your environment instead.
|
|
|
10656
10722
|
if (isFirstPacket) {
|
|
10657
10723
|
isFirstPacket = false;
|
|
10658
10724
|
let binaryVersion = String.fromCharCode(...bytes);
|
|
10659
|
-
if (binaryVersion !== "0.
|
|
10660
|
-
throw new Error(`Cannot start service: Host version "${"0.
|
|
10725
|
+
if (binaryVersion !== "0.28.2") {
|
|
10726
|
+
throw new Error(`Cannot start service: Host version "${"0.28.2"}" does not match binary version ${quote(binaryVersion)}`);
|
|
10661
10727
|
}
|
|
10662
10728
|
return;
|
|
10663
10729
|
}
|
|
@@ -10796,6 +10862,7 @@ is not a problem with esbuild. You need to fix your environment instead.
|
|
|
10796
10862
|
let kind = getFlag(options, keys, "kind", mustBeString);
|
|
10797
10863
|
let color = getFlag(options, keys, "color", mustBeBoolean);
|
|
10798
10864
|
let terminalWidth = getFlag(options, keys, "terminalWidth", mustBeInteger);
|
|
10865
|
+
let logStyle = getFlag(options, keys, "logStyle", mustBeString);
|
|
10799
10866
|
checkForInvalidFlags(options, keys, `in ${callName}() call`);
|
|
10800
10867
|
if (kind === void 0) throw new Error(`Missing "kind" in ${callName}() call`);
|
|
10801
10868
|
if (kind !== "error" && kind !== "warning") throw new Error(`Expected "kind" to be "error" or "warning" in ${callName}() call`);
|
|
@@ -10806,6 +10873,7 @@ is not a problem with esbuild. You need to fix your environment instead.
|
|
|
10806
10873
|
};
|
|
10807
10874
|
if (color !== void 0) request.color = color;
|
|
10808
10875
|
if (terminalWidth !== void 0) request.terminalWidth = terminalWidth;
|
|
10876
|
+
if (logStyle !== void 0) request.logStyle = logStyle;
|
|
10809
10877
|
sendRequest(refs, request, (error2, response) => {
|
|
10810
10878
|
if (error2) return callback(new Error(error2), null);
|
|
10811
10879
|
callback(null, response.messages);
|
|
@@ -11789,7 +11857,7 @@ for your current platform.`);
|
|
|
11789
11857
|
"node_modules",
|
|
11790
11858
|
".cache",
|
|
11791
11859
|
"esbuild",
|
|
11792
|
-
`pnpapi-${pkg.replace("/", "-")}-${"0.
|
|
11860
|
+
`pnpapi-${pkg.replace("/", "-")}-${"0.28.2"}-${path.basename(subpath)}`
|
|
11793
11861
|
);
|
|
11794
11862
|
if (!fs3.existsSync(binTargetPath)) {
|
|
11795
11863
|
fs3.mkdirSync(path.dirname(binTargetPath), { recursive: true });
|
|
@@ -11822,7 +11890,7 @@ for your current platform.`);
|
|
|
11822
11890
|
}
|
|
11823
11891
|
}
|
|
11824
11892
|
var _a;
|
|
11825
|
-
var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.
|
|
11893
|
+
var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.28.2";
|
|
11826
11894
|
var esbuildCommandAndArgs = () => {
|
|
11827
11895
|
if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
|
|
11828
11896
|
throw new Error(
|
|
@@ -11889,7 +11957,7 @@ More information: The file containing the code for esbuild's JavaScript API (${_
|
|
|
11889
11957
|
}
|
|
11890
11958
|
}
|
|
11891
11959
|
};
|
|
11892
|
-
var version = "0.
|
|
11960
|
+
var version = "0.28.2";
|
|
11893
11961
|
var build2 = (options) => ensureServiceIsRunning().build(options);
|
|
11894
11962
|
var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
|
|
11895
11963
|
var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
|
|
@@ -11992,7 +12060,7 @@ More information: The file containing the code for esbuild's JavaScript API (${_
|
|
|
11992
12060
|
var ensureServiceIsRunning = () => {
|
|
11993
12061
|
if (longLivedService) return longLivedService;
|
|
11994
12062
|
let [command, args] = esbuildCommandAndArgs();
|
|
11995
|
-
let child = child_process.spawn(command, args.concat(`--service=${"0.
|
|
12063
|
+
let child = child_process.spawn(command, args.concat(`--service=${"0.28.2"}`, "--ping"), {
|
|
11996
12064
|
windowsHide: true,
|
|
11997
12065
|
stdio: ["pipe", "pipe", "inherit"],
|
|
11998
12066
|
cwd: defaultWD
|
|
@@ -12096,7 +12164,7 @@ More information: The file containing the code for esbuild's JavaScript API (${_
|
|
|
12096
12164
|
esbuild: node_exports
|
|
12097
12165
|
});
|
|
12098
12166
|
callback(service);
|
|
12099
|
-
let stdout2 = child_process.execFileSync(command, args.concat(`--service=${"0.
|
|
12167
|
+
let stdout2 = child_process.execFileSync(command, args.concat(`--service=${"0.28.2"}`), {
|
|
12100
12168
|
cwd: defaultWD,
|
|
12101
12169
|
windowsHide: true,
|
|
12102
12170
|
input: stdin2,
|
|
@@ -12116,7 +12184,7 @@ More information: The file containing the code for esbuild's JavaScript API (${_
|
|
|
12116
12184
|
var startWorkerThreadService = (worker_threads2) => {
|
|
12117
12185
|
let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
|
|
12118
12186
|
let worker = new worker_threads2.Worker(__filename, {
|
|
12119
|
-
workerData: { workerPort, defaultWD, esbuildVersion: "0.
|
|
12187
|
+
workerData: { workerPort, defaultWD, esbuildVersion: "0.28.2" },
|
|
12120
12188
|
transferList: [workerPort],
|
|
12121
12189
|
// From node's documentation: https://nodejs.org/api/worker_threads.html
|
|
12122
12190
|
//
|
|
@@ -12584,7 +12652,7 @@ async function buildSupabaseEdgeFunctions(functionsDir) {
|
|
|
12584
12652
|
});
|
|
12585
12653
|
const outputPath = join4(buildDir, `${functionName}.js`);
|
|
12586
12654
|
fs2.writeFileSync(outputPath, bundled, "utf8");
|
|
12587
|
-
const size =
|
|
12655
|
+
const size = Buffer2.byteLength(bundled, "utf8");
|
|
12588
12656
|
results.push({ name: functionName, outputPath, size });
|
|
12589
12657
|
log2.info(` ${functionName} \u2192 ${(size / 1024).toFixed(1)} KB`);
|
|
12590
12658
|
} catch (error2) {
|
|
@@ -12614,9 +12682,9 @@ var init_bundle_edge_function = __esm({
|
|
|
12614
12682
|
}
|
|
12615
12683
|
});
|
|
12616
12684
|
|
|
12617
|
-
// node_modules/.bun/yaml@2.9.
|
|
12685
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
|
|
12618
12686
|
var require_identity = __commonJS({
|
|
12619
|
-
"node_modules/.bun/yaml@2.9.
|
|
12687
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
12620
12688
|
"use strict";
|
|
12621
12689
|
init_utils2();
|
|
12622
12690
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
@@ -12672,9 +12740,9 @@ var require_identity = __commonJS({
|
|
|
12672
12740
|
}
|
|
12673
12741
|
});
|
|
12674
12742
|
|
|
12675
|
-
// node_modules/.bun/yaml@2.9.
|
|
12743
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/visit.js
|
|
12676
12744
|
var require_visit = __commonJS({
|
|
12677
|
-
"node_modules/.bun/yaml@2.9.
|
|
12745
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/visit.js"(exports) {
|
|
12678
12746
|
"use strict";
|
|
12679
12747
|
init_utils2();
|
|
12680
12748
|
var identity = require_identity();
|
|
@@ -12831,9 +12899,9 @@ var require_visit = __commonJS({
|
|
|
12831
12899
|
}
|
|
12832
12900
|
});
|
|
12833
12901
|
|
|
12834
|
-
// node_modules/.bun/yaml@2.9.
|
|
12902
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
|
|
12835
12903
|
var require_directives = __commonJS({
|
|
12836
|
-
"node_modules/.bun/yaml@2.9.
|
|
12904
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
12837
12905
|
"use strict";
|
|
12838
12906
|
init_utils2();
|
|
12839
12907
|
var identity = require_identity();
|
|
@@ -13003,9 +13071,9 @@ var require_directives = __commonJS({
|
|
|
13003
13071
|
}
|
|
13004
13072
|
});
|
|
13005
13073
|
|
|
13006
|
-
// node_modules/.bun/yaml@2.9.
|
|
13074
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
|
|
13007
13075
|
var require_anchors = __commonJS({
|
|
13008
|
-
"node_modules/.bun/yaml@2.9.
|
|
13076
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
13009
13077
|
"use strict";
|
|
13010
13078
|
init_utils2();
|
|
13011
13079
|
var identity = require_identity();
|
|
@@ -13074,9 +13142,9 @@ var require_anchors = __commonJS({
|
|
|
13074
13142
|
}
|
|
13075
13143
|
});
|
|
13076
13144
|
|
|
13077
|
-
// node_modules/.bun/yaml@2.9.
|
|
13145
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
|
|
13078
13146
|
var require_applyReviver = __commonJS({
|
|
13079
|
-
"node_modules/.bun/yaml@2.9.
|
|
13147
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
13080
13148
|
"use strict";
|
|
13081
13149
|
init_utils2();
|
|
13082
13150
|
function applyReviver(reviver, obj, key, val) {
|
|
@@ -13125,9 +13193,9 @@ var require_applyReviver = __commonJS({
|
|
|
13125
13193
|
}
|
|
13126
13194
|
});
|
|
13127
13195
|
|
|
13128
|
-
// node_modules/.bun/yaml@2.9.
|
|
13196
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
|
|
13129
13197
|
var require_toJS = __commonJS({
|
|
13130
|
-
"node_modules/.bun/yaml@2.9.
|
|
13198
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
13131
13199
|
"use strict";
|
|
13132
13200
|
init_utils2();
|
|
13133
13201
|
var identity = require_identity();
|
|
@@ -13156,9 +13224,9 @@ var require_toJS = __commonJS({
|
|
|
13156
13224
|
}
|
|
13157
13225
|
});
|
|
13158
13226
|
|
|
13159
|
-
// node_modules/.bun/yaml@2.9.
|
|
13227
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
|
|
13160
13228
|
var require_Node = __commonJS({
|
|
13161
|
-
"node_modules/.bun/yaml@2.9.
|
|
13229
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
13162
13230
|
"use strict";
|
|
13163
13231
|
init_utils2();
|
|
13164
13232
|
var applyReviver = require_applyReviver();
|
|
@@ -13198,9 +13266,9 @@ var require_Node = __commonJS({
|
|
|
13198
13266
|
}
|
|
13199
13267
|
});
|
|
13200
13268
|
|
|
13201
|
-
// node_modules/.bun/yaml@2.9.
|
|
13269
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
|
|
13202
13270
|
var require_Alias = __commonJS({
|
|
13203
|
-
"node_modules/.bun/yaml@2.9.
|
|
13271
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
13204
13272
|
"use strict";
|
|
13205
13273
|
init_utils2();
|
|
13206
13274
|
var anchors = require_anchors();
|
|
@@ -13246,36 +13314,38 @@ var require_Alias = __commonJS({
|
|
|
13246
13314
|
if (node.anchor === this.source)
|
|
13247
13315
|
found = node;
|
|
13248
13316
|
}
|
|
13317
|
+
if (found && ctx) {
|
|
13318
|
+
const { anchors: anchors2, doc: doc2, maxAliasCount } = ctx;
|
|
13319
|
+
let data = anchors2.get(found);
|
|
13320
|
+
if (!data) {
|
|
13321
|
+
toJS.toJS(found, null, ctx);
|
|
13322
|
+
data = anchors2.get(found);
|
|
13323
|
+
}
|
|
13324
|
+
if (data?.res === void 0) {
|
|
13325
|
+
const msg = "This should not happen: Alias anchor was not resolved?";
|
|
13326
|
+
throw new ReferenceError(msg);
|
|
13327
|
+
}
|
|
13328
|
+
if (maxAliasCount >= 0) {
|
|
13329
|
+
data.count += 1;
|
|
13330
|
+
if (data.aliasCount === 0)
|
|
13331
|
+
data.aliasCount = getAliasCount(doc2, found, anchors2);
|
|
13332
|
+
if (data.count * data.aliasCount > maxAliasCount) {
|
|
13333
|
+
const msg = "Excessive alias count indicates a resource exhaustion attack";
|
|
13334
|
+
throw new ReferenceError(msg);
|
|
13335
|
+
}
|
|
13336
|
+
}
|
|
13337
|
+
}
|
|
13249
13338
|
return found;
|
|
13250
13339
|
}
|
|
13251
13340
|
toJSON(_arg, ctx) {
|
|
13252
13341
|
if (!ctx)
|
|
13253
13342
|
return { source: this.source };
|
|
13254
|
-
const
|
|
13255
|
-
const source = this.resolve(doc, ctx);
|
|
13343
|
+
const source = this.resolve(ctx.doc, ctx);
|
|
13256
13344
|
if (!source) {
|
|
13257
13345
|
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
|
|
13258
13346
|
throw new ReferenceError(msg);
|
|
13259
13347
|
}
|
|
13260
|
-
|
|
13261
|
-
if (!data) {
|
|
13262
|
-
toJS.toJS(source, null, ctx);
|
|
13263
|
-
data = anchors2.get(source);
|
|
13264
|
-
}
|
|
13265
|
-
if (data?.res === void 0) {
|
|
13266
|
-
const msg = "This should not happen: Alias anchor was not resolved?";
|
|
13267
|
-
throw new ReferenceError(msg);
|
|
13268
|
-
}
|
|
13269
|
-
if (maxAliasCount >= 0) {
|
|
13270
|
-
data.count += 1;
|
|
13271
|
-
if (data.aliasCount === 0)
|
|
13272
|
-
data.aliasCount = getAliasCount(doc, source, anchors2);
|
|
13273
|
-
if (data.count * data.aliasCount > maxAliasCount) {
|
|
13274
|
-
const msg = "Excessive alias count indicates a resource exhaustion attack";
|
|
13275
|
-
throw new ReferenceError(msg);
|
|
13276
|
-
}
|
|
13277
|
-
}
|
|
13278
|
-
return data.res;
|
|
13348
|
+
return ctx.anchors.get(source).res;
|
|
13279
13349
|
}
|
|
13280
13350
|
toString(ctx, _onComment, _onChompKeep) {
|
|
13281
13351
|
const src = `*${this.source}`;
|
|
@@ -13315,9 +13385,9 @@ var require_Alias = __commonJS({
|
|
|
13315
13385
|
}
|
|
13316
13386
|
});
|
|
13317
13387
|
|
|
13318
|
-
// node_modules/.bun/yaml@2.9.
|
|
13388
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
|
|
13319
13389
|
var require_Scalar = __commonJS({
|
|
13320
|
-
"node_modules/.bun/yaml@2.9.
|
|
13390
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
13321
13391
|
"use strict";
|
|
13322
13392
|
init_utils2();
|
|
13323
13393
|
var identity = require_identity();
|
|
@@ -13346,9 +13416,9 @@ var require_Scalar = __commonJS({
|
|
|
13346
13416
|
}
|
|
13347
13417
|
});
|
|
13348
13418
|
|
|
13349
|
-
// node_modules/.bun/yaml@2.9.
|
|
13419
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
|
|
13350
13420
|
var require_createNode = __commonJS({
|
|
13351
|
-
"node_modules/.bun/yaml@2.9.
|
|
13421
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
13352
13422
|
"use strict";
|
|
13353
13423
|
init_utils2();
|
|
13354
13424
|
var Alias = require_Alias();
|
|
@@ -13422,9 +13492,9 @@ var require_createNode = __commonJS({
|
|
|
13422
13492
|
}
|
|
13423
13493
|
});
|
|
13424
13494
|
|
|
13425
|
-
// node_modules/.bun/yaml@2.9.
|
|
13495
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
|
|
13426
13496
|
var require_Collection = __commonJS({
|
|
13427
|
-
"node_modules/.bun/yaml@2.9.
|
|
13497
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
13428
13498
|
"use strict";
|
|
13429
13499
|
init_utils2();
|
|
13430
13500
|
var createNode = require_createNode();
|
|
@@ -13566,9 +13636,9 @@ var require_Collection = __commonJS({
|
|
|
13566
13636
|
}
|
|
13567
13637
|
});
|
|
13568
13638
|
|
|
13569
|
-
// node_modules/.bun/yaml@2.9.
|
|
13639
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
13570
13640
|
var require_stringifyComment = __commonJS({
|
|
13571
|
-
"node_modules/.bun/yaml@2.9.
|
|
13641
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
13572
13642
|
"use strict";
|
|
13573
13643
|
init_utils2();
|
|
13574
13644
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
@@ -13584,9 +13654,9 @@ var require_stringifyComment = __commonJS({
|
|
|
13584
13654
|
}
|
|
13585
13655
|
});
|
|
13586
13656
|
|
|
13587
|
-
// node_modules/.bun/yaml@2.9.
|
|
13657
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
13588
13658
|
var require_foldFlowLines = __commonJS({
|
|
13589
|
-
"node_modules/.bun/yaml@2.9.
|
|
13659
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
13590
13660
|
"use strict";
|
|
13591
13661
|
init_utils2();
|
|
13592
13662
|
var FOLD_FLOW = "flow";
|
|
@@ -13721,9 +13791,9 @@ ${indent}${text2.slice(fold + 1, end2)}`;
|
|
|
13721
13791
|
}
|
|
13722
13792
|
});
|
|
13723
13793
|
|
|
13724
|
-
// node_modules/.bun/yaml@2.9.
|
|
13794
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
|
|
13725
13795
|
var require_stringifyString = __commonJS({
|
|
13726
|
-
"node_modules/.bun/yaml@2.9.
|
|
13796
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
13727
13797
|
"use strict";
|
|
13728
13798
|
init_utils2();
|
|
13729
13799
|
var Scalar = require_Scalar();
|
|
@@ -14005,9 +14075,9 @@ ${indent}`);
|
|
|
14005
14075
|
}
|
|
14006
14076
|
});
|
|
14007
14077
|
|
|
14008
|
-
// node_modules/.bun/yaml@2.9.
|
|
14078
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
|
|
14009
14079
|
var require_stringify2 = __commonJS({
|
|
14010
|
-
"node_modules/.bun/yaml@2.9.
|
|
14080
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
14011
14081
|
"use strict";
|
|
14012
14082
|
init_utils2();
|
|
14013
14083
|
var anchors = require_anchors();
|
|
@@ -14130,9 +14200,9 @@ ${ctx.indent}${str}`;
|
|
|
14130
14200
|
}
|
|
14131
14201
|
});
|
|
14132
14202
|
|
|
14133
|
-
// node_modules/.bun/yaml@2.9.
|
|
14203
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
14134
14204
|
var require_stringifyPair = __commonJS({
|
|
14135
|
-
"node_modules/.bun/yaml@2.9.
|
|
14205
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
14136
14206
|
"use strict";
|
|
14137
14207
|
init_utils2();
|
|
14138
14208
|
var identity = require_identity();
|
|
@@ -14264,9 +14334,9 @@ ${ctx.indent}`;
|
|
|
14264
14334
|
}
|
|
14265
14335
|
});
|
|
14266
14336
|
|
|
14267
|
-
// node_modules/.bun/yaml@2.9.
|
|
14337
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/log.js
|
|
14268
14338
|
var require_log = __commonJS({
|
|
14269
|
-
"node_modules/.bun/yaml@2.9.
|
|
14339
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/log.js"(exports) {
|
|
14270
14340
|
"use strict";
|
|
14271
14341
|
init_utils2();
|
|
14272
14342
|
var node_process = __require("process");
|
|
@@ -14287,9 +14357,9 @@ var require_log = __commonJS({
|
|
|
14287
14357
|
}
|
|
14288
14358
|
});
|
|
14289
14359
|
|
|
14290
|
-
// node_modules/.bun/yaml@2.9.
|
|
14360
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
14291
14361
|
var require_merge = __commonJS({
|
|
14292
|
-
"node_modules/.bun/yaml@2.9.
|
|
14362
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
14293
14363
|
"use strict";
|
|
14294
14364
|
init_utils2();
|
|
14295
14365
|
var identity = require_identity();
|
|
@@ -14348,9 +14418,9 @@ var require_merge = __commonJS({
|
|
|
14348
14418
|
}
|
|
14349
14419
|
});
|
|
14350
14420
|
|
|
14351
|
-
// node_modules/.bun/yaml@2.9.
|
|
14421
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
14352
14422
|
var require_addPairToJSMap = __commonJS({
|
|
14353
|
-
"node_modules/.bun/yaml@2.9.
|
|
14423
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
14354
14424
|
"use strict";
|
|
14355
14425
|
init_utils2();
|
|
14356
14426
|
var log4 = require_log();
|
|
@@ -14413,9 +14483,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
14413
14483
|
}
|
|
14414
14484
|
});
|
|
14415
14485
|
|
|
14416
|
-
// node_modules/.bun/yaml@2.9.
|
|
14486
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
|
|
14417
14487
|
var require_Pair = __commonJS({
|
|
14418
|
-
"node_modules/.bun/yaml@2.9.
|
|
14488
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
14419
14489
|
"use strict";
|
|
14420
14490
|
init_utils2();
|
|
14421
14491
|
var createNode = require_createNode();
|
|
@@ -14454,9 +14524,9 @@ var require_Pair = __commonJS({
|
|
|
14454
14524
|
}
|
|
14455
14525
|
});
|
|
14456
14526
|
|
|
14457
|
-
// node_modules/.bun/yaml@2.9.
|
|
14527
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
14458
14528
|
var require_stringifyCollection = __commonJS({
|
|
14459
|
-
"node_modules/.bun/yaml@2.9.
|
|
14529
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
14460
14530
|
"use strict";
|
|
14461
14531
|
init_utils2();
|
|
14462
14532
|
var identity = require_identity();
|
|
@@ -14606,9 +14676,9 @@ ${indent}${end}`;
|
|
|
14606
14676
|
}
|
|
14607
14677
|
});
|
|
14608
14678
|
|
|
14609
|
-
// node_modules/.bun/yaml@2.9.
|
|
14679
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
14610
14680
|
var require_YAMLMap = __commonJS({
|
|
14611
|
-
"node_modules/.bun/yaml@2.9.
|
|
14681
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
14612
14682
|
"use strict";
|
|
14613
14683
|
init_utils2();
|
|
14614
14684
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -14751,9 +14821,9 @@ var require_YAMLMap = __commonJS({
|
|
|
14751
14821
|
}
|
|
14752
14822
|
});
|
|
14753
14823
|
|
|
14754
|
-
// node_modules/.bun/yaml@2.9.
|
|
14824
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
|
|
14755
14825
|
var require_map = __commonJS({
|
|
14756
|
-
"node_modules/.bun/yaml@2.9.
|
|
14826
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
14757
14827
|
"use strict";
|
|
14758
14828
|
init_utils2();
|
|
14759
14829
|
var identity = require_identity();
|
|
@@ -14774,9 +14844,9 @@ var require_map = __commonJS({
|
|
|
14774
14844
|
}
|
|
14775
14845
|
});
|
|
14776
14846
|
|
|
14777
|
-
// node_modules/.bun/yaml@2.9.
|
|
14847
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
14778
14848
|
var require_YAMLSeq = __commonJS({
|
|
14779
|
-
"node_modules/.bun/yaml@2.9.
|
|
14849
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
14780
14850
|
"use strict";
|
|
14781
14851
|
init_utils2();
|
|
14782
14852
|
var createNode = require_createNode();
|
|
@@ -14891,9 +14961,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
14891
14961
|
}
|
|
14892
14962
|
});
|
|
14893
14963
|
|
|
14894
|
-
// node_modules/.bun/yaml@2.9.
|
|
14964
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
|
|
14895
14965
|
var require_seq = __commonJS({
|
|
14896
|
-
"node_modules/.bun/yaml@2.9.
|
|
14966
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
14897
14967
|
"use strict";
|
|
14898
14968
|
init_utils2();
|
|
14899
14969
|
var identity = require_identity();
|
|
@@ -14914,9 +14984,9 @@ var require_seq = __commonJS({
|
|
|
14914
14984
|
}
|
|
14915
14985
|
});
|
|
14916
14986
|
|
|
14917
|
-
// node_modules/.bun/yaml@2.9.
|
|
14987
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
|
|
14918
14988
|
var require_string2 = __commonJS({
|
|
14919
|
-
"node_modules/.bun/yaml@2.9.
|
|
14989
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
14920
14990
|
"use strict";
|
|
14921
14991
|
init_utils2();
|
|
14922
14992
|
var stringifyString = require_stringifyString();
|
|
@@ -14934,9 +15004,9 @@ var require_string2 = __commonJS({
|
|
|
14934
15004
|
}
|
|
14935
15005
|
});
|
|
14936
15006
|
|
|
14937
|
-
// node_modules/.bun/yaml@2.9.
|
|
15007
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
|
|
14938
15008
|
var require_null = __commonJS({
|
|
14939
|
-
"node_modules/.bun/yaml@2.9.
|
|
15009
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
14940
15010
|
"use strict";
|
|
14941
15011
|
init_utils2();
|
|
14942
15012
|
var Scalar = require_Scalar();
|
|
@@ -14953,9 +15023,9 @@ var require_null = __commonJS({
|
|
|
14953
15023
|
}
|
|
14954
15024
|
});
|
|
14955
15025
|
|
|
14956
|
-
// node_modules/.bun/yaml@2.9.
|
|
15026
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
|
|
14957
15027
|
var require_bool = __commonJS({
|
|
14958
|
-
"node_modules/.bun/yaml@2.9.
|
|
15028
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
14959
15029
|
"use strict";
|
|
14960
15030
|
init_utils2();
|
|
14961
15031
|
var Scalar = require_Scalar();
|
|
@@ -14978,9 +15048,9 @@ var require_bool = __commonJS({
|
|
|
14978
15048
|
}
|
|
14979
15049
|
});
|
|
14980
15050
|
|
|
14981
|
-
// node_modules/.bun/yaml@2.9.
|
|
15051
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
14982
15052
|
var require_stringifyNumber = __commonJS({
|
|
14983
|
-
"node_modules/.bun/yaml@2.9.
|
|
15053
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
14984
15054
|
"use strict";
|
|
14985
15055
|
init_utils2();
|
|
14986
15056
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
@@ -15006,9 +15076,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
15006
15076
|
}
|
|
15007
15077
|
});
|
|
15008
15078
|
|
|
15009
|
-
// node_modules/.bun/yaml@2.9.
|
|
15079
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
|
|
15010
15080
|
var require_float = __commonJS({
|
|
15011
|
-
"node_modules/.bun/yaml@2.9.
|
|
15081
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
15012
15082
|
"use strict";
|
|
15013
15083
|
init_utils2();
|
|
15014
15084
|
var Scalar = require_Scalar();
|
|
@@ -15053,9 +15123,9 @@ var require_float = __commonJS({
|
|
|
15053
15123
|
}
|
|
15054
15124
|
});
|
|
15055
15125
|
|
|
15056
|
-
// node_modules/.bun/yaml@2.9.
|
|
15126
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
|
|
15057
15127
|
var require_int = __commonJS({
|
|
15058
|
-
"node_modules/.bun/yaml@2.9.
|
|
15128
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
15059
15129
|
"use strict";
|
|
15060
15130
|
init_utils2();
|
|
15061
15131
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -15099,9 +15169,9 @@ var require_int = __commonJS({
|
|
|
15099
15169
|
}
|
|
15100
15170
|
});
|
|
15101
15171
|
|
|
15102
|
-
// node_modules/.bun/yaml@2.9.
|
|
15172
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
|
|
15103
15173
|
var require_schema = __commonJS({
|
|
15104
|
-
"node_modules/.bun/yaml@2.9.
|
|
15174
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
15105
15175
|
"use strict";
|
|
15106
15176
|
init_utils2();
|
|
15107
15177
|
var map = require_map();
|
|
@@ -15128,9 +15198,9 @@ var require_schema = __commonJS({
|
|
|
15128
15198
|
}
|
|
15129
15199
|
});
|
|
15130
15200
|
|
|
15131
|
-
// node_modules/.bun/yaml@2.9.
|
|
15201
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
|
|
15132
15202
|
var require_schema2 = __commonJS({
|
|
15133
|
-
"node_modules/.bun/yaml@2.9.
|
|
15203
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
15134
15204
|
"use strict";
|
|
15135
15205
|
init_utils2();
|
|
15136
15206
|
var Scalar = require_Scalar();
|
|
@@ -15196,9 +15266,9 @@ var require_schema2 = __commonJS({
|
|
|
15196
15266
|
}
|
|
15197
15267
|
});
|
|
15198
15268
|
|
|
15199
|
-
// node_modules/.bun/yaml@2.9.
|
|
15269
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
15200
15270
|
var require_binary = __commonJS({
|
|
15201
|
-
"node_modules/.bun/yaml@2.9.
|
|
15271
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
15202
15272
|
"use strict";
|
|
15203
15273
|
init_utils2();
|
|
15204
15274
|
var node_buffer = __require("buffer");
|
|
@@ -15263,9 +15333,9 @@ var require_binary = __commonJS({
|
|
|
15263
15333
|
}
|
|
15264
15334
|
});
|
|
15265
15335
|
|
|
15266
|
-
// node_modules/.bun/yaml@2.9.
|
|
15336
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
15267
15337
|
var require_pairs = __commonJS({
|
|
15268
|
-
"node_modules/.bun/yaml@2.9.
|
|
15338
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
15269
15339
|
"use strict";
|
|
15270
15340
|
init_utils2();
|
|
15271
15341
|
var identity = require_identity();
|
|
@@ -15342,9 +15412,9 @@ ${cn.comment}` : item.comment;
|
|
|
15342
15412
|
}
|
|
15343
15413
|
});
|
|
15344
15414
|
|
|
15345
|
-
// node_modules/.bun/yaml@2.9.
|
|
15415
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
15346
15416
|
var require_omap = __commonJS({
|
|
15347
|
-
"node_modules/.bun/yaml@2.9.
|
|
15417
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
15348
15418
|
"use strict";
|
|
15349
15419
|
init_utils2();
|
|
15350
15420
|
var identity = require_identity();
|
|
@@ -15421,9 +15491,9 @@ var require_omap = __commonJS({
|
|
|
15421
15491
|
}
|
|
15422
15492
|
});
|
|
15423
15493
|
|
|
15424
|
-
// node_modules/.bun/yaml@2.9.
|
|
15494
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
15425
15495
|
var require_bool2 = __commonJS({
|
|
15426
|
-
"node_modules/.bun/yaml@2.9.
|
|
15496
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
15427
15497
|
"use strict";
|
|
15428
15498
|
init_utils2();
|
|
15429
15499
|
var Scalar = require_Scalar();
|
|
@@ -15454,9 +15524,9 @@ var require_bool2 = __commonJS({
|
|
|
15454
15524
|
}
|
|
15455
15525
|
});
|
|
15456
15526
|
|
|
15457
|
-
// node_modules/.bun/yaml@2.9.
|
|
15527
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
15458
15528
|
var require_float2 = __commonJS({
|
|
15459
|
-
"node_modules/.bun/yaml@2.9.
|
|
15529
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
15460
15530
|
"use strict";
|
|
15461
15531
|
init_utils2();
|
|
15462
15532
|
var Scalar = require_Scalar();
|
|
@@ -15504,9 +15574,9 @@ var require_float2 = __commonJS({
|
|
|
15504
15574
|
}
|
|
15505
15575
|
});
|
|
15506
15576
|
|
|
15507
|
-
// node_modules/.bun/yaml@2.9.
|
|
15577
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
15508
15578
|
var require_int2 = __commonJS({
|
|
15509
|
-
"node_modules/.bun/yaml@2.9.
|
|
15579
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
15510
15580
|
"use strict";
|
|
15511
15581
|
init_utils2();
|
|
15512
15582
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -15584,9 +15654,9 @@ var require_int2 = __commonJS({
|
|
|
15584
15654
|
}
|
|
15585
15655
|
});
|
|
15586
15656
|
|
|
15587
|
-
// node_modules/.bun/yaml@2.9.
|
|
15657
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
15588
15658
|
var require_set = __commonJS({
|
|
15589
|
-
"node_modules/.bun/yaml@2.9.
|
|
15659
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
15590
15660
|
"use strict";
|
|
15591
15661
|
init_utils2();
|
|
15592
15662
|
var identity = require_identity();
|
|
@@ -15674,9 +15744,9 @@ var require_set = __commonJS({
|
|
|
15674
15744
|
}
|
|
15675
15745
|
});
|
|
15676
15746
|
|
|
15677
|
-
// node_modules/.bun/yaml@2.9.
|
|
15747
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
15678
15748
|
var require_timestamp = __commonJS({
|
|
15679
|
-
"node_modules/.bun/yaml@2.9.
|
|
15749
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
15680
15750
|
"use strict";
|
|
15681
15751
|
init_utils2();
|
|
15682
15752
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -15763,9 +15833,9 @@ var require_timestamp = __commonJS({
|
|
|
15763
15833
|
}
|
|
15764
15834
|
});
|
|
15765
15835
|
|
|
15766
|
-
// node_modules/.bun/yaml@2.9.
|
|
15836
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
15767
15837
|
var require_schema3 = __commonJS({
|
|
15768
|
-
"node_modules/.bun/yaml@2.9.
|
|
15838
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
15769
15839
|
"use strict";
|
|
15770
15840
|
init_utils2();
|
|
15771
15841
|
var map = require_map();
|
|
@@ -15808,9 +15878,9 @@ var require_schema3 = __commonJS({
|
|
|
15808
15878
|
}
|
|
15809
15879
|
});
|
|
15810
15880
|
|
|
15811
|
-
// node_modules/.bun/yaml@2.9.
|
|
15881
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
|
|
15812
15882
|
var require_tags = __commonJS({
|
|
15813
|
-
"node_modules/.bun/yaml@2.9.
|
|
15883
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
15814
15884
|
"use strict";
|
|
15815
15885
|
init_utils2();
|
|
15816
15886
|
var map = require_map();
|
|
@@ -15903,9 +15973,9 @@ var require_tags = __commonJS({
|
|
|
15903
15973
|
}
|
|
15904
15974
|
});
|
|
15905
15975
|
|
|
15906
|
-
// node_modules/.bun/yaml@2.9.
|
|
15976
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
|
|
15907
15977
|
var require_Schema = __commonJS({
|
|
15908
|
-
"node_modules/.bun/yaml@2.9.
|
|
15978
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
15909
15979
|
"use strict";
|
|
15910
15980
|
init_utils2();
|
|
15911
15981
|
var identity = require_identity();
|
|
@@ -15936,9 +16006,9 @@ var require_Schema = __commonJS({
|
|
|
15936
16006
|
}
|
|
15937
16007
|
});
|
|
15938
16008
|
|
|
15939
|
-
// node_modules/.bun/yaml@2.9.
|
|
16009
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
15940
16010
|
var require_stringifyDocument = __commonJS({
|
|
15941
|
-
"node_modules/.bun/yaml@2.9.
|
|
16011
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
15942
16012
|
"use strict";
|
|
15943
16013
|
init_utils2();
|
|
15944
16014
|
var identity = require_identity();
|
|
@@ -16017,9 +16087,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
16017
16087
|
}
|
|
16018
16088
|
});
|
|
16019
16089
|
|
|
16020
|
-
// node_modules/.bun/yaml@2.9.
|
|
16090
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
|
|
16021
16091
|
var require_Document = __commonJS({
|
|
16022
|
-
"node_modules/.bun/yaml@2.9.
|
|
16092
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
16023
16093
|
"use strict";
|
|
16024
16094
|
init_utils2();
|
|
16025
16095
|
var Alias = require_Alias();
|
|
@@ -16327,9 +16397,9 @@ var require_Document = __commonJS({
|
|
|
16327
16397
|
}
|
|
16328
16398
|
});
|
|
16329
16399
|
|
|
16330
|
-
// node_modules/.bun/yaml@2.9.
|
|
16400
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/errors.js
|
|
16331
16401
|
var require_errors = __commonJS({
|
|
16332
|
-
"node_modules/.bun/yaml@2.9.
|
|
16402
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/errors.js"(exports) {
|
|
16333
16403
|
"use strict";
|
|
16334
16404
|
init_utils2();
|
|
16335
16405
|
var YAMLError = class extends Error {
|
|
@@ -16393,9 +16463,9 @@ ${pointer}
|
|
|
16393
16463
|
}
|
|
16394
16464
|
});
|
|
16395
16465
|
|
|
16396
|
-
// node_modules/.bun/yaml@2.9.
|
|
16466
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
|
|
16397
16467
|
var require_resolve_props = __commonJS({
|
|
16398
|
-
"node_modules/.bun/yaml@2.9.
|
|
16468
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
16399
16469
|
"use strict";
|
|
16400
16470
|
init_utils2();
|
|
16401
16471
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
@@ -16528,9 +16598,9 @@ var require_resolve_props = __commonJS({
|
|
|
16528
16598
|
}
|
|
16529
16599
|
});
|
|
16530
16600
|
|
|
16531
|
-
// node_modules/.bun/yaml@2.9.
|
|
16601
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
16532
16602
|
var require_util_contains_newline = __commonJS({
|
|
16533
|
-
"node_modules/.bun/yaml@2.9.
|
|
16603
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
16534
16604
|
"use strict";
|
|
16535
16605
|
init_utils2();
|
|
16536
16606
|
function containsNewline(key) {
|
|
@@ -16571,9 +16641,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
16571
16641
|
}
|
|
16572
16642
|
});
|
|
16573
16643
|
|
|
16574
|
-
// node_modules/.bun/yaml@2.9.
|
|
16644
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
16575
16645
|
var require_util_flow_indent_check = __commonJS({
|
|
16576
|
-
"node_modules/.bun/yaml@2.9.
|
|
16646
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
16577
16647
|
"use strict";
|
|
16578
16648
|
init_utils2();
|
|
16579
16649
|
var utilContainsNewline = require_util_contains_newline();
|
|
@@ -16590,9 +16660,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
16590
16660
|
}
|
|
16591
16661
|
});
|
|
16592
16662
|
|
|
16593
|
-
// node_modules/.bun/yaml@2.9.
|
|
16663
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
|
|
16594
16664
|
var require_util_map_includes = __commonJS({
|
|
16595
|
-
"node_modules/.bun/yaml@2.9.
|
|
16665
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
16596
16666
|
"use strict";
|
|
16597
16667
|
init_utils2();
|
|
16598
16668
|
var identity = require_identity();
|
|
@@ -16607,9 +16677,9 @@ var require_util_map_includes = __commonJS({
|
|
|
16607
16677
|
}
|
|
16608
16678
|
});
|
|
16609
16679
|
|
|
16610
|
-
// node_modules/.bun/yaml@2.9.
|
|
16680
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
16611
16681
|
var require_resolve_block_map = __commonJS({
|
|
16612
|
-
"node_modules/.bun/yaml@2.9.
|
|
16682
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
16613
16683
|
"use strict";
|
|
16614
16684
|
init_utils2();
|
|
16615
16685
|
var Pair = require_Pair();
|
|
@@ -16716,9 +16786,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
16716
16786
|
}
|
|
16717
16787
|
});
|
|
16718
16788
|
|
|
16719
|
-
// node_modules/.bun/yaml@2.9.
|
|
16789
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
16720
16790
|
var require_resolve_block_seq = __commonJS({
|
|
16721
|
-
"node_modules/.bun/yaml@2.9.
|
|
16791
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
16722
16792
|
"use strict";
|
|
16723
16793
|
init_utils2();
|
|
16724
16794
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -16768,9 +16838,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
16768
16838
|
}
|
|
16769
16839
|
});
|
|
16770
16840
|
|
|
16771
|
-
// node_modules/.bun/yaml@2.9.
|
|
16841
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
|
|
16772
16842
|
var require_resolve_end = __commonJS({
|
|
16773
|
-
"node_modules/.bun/yaml@2.9.
|
|
16843
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
16774
16844
|
"use strict";
|
|
16775
16845
|
init_utils2();
|
|
16776
16846
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
@@ -16812,9 +16882,9 @@ var require_resolve_end = __commonJS({
|
|
|
16812
16882
|
}
|
|
16813
16883
|
});
|
|
16814
16884
|
|
|
16815
|
-
// node_modules/.bun/yaml@2.9.
|
|
16885
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
16816
16886
|
var require_resolve_flow_collection = __commonJS({
|
|
16817
|
-
"node_modules/.bun/yaml@2.9.
|
|
16887
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
16818
16888
|
"use strict";
|
|
16819
16889
|
init_utils2();
|
|
16820
16890
|
var identity = require_identity();
|
|
@@ -17007,9 +17077,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
17007
17077
|
}
|
|
17008
17078
|
});
|
|
17009
17079
|
|
|
17010
|
-
// node_modules/.bun/yaml@2.9.
|
|
17080
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
|
|
17011
17081
|
var require_compose_collection = __commonJS({
|
|
17012
|
-
"node_modules/.bun/yaml@2.9.
|
|
17082
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
17013
17083
|
"use strict";
|
|
17014
17084
|
init_utils2();
|
|
17015
17085
|
var identity = require_identity();
|
|
@@ -17073,9 +17143,9 @@ var require_compose_collection = __commonJS({
|
|
|
17073
17143
|
}
|
|
17074
17144
|
});
|
|
17075
17145
|
|
|
17076
|
-
// node_modules/.bun/yaml@2.9.
|
|
17146
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
17077
17147
|
var require_resolve_block_scalar = __commonJS({
|
|
17078
|
-
"node_modules/.bun/yaml@2.9.
|
|
17148
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
17079
17149
|
"use strict";
|
|
17080
17150
|
init_utils2();
|
|
17081
17151
|
var Scalar = require_Scalar();
|
|
@@ -17257,9 +17327,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
17257
17327
|
}
|
|
17258
17328
|
});
|
|
17259
17329
|
|
|
17260
|
-
// node_modules/.bun/yaml@2.9.
|
|
17330
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
17261
17331
|
var require_resolve_flow_scalar = __commonJS({
|
|
17262
|
-
"node_modules/.bun/yaml@2.9.
|
|
17332
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
17263
17333
|
"use strict";
|
|
17264
17334
|
init_utils2();
|
|
17265
17335
|
var Scalar = require_Scalar();
|
|
@@ -17327,37 +17397,38 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
17327
17397
|
}
|
|
17328
17398
|
if (badChar)
|
|
17329
17399
|
onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
|
|
17330
|
-
return
|
|
17400
|
+
return unfoldLines(source);
|
|
17331
17401
|
}
|
|
17332
17402
|
function singleQuotedValue(source, onError) {
|
|
17333
17403
|
if (source[source.length - 1] !== "'" || source.length === 1)
|
|
17334
17404
|
onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
|
|
17335
|
-
return
|
|
17405
|
+
return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
|
|
17336
17406
|
}
|
|
17337
|
-
function
|
|
17338
|
-
|
|
17407
|
+
function unfoldLines(source) {
|
|
17408
|
+
const line = /(.*?)\r?\n/sy;
|
|
17409
|
+
let match = line.exec(source);
|
|
17410
|
+
if (!match)
|
|
17411
|
+
return source;
|
|
17412
|
+
let trimEnd, trimBoth;
|
|
17339
17413
|
try {
|
|
17340
|
-
|
|
17341
|
-
|
|
17414
|
+
trimEnd = new RegExp("(?<![ ])[ ]+$");
|
|
17415
|
+
trimBoth = new RegExp("^[ ]+|(?<![ ])[ ]+$", "g");
|
|
17342
17416
|
} catch {
|
|
17343
|
-
|
|
17344
|
-
|
|
17417
|
+
trimEnd = /[ \t]+$/;
|
|
17418
|
+
trimBoth = /^[ \t]+|[ \t]+$/g;
|
|
17345
17419
|
}
|
|
17346
|
-
let
|
|
17347
|
-
if (!match)
|
|
17348
|
-
return source;
|
|
17349
|
-
let res = match[1];
|
|
17420
|
+
let res = match[1].replace(trimEnd, "");
|
|
17350
17421
|
let sep2 = " ";
|
|
17351
|
-
let pos =
|
|
17352
|
-
line.lastIndex = pos;
|
|
17422
|
+
let pos = line.lastIndex;
|
|
17353
17423
|
while (match = line.exec(source)) {
|
|
17354
|
-
|
|
17424
|
+
const lm = match[1].replace(trimBoth, "");
|
|
17425
|
+
if (lm === "") {
|
|
17355
17426
|
if (sep2 === "\n")
|
|
17356
17427
|
res += sep2;
|
|
17357
17428
|
else
|
|
17358
17429
|
sep2 = "\n";
|
|
17359
17430
|
} else {
|
|
17360
|
-
res += sep2 +
|
|
17431
|
+
res += sep2 + lm;
|
|
17361
17432
|
sep2 = " ";
|
|
17362
17433
|
}
|
|
17363
17434
|
pos = line.lastIndex;
|
|
@@ -17478,9 +17549,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
17478
17549
|
}
|
|
17479
17550
|
});
|
|
17480
17551
|
|
|
17481
|
-
// node_modules/.bun/yaml@2.9.
|
|
17552
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
|
|
17482
17553
|
var require_compose_scalar = __commonJS({
|
|
17483
|
-
"node_modules/.bun/yaml@2.9.
|
|
17554
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
17484
17555
|
"use strict";
|
|
17485
17556
|
init_utils2();
|
|
17486
17557
|
var identity = require_identity();
|
|
@@ -17560,9 +17631,9 @@ var require_compose_scalar = __commonJS({
|
|
|
17560
17631
|
}
|
|
17561
17632
|
});
|
|
17562
17633
|
|
|
17563
|
-
// node_modules/.bun/yaml@2.9.
|
|
17634
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
17564
17635
|
var require_util_empty_scalar_position = __commonJS({
|
|
17565
|
-
"node_modules/.bun/yaml@2.9.
|
|
17636
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
17566
17637
|
"use strict";
|
|
17567
17638
|
init_utils2();
|
|
17568
17639
|
function emptyScalarPosition(offset, before, pos) {
|
|
@@ -17591,9 +17662,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
17591
17662
|
}
|
|
17592
17663
|
});
|
|
17593
17664
|
|
|
17594
|
-
// node_modules/.bun/yaml@2.9.
|
|
17665
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
|
|
17595
17666
|
var require_compose_node = __commonJS({
|
|
17596
|
-
"node_modules/.bun/yaml@2.9.
|
|
17667
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
17597
17668
|
"use strict";
|
|
17598
17669
|
init_utils2();
|
|
17599
17670
|
var Alias = require_Alias();
|
|
@@ -17698,9 +17769,9 @@ var require_compose_node = __commonJS({
|
|
|
17698
17769
|
}
|
|
17699
17770
|
});
|
|
17700
17771
|
|
|
17701
|
-
// node_modules/.bun/yaml@2.9.
|
|
17772
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
|
|
17702
17773
|
var require_compose_doc = __commonJS({
|
|
17703
|
-
"node_modules/.bun/yaml@2.9.
|
|
17774
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
17704
17775
|
"use strict";
|
|
17705
17776
|
init_utils2();
|
|
17706
17777
|
var Document = require_Document();
|
|
@@ -17742,9 +17813,9 @@ var require_compose_doc = __commonJS({
|
|
|
17742
17813
|
}
|
|
17743
17814
|
});
|
|
17744
17815
|
|
|
17745
|
-
// node_modules/.bun/yaml@2.9.
|
|
17816
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
|
|
17746
17817
|
var require_composer = __commonJS({
|
|
17747
|
-
"node_modules/.bun/yaml@2.9.
|
|
17818
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
17748
17819
|
"use strict";
|
|
17749
17820
|
init_utils2();
|
|
17750
17821
|
var node_process = __require("process");
|
|
@@ -17951,9 +18022,9 @@ ${end.comment}` : end.comment;
|
|
|
17951
18022
|
}
|
|
17952
18023
|
});
|
|
17953
18024
|
|
|
17954
|
-
// node_modules/.bun/yaml@2.9.
|
|
18025
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
|
|
17955
18026
|
var require_cst_scalar = __commonJS({
|
|
17956
|
-
"node_modules/.bun/yaml@2.9.
|
|
18027
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
17957
18028
|
"use strict";
|
|
17958
18029
|
init_utils2();
|
|
17959
18030
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
@@ -18137,9 +18208,9 @@ var require_cst_scalar = __commonJS({
|
|
|
18137
18208
|
}
|
|
18138
18209
|
});
|
|
18139
18210
|
|
|
18140
|
-
// node_modules/.bun/yaml@2.9.
|
|
18211
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
|
|
18141
18212
|
var require_cst_stringify = __commonJS({
|
|
18142
|
-
"node_modules/.bun/yaml@2.9.
|
|
18213
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
18143
18214
|
"use strict";
|
|
18144
18215
|
init_utils2();
|
|
18145
18216
|
var stringify2 = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
@@ -18199,9 +18270,9 @@ var require_cst_stringify = __commonJS({
|
|
|
18199
18270
|
}
|
|
18200
18271
|
});
|
|
18201
18272
|
|
|
18202
|
-
// node_modules/.bun/yaml@2.9.
|
|
18273
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
|
|
18203
18274
|
var require_cst_visit = __commonJS({
|
|
18204
|
-
"node_modules/.bun/yaml@2.9.
|
|
18275
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
18205
18276
|
"use strict";
|
|
18206
18277
|
init_utils2();
|
|
18207
18278
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
@@ -18262,9 +18333,9 @@ var require_cst_visit = __commonJS({
|
|
|
18262
18333
|
}
|
|
18263
18334
|
});
|
|
18264
18335
|
|
|
18265
|
-
// node_modules/.bun/yaml@2.9.
|
|
18336
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
|
|
18266
18337
|
var require_cst = __commonJS({
|
|
18267
|
-
"node_modules/.bun/yaml@2.9.
|
|
18338
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
18268
18339
|
"use strict";
|
|
18269
18340
|
init_utils2();
|
|
18270
18341
|
var cstScalar = require_cst_scalar();
|
|
@@ -18365,9 +18436,9 @@ var require_cst = __commonJS({
|
|
|
18365
18436
|
}
|
|
18366
18437
|
});
|
|
18367
18438
|
|
|
18368
|
-
// node_modules/.bun/yaml@2.9.
|
|
18439
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
|
|
18369
18440
|
var require_lexer = __commonJS({
|
|
18370
|
-
"node_modules/.bun/yaml@2.9.
|
|
18441
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
18371
18442
|
"use strict";
|
|
18372
18443
|
init_utils2();
|
|
18373
18444
|
var cst = require_cst();
|
|
@@ -18955,9 +19026,9 @@ var require_lexer = __commonJS({
|
|
|
18955
19026
|
}
|
|
18956
19027
|
});
|
|
18957
19028
|
|
|
18958
|
-
// node_modules/.bun/yaml@2.9.
|
|
19029
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
|
|
18959
19030
|
var require_line_counter = __commonJS({
|
|
18960
|
-
"node_modules/.bun/yaml@2.9.
|
|
19031
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
18961
19032
|
"use strict";
|
|
18962
19033
|
init_utils2();
|
|
18963
19034
|
var LineCounter = class {
|
|
@@ -18987,9 +19058,9 @@ var require_line_counter = __commonJS({
|
|
|
18987
19058
|
}
|
|
18988
19059
|
});
|
|
18989
19060
|
|
|
18990
|
-
// node_modules/.bun/yaml@2.9.
|
|
19061
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
|
|
18991
19062
|
var require_parser = __commonJS({
|
|
18992
|
-
"node_modules/.bun/yaml@2.9.
|
|
19063
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
18993
19064
|
"use strict";
|
|
18994
19065
|
init_utils2();
|
|
18995
19066
|
var node_process = __require("process");
|
|
@@ -19862,9 +19933,9 @@ var require_parser = __commonJS({
|
|
|
19862
19933
|
}
|
|
19863
19934
|
});
|
|
19864
19935
|
|
|
19865
|
-
// node_modules/.bun/yaml@2.9.
|
|
19936
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/public-api.js
|
|
19866
19937
|
var require_public_api = __commonJS({
|
|
19867
|
-
"node_modules/.bun/yaml@2.9.
|
|
19938
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/public-api.js"(exports) {
|
|
19868
19939
|
"use strict";
|
|
19869
19940
|
init_utils2();
|
|
19870
19941
|
var composer = require_composer();
|
|
@@ -19960,9 +20031,9 @@ var require_public_api = __commonJS({
|
|
|
19960
20031
|
}
|
|
19961
20032
|
});
|
|
19962
20033
|
|
|
19963
|
-
// node_modules/.bun/yaml@2.9.
|
|
20034
|
+
// node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/index.js
|
|
19964
20035
|
var require_dist = __commonJS({
|
|
19965
|
-
"node_modules/.bun/yaml@2.9.
|
|
20036
|
+
"node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/index.js"(exports) {
|
|
19966
20037
|
"use strict";
|
|
19967
20038
|
init_utils2();
|
|
19968
20039
|
var composer = require_composer();
|
|
@@ -20692,7 +20763,7 @@ function uploadServiceAccountToGitHub(appDir, repo, dryRun = false, staging = fa
|
|
|
20692
20763
|
const contentRaw = readSync(filePath, { format: "text" });
|
|
20693
20764
|
const content = typeof contentRaw === "string" ? contentRaw : null;
|
|
20694
20765
|
if (!content) return;
|
|
20695
|
-
const encoded =
|
|
20766
|
+
const encoded = Buffer2.from(content).toString("base64");
|
|
20696
20767
|
setGitHubSecret(secretName, encoded, repo, dryRun);
|
|
20697
20768
|
}
|
|
20698
20769
|
async function main5(options = {}) {
|
|
@@ -24188,7 +24259,7 @@ function buildOutputConfig(appDir, mode = "spa") {
|
|
|
24188
24259
|
}
|
|
24189
24260
|
const config = { version: 3, routes };
|
|
24190
24261
|
const json = JSON.stringify(config, null, 2);
|
|
24191
|
-
const content =
|
|
24262
|
+
const content = Buffer2.from(json);
|
|
24192
24263
|
const sha = createHash("sha1").update(content).digest("hex");
|
|
24193
24264
|
log2.debug(`Build Output config.json: ${routes.length} routes`);
|
|
24194
24265
|
return {
|