@hot-updater/cloudflare 0.19.9 → 0.19.10
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/iac/index.cjs +136 -154
- package/dist/iac/index.js +136 -154
- package/dist/index.cjs +58 -58
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +59 -59
- package/package.json +4 -4
- package/worker/dist/README.md +1 -1
- package/worker/dist/index.js +96 -100
- package/worker/dist/index.js.map +2 -2
package/dist/iac/index.cjs
CHANGED
|
@@ -56,7 +56,7 @@ const fs_promises = __toESM(require("fs/promises"));
|
|
|
56
56
|
const os = __toESM(require("os"));
|
|
57
57
|
|
|
58
58
|
//#region ../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
59
|
-
var require_src = __commonJS({ "../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
|
|
59
|
+
var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js": ((exports, module) => {
|
|
60
60
|
const ESC = "\x1B";
|
|
61
61
|
const CSI = `${ESC}[`;
|
|
62
62
|
const beep = "\x07";
|
|
@@ -109,11 +109,11 @@ var require_src = __commonJS({ "../../node_modules/.pnpm/sisteransi@1.0.5/node_m
|
|
|
109
109
|
erase,
|
|
110
110
|
beep
|
|
111
111
|
};
|
|
112
|
-
} });
|
|
112
|
+
}) });
|
|
113
113
|
|
|
114
114
|
//#endregion
|
|
115
115
|
//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
116
|
-
var require_picocolors = __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module) {
|
|
116
|
+
var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
|
|
117
117
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
118
118
|
let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
|
|
119
119
|
let formatter = (open, close, replace = open) => (input) => {
|
|
@@ -178,12 +178,12 @@ var require_picocolors = __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1
|
|
|
178
178
|
};
|
|
179
179
|
module.exports = createColors();
|
|
180
180
|
module.exports.createColors = createColors;
|
|
181
|
-
} });
|
|
181
|
+
}) });
|
|
182
182
|
|
|
183
183
|
//#endregion
|
|
184
184
|
//#region ../../node_modules/.pnpm/@clack+core@0.4.1/node_modules/@clack/core/dist/index.mjs
|
|
185
|
-
var import_src$1 = __toESM(require_src(), 1);
|
|
186
|
-
var import_picocolors$1 = __toESM(require_picocolors(), 1);
|
|
185
|
+
var import_src$1 = /* @__PURE__ */ __toESM(require_src(), 1);
|
|
186
|
+
var import_picocolors$1 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
187
187
|
function J$1({ onlyFirst: t = !1 } = {}) {
|
|
188
188
|
const F$1 = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
|
|
189
189
|
return new RegExp(F$1, t ? void 0 : "g");
|
|
@@ -428,7 +428,7 @@ const iD = sD(), v = new Set(["\x1B", ""]), CD = 39, w$1 = "\x07", W$1 = "[",
|
|
|
428
428
|
`)];
|
|
429
429
|
for (const [E, a$1] of o$2.entries()) {
|
|
430
430
|
if (e$1 += a$1, v.has(a$1)) {
|
|
431
|
-
const { groups: B$1 } = new RegExp(`(?:\\${W$1}(?<code>\\d+)m|\\${y}(?<uri>.*)${w$1})`).exec(o$2.slice(E).join("")) || { groups: {} };
|
|
431
|
+
const { groups: B$1 } = (/* @__PURE__ */ new RegExp(`(?:\\${W$1}(?<code>\\d+)m|\\${y}(?<uri>.*)${w$1})`)).exec(o$2.slice(E).join("")) || { groups: {} };
|
|
432
432
|
if (B$1.code !== void 0) {
|
|
433
433
|
const p$1 = Number.parseFloat(B$1.code);
|
|
434
434
|
s = p$1 === CD ? void 0 : p$1;
|
|
@@ -821,8 +821,8 @@ var PD = class extends x {
|
|
|
821
821
|
|
|
822
822
|
//#endregion
|
|
823
823
|
//#region ../../node_modules/.pnpm/@clack+prompts@0.10.0/node_modules/@clack/prompts/dist/index.mjs
|
|
824
|
-
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
825
|
-
var import_src = __toESM(require_src(), 1);
|
|
824
|
+
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
825
|
+
var import_src = /* @__PURE__ */ __toESM(require_src(), 1);
|
|
826
826
|
function ce() {
|
|
827
827
|
return node_process.default.platform !== "win32" ? node_process.default.env.TERM !== "linux" : !!node_process.default.env.CI || !!node_process.default.env.WT_SESSION || !!node_process.default.env.TERMINUS_SUBLIME || node_process.default.env.ConEmuTask === "{cmd::Cmder}" || node_process.default.env.TERM_PROGRAM === "Terminus-Sublime" || node_process.default.env.TERM_PROGRAM === "vscode" || node_process.default.env.TERM === "xterm-256color" || node_process.default.env.TERM === "alacritty" || node_process.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
828
828
|
}
|
|
@@ -1226,11 +1226,10 @@ ${J}${r$1.trimStart()}`), s = 3 + (0, node_util.stripVTControlCharacters)(r$1.tr
|
|
|
1226
1226
|
|
|
1227
1227
|
//#endregion
|
|
1228
1228
|
//#region ../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js
|
|
1229
|
-
var require_dayjs_min = __commonJS({ "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js"(exports, module) {
|
|
1229
|
+
var require_dayjs_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js": ((exports, module) => {
|
|
1230
1230
|
(function(t, e$1) {
|
|
1231
1231
|
"object" == typeof exports && "undefined" != typeof module ? module.exports = e$1() : "function" == typeof define && define.amd ? define(e$1) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e$1();
|
|
1232
|
-
})(
|
|
1233
|
-
"use strict";
|
|
1232
|
+
})(exports, (function() {
|
|
1234
1233
|
var t = 1e3, e$1 = 6e4, n$1 = 36e5, r$1 = "millisecond", i$1 = "second", s = "minute", u$2 = "hour", a$1 = "day", o$2 = "week", c$2 = "month", f$1 = "quarter", h$2 = "year", d$2 = "date", l$1 = "Invalid Date", $$2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y$1 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M$1 = {
|
|
1235
1234
|
name: "en",
|
|
1236
1235
|
weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
@@ -1417,7 +1416,7 @@ var require_dayjs_min = __commonJS({ "../../node_modules/.pnpm/dayjs@1.11.13/nod
|
|
|
1417
1416
|
var r$3 = t$2 < 12 ? "AM" : "PM";
|
|
1418
1417
|
return n$3 ? r$3.toLowerCase() : r$3;
|
|
1419
1418
|
};
|
|
1420
|
-
return r$2.replace(y$1, function(t$2, r$3) {
|
|
1419
|
+
return r$2.replace(y$1, (function(t$2, r$3) {
|
|
1421
1420
|
return r$3 || function(t$3) {
|
|
1422
1421
|
switch (t$3) {
|
|
1423
1422
|
case "YY": return String(e$2.$y).slice(-2);
|
|
@@ -1447,7 +1446,7 @@ var require_dayjs_min = __commonJS({ "../../node_modules/.pnpm/dayjs@1.11.13/nod
|
|
|
1447
1446
|
}
|
|
1448
1447
|
return null;
|
|
1449
1448
|
}(t$2) || i$2.replace(":", "");
|
|
1450
|
-
});
|
|
1449
|
+
}));
|
|
1451
1450
|
}, m$2.utcOffset = function() {
|
|
1452
1451
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1453
1452
|
}, m$2.diff = function(r$2, d$3, l$2) {
|
|
@@ -1511,20 +1510,21 @@ var require_dayjs_min = __commonJS({ "../../node_modules/.pnpm/dayjs@1.11.13/nod
|
|
|
1511
1510
|
["$M", c$2],
|
|
1512
1511
|
["$y", h$2],
|
|
1513
1512
|
["$D", d$2]
|
|
1514
|
-
].forEach(function(t$1) {
|
|
1513
|
+
].forEach((function(t$1) {
|
|
1515
1514
|
k$2[t$1[1]] = function(e$2) {
|
|
1516
1515
|
return this.$g(e$2, t$1[0], t$1[1]);
|
|
1517
1516
|
};
|
|
1518
|
-
}), O$1.extend = function(t$1, e$2) {
|
|
1517
|
+
})), O$1.extend = function(t$1, e$2) {
|
|
1519
1518
|
return t$1.$i || (t$1(e$2, _$3, O$1), t$1.$i = !0), O$1;
|
|
1520
1519
|
}, O$1.locale = w$2, O$1.isDayjs = S$2, O$1.unix = function(t$1) {
|
|
1521
1520
|
return O$1(1e3 * t$1);
|
|
1522
1521
|
}, O$1.en = D$1[g$2], O$1.Ls = D$1, O$1.p = {}, O$1;
|
|
1523
|
-
});
|
|
1524
|
-
} });
|
|
1522
|
+
}));
|
|
1523
|
+
}) });
|
|
1525
1524
|
|
|
1526
1525
|
//#endregion
|
|
1527
1526
|
//#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
|
|
1527
|
+
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1);
|
|
1528
1528
|
function isPlainObject(value) {
|
|
1529
1529
|
if (typeof value !== "object" || value === null) return false;
|
|
1530
1530
|
const prototype = Object.getPrototypeOf(value);
|
|
@@ -2324,10 +2324,10 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
|
|
|
2324
2324
|
|
|
2325
2325
|
//#endregion
|
|
2326
2326
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
2327
|
-
var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
|
|
2327
|
+
var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
|
|
2328
2328
|
module.exports = isexe$3;
|
|
2329
2329
|
isexe$3.sync = sync$2;
|
|
2330
|
-
var fs$
|
|
2330
|
+
var fs$5 = require("fs");
|
|
2331
2331
|
function checkPathExt(path$14, options) {
|
|
2332
2332
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
2333
2333
|
if (!pathext) return true;
|
|
@@ -2344,28 +2344,28 @@ var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_mo
|
|
|
2344
2344
|
return checkPathExt(path$14, options);
|
|
2345
2345
|
}
|
|
2346
2346
|
function isexe$3(path$14, options, cb) {
|
|
2347
|
-
fs$
|
|
2347
|
+
fs$5.stat(path$14, function(er, stat) {
|
|
2348
2348
|
cb(er, er ? false : checkStat$1(stat, path$14, options));
|
|
2349
2349
|
});
|
|
2350
2350
|
}
|
|
2351
2351
|
function sync$2(path$14, options) {
|
|
2352
|
-
return checkStat$1(fs$
|
|
2352
|
+
return checkStat$1(fs$5.statSync(path$14), path$14, options);
|
|
2353
2353
|
}
|
|
2354
|
-
} });
|
|
2354
|
+
}) });
|
|
2355
2355
|
|
|
2356
2356
|
//#endregion
|
|
2357
2357
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
2358
|
-
var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
|
|
2358
|
+
var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
|
|
2359
2359
|
module.exports = isexe$2;
|
|
2360
2360
|
isexe$2.sync = sync$1;
|
|
2361
|
-
var fs$
|
|
2361
|
+
var fs$4 = require("fs");
|
|
2362
2362
|
function isexe$2(path$14, options, cb) {
|
|
2363
|
-
fs$
|
|
2363
|
+
fs$4.stat(path$14, function(er, stat) {
|
|
2364
2364
|
cb(er, er ? false : checkStat(stat, options));
|
|
2365
2365
|
});
|
|
2366
2366
|
}
|
|
2367
2367
|
function sync$1(path$14, options) {
|
|
2368
|
-
return checkStat(fs$
|
|
2368
|
+
return checkStat(fs$4.statSync(path$14), options);
|
|
2369
2369
|
}
|
|
2370
2370
|
function checkStat(stat, options) {
|
|
2371
2371
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -2383,12 +2383,12 @@ var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modul
|
|
|
2383
2383
|
var ret = mod & o$2 || mod & g$2 && gid === myGid || mod & u$2 && uid === myUid || mod & ug && myUid === 0;
|
|
2384
2384
|
return ret;
|
|
2385
2385
|
}
|
|
2386
|
-
} });
|
|
2386
|
+
}) });
|
|
2387
2387
|
|
|
2388
2388
|
//#endregion
|
|
2389
2389
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
2390
|
-
var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
|
|
2391
|
-
|
|
2390
|
+
var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
|
|
2391
|
+
require("fs");
|
|
2392
2392
|
var core;
|
|
2393
2393
|
if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
|
|
2394
2394
|
else core = require_mode();
|
|
@@ -2426,16 +2426,16 @@ var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modu
|
|
|
2426
2426
|
else throw er;
|
|
2427
2427
|
}
|
|
2428
2428
|
}
|
|
2429
|
-
} });
|
|
2429
|
+
}) });
|
|
2430
2430
|
|
|
2431
2431
|
//#endregion
|
|
2432
2432
|
//#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
2433
|
-
var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
|
|
2433
|
+
var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
|
|
2434
2434
|
const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
2435
2435
|
const path$13 = require("path");
|
|
2436
2436
|
const COLON = isWindows ? ";" : ":";
|
|
2437
2437
|
const isexe = require_isexe();
|
|
2438
|
-
const getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
2438
|
+
const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
2439
2439
|
const getPathInfo = (cmd, opt) => {
|
|
2440
2440
|
const colon = opt.colon || COLON;
|
|
2441
2441
|
const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [...isWindows ? [process.cwd()] : [], ...(opt.path || process.env.PATH || "").split(colon)];
|
|
@@ -2501,11 +2501,11 @@ var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modu
|
|
|
2501
2501
|
};
|
|
2502
2502
|
module.exports = which$1;
|
|
2503
2503
|
which$1.sync = whichSync;
|
|
2504
|
-
} });
|
|
2504
|
+
}) });
|
|
2505
2505
|
|
|
2506
2506
|
//#endregion
|
|
2507
2507
|
//#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
2508
|
-
var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
|
|
2508
|
+
var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
|
|
2509
2509
|
const pathKey$1 = (options = {}) => {
|
|
2510
2510
|
const environment = options.env || process.env;
|
|
2511
2511
|
const platform$1 = options.platform || process.platform;
|
|
@@ -2514,11 +2514,11 @@ var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/nod
|
|
|
2514
2514
|
};
|
|
2515
2515
|
module.exports = pathKey$1;
|
|
2516
2516
|
module.exports.default = pathKey$1;
|
|
2517
|
-
} });
|
|
2517
|
+
}) });
|
|
2518
2518
|
|
|
2519
2519
|
//#endregion
|
|
2520
2520
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
2521
|
-
var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
2521
|
+
var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
|
|
2522
2522
|
const path$12 = require("path");
|
|
2523
2523
|
const which = require_which();
|
|
2524
2524
|
const getPathKey = require_path_key();
|
|
@@ -2546,11 +2546,11 @@ var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@
|
|
|
2546
2546
|
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
|
|
2547
2547
|
}
|
|
2548
2548
|
module.exports = resolveCommand$1;
|
|
2549
|
-
} });
|
|
2549
|
+
}) });
|
|
2550
2550
|
|
|
2551
2551
|
//#endregion
|
|
2552
2552
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
2553
|
-
var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
2553
|
+
var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
|
|
2554
2554
|
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
2555
2555
|
function escapeCommand(arg) {
|
|
2556
2556
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
@@ -2567,17 +2567,17 @@ var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
|
|
|
2567
2567
|
}
|
|
2568
2568
|
module.exports.command = escapeCommand;
|
|
2569
2569
|
module.exports.argument = escapeArgument;
|
|
2570
|
-
} });
|
|
2570
|
+
}) });
|
|
2571
2571
|
|
|
2572
2572
|
//#endregion
|
|
2573
2573
|
//#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
2574
|
-
var require_shebang_regex = __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
|
|
2574
|
+
var require_shebang_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
|
|
2575
2575
|
module.exports = /^#!(.*)/;
|
|
2576
|
-
} });
|
|
2576
|
+
}) });
|
|
2577
2577
|
|
|
2578
2578
|
//#endregion
|
|
2579
2579
|
//#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
2580
|
-
var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
|
|
2580
|
+
var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
|
|
2581
2581
|
const shebangRegex = require_shebang_regex();
|
|
2582
2582
|
module.exports = (string = "") => {
|
|
2583
2583
|
const match = string.match(shebangRegex);
|
|
@@ -2587,11 +2587,11 @@ var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-com
|
|
|
2587
2587
|
if (binary === "env") return argument;
|
|
2588
2588
|
return argument ? `${binary} ${argument}` : binary;
|
|
2589
2589
|
};
|
|
2590
|
-
} });
|
|
2590
|
+
}) });
|
|
2591
2591
|
|
|
2592
2592
|
//#endregion
|
|
2593
2593
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
2594
|
-
var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
2594
|
+
var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
|
|
2595
2595
|
const fs$3 = require("fs");
|
|
2596
2596
|
const shebangCommand = require_shebang_command();
|
|
2597
2597
|
function readShebang$1(command) {
|
|
@@ -2606,11 +2606,11 @@ var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
|
|
|
2606
2606
|
return shebangCommand(buffer.toString());
|
|
2607
2607
|
}
|
|
2608
2608
|
module.exports = readShebang$1;
|
|
2609
|
-
} });
|
|
2609
|
+
}) });
|
|
2610
2610
|
|
|
2611
2611
|
//#endregion
|
|
2612
2612
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
2613
|
-
var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
2613
|
+
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
|
|
2614
2614
|
const path$11 = require("path");
|
|
2615
2615
|
const resolveCommand = require_resolveCommand();
|
|
2616
2616
|
const escape = require_escape();
|
|
@@ -2669,14 +2669,14 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/nod
|
|
|
2669
2669
|
return options.shell ? parsed : parseNonShell(parsed);
|
|
2670
2670
|
}
|
|
2671
2671
|
module.exports = parse$1;
|
|
2672
|
-
} });
|
|
2672
|
+
}) });
|
|
2673
2673
|
|
|
2674
2674
|
//#endregion
|
|
2675
2675
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
2676
|
-
var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
2676
|
+
var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
|
|
2677
2677
|
const isWin = process.platform === "win32";
|
|
2678
2678
|
function notFoundError(original, syscall) {
|
|
2679
|
-
return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
|
|
2679
|
+
return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
|
|
2680
2680
|
code: "ENOENT",
|
|
2681
2681
|
errno: "ENOENT",
|
|
2682
2682
|
syscall: `${syscall} ${original.command}`,
|
|
@@ -2709,11 +2709,11 @@ var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
|
|
|
2709
2709
|
verifyENOENTSync,
|
|
2710
2710
|
notFoundError
|
|
2711
2711
|
};
|
|
2712
|
-
} });
|
|
2712
|
+
}) });
|
|
2713
2713
|
|
|
2714
2714
|
//#endregion
|
|
2715
2715
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
2716
|
-
var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module) {
|
|
2716
|
+
var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
|
|
2717
2717
|
const cp = require("child_process");
|
|
2718
2718
|
const parse = require_parse();
|
|
2719
2719
|
const enoent = require_enoent();
|
|
@@ -2734,10 +2734,11 @@ var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
|
|
|
2734
2734
|
module.exports.sync = spawnSync$1;
|
|
2735
2735
|
module.exports._parse = parse;
|
|
2736
2736
|
module.exports._enoent = enoent;
|
|
2737
|
-
} });
|
|
2737
|
+
}) });
|
|
2738
2738
|
|
|
2739
2739
|
//#endregion
|
|
2740
2740
|
//#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
|
|
2741
|
+
var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
|
|
2741
2742
|
function pathKey(options = {}) {
|
|
2742
2743
|
const { env: env$1 = process.env, platform: platform$1 = process.platform } = options;
|
|
2743
2744
|
if (platform$1 !== "win32") return "PATH";
|
|
@@ -3308,7 +3309,7 @@ const throwOnMissingStrict = (isSubprocess) => {
|
|
|
3308
3309
|
const throwOnStrictDisconnect = (isSubprocess) => {
|
|
3309
3310
|
throw new Error(`${getMethodName("sendMessage", isSubprocess)} failed: the ${getOtherProcessName(isSubprocess)} exited without listening to incoming messages.`);
|
|
3310
3311
|
};
|
|
3311
|
-
const getAbortDisconnectError = () => new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
|
|
3312
|
+
const getAbortDisconnectError = () => /* @__PURE__ */ new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
|
|
3312
3313
|
const throwOnMissingParent = () => {
|
|
3313
3314
|
throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.");
|
|
3314
3315
|
};
|
|
@@ -3946,7 +3947,6 @@ const fixCwdError = (originalMessage, cwd) => {
|
|
|
3946
3947
|
|
|
3947
3948
|
//#endregion
|
|
3948
3949
|
//#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/options.js
|
|
3949
|
-
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
3950
3950
|
const normalizeOptions = (filePath, rawArguments, rawOptions) => {
|
|
3951
3951
|
rawOptions.cwd = normalizeCwd(rawOptions.cwd);
|
|
3952
3952
|
const [processedFile, processedArguments, processedOptions] = handleNodeOption(filePath, rawArguments, rawOptions);
|
|
@@ -4274,7 +4274,7 @@ const arrayMethods = {
|
|
|
4274
4274
|
async function getStreamAsArrayBuffer(stream, options) {
|
|
4275
4275
|
return getStreamContents$1(stream, arrayBufferMethods, options);
|
|
4276
4276
|
}
|
|
4277
|
-
const initArrayBuffer = () => ({ contents: new ArrayBuffer(0) });
|
|
4277
|
+
const initArrayBuffer = () => ({ contents: /* @__PURE__ */ new ArrayBuffer(0) });
|
|
4278
4278
|
const useTextEncoder = (chunk) => textEncoder.encode(chunk);
|
|
4279
4279
|
const textEncoder = new TextEncoder();
|
|
4280
4280
|
const useUint8Array = (chunk) => new Uint8Array(chunk);
|
|
@@ -4623,10 +4623,9 @@ function parseBigint(milliseconds) {
|
|
|
4623
4623
|
}
|
|
4624
4624
|
function parseMilliseconds(milliseconds) {
|
|
4625
4625
|
switch (typeof milliseconds) {
|
|
4626
|
-
case "number":
|
|
4626
|
+
case "number":
|
|
4627
4627
|
if (Number.isFinite(milliseconds)) return parseNumber(milliseconds);
|
|
4628
4628
|
break;
|
|
4629
|
-
}
|
|
4630
4629
|
case "bigint": return parseBigint(milliseconds);
|
|
4631
4630
|
}
|
|
4632
4631
|
throw new TypeError("Expected a finite number or bigint");
|
|
@@ -5166,10 +5165,10 @@ const getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction,
|
|
|
5166
5165
|
optionName
|
|
5167
5166
|
});
|
|
5168
5167
|
};
|
|
5169
|
-
const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map((stdioItem) => ({
|
|
5168
|
+
const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map(((stdioItem) => ({
|
|
5170
5169
|
...stdioItem,
|
|
5171
5170
|
direction
|
|
5172
|
-
})));
|
|
5171
|
+
}))));
|
|
5173
5172
|
const validateDuplicateStreamSync = ({ otherStdioItems, type, value, optionName, direction }) => {
|
|
5174
5173
|
if (SPECIAL_DUPLICATE_TYPES_SYNC.has(type)) getDuplicateStreamInstance({
|
|
5175
5174
|
otherStdioItems,
|
|
@@ -5686,7 +5685,7 @@ const logLine = (line, fdNumber, verboseInfo) => {
|
|
|
5686
5685
|
const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
|
|
5687
5686
|
if (output === null) return { output: Array.from({ length: 3 }) };
|
|
5688
5687
|
const state = {};
|
|
5689
|
-
const outputFiles = new Set([]);
|
|
5688
|
+
const outputFiles = /* @__PURE__ */ new Set([]);
|
|
5690
5689
|
const transformedOutput = output.map((result, fdNumber) => transformOutputResultSync({
|
|
5691
5690
|
result,
|
|
5692
5691
|
fileDescriptors,
|
|
@@ -6248,9 +6247,9 @@ const getHighWaterMark = (streams, objectMode) => {
|
|
|
6248
6247
|
return Math.max(...highWaterMarks);
|
|
6249
6248
|
};
|
|
6250
6249
|
var MergedStream = class extends node_stream.PassThrough {
|
|
6251
|
-
#streams = new Set([]);
|
|
6252
|
-
#ended = new Set([]);
|
|
6253
|
-
#aborted = new Set([]);
|
|
6250
|
+
#streams = /* @__PURE__ */ new Set([]);
|
|
6251
|
+
#ended = /* @__PURE__ */ new Set([]);
|
|
6252
|
+
#aborted = /* @__PURE__ */ new Set([]);
|
|
6254
6253
|
#onFinished;
|
|
6255
6254
|
#unpipeEvent = Symbol("unpipe");
|
|
6256
6255
|
#streamPromises = /* @__PURE__ */ new WeakMap();
|
|
@@ -6849,7 +6848,7 @@ const unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ?
|
|
|
6849
6848
|
const unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fileDescriptors, sourceOptions, startTime }) => {
|
|
6850
6849
|
await (0, node_util.aborted)(unpipeSignal, sourceStream);
|
|
6851
6850
|
await mergedStream.remove(sourceStream);
|
|
6852
|
-
const error = new Error("Pipe canceled by `unpipeSignal` option.");
|
|
6851
|
+
const error = /* @__PURE__ */ new Error("Pipe canceled by `unpipeSignal` option.");
|
|
6853
6852
|
throw createNonCommandError({
|
|
6854
6853
|
error,
|
|
6855
6854
|
fileDescriptors,
|
|
@@ -7951,8 +7950,8 @@ const createWrangler = ({ stdio, accountId, cloudflareApiToken, cwd }) => {
|
|
|
7951
7950
|
|
|
7952
7951
|
//#endregion
|
|
7953
7952
|
//#region ../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/parser.js
|
|
7954
|
-
var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/parser.js"(exports, module) {
|
|
7955
|
-
module.exports = function() {
|
|
7953
|
+
var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/parser.js": ((exports, module) => {
|
|
7954
|
+
module.exports = (function() {
|
|
7956
7955
|
function peg$subclass(child, parent) {
|
|
7957
7956
|
function ctor() {
|
|
7958
7957
|
this.constructor = child;
|
|
@@ -7971,7 +7970,7 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
7971
7970
|
}
|
|
7972
7971
|
peg$subclass(SyntaxError, Error);
|
|
7973
7972
|
function parse$2(input) {
|
|
7974
|
-
var options = arguments.length > 1 ? arguments[1] : {}, peg$FAILED = {}, peg$startRuleFunctions = { start: peg$parsestart }, peg$startRuleFunction = peg$parsestart, peg$
|
|
7973
|
+
var options = arguments.length > 1 ? arguments[1] : {}, peg$FAILED = {}, peg$startRuleFunctions = { start: peg$parsestart }, peg$startRuleFunction = peg$parsestart, peg$c1 = function() {
|
|
7975
7974
|
return nodes;
|
|
7976
7975
|
}, peg$c2 = peg$FAILED, peg$c3 = "#", peg$c4 = {
|
|
7977
7976
|
type: "literal",
|
|
@@ -8050,8 +8049,8 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
8050
8049
|
description: "\"E\""
|
|
8051
8050
|
}, peg$c42 = function(left, right) {
|
|
8052
8051
|
return node("Float", parseFloat(left + "e" + right), line, column);
|
|
8053
|
-
}, peg$c43 = function(text
|
|
8054
|
-
return node("Float", parseFloat(text
|
|
8052
|
+
}, peg$c43 = function(text) {
|
|
8053
|
+
return node("Float", parseFloat(text), line, column);
|
|
8055
8054
|
}, peg$c44 = "+", peg$c45 = {
|
|
8056
8055
|
type: "literal",
|
|
8057
8056
|
value: "+",
|
|
@@ -8064,8 +8063,8 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
8064
8063
|
description: "\"-\""
|
|
8065
8064
|
}, peg$c49 = function(digits) {
|
|
8066
8065
|
return "-" + digits.join("");
|
|
8067
|
-
}, peg$c50 = function(text
|
|
8068
|
-
return node("Integer", parseInt(text
|
|
8066
|
+
}, peg$c50 = function(text) {
|
|
8067
|
+
return node("Integer", parseInt(text, 10), line, column);
|
|
8069
8068
|
}, peg$c51 = "true", peg$c52 = {
|
|
8070
8069
|
type: "literal",
|
|
8071
8070
|
value: "true",
|
|
@@ -8123,9 +8122,9 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
8123
8122
|
value: "Z",
|
|
8124
8123
|
description: "\"Z\""
|
|
8125
8124
|
}, peg$c79 = function(date, time) {
|
|
8126
|
-
return node("Date", new Date(date + "T" + time + "Z"), line, column);
|
|
8125
|
+
return node("Date", /* @__PURE__ */ new Date(date + "T" + time + "Z"), line, column);
|
|
8127
8126
|
}, peg$c80 = function(date, time) {
|
|
8128
|
-
return node("Date", new Date(date + "T" + time), line, column);
|
|
8127
|
+
return node("Date", /* @__PURE__ */ new Date(date + "T" + time), line, column);
|
|
8129
8128
|
}, peg$c81 = /^[ \t]/, peg$c82 = {
|
|
8130
8129
|
type: "class",
|
|
8131
8130
|
value: "[ \\t]",
|
|
@@ -8219,27 +8218,12 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
8219
8218
|
if (!(options.startRule in peg$startRuleFunctions)) throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
|
|
8220
8219
|
peg$startRuleFunction = peg$startRuleFunctions[options.startRule];
|
|
8221
8220
|
}
|
|
8222
|
-
function text() {
|
|
8223
|
-
return input.substring(peg$reportedPos, peg$currPos);
|
|
8224
|
-
}
|
|
8225
|
-
function offset() {
|
|
8226
|
-
return peg$reportedPos;
|
|
8227
|
-
}
|
|
8228
8221
|
function line() {
|
|
8229
8222
|
return peg$computePosDetails(peg$reportedPos).line;
|
|
8230
8223
|
}
|
|
8231
8224
|
function column() {
|
|
8232
8225
|
return peg$computePosDetails(peg$reportedPos).column;
|
|
8233
8226
|
}
|
|
8234
|
-
function expected(description) {
|
|
8235
|
-
throw peg$buildException(null, [{
|
|
8236
|
-
type: "other",
|
|
8237
|
-
description
|
|
8238
|
-
}], peg$reportedPos);
|
|
8239
|
-
}
|
|
8240
|
-
function error(message) {
|
|
8241
|
-
throw peg$buildException(message, null, peg$reportedPos);
|
|
8242
|
-
}
|
|
8243
8227
|
function peg$computePosDetails(pos) {
|
|
8244
8228
|
function advance(details, startPos, endPos) {
|
|
8245
8229
|
var p$1, ch;
|
|
@@ -8273,26 +8257,26 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
8273
8257
|
}
|
|
8274
8258
|
return peg$cachedPosDetails;
|
|
8275
8259
|
}
|
|
8276
|
-
function peg$fail(expected
|
|
8260
|
+
function peg$fail(expected) {
|
|
8277
8261
|
if (peg$currPos < peg$maxFailPos) return;
|
|
8278
8262
|
if (peg$currPos > peg$maxFailPos) {
|
|
8279
8263
|
peg$maxFailPos = peg$currPos;
|
|
8280
8264
|
peg$maxFailExpected = [];
|
|
8281
8265
|
}
|
|
8282
|
-
peg$maxFailExpected.push(expected
|
|
8266
|
+
peg$maxFailExpected.push(expected);
|
|
8283
8267
|
}
|
|
8284
|
-
function peg$buildException(message, expected
|
|
8285
|
-
function cleanupExpected(expected$
|
|
8268
|
+
function peg$buildException(message, expected, pos) {
|
|
8269
|
+
function cleanupExpected(expected$1) {
|
|
8286
8270
|
var i$1 = 1;
|
|
8287
|
-
expected$
|
|
8271
|
+
expected$1.sort(function(a$1, b$2) {
|
|
8288
8272
|
if (a$1.description < b$2.description) return -1;
|
|
8289
8273
|
else if (a$1.description > b$2.description) return 1;
|
|
8290
8274
|
else return 0;
|
|
8291
8275
|
});
|
|
8292
|
-
while (i$1 < expected$
|
|
8276
|
+
while (i$1 < expected$1.length) if (expected$1[i$1 - 1] === expected$1[i$1]) expected$1.splice(i$1, 1);
|
|
8293
8277
|
else i$1++;
|
|
8294
8278
|
}
|
|
8295
|
-
function buildMessage(expected$
|
|
8279
|
+
function buildMessage(expected$1, found$1) {
|
|
8296
8280
|
function stringEscape(s) {
|
|
8297
8281
|
function hex(ch) {
|
|
8298
8282
|
return ch.charCodeAt(0).toString(16).toUpperCase();
|
|
@@ -8307,15 +8291,15 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
8307
8291
|
return "\\u" + hex(ch);
|
|
8308
8292
|
});
|
|
8309
8293
|
}
|
|
8310
|
-
var expectedDescs = new Array(expected$
|
|
8311
|
-
for (i$1 = 0; i$1 < expected$
|
|
8312
|
-
expectedDesc = expected$
|
|
8294
|
+
var expectedDescs = new Array(expected$1.length), expectedDesc, foundDesc, i$1;
|
|
8295
|
+
for (i$1 = 0; i$1 < expected$1.length; i$1++) expectedDescs[i$1] = expected$1[i$1].description;
|
|
8296
|
+
expectedDesc = expected$1.length > 1 ? expectedDescs.slice(0, -1).join(", ") + " or " + expectedDescs[expected$1.length - 1] : expectedDescs[0];
|
|
8313
8297
|
foundDesc = found$1 ? "\"" + stringEscape(found$1) + "\"" : "end of input";
|
|
8314
8298
|
return "Expected " + expectedDesc + " but " + foundDesc + " found.";
|
|
8315
8299
|
}
|
|
8316
8300
|
var posDetails = peg$computePosDetails(pos), found = pos < input.length ? input.charAt(pos) : null;
|
|
8317
|
-
if (expected
|
|
8318
|
-
return new SyntaxError(message !== null ? message : buildMessage(expected
|
|
8301
|
+
if (expected !== null) cleanupExpected(expected);
|
|
8302
|
+
return new SyntaxError(message !== null ? message : buildMessage(expected, found), expected, found, pos, posDetails.line, posDetails.column);
|
|
8319
8303
|
}
|
|
8320
8304
|
function peg$parsestart() {
|
|
8321
8305
|
var s0, s1, s2;
|
|
@@ -11600,19 +11584,18 @@ var require_parser = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modu
|
|
|
11600
11584
|
SyntaxError,
|
|
11601
11585
|
parse: parse$2
|
|
11602
11586
|
};
|
|
11603
|
-
}();
|
|
11604
|
-
} });
|
|
11587
|
+
})();
|
|
11588
|
+
}) });
|
|
11605
11589
|
|
|
11606
11590
|
//#endregion
|
|
11607
11591
|
//#region ../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/compiler.js
|
|
11608
|
-
var require_compiler = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/compiler.js"(exports, module) {
|
|
11592
|
+
var require_compiler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/lib/compiler.js": ((exports, module) => {
|
|
11609
11593
|
function compile(nodes) {
|
|
11610
11594
|
var assignedPaths = [];
|
|
11611
11595
|
var valueAssignments = [];
|
|
11612
11596
|
var currentPath = "";
|
|
11613
11597
|
var data = Object.create(null);
|
|
11614
11598
|
var context = data;
|
|
11615
|
-
var arrayMode = false;
|
|
11616
11599
|
return reduce(nodes);
|
|
11617
11600
|
function reduce(nodes$1) {
|
|
11618
11601
|
var node;
|
|
@@ -11701,7 +11684,7 @@ var require_compiler = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_mo
|
|
|
11701
11684
|
function deepRef(start, keys, value, line, column) {
|
|
11702
11685
|
var traversed = [];
|
|
11703
11686
|
var traversedPath = "";
|
|
11704
|
-
|
|
11687
|
+
keys.join(".");
|
|
11705
11688
|
var ctx = start;
|
|
11706
11689
|
for (var i$1 = 0; i$1 < keys.length; i$1++) {
|
|
11707
11690
|
var key = keys[i$1];
|
|
@@ -11730,22 +11713,22 @@ var require_compiler = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_mo
|
|
|
11730
11713
|
}
|
|
11731
11714
|
}
|
|
11732
11715
|
module.exports = { compile };
|
|
11733
|
-
} });
|
|
11716
|
+
}) });
|
|
11734
11717
|
|
|
11735
11718
|
//#endregion
|
|
11736
11719
|
//#region ../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/index.js
|
|
11737
|
-
var require_toml = __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/index.js"(exports, module) {
|
|
11720
|
+
var require_toml = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/toml@3.0.0/node_modules/toml/index.js": ((exports, module) => {
|
|
11738
11721
|
var parser = require_parser();
|
|
11739
11722
|
var compiler = require_compiler();
|
|
11740
11723
|
module.exports = { parse: function(input) {
|
|
11741
11724
|
var nodes = parser.parse(input.toString());
|
|
11742
11725
|
return compiler.compile(nodes);
|
|
11743
11726
|
} };
|
|
11744
|
-
} });
|
|
11727
|
+
}) });
|
|
11745
11728
|
|
|
11746
11729
|
//#endregion
|
|
11747
11730
|
//#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js
|
|
11748
|
-
var require_XDGAppPaths = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js"(exports) {
|
|
11731
|
+
var require_XDGAppPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js": ((exports) => {
|
|
11749
11732
|
exports.__esModule = true;
|
|
11750
11733
|
exports.Adapt = void 0;
|
|
11751
11734
|
function isBoolean(t) {
|
|
@@ -11829,12 +11812,12 @@ var require_XDGAppPaths = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8
|
|
|
11829
11812
|
return { XDGAppPaths: new XDGAppPaths_() };
|
|
11830
11813
|
}
|
|
11831
11814
|
exports.Adapt = Adapt$2;
|
|
11832
|
-
} });
|
|
11815
|
+
}) });
|
|
11833
11816
|
|
|
11834
11817
|
//#endregion
|
|
11835
11818
|
//#region ../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js
|
|
11836
|
-
var require_XDG = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js"(exports) {
|
|
11837
|
-
var __spreadArray$1 =
|
|
11819
|
+
var require_XDG = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js": ((exports) => {
|
|
11820
|
+
var __spreadArray$1 = exports && exports.__spreadArray || function(to, from) {
|
|
11838
11821
|
for (var i$1 = 0, il = from.length, j$1 = to.length; i$1 < il; i$1++, j$1++) to[j$1] = from[i$1];
|
|
11839
11822
|
return to;
|
|
11840
11823
|
};
|
|
@@ -11986,12 +11969,12 @@ var require_XDG = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/nod
|
|
|
11986
11969
|
return { XDG: new XDG_() };
|
|
11987
11970
|
}
|
|
11988
11971
|
exports.Adapt = Adapt$1;
|
|
11989
|
-
} });
|
|
11972
|
+
}) });
|
|
11990
11973
|
|
|
11991
11974
|
//#endregion
|
|
11992
11975
|
//#region ../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js
|
|
11993
|
-
var require_OSPaths = __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js"(exports) {
|
|
11994
|
-
var __spreadArray =
|
|
11976
|
+
var require_OSPaths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js": ((exports) => {
|
|
11977
|
+
var __spreadArray = exports && exports.__spreadArray || function(to, from) {
|
|
11995
11978
|
for (var i$1 = 0, il = from.length, j$1 = to.length; i$1 < il; i$1++, j$1++) to[j$1] = from[i$1];
|
|
11996
11979
|
return to;
|
|
11997
11980
|
};
|
|
@@ -12095,12 +12078,12 @@ var require_OSPaths = __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node
|
|
|
12095
12078
|
return { OSPaths: new OSPaths_() };
|
|
12096
12079
|
}
|
|
12097
12080
|
exports.Adapt = Adapt;
|
|
12098
|
-
} });
|
|
12081
|
+
}) });
|
|
12099
12082
|
|
|
12100
12083
|
//#endregion
|
|
12101
12084
|
//#region ../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js
|
|
12102
|
-
var require_node$2 = __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js"(exports) {
|
|
12103
|
-
var __createBinding$2 =
|
|
12085
|
+
var require_node$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js": ((exports) => {
|
|
12086
|
+
var __createBinding$2 = exports && exports.__createBinding || (Object.create ? (function(o$2, m$1, k$2, k2) {
|
|
12104
12087
|
if (k2 === void 0) k2 = k$2;
|
|
12105
12088
|
Object.defineProperty(o$2, k2, {
|
|
12106
12089
|
enumerable: true,
|
|
@@ -12108,19 +12091,19 @@ var require_node$2 = __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_
|
|
|
12108
12091
|
return m$1[k$2];
|
|
12109
12092
|
}
|
|
12110
12093
|
});
|
|
12111
|
-
} : function(o$2, m$1, k$2, k2) {
|
|
12094
|
+
}) : (function(o$2, m$1, k$2, k2) {
|
|
12112
12095
|
if (k2 === void 0) k2 = k$2;
|
|
12113
12096
|
o$2[k2] = m$1[k$2];
|
|
12114
|
-
});
|
|
12115
|
-
var __setModuleDefault$2 =
|
|
12097
|
+
}));
|
|
12098
|
+
var __setModuleDefault$2 = exports && exports.__setModuleDefault || (Object.create ? (function(o$2, v$1) {
|
|
12116
12099
|
Object.defineProperty(o$2, "default", {
|
|
12117
12100
|
enumerable: true,
|
|
12118
12101
|
value: v$1
|
|
12119
12102
|
});
|
|
12120
|
-
} : function(o$2, v$1) {
|
|
12103
|
+
}) : function(o$2, v$1) {
|
|
12121
12104
|
o$2["default"] = v$1;
|
|
12122
12105
|
});
|
|
12123
|
-
var __importStar$2 =
|
|
12106
|
+
var __importStar$2 = exports && exports.__importStar || function(mod) {
|
|
12124
12107
|
if (mod && mod.__esModule) return mod;
|
|
12125
12108
|
var result = {};
|
|
12126
12109
|
if (mod != null) {
|
|
@@ -12142,20 +12125,20 @@ var require_node$2 = __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_
|
|
|
12142
12125
|
path: path$5,
|
|
12143
12126
|
process
|
|
12144
12127
|
};
|
|
12145
|
-
} });
|
|
12128
|
+
}) });
|
|
12146
12129
|
|
|
12147
12130
|
//#endregion
|
|
12148
12131
|
//#region ../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js
|
|
12149
|
-
var require_mod_cjs$2 = __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js"(exports, module) {
|
|
12132
|
+
var require_mod_cjs$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js": ((exports, module) => {
|
|
12150
12133
|
var OSPaths_js_1 = require_OSPaths();
|
|
12151
12134
|
var node_js_1$2 = require_node$2();
|
|
12152
12135
|
module.exports = OSPaths_js_1.Adapt(node_js_1$2.adapter).OSPaths;
|
|
12153
|
-
} });
|
|
12136
|
+
}) });
|
|
12154
12137
|
|
|
12155
12138
|
//#endregion
|
|
12156
12139
|
//#region ../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js
|
|
12157
|
-
var require_node$1 = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js"(exports) {
|
|
12158
|
-
var __createBinding$1 =
|
|
12140
|
+
var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js": ((exports) => {
|
|
12141
|
+
var __createBinding$1 = exports && exports.__createBinding || (Object.create ? (function(o$2, m$1, k$2, k2) {
|
|
12159
12142
|
if (k2 === void 0) k2 = k$2;
|
|
12160
12143
|
Object.defineProperty(o$2, k2, {
|
|
12161
12144
|
enumerable: true,
|
|
@@ -12163,19 +12146,19 @@ var require_node$1 = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/
|
|
|
12163
12146
|
return m$1[k$2];
|
|
12164
12147
|
}
|
|
12165
12148
|
});
|
|
12166
|
-
} : function(o$2, m$1, k$2, k2) {
|
|
12149
|
+
}) : (function(o$2, m$1, k$2, k2) {
|
|
12167
12150
|
if (k2 === void 0) k2 = k$2;
|
|
12168
12151
|
o$2[k2] = m$1[k$2];
|
|
12169
|
-
});
|
|
12170
|
-
var __setModuleDefault$1 =
|
|
12152
|
+
}));
|
|
12153
|
+
var __setModuleDefault$1 = exports && exports.__setModuleDefault || (Object.create ? (function(o$2, v$1) {
|
|
12171
12154
|
Object.defineProperty(o$2, "default", {
|
|
12172
12155
|
enumerable: true,
|
|
12173
12156
|
value: v$1
|
|
12174
12157
|
});
|
|
12175
|
-
} : function(o$2, v$1) {
|
|
12158
|
+
}) : function(o$2, v$1) {
|
|
12176
12159
|
o$2["default"] = v$1;
|
|
12177
12160
|
});
|
|
12178
|
-
var __importStar$1 =
|
|
12161
|
+
var __importStar$1 = exports && exports.__importStar || function(mod) {
|
|
12179
12162
|
if (mod && mod.__esModule) return mod;
|
|
12180
12163
|
var result = {};
|
|
12181
12164
|
if (mod != null) {
|
|
@@ -12184,7 +12167,7 @@ var require_node$1 = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/
|
|
|
12184
12167
|
__setModuleDefault$1(result, mod);
|
|
12185
12168
|
return result;
|
|
12186
12169
|
};
|
|
12187
|
-
var __importDefault$1 =
|
|
12170
|
+
var __importDefault$1 = exports && exports.__importDefault || function(mod) {
|
|
12188
12171
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
12189
12172
|
};
|
|
12190
12173
|
exports.__esModule = true;
|
|
@@ -12200,20 +12183,20 @@ var require_node$1 = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/
|
|
|
12200
12183
|
path: path$4,
|
|
12201
12184
|
process
|
|
12202
12185
|
};
|
|
12203
|
-
} });
|
|
12186
|
+
}) });
|
|
12204
12187
|
|
|
12205
12188
|
//#endregion
|
|
12206
12189
|
//#region ../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js
|
|
12207
|
-
var require_mod_cjs$1 = __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js"(exports, module) {
|
|
12190
|
+
var require_mod_cjs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js": ((exports, module) => {
|
|
12208
12191
|
var XDG_js_1 = require_XDG();
|
|
12209
12192
|
var node_js_1$1 = require_node$1();
|
|
12210
12193
|
module.exports = XDG_js_1.Adapt(node_js_1$1.adapter).XDG;
|
|
12211
|
-
} });
|
|
12194
|
+
}) });
|
|
12212
12195
|
|
|
12213
12196
|
//#endregion
|
|
12214
12197
|
//#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js
|
|
12215
|
-
var require_node = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js"(exports) {
|
|
12216
|
-
var __createBinding =
|
|
12198
|
+
var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js": ((exports) => {
|
|
12199
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o$2, m$1, k$2, k2) {
|
|
12217
12200
|
if (k2 === void 0) k2 = k$2;
|
|
12218
12201
|
Object.defineProperty(o$2, k2, {
|
|
12219
12202
|
enumerable: true,
|
|
@@ -12221,19 +12204,19 @@ var require_node = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/no
|
|
|
12221
12204
|
return m$1[k$2];
|
|
12222
12205
|
}
|
|
12223
12206
|
});
|
|
12224
|
-
} : function(o$2, m$1, k$2, k2) {
|
|
12207
|
+
}) : (function(o$2, m$1, k$2, k2) {
|
|
12225
12208
|
if (k2 === void 0) k2 = k$2;
|
|
12226
12209
|
o$2[k2] = m$1[k$2];
|
|
12227
|
-
});
|
|
12228
|
-
var __setModuleDefault =
|
|
12210
|
+
}));
|
|
12211
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o$2, v$1) {
|
|
12229
12212
|
Object.defineProperty(o$2, "default", {
|
|
12230
12213
|
enumerable: true,
|
|
12231
12214
|
value: v$1
|
|
12232
12215
|
});
|
|
12233
|
-
} : function(o$2, v$1) {
|
|
12216
|
+
}) : function(o$2, v$1) {
|
|
12234
12217
|
o$2["default"] = v$1;
|
|
12235
12218
|
});
|
|
12236
|
-
var __importStar =
|
|
12219
|
+
var __importStar = exports && exports.__importStar || function(mod) {
|
|
12237
12220
|
if (mod && mod.__esModule) return mod;
|
|
12238
12221
|
var result = {};
|
|
12239
12222
|
if (mod != null) {
|
|
@@ -12242,7 +12225,7 @@ var require_node = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/no
|
|
|
12242
12225
|
__setModuleDefault(result, mod);
|
|
12243
12226
|
return result;
|
|
12244
12227
|
};
|
|
12245
|
-
var __importDefault =
|
|
12228
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
12246
12229
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
12247
12230
|
};
|
|
12248
12231
|
exports.__esModule = true;
|
|
@@ -12269,27 +12252,27 @@ var require_node = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/no
|
|
|
12269
12252
|
process,
|
|
12270
12253
|
xdg: xdg_portable_1["default"]
|
|
12271
12254
|
};
|
|
12272
|
-
} });
|
|
12255
|
+
}) });
|
|
12273
12256
|
|
|
12274
12257
|
//#endregion
|
|
12275
12258
|
//#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js
|
|
12276
|
-
var require_mod_cjs = __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js"(exports, module) {
|
|
12259
|
+
var require_mod_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js": ((exports, module) => {
|
|
12277
12260
|
var XDGAppPaths_js_1 = require_XDGAppPaths();
|
|
12278
12261
|
var node_js_1 = require_node();
|
|
12279
12262
|
module.exports = XDGAppPaths_js_1.Adapt(node_js_1.adapter).XDGAppPaths;
|
|
12280
|
-
} });
|
|
12263
|
+
}) });
|
|
12281
12264
|
|
|
12282
12265
|
//#endregion
|
|
12283
12266
|
//#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js
|
|
12267
|
+
var import_toml = /* @__PURE__ */ __toESM(require_toml(), 1);
|
|
12284
12268
|
var mod_esm_exports = {};
|
|
12285
12269
|
__export(mod_esm_exports, { default: () => mod_esm_default });
|
|
12286
|
-
var import_mod_cjs = __toESM(require_mod_cjs(), 1);
|
|
12287
|
-
__reExport(mod_esm_exports, __toESM(require_mod_cjs(), 1));
|
|
12270
|
+
var import_mod_cjs = /* @__PURE__ */ __toESM(require_mod_cjs(), 1);
|
|
12271
|
+
__reExport(mod_esm_exports, /* @__PURE__ */ __toESM(require_mod_cjs(), 1));
|
|
12288
12272
|
var mod_esm_default = import_mod_cjs.default;
|
|
12289
12273
|
|
|
12290
12274
|
//#endregion
|
|
12291
12275
|
//#region iac/getWranglerLoginAuthToken.ts
|
|
12292
|
-
var import_toml = __toESM(require_toml());
|
|
12293
12276
|
const isDirectory = (configPath) => {
|
|
12294
12277
|
try {
|
|
12295
12278
|
return fs.default.statSync(configPath).isDirectory();
|
|
@@ -12315,7 +12298,6 @@ const getWranglerLoginAuthToken = () => {
|
|
|
12315
12298
|
|
|
12316
12299
|
//#endregion
|
|
12317
12300
|
//#region iac/index.ts
|
|
12318
|
-
var import_dayjs_min = __toESM(require_dayjs_min());
|
|
12319
12301
|
const getConfigTemplate = (build) => {
|
|
12320
12302
|
const storageConfig = {
|
|
12321
12303
|
imports: [{
|
|
@@ -12560,7 +12542,7 @@ const runInit = async ({ build }) => {
|
|
|
12560
12542
|
f.success("Generated '.env' file with Cloudflare settings.");
|
|
12561
12543
|
f.success("Generated 'hot-updater.config.ts' file with Cloudflare settings.");
|
|
12562
12544
|
if (subdomains.subdomain) Me((0, __hot_updater_plugin_core.transformTemplate)(SOURCE_TEMPLATE, { source: `https://${workerName}.${subdomains.subdomain}.workers.dev/api/check-update` }));
|
|
12563
|
-
f.message(`Next step: ${(0, __hot_updater_plugin_core.link)("https://
|
|
12545
|
+
f.message(`Next step: ${(0, __hot_updater_plugin_core.link)("https://hot-updater.dev/guide/providers/2_cloudflare.html#step-4-add-hotupdater-to-your-project")}`);
|
|
12564
12546
|
f.success("Done! 🎉");
|
|
12565
12547
|
};
|
|
12566
12548
|
|