@hot-updater/firebase 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/firebase/functions/index.cjs +140 -143
- package/dist/iac/index.cjs +60 -65
- package/dist/iac/index.js +60 -65
- package/dist/index.cjs +8 -6
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +6 -3
- package/dist/index.js +10 -9
- package/package.json +4 -4
package/dist/iac/index.cjs
CHANGED
|
@@ -45,7 +45,7 @@ const node_stream = __toESM(require("node:stream"));
|
|
|
45
45
|
const node_buffer = __toESM(require("node:buffer"));
|
|
46
46
|
|
|
47
47
|
//#region ../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
48
|
-
var require_src = __commonJS({ "../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
|
|
48
|
+
var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js": ((exports, module) => {
|
|
49
49
|
const ESC = "\x1B";
|
|
50
50
|
const CSI = `${ESC}[`;
|
|
51
51
|
const beep = "\x07";
|
|
@@ -98,11 +98,11 @@ var require_src = __commonJS({ "../../node_modules/.pnpm/sisteransi@1.0.5/node_m
|
|
|
98
98
|
erase,
|
|
99
99
|
beep
|
|
100
100
|
};
|
|
101
|
-
} });
|
|
101
|
+
}) });
|
|
102
102
|
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
105
|
-
var require_picocolors = __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module) {
|
|
105
|
+
var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
|
|
106
106
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
107
107
|
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);
|
|
108
108
|
let formatter = (open, close, replace = open) => (input) => {
|
|
@@ -167,12 +167,12 @@ var require_picocolors = __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1
|
|
|
167
167
|
};
|
|
168
168
|
module.exports = createColors();
|
|
169
169
|
module.exports.createColors = createColors;
|
|
170
|
-
} });
|
|
170
|
+
}) });
|
|
171
171
|
|
|
172
172
|
//#endregion
|
|
173
173
|
//#region ../../node_modules/.pnpm/@clack+core@0.4.1/node_modules/@clack/core/dist/index.mjs
|
|
174
|
-
var import_src$1 = __toESM(require_src(), 1);
|
|
175
|
-
var import_picocolors$1 = __toESM(require_picocolors(), 1);
|
|
174
|
+
var import_src$1 = /* @__PURE__ */ __toESM(require_src(), 1);
|
|
175
|
+
var import_picocolors$1 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
176
176
|
function J$1({ onlyFirst: t = !1 } = {}) {
|
|
177
177
|
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("|");
|
|
178
178
|
return new RegExp(F$1, t ? void 0 : "g");
|
|
@@ -417,7 +417,7 @@ const iD = sD(), v = new Set(["\x1B", ""]), CD = 39, w$1 = "\x07", W$1 = "[",
|
|
|
417
417
|
`)];
|
|
418
418
|
for (const [E, a$1] of o$2.entries()) {
|
|
419
419
|
if (e$1 += a$1, v.has(a$1)) {
|
|
420
|
-
const { groups: B$1 } = new RegExp(`(?:\\${W$1}(?<code>\\d+)m|\\${y}(?<uri>.*)${w$1})`).exec(o$2.slice(E).join("")) || { groups: {} };
|
|
420
|
+
const { groups: B$1 } = (/* @__PURE__ */ new RegExp(`(?:\\${W$1}(?<code>\\d+)m|\\${y}(?<uri>.*)${w$1})`)).exec(o$2.slice(E).join("")) || { groups: {} };
|
|
421
421
|
if (B$1.code !== void 0) {
|
|
422
422
|
const p$1 = Number.parseFloat(B$1.code);
|
|
423
423
|
s = p$1 === CD ? void 0 : p$1;
|
|
@@ -810,8 +810,8 @@ var PD = class extends x {
|
|
|
810
810
|
|
|
811
811
|
//#endregion
|
|
812
812
|
//#region ../../node_modules/.pnpm/@clack+prompts@0.10.0/node_modules/@clack/prompts/dist/index.mjs
|
|
813
|
-
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
814
|
-
var import_src = __toESM(require_src(), 1);
|
|
813
|
+
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
814
|
+
var import_src = /* @__PURE__ */ __toESM(require_src(), 1);
|
|
815
815
|
function ce() {
|
|
816
816
|
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";
|
|
817
817
|
}
|
|
@@ -1384,11 +1384,10 @@ function areObjectsEqual(a$1, b$2, stack, areValuesEqual) {
|
|
|
1384
1384
|
stack.set(b$2, a$1);
|
|
1385
1385
|
try {
|
|
1386
1386
|
switch (aTag) {
|
|
1387
|
-
case mapTag:
|
|
1387
|
+
case mapTag:
|
|
1388
1388
|
if (a$1.size !== b$2.size) return false;
|
|
1389
1389
|
for (const [key, value] of a$1.entries()) if (!b$2.has(key) || !isEqualWithImpl(value, b$2.get(key), key, a$1, b$2, stack, areValuesEqual)) return false;
|
|
1390
1390
|
return true;
|
|
1391
|
-
}
|
|
1392
1391
|
case setTag: {
|
|
1393
1392
|
if (a$1.size !== b$2.size) return false;
|
|
1394
1393
|
const aValues = Array.from(a$1.values());
|
|
@@ -1414,20 +1413,17 @@ function areObjectsEqual(a$1, b$2, stack, areValuesEqual) {
|
|
|
1414
1413
|
case int32ArrayTag:
|
|
1415
1414
|
case bigInt64ArrayTag:
|
|
1416
1415
|
case float32ArrayTag:
|
|
1417
|
-
case float64ArrayTag:
|
|
1416
|
+
case float64ArrayTag:
|
|
1418
1417
|
if (typeof Buffer !== "undefined" && Buffer.isBuffer(a$1) !== Buffer.isBuffer(b$2)) return false;
|
|
1419
1418
|
if (a$1.length !== b$2.length) return false;
|
|
1420
1419
|
for (let i$1 = 0; i$1 < a$1.length; i$1++) if (!isEqualWithImpl(a$1[i$1], b$2[i$1], i$1, a$1, b$2, stack, areValuesEqual)) return false;
|
|
1421
1420
|
return true;
|
|
1422
|
-
|
|
1423
|
-
case arrayBufferTag: {
|
|
1421
|
+
case arrayBufferTag:
|
|
1424
1422
|
if (a$1.byteLength !== b$2.byteLength) return false;
|
|
1425
1423
|
return areObjectsEqual(new Uint8Array(a$1), new Uint8Array(b$2), stack, areValuesEqual);
|
|
1426
|
-
|
|
1427
|
-
case dataViewTag: {
|
|
1424
|
+
case dataViewTag:
|
|
1428
1425
|
if (a$1.byteLength !== b$2.byteLength || a$1.byteOffset !== b$2.byteOffset) return false;
|
|
1429
1426
|
return areObjectsEqual(new Uint8Array(a$1), new Uint8Array(b$2), stack, areValuesEqual);
|
|
1430
|
-
}
|
|
1431
1427
|
case errorTag: return a$1.name === b$2.name && a$1.message === b$2.message;
|
|
1432
1428
|
case objectTag: {
|
|
1433
1429
|
const areEqualInstances = areObjectsEqual(a$1.constructor, b$2.constructor, stack, areValuesEqual) || isPlainObject$1(a$1) && isPlainObject$1(b$2);
|
|
@@ -2259,10 +2255,10 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
|
|
|
2259
2255
|
|
|
2260
2256
|
//#endregion
|
|
2261
2257
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
2262
|
-
var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
|
|
2258
|
+
var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
|
|
2263
2259
|
module.exports = isexe$3;
|
|
2264
2260
|
isexe$3.sync = sync$2;
|
|
2265
|
-
var fs$
|
|
2261
|
+
var fs$5 = require("fs");
|
|
2266
2262
|
function checkPathExt(path$10, options) {
|
|
2267
2263
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
2268
2264
|
if (!pathext) return true;
|
|
@@ -2279,28 +2275,28 @@ var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_mo
|
|
|
2279
2275
|
return checkPathExt(path$10, options);
|
|
2280
2276
|
}
|
|
2281
2277
|
function isexe$3(path$10, options, cb) {
|
|
2282
|
-
fs$
|
|
2278
|
+
fs$5.stat(path$10, function(er, stat) {
|
|
2283
2279
|
cb(er, er ? false : checkStat$1(stat, path$10, options));
|
|
2284
2280
|
});
|
|
2285
2281
|
}
|
|
2286
2282
|
function sync$2(path$10, options) {
|
|
2287
|
-
return checkStat$1(fs$
|
|
2283
|
+
return checkStat$1(fs$5.statSync(path$10), path$10, options);
|
|
2288
2284
|
}
|
|
2289
|
-
} });
|
|
2285
|
+
}) });
|
|
2290
2286
|
|
|
2291
2287
|
//#endregion
|
|
2292
2288
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
2293
|
-
var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
|
|
2289
|
+
var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
|
|
2294
2290
|
module.exports = isexe$2;
|
|
2295
2291
|
isexe$2.sync = sync$1;
|
|
2296
|
-
var fs$
|
|
2292
|
+
var fs$4 = require("fs");
|
|
2297
2293
|
function isexe$2(path$10, options, cb) {
|
|
2298
|
-
fs$
|
|
2294
|
+
fs$4.stat(path$10, function(er, stat) {
|
|
2299
2295
|
cb(er, er ? false : checkStat(stat, options));
|
|
2300
2296
|
});
|
|
2301
2297
|
}
|
|
2302
2298
|
function sync$1(path$10, options) {
|
|
2303
|
-
return checkStat(fs$
|
|
2299
|
+
return checkStat(fs$4.statSync(path$10), options);
|
|
2304
2300
|
}
|
|
2305
2301
|
function checkStat(stat, options) {
|
|
2306
2302
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -2318,12 +2314,12 @@ var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modul
|
|
|
2318
2314
|
var ret = mod & o$2 || mod & g$2 && gid === myGid || mod & u$2 && uid === myUid || mod & ug && myUid === 0;
|
|
2319
2315
|
return ret;
|
|
2320
2316
|
}
|
|
2321
|
-
} });
|
|
2317
|
+
}) });
|
|
2322
2318
|
|
|
2323
2319
|
//#endregion
|
|
2324
2320
|
//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
2325
|
-
var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
|
|
2326
|
-
|
|
2321
|
+
var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
|
|
2322
|
+
require("fs");
|
|
2327
2323
|
var core;
|
|
2328
2324
|
if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
|
|
2329
2325
|
else core = require_mode();
|
|
@@ -2361,16 +2357,16 @@ var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modu
|
|
|
2361
2357
|
else throw er;
|
|
2362
2358
|
}
|
|
2363
2359
|
}
|
|
2364
|
-
} });
|
|
2360
|
+
}) });
|
|
2365
2361
|
|
|
2366
2362
|
//#endregion
|
|
2367
2363
|
//#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
2368
|
-
var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
|
|
2364
|
+
var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
|
|
2369
2365
|
const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
2370
2366
|
const path$9 = require("path");
|
|
2371
2367
|
const COLON = isWindows ? ";" : ":";
|
|
2372
2368
|
const isexe = require_isexe();
|
|
2373
|
-
const getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
2369
|
+
const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
2374
2370
|
const getPathInfo = (cmd, opt) => {
|
|
2375
2371
|
const colon = opt.colon || COLON;
|
|
2376
2372
|
const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [...isWindows ? [process.cwd()] : [], ...(opt.path || process.env.PATH || "").split(colon)];
|
|
@@ -2436,11 +2432,11 @@ var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modu
|
|
|
2436
2432
|
};
|
|
2437
2433
|
module.exports = which$1;
|
|
2438
2434
|
which$1.sync = whichSync;
|
|
2439
|
-
} });
|
|
2435
|
+
}) });
|
|
2440
2436
|
|
|
2441
2437
|
//#endregion
|
|
2442
2438
|
//#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
2443
|
-
var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
|
|
2439
|
+
var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
|
|
2444
2440
|
const pathKey$1 = (options = {}) => {
|
|
2445
2441
|
const environment = options.env || process.env;
|
|
2446
2442
|
const platform$1 = options.platform || process.platform;
|
|
@@ -2449,11 +2445,11 @@ var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/nod
|
|
|
2449
2445
|
};
|
|
2450
2446
|
module.exports = pathKey$1;
|
|
2451
2447
|
module.exports.default = pathKey$1;
|
|
2452
|
-
} });
|
|
2448
|
+
}) });
|
|
2453
2449
|
|
|
2454
2450
|
//#endregion
|
|
2455
2451
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
2456
|
-
var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
2452
|
+
var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
|
|
2457
2453
|
const path$8 = require("path");
|
|
2458
2454
|
const which = require_which();
|
|
2459
2455
|
const getPathKey = require_path_key();
|
|
@@ -2481,11 +2477,11 @@ var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@
|
|
|
2481
2477
|
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
|
|
2482
2478
|
}
|
|
2483
2479
|
module.exports = resolveCommand$1;
|
|
2484
|
-
} });
|
|
2480
|
+
}) });
|
|
2485
2481
|
|
|
2486
2482
|
//#endregion
|
|
2487
2483
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
2488
|
-
var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
2484
|
+
var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
|
|
2489
2485
|
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
2490
2486
|
function escapeCommand(arg) {
|
|
2491
2487
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
@@ -2502,17 +2498,17 @@ var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
|
|
|
2502
2498
|
}
|
|
2503
2499
|
module.exports.command = escapeCommand;
|
|
2504
2500
|
module.exports.argument = escapeArgument;
|
|
2505
|
-
} });
|
|
2501
|
+
}) });
|
|
2506
2502
|
|
|
2507
2503
|
//#endregion
|
|
2508
2504
|
//#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
2509
|
-
var require_shebang_regex = __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
|
|
2505
|
+
var require_shebang_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
|
|
2510
2506
|
module.exports = /^#!(.*)/;
|
|
2511
|
-
} });
|
|
2507
|
+
}) });
|
|
2512
2508
|
|
|
2513
2509
|
//#endregion
|
|
2514
2510
|
//#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
2515
|
-
var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
|
|
2511
|
+
var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
|
|
2516
2512
|
const shebangRegex = require_shebang_regex();
|
|
2517
2513
|
module.exports = (string = "") => {
|
|
2518
2514
|
const match = string.match(shebangRegex);
|
|
@@ -2522,11 +2518,11 @@ var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-com
|
|
|
2522
2518
|
if (binary === "env") return argument;
|
|
2523
2519
|
return argument ? `${binary} ${argument}` : binary;
|
|
2524
2520
|
};
|
|
2525
|
-
} });
|
|
2521
|
+
}) });
|
|
2526
2522
|
|
|
2527
2523
|
//#endregion
|
|
2528
2524
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
2529
|
-
var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
2525
|
+
var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
|
|
2530
2526
|
const fs$3 = require("fs");
|
|
2531
2527
|
const shebangCommand = require_shebang_command();
|
|
2532
2528
|
function readShebang$1(command) {
|
|
@@ -2541,11 +2537,11 @@ var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
|
|
|
2541
2537
|
return shebangCommand(buffer.toString());
|
|
2542
2538
|
}
|
|
2543
2539
|
module.exports = readShebang$1;
|
|
2544
|
-
} });
|
|
2540
|
+
}) });
|
|
2545
2541
|
|
|
2546
2542
|
//#endregion
|
|
2547
2543
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
2548
|
-
var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
2544
|
+
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
|
|
2549
2545
|
const path$7 = require("path");
|
|
2550
2546
|
const resolveCommand = require_resolveCommand();
|
|
2551
2547
|
const escape = require_escape();
|
|
@@ -2604,14 +2600,14 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/nod
|
|
|
2604
2600
|
return options.shell ? parsed : parseNonShell(parsed);
|
|
2605
2601
|
}
|
|
2606
2602
|
module.exports = parse$1;
|
|
2607
|
-
} });
|
|
2603
|
+
}) });
|
|
2608
2604
|
|
|
2609
2605
|
//#endregion
|
|
2610
2606
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
2611
|
-
var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
2607
|
+
var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
|
|
2612
2608
|
const isWin = process.platform === "win32";
|
|
2613
2609
|
function notFoundError(original, syscall) {
|
|
2614
|
-
return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
|
|
2610
|
+
return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
|
|
2615
2611
|
code: "ENOENT",
|
|
2616
2612
|
errno: "ENOENT",
|
|
2617
2613
|
syscall: `${syscall} ${original.command}`,
|
|
@@ -2644,11 +2640,11 @@ var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
|
|
|
2644
2640
|
verifyENOENTSync,
|
|
2645
2641
|
notFoundError
|
|
2646
2642
|
};
|
|
2647
|
-
} });
|
|
2643
|
+
}) });
|
|
2648
2644
|
|
|
2649
2645
|
//#endregion
|
|
2650
2646
|
//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
2651
|
-
var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module) {
|
|
2647
|
+
var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
|
|
2652
2648
|
const cp = require("child_process");
|
|
2653
2649
|
const parse = require_parse();
|
|
2654
2650
|
const enoent = require_enoent();
|
|
@@ -2669,10 +2665,11 @@ var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
|
|
|
2669
2665
|
module.exports.sync = spawnSync$1;
|
|
2670
2666
|
module.exports._parse = parse;
|
|
2671
2667
|
module.exports._enoent = enoent;
|
|
2672
|
-
} });
|
|
2668
|
+
}) });
|
|
2673
2669
|
|
|
2674
2670
|
//#endregion
|
|
2675
2671
|
//#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
|
|
2672
|
+
var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
|
|
2676
2673
|
function pathKey(options = {}) {
|
|
2677
2674
|
const { env: env$1 = process.env, platform: platform$1 = process.platform } = options;
|
|
2678
2675
|
if (platform$1 !== "win32") return "PATH";
|
|
@@ -3243,7 +3240,7 @@ const throwOnMissingStrict = (isSubprocess) => {
|
|
|
3243
3240
|
const throwOnStrictDisconnect = (isSubprocess) => {
|
|
3244
3241
|
throw new Error(`${getMethodName("sendMessage", isSubprocess)} failed: the ${getOtherProcessName(isSubprocess)} exited without listening to incoming messages.`);
|
|
3245
3242
|
};
|
|
3246
|
-
const getAbortDisconnectError = () => new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
|
|
3243
|
+
const getAbortDisconnectError = () => /* @__PURE__ */ new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
|
|
3247
3244
|
const throwOnMissingParent = () => {
|
|
3248
3245
|
throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.");
|
|
3249
3246
|
};
|
|
@@ -3881,7 +3878,6 @@ const fixCwdError = (originalMessage, cwd) => {
|
|
|
3881
3878
|
|
|
3882
3879
|
//#endregion
|
|
3883
3880
|
//#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/options.js
|
|
3884
|
-
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
3885
3881
|
const normalizeOptions = (filePath, rawArguments, rawOptions) => {
|
|
3886
3882
|
rawOptions.cwd = normalizeCwd(rawOptions.cwd);
|
|
3887
3883
|
const [processedFile, processedArguments, processedOptions] = handleNodeOption(filePath, rawArguments, rawOptions);
|
|
@@ -4209,7 +4205,7 @@ const arrayMethods = {
|
|
|
4209
4205
|
async function getStreamAsArrayBuffer(stream, options) {
|
|
4210
4206
|
return getStreamContents$1(stream, arrayBufferMethods, options);
|
|
4211
4207
|
}
|
|
4212
|
-
const initArrayBuffer = () => ({ contents: new ArrayBuffer(0) });
|
|
4208
|
+
const initArrayBuffer = () => ({ contents: /* @__PURE__ */ new ArrayBuffer(0) });
|
|
4213
4209
|
const useTextEncoder = (chunk) => textEncoder.encode(chunk);
|
|
4214
4210
|
const textEncoder = new TextEncoder();
|
|
4215
4211
|
const useUint8Array = (chunk) => new Uint8Array(chunk);
|
|
@@ -4558,10 +4554,9 @@ function parseBigint(milliseconds) {
|
|
|
4558
4554
|
}
|
|
4559
4555
|
function parseMilliseconds(milliseconds) {
|
|
4560
4556
|
switch (typeof milliseconds) {
|
|
4561
|
-
case "number":
|
|
4557
|
+
case "number":
|
|
4562
4558
|
if (Number.isFinite(milliseconds)) return parseNumber(milliseconds);
|
|
4563
4559
|
break;
|
|
4564
|
-
}
|
|
4565
4560
|
case "bigint": return parseBigint(milliseconds);
|
|
4566
4561
|
}
|
|
4567
4562
|
throw new TypeError("Expected a finite number or bigint");
|
|
@@ -5101,10 +5096,10 @@ const getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction,
|
|
|
5101
5096
|
optionName
|
|
5102
5097
|
});
|
|
5103
5098
|
};
|
|
5104
|
-
const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map((stdioItem) => ({
|
|
5099
|
+
const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map(((stdioItem) => ({
|
|
5105
5100
|
...stdioItem,
|
|
5106
5101
|
direction
|
|
5107
|
-
})));
|
|
5102
|
+
}))));
|
|
5108
5103
|
const validateDuplicateStreamSync = ({ otherStdioItems, type, value, optionName, direction }) => {
|
|
5109
5104
|
if (SPECIAL_DUPLICATE_TYPES_SYNC.has(type)) getDuplicateStreamInstance({
|
|
5110
5105
|
otherStdioItems,
|
|
@@ -5621,7 +5616,7 @@ const logLine = (line, fdNumber, verboseInfo) => {
|
|
|
5621
5616
|
const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
|
|
5622
5617
|
if (output === null) return { output: Array.from({ length: 3 }) };
|
|
5623
5618
|
const state = {};
|
|
5624
|
-
const outputFiles = new Set([]);
|
|
5619
|
+
const outputFiles = /* @__PURE__ */ new Set([]);
|
|
5625
5620
|
const transformedOutput = output.map((result, fdNumber) => transformOutputResultSync({
|
|
5626
5621
|
result,
|
|
5627
5622
|
fileDescriptors,
|
|
@@ -6183,9 +6178,9 @@ const getHighWaterMark = (streams, objectMode) => {
|
|
|
6183
6178
|
return Math.max(...highWaterMarks);
|
|
6184
6179
|
};
|
|
6185
6180
|
var MergedStream = class extends node_stream.PassThrough {
|
|
6186
|
-
#streams = new Set([]);
|
|
6187
|
-
#ended = new Set([]);
|
|
6188
|
-
#aborted = new Set([]);
|
|
6181
|
+
#streams = /* @__PURE__ */ new Set([]);
|
|
6182
|
+
#ended = /* @__PURE__ */ new Set([]);
|
|
6183
|
+
#aborted = /* @__PURE__ */ new Set([]);
|
|
6189
6184
|
#onFinished;
|
|
6190
6185
|
#unpipeEvent = Symbol("unpipe");
|
|
6191
6186
|
#streamPromises = /* @__PURE__ */ new WeakMap();
|
|
@@ -6784,7 +6779,7 @@ const unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ?
|
|
|
6784
6779
|
const unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fileDescriptors, sourceOptions, startTime }) => {
|
|
6785
6780
|
await (0, node_util.aborted)(unpipeSignal, sourceStream);
|
|
6786
6781
|
await mergedStream.remove(sourceStream);
|
|
6787
|
-
const error = new Error("Pipe canceled by `unpipeSignal` option.");
|
|
6782
|
+
const error = /* @__PURE__ */ new Error("Pipe canceled by `unpipeSignal` option.");
|
|
6788
6783
|
throw createNonCommandError({
|
|
6789
6784
|
error,
|
|
6790
6785
|
fileDescriptors,
|
|
@@ -8415,7 +8410,7 @@ const runInit = async ({ build }) => {
|
|
|
8415
8410
|
}
|
|
8416
8411
|
await printTemplate(initializeVariable.projectId, currentRegion);
|
|
8417
8412
|
await removeTmpDir();
|
|
8418
|
-
f.message(`Next step: ${(0, __hot_updater_plugin_core.link)("https://
|
|
8413
|
+
f.message(`Next step: ${(0, __hot_updater_plugin_core.link)("https://hot-updater.dev/guide/providers/4_firebase.html#step-3-generated-configurations")}`);
|
|
8419
8414
|
f.message("Next step: Change GOOGLE_APPLICATION_CREDENTIALS=your-credentials.json in .env file");
|
|
8420
8415
|
f.success("Done! 🎉");
|
|
8421
8416
|
};
|