@hot-updater/rock 0.28.0 → 0.29.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.
@@ -17,20 +17,18 @@ import { finished } from "node:stream/promises";
17
17
  import { Duplex, PassThrough, Readable, Transform, Writable, getDefaultHighWaterMark } from "node:stream";
18
18
  import { Buffer as Buffer$1 } from "node:buffer";
19
19
  import fs from "fs/promises";
20
-
21
- //#region rolldown:runtime
20
+ import { uuidv7 } from "uuidv7";
21
+ //#region \0rolldown/runtime.js
22
22
  var __create = Object.create;
23
23
  var __defProp = Object.defineProperty;
24
24
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
25
25
  var __getOwnPropNames = Object.getOwnPropertyNames;
26
26
  var __getProtoOf = Object.getPrototypeOf;
27
27
  var __hasOwnProp = Object.prototype.hasOwnProperty;
28
- var __commonJS = (cb, mod) => function() {
29
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
30
- };
28
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
31
29
  var __copyProps = (to, from, except, desc) => {
32
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i$1 = 0, n$1 = keys.length, key; i$1 < n$1; i$1++) {
33
- key = keys[i$1];
30
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
31
+ key = keys[i];
34
32
  if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
35
33
  get: ((k) => from[k]).bind(null, key),
36
34
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
@@ -43,7 +41,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
43
41
  enumerable: true
44
42
  }) : target, mod));
45
43
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
46
-
47
44
  //#endregion
48
45
  //#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
49
46
  function isPlainObject(value) {
@@ -51,7 +48,6 @@ function isPlainObject(value) {
51
48
  const prototype = Object.getPrototypeOf(value);
52
49
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
53
50
  }
54
-
55
51
  //#endregion
56
52
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/file-url.js
57
53
  const safeNormalizeFileUrl = (file, name) => {
@@ -62,7 +58,6 @@ const safeNormalizeFileUrl = (file, name) => {
62
58
  const normalizeDenoExecPath = (file) => isDenoExecPath(file) ? file.toString() : file;
63
59
  const isDenoExecPath = (file) => typeof file !== "string" && file && Object.getPrototypeOf(file) === String.prototype;
64
60
  const normalizeFileUrl = (file) => file instanceof URL ? fileURLToPath(file) : file;
65
-
66
61
  //#endregion
67
62
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/parameters.js
68
63
  const normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
@@ -80,7 +75,6 @@ const normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
80
75
  options
81
76
  ];
82
77
  };
83
-
84
78
  //#endregion
85
79
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/uint-array.js
86
80
  const { toString: objectToString$1 } = Object.prototype;
@@ -120,7 +114,6 @@ const getJoinLength = (uint8Arrays) => {
120
114
  for (const uint8Array of uint8Arrays) joinLength += uint8Array.length;
121
115
  return joinLength;
122
116
  };
123
-
124
117
  //#endregion
125
118
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/template.js
126
119
  const isTemplateString = (templates) => Array.isArray(templates) && Array.isArray(templates.raw);
@@ -147,7 +140,7 @@ const parseTemplate = ({ templates, expressions, tokens, index, template }) => {
147
140
  const newTokens = concatTokens(tokens, nextTokens, leadingWhitespaces);
148
141
  if (index === expressions.length) return newTokens;
149
142
  const expression = expressions[index];
150
- return concatTokens(newTokens, Array.isArray(expression) ? expression.map((expression$1) => parseExpression(expression$1)) : [parseExpression(expression)], trailingWhitespaces);
143
+ return concatTokens(newTokens, Array.isArray(expression) ? expression.map((expression) => parseExpression(expression)) : [parseExpression(expression)], trailingWhitespaces);
151
144
  };
152
145
  const splitByWhitespaces = (template, rawTemplate) => {
153
146
  if (rawTemplate.length === 0) return {
@@ -209,7 +202,6 @@ const getSubprocessResult = ({ stdout }) => {
209
202
  if (stdout === void 0) throw new TypeError("Missing result.stdout in template expression. This is probably due to the previous subprocess' \"stdout\" option.");
210
203
  throw new TypeError(`Unexpected "${typeof stdout}" stdout in template expression`);
211
204
  };
212
-
213
205
  //#endregion
214
206
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/standard-stream.js
215
207
  const isStandardStream = (stream) => STANDARD_STREAMS.includes(stream);
@@ -224,7 +216,6 @@ const STANDARD_STREAMS_ALIASES = [
224
216
  "stderr"
225
217
  ];
226
218
  const getStreamName = (fdNumber) => STANDARD_STREAMS_ALIASES[fdNumber] ?? `stdio[${fdNumber}]`;
227
-
228
219
  //#endregion
229
220
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/specific.js
230
221
  const normalizeFdSpecificOptions = (options) => {
@@ -279,7 +270,6 @@ const FD_SPECIFIC_OPTIONS = [
279
270
  "stripFinalNewline"
280
271
  ];
281
272
  const getFdSpecificValue = (optionArray, fdNumber) => fdNumber === "ipc" ? optionArray.at(-1) : optionArray[fdNumber];
282
-
283
273
  //#endregion
284
274
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/values.js
285
275
  const isVerbose = ({ verbose }, fdNumber) => getFdVerbose(verbose, fdNumber) !== "none";
@@ -296,7 +286,6 @@ const VERBOSE_VALUES = [
296
286
  "short",
297
287
  "full"
298
288
  ];
299
-
300
289
  //#endregion
301
290
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/escape.js
302
291
  const joinCommand = (filePath, rawArguments) => {
@@ -317,7 +306,7 @@ const escapeControlCharacter = (character) => {
317
306
  };
318
307
  const getSpecialCharRegExp = () => {
319
308
  try {
320
- return new RegExp("\\p{Separator}|\\p{Other}", "gu");
309
+ return /* @__PURE__ */ new RegExp("\\p{Separator}|\\p{Other}", "gu");
321
310
  } catch {
322
311
  return /[\s\u0000-\u001F\u007F-\u009F\u00AD]/g;
323
312
  }
@@ -337,7 +326,6 @@ const quoteString = (escapedArgument) => {
337
326
  return platform === "win32" ? `"${escapedArgument.replaceAll("\"", "\"\"")}"` : `'${escapedArgument.replaceAll("'", "'\\''")}'`;
338
327
  };
339
328
  const NO_ESCAPE_REGEXP = /^[\w./-]+$/;
340
-
341
329
  //#endregion
342
330
  //#region ../../node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
343
331
  function isUnicodeSupported() {
@@ -346,7 +334,6 @@ function isUnicodeSupported() {
346
334
  if (process$1.platform !== "win32") return TERM !== "linux";
347
335
  return Boolean(env.WT_SESSION) || Boolean(env.TERMINUS_SUBLIME) || env.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
348
336
  }
349
-
350
337
  //#endregion
351
338
  //#region ../../node_modules/.pnpm/figures@6.1.0/node_modules/figures/index.js
352
339
  const common = {
@@ -625,11 +612,8 @@ const fallbackSymbols = {
625
612
  ...common,
626
613
  ...specialFallbackSymbols
627
614
  };
628
- const shouldUseMain = isUnicodeSupported();
629
- const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
630
- var figures_default = figures;
631
- const replacements = Object.entries(specialMainSymbols);
632
-
615
+ const figures = isUnicodeSupported() ? mainSymbols : fallbackSymbols;
616
+ Object.entries(specialMainSymbols);
633
617
  //#endregion
634
618
  //#region ../../node_modules/.pnpm/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
635
619
  const hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
@@ -652,48 +636,47 @@ const format = (open, close) => {
652
636
  return result;
653
637
  };
654
638
  };
655
- const reset = format(0, 0);
639
+ format(0, 0);
656
640
  const bold = format(1, 22);
657
- const dim = format(2, 22);
658
- const italic = format(3, 23);
659
- const underline = format(4, 24);
660
- const overline = format(53, 55);
661
- const inverse = format(7, 27);
662
- const hidden = format(8, 28);
663
- const strikethrough = format(9, 29);
664
- const black = format(30, 39);
665
- const red = format(31, 39);
666
- const green = format(32, 39);
667
- const yellow = format(33, 39);
668
- const blue = format(34, 39);
669
- const magenta = format(35, 39);
670
- const cyan = format(36, 39);
671
- const white = format(37, 39);
641
+ format(2, 22);
642
+ format(3, 23);
643
+ format(4, 24);
644
+ format(53, 55);
645
+ format(7, 27);
646
+ format(8, 28);
647
+ format(9, 29);
648
+ format(30, 39);
649
+ format(31, 39);
650
+ format(32, 39);
651
+ format(33, 39);
652
+ format(34, 39);
653
+ format(35, 39);
654
+ format(36, 39);
655
+ format(37, 39);
672
656
  const gray = format(90, 39);
673
- const bgBlack = format(40, 49);
674
- const bgRed = format(41, 49);
675
- const bgGreen = format(42, 49);
676
- const bgYellow = format(43, 49);
677
- const bgBlue = format(44, 49);
678
- const bgMagenta = format(45, 49);
679
- const bgCyan = format(46, 49);
680
- const bgWhite = format(47, 49);
681
- const bgGray = format(100, 49);
657
+ format(40, 49);
658
+ format(41, 49);
659
+ format(42, 49);
660
+ format(43, 49);
661
+ format(44, 49);
662
+ format(45, 49);
663
+ format(46, 49);
664
+ format(47, 49);
665
+ format(100, 49);
682
666
  const redBright = format(91, 39);
683
- const greenBright = format(92, 39);
667
+ format(92, 39);
684
668
  const yellowBright = format(93, 39);
685
- const blueBright = format(94, 39);
686
- const magentaBright = format(95, 39);
687
- const cyanBright = format(96, 39);
688
- const whiteBright = format(97, 39);
689
- const bgRedBright = format(101, 49);
690
- const bgGreenBright = format(102, 49);
691
- const bgYellowBright = format(103, 49);
692
- const bgBlueBright = format(104, 49);
693
- const bgMagentaBright = format(105, 49);
694
- const bgCyanBright = format(106, 49);
695
- const bgWhiteBright = format(107, 49);
696
-
669
+ format(94, 39);
670
+ format(95, 39);
671
+ format(96, 39);
672
+ format(97, 39);
673
+ format(101, 49);
674
+ format(102, 49);
675
+ format(103, 49);
676
+ format(104, 49);
677
+ format(105, 49);
678
+ format(106, 49);
679
+ format(107, 49);
697
680
  //#endregion
698
681
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/default.js
699
682
  const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, result: { failed = false } = {}, options: { reject = true } }) => {
@@ -709,8 +692,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
709
692
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
710
693
  const padField = (field, padding) => String(field).padStart(padding, "0");
711
694
  const getFinalIcon = ({ failed, reject }) => {
712
- if (!failed) return figures_default.tick;
713
- return reject ? figures_default.cross : figures_default.warning;
695
+ if (!failed) return figures.tick;
696
+ return reject ? figures.cross : figures.warning;
714
697
  };
715
698
  const ICONS = {
716
699
  command: ({ piped }) => piped ? "|" : "$",
@@ -727,7 +710,6 @@ const COLORS = {
727
710
  error: ({ reject }) => reject ? redBright : yellowBright,
728
711
  duration: () => gray
729
712
  };
730
-
731
713
  //#endregion
732
714
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/custom.js
733
715
  const applyVerboseOnLines = (printedLines, verboseInfo, fdNumber) => {
@@ -740,7 +722,6 @@ const applyVerboseFunction = (verboseLine, verboseObject, verboseFunction) => {
740
722
  if (typeof printedLine === "string") return printedLine;
741
723
  };
742
724
  const appendNewline = (printedLine) => printedLine.endsWith("\n") ? printedLine : `${printedLine}\n`;
743
-
744
725
  //#endregion
745
726
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/log.js
746
727
  const verboseLog = ({ type, verboseMessage, fdNumber, verboseInfo, result }) => {
@@ -751,7 +732,7 @@ const verboseLog = ({ type, verboseMessage, fdNumber, verboseInfo, result }) =>
751
732
  })), verboseInfo, fdNumber);
752
733
  if (finalLines !== "") console.warn(finalLines.slice(0, -1));
753
734
  };
754
- const getVerboseObject = ({ type, result, verboseInfo: { escapedCommand, commandId, rawOptions: { piped = false,...options } } }) => ({
735
+ const getVerboseObject = ({ type, result, verboseInfo: { escapedCommand, commandId, rawOptions: { piped = false, ...options } } }) => ({
755
736
  type,
756
737
  escapedCommand,
757
738
  commandId: `${commandId}`,
@@ -774,7 +755,6 @@ const serializeVerboseMessage = (message) => {
774
755
  return escapeLines(typeof message === "string" ? message : inspect(message)).replaceAll(" ", " ".repeat(TAB_SIZE));
775
756
  };
776
757
  const TAB_SIZE = 2;
777
-
778
758
  //#endregion
779
759
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/start.js
780
760
  const logCommand = (escapedCommand, verboseInfo) => {
@@ -785,7 +765,6 @@ const logCommand = (escapedCommand, verboseInfo) => {
785
765
  verboseInfo
786
766
  });
787
767
  };
788
-
789
768
  //#endregion
790
769
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/info.js
791
770
  const getVerboseInfo = (verbose, escapedCommand, rawOptions) => {
@@ -809,12 +788,10 @@ const validateVerbose = (verbose) => {
809
788
  }
810
789
  }
811
790
  };
812
-
813
791
  //#endregion
814
792
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/duration.js
815
793
  const getStartTime = () => hrtime.bigint();
816
794
  const getDurationMs = (startTime) => Number(hrtime.bigint() - startTime) / 1e6;
817
-
818
795
  //#endregion
819
796
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/command.js
820
797
  const handleCommand = (filePath, rawArguments, rawOptions) => {
@@ -829,51 +806,49 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
829
806
  verboseInfo
830
807
  };
831
808
  };
832
-
833
809
  //#endregion
834
810
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
835
- var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
836
- module.exports = isexe$3;
837
- isexe$3.sync = sync$2;
811
+ var require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {
812
+ module.exports = isexe;
813
+ isexe.sync = sync;
838
814
  var fs$3 = __require("fs");
839
- function checkPathExt(path$5, options) {
815
+ function checkPathExt(path, options) {
840
816
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
841
817
  if (!pathext) return true;
842
818
  pathext = pathext.split(";");
843
819
  if (pathext.indexOf("") !== -1) return true;
844
- for (var i$1 = 0; i$1 < pathext.length; i$1++) {
845
- var p = pathext[i$1].toLowerCase();
846
- if (p && path$5.substr(-p.length).toLowerCase() === p) return true;
820
+ for (var i = 0; i < pathext.length; i++) {
821
+ var p = pathext[i].toLowerCase();
822
+ if (p && path.substr(-p.length).toLowerCase() === p) return true;
847
823
  }
848
824
  return false;
849
825
  }
850
- function checkStat$1(stat, path$5, options) {
826
+ function checkStat(stat, path, options) {
851
827
  if (!stat.isSymbolicLink() && !stat.isFile()) return false;
852
- return checkPathExt(path$5, options);
828
+ return checkPathExt(path, options);
853
829
  }
854
- function isexe$3(path$5, options, cb) {
855
- fs$3.stat(path$5, function(er, stat) {
856
- cb(er, er ? false : checkStat$1(stat, path$5, options));
830
+ function isexe(path, options, cb) {
831
+ fs$3.stat(path, function(er, stat) {
832
+ cb(er, er ? false : checkStat(stat, path, options));
857
833
  });
858
834
  }
859
- function sync$2(path$5, options) {
860
- return checkStat$1(fs$3.statSync(path$5), path$5, options);
835
+ function sync(path, options) {
836
+ return checkStat(fs$3.statSync(path), path, options);
861
837
  }
862
- }) });
863
-
838
+ }));
864
839
  //#endregion
865
840
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
866
- var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
867
- module.exports = isexe$2;
868
- isexe$2.sync = sync$1;
841
+ var require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
842
+ module.exports = isexe;
843
+ isexe.sync = sync;
869
844
  var fs$2 = __require("fs");
870
- function isexe$2(path$5, options, cb) {
871
- fs$2.stat(path$5, function(er, stat) {
845
+ function isexe(path, options, cb) {
846
+ fs$2.stat(path, function(er, stat) {
872
847
  cb(er, er ? false : checkStat(stat, options));
873
848
  });
874
849
  }
875
- function sync$1(path$5, options) {
876
- return checkStat(fs$2.statSync(path$5), options);
850
+ function sync(path, options) {
851
+ return checkStat(fs$2.statSync(path), options);
877
852
  }
878
853
  function checkStat(stat, options) {
879
854
  return stat.isFile() && checkMode(stat, options);
@@ -884,24 +859,23 @@ var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@
884
859
  var gid = stat.gid;
885
860
  var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
886
861
  var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
887
- var u$1 = parseInt("100", 8);
862
+ var u = parseInt("100", 8);
888
863
  var g = parseInt("010", 8);
889
- var o$1 = parseInt("001", 8);
890
- var ug = u$1 | g;
891
- return mod & o$1 || mod & g && gid === myGid || mod & u$1 && uid === myUid || mod & ug && myUid === 0;
864
+ var o = parseInt("001", 8);
865
+ var ug = u | g;
866
+ return mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
892
867
  }
893
- }) });
894
-
868
+ }));
895
869
  //#endregion
896
870
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
897
- var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
871
+ var require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
898
872
  __require("fs");
899
873
  var core;
900
874
  if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
901
875
  else core = require_mode();
902
- module.exports = isexe$1;
903
- isexe$1.sync = sync;
904
- function isexe$1(path$5, options, cb) {
876
+ module.exports = isexe;
877
+ isexe.sync = sync;
878
+ function isexe(path, options, cb) {
905
879
  if (typeof options === "function") {
906
880
  cb = options;
907
881
  options = {};
@@ -909,13 +883,13 @@ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe
909
883
  if (!cb) {
910
884
  if (typeof Promise !== "function") throw new TypeError("callback not provided");
911
885
  return new Promise(function(resolve, reject) {
912
- isexe$1(path$5, options || {}, function(er, is) {
886
+ isexe(path, options || {}, function(er, is) {
913
887
  if (er) reject(er);
914
888
  else resolve(is);
915
889
  });
916
890
  });
917
891
  }
918
- core(path$5, options || {}, function(er, is) {
892
+ core(path, options || {}, function(er, is) {
919
893
  if (er) {
920
894
  if (er.code === "EACCES" || options && options.ignoreErrors) {
921
895
  er = null;
@@ -925,19 +899,18 @@ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe
925
899
  cb(er, is);
926
900
  });
927
901
  }
928
- function sync(path$5, options) {
902
+ function sync(path, options) {
929
903
  try {
930
- return core.sync(path$5, options || {});
904
+ return core.sync(path, options || {});
931
905
  } catch (er) {
932
906
  if (options && options.ignoreErrors || er.code === "EACCES") return false;
933
907
  else throw er;
934
908
  }
935
909
  }
936
- }) });
937
-
910
+ }));
938
911
  //#endregion
939
912
  //#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
940
- var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
913
+ var require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {
941
914
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
942
915
  const path$4 = __require("path");
943
916
  const COLON = isWindows ? ";" : ":";
@@ -957,7 +930,7 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
957
930
  pathExtExe
958
931
  };
959
932
  };
960
- const which$1 = (cmd, opt, cb) => {
933
+ const which = (cmd, opt, cb) => {
961
934
  if (typeof opt === "function") {
962
935
  cb = opt;
963
936
  opt = {};
@@ -965,20 +938,20 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
965
938
  if (!opt) opt = {};
966
939
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
967
940
  const found = [];
968
- const step = (i$1) => new Promise((resolve, reject) => {
969
- if (i$1 === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
970
- const ppRaw = pathEnv[i$1];
941
+ const step = (i) => new Promise((resolve, reject) => {
942
+ if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
943
+ const ppRaw = pathEnv[i];
971
944
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
972
945
  const pCmd = path$4.join(pathPart, cmd);
973
- resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i$1, 0));
946
+ resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
974
947
  });
975
- const subStep = (p, i$1, ii) => new Promise((resolve, reject) => {
976
- if (ii === pathExt.length) return resolve(step(i$1 + 1));
948
+ const subStep = (p, i, ii) => new Promise((resolve, reject) => {
949
+ if (ii === pathExt.length) return resolve(step(i + 1));
977
950
  const ext = pathExt[ii];
978
951
  isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
979
952
  if (!er && is) if (opt.all) found.push(p + ext);
980
953
  else return resolve(p + ext);
981
- return resolve(subStep(p, i$1, ii + 1));
954
+ return resolve(subStep(p, i, ii + 1));
982
955
  });
983
956
  });
984
957
  return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
@@ -987,8 +960,8 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
987
960
  opt = opt || {};
988
961
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
989
962
  const found = [];
990
- for (let i$1 = 0; i$1 < pathEnv.length; i$1++) {
991
- const ppRaw = pathEnv[i$1];
963
+ for (let i = 0; i < pathEnv.length; i++) {
964
+ const ppRaw = pathEnv[i];
992
965
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
993
966
  const pCmd = path$4.join(pathPart, cmd);
994
967
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
@@ -1004,25 +977,23 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
1004
977
  if (opt.nothrow) return null;
1005
978
  throw getNotFoundError(cmd);
1006
979
  };
1007
- module.exports = which$1;
1008
- which$1.sync = whichSync;
1009
- }) });
1010
-
980
+ module.exports = which;
981
+ which.sync = whichSync;
982
+ }));
1011
983
  //#endregion
1012
984
  //#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
1013
- var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
1014
- const pathKey$1 = (options = {}) => {
985
+ var require_path_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {
986
+ const pathKey = (options = {}) => {
1015
987
  const environment = options.env || process.env;
1016
988
  if ((options.platform || process.platform) !== "win32") return "PATH";
1017
989
  return Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
1018
990
  };
1019
- module.exports = pathKey$1;
1020
- module.exports.default = pathKey$1;
1021
- }) });
1022
-
991
+ module.exports = pathKey;
992
+ module.exports.default = pathKey;
993
+ }));
1023
994
  //#endregion
1024
995
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
1025
- var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
996
+ var require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1026
997
  const path$3 = __require("path");
1027
998
  const which = require_which();
1028
999
  const getPathKey = require_path_key();
@@ -1046,15 +1017,14 @@ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
1046
1017
  if (resolved) resolved = path$3.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
1047
1018
  return resolved;
1048
1019
  }
1049
- function resolveCommand$1(parsed) {
1020
+ function resolveCommand(parsed) {
1050
1021
  return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
1051
1022
  }
1052
- module.exports = resolveCommand$1;
1053
- }) });
1054
-
1023
+ module.exports = resolveCommand;
1024
+ }));
1055
1025
  //#endregion
1056
1026
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
1057
- var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
1027
+ var require_escape = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1058
1028
  const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
1059
1029
  function escapeCommand(arg) {
1060
1030
  arg = arg.replace(metaCharsRegExp, "^$1");
@@ -1071,34 +1041,31 @@ var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
1071
1041
  }
1072
1042
  module.exports.command = escapeCommand;
1073
1043
  module.exports.argument = escapeArgument;
1074
- }) });
1075
-
1044
+ }));
1076
1045
  //#endregion
1077
1046
  //#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
1078
- var require_shebang_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
1047
+ var require_shebang_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1079
1048
  module.exports = /^#!(.*)/;
1080
- }) });
1081
-
1049
+ }));
1082
1050
  //#endregion
1083
1051
  //#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
1084
- var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
1052
+ var require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1085
1053
  const shebangRegex = require_shebang_regex();
1086
1054
  module.exports = (string = "") => {
1087
1055
  const match = string.match(shebangRegex);
1088
1056
  if (!match) return null;
1089
- const [path$5, argument] = match[0].replace(/#! ?/, "").split(" ");
1090
- const binary = path$5.split("/").pop();
1057
+ const [path, argument] = match[0].replace(/#! ?/, "").split(" ");
1058
+ const binary = path.split("/").pop();
1091
1059
  if (binary === "env") return argument;
1092
1060
  return argument ? `${binary} ${argument}` : binary;
1093
1061
  };
1094
- }) });
1095
-
1062
+ }));
1096
1063
  //#endregion
1097
1064
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
1098
- var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
1065
+ var require_readShebang = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1099
1066
  const fs$1 = __require("fs");
1100
1067
  const shebangCommand = require_shebang_command();
1101
- function readShebang$1(command) {
1068
+ function readShebang(command) {
1102
1069
  const size = 150;
1103
1070
  const buffer = Buffer.alloc(size);
1104
1071
  let fd;
@@ -1109,17 +1076,16 @@ var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
1109
1076
  } catch (e) {}
1110
1077
  return shebangCommand(buffer.toString());
1111
1078
  }
1112
- module.exports = readShebang$1;
1113
- }) });
1114
-
1079
+ module.exports = readShebang;
1080
+ }));
1115
1081
  //#endregion
1116
1082
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
1117
- var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
1083
+ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1118
1084
  const path$2 = __require("path");
1119
1085
  const resolveCommand = require_resolveCommand();
1120
1086
  const escape = require_escape();
1121
1087
  const readShebang = require_readShebang();
1122
- const isWin$1 = process.platform === "win32";
1088
+ const isWin = process.platform === "win32";
1123
1089
  const isExecutableRegExp = /\.(?:com|exe)$/i;
1124
1090
  const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
1125
1091
  function detectShebang(parsed) {
@@ -1133,7 +1099,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
1133
1099
  return parsed.file;
1134
1100
  }
1135
1101
  function parseNonShell(parsed) {
1136
- if (!isWin$1) return parsed;
1102
+ if (!isWin) return parsed;
1137
1103
  const commandFile = detectShebang(parsed);
1138
1104
  const needsShell = !isExecutableRegExp.test(commandFile);
1139
1105
  if (parsed.options.forceShell || needsShell) {
@@ -1152,7 +1118,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
1152
1118
  }
1153
1119
  return parsed;
1154
1120
  }
1155
- function parse$1(command, args, options) {
1121
+ function parse(command, args, options) {
1156
1122
  if (args && !Array.isArray(args)) {
1157
1123
  options = args;
1158
1124
  args = null;
@@ -1171,12 +1137,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross
1171
1137
  };
1172
1138
  return options.shell ? parsed : parseNonShell(parsed);
1173
1139
  }
1174
- module.exports = parse$1;
1175
- }) });
1176
-
1140
+ module.exports = parse;
1141
+ }));
1177
1142
  //#endregion
1178
1143
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
1179
- var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
1144
+ var require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1180
1145
  const isWin = process.platform === "win32";
1181
1146
  function notFoundError(original, syscall) {
1182
1147
  return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
@@ -1187,15 +1152,15 @@ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
1187
1152
  spawnargs: original.args
1188
1153
  });
1189
1154
  }
1190
- function hookChildProcess(cp$1, parsed) {
1155
+ function hookChildProcess(cp, parsed) {
1191
1156
  if (!isWin) return;
1192
- const originalEmit = cp$1.emit;
1193
- cp$1.emit = function(name, arg1) {
1157
+ const originalEmit = cp.emit;
1158
+ cp.emit = function(name, arg1) {
1194
1159
  if (name === "exit") {
1195
1160
  const err = verifyENOENT(arg1, parsed);
1196
- if (err) return originalEmit.call(cp$1, "error", err);
1161
+ if (err) return originalEmit.call(cp, "error", err);
1197
1162
  }
1198
- return originalEmit.apply(cp$1, arguments);
1163
+ return originalEmit.apply(cp, arguments);
1199
1164
  };
1200
1165
  }
1201
1166
  function verifyENOENT(status, parsed) {
@@ -1212,45 +1177,37 @@ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cros
1212
1177
  verifyENOENTSync,
1213
1178
  notFoundError
1214
1179
  };
1215
- }) });
1216
-
1180
+ }));
1217
1181
  //#endregion
1218
- //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
1219
- var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
1182
+ //#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
1183
+ var import_cross_spawn = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
1220
1184
  const cp = __require("child_process");
1221
1185
  const parse = require_parse();
1222
1186
  const enoent = require_enoent();
1223
- function spawn$1(command, args, options) {
1187
+ function spawn(command, args, options) {
1224
1188
  const parsed = parse(command, args, options);
1225
1189
  const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
1226
1190
  enoent.hookChildProcess(spawned, parsed);
1227
1191
  return spawned;
1228
1192
  }
1229
- function spawnSync$1(command, args, options) {
1193
+ function spawnSync(command, args, options) {
1230
1194
  const parsed = parse(command, args, options);
1231
1195
  const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
1232
1196
  result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
1233
1197
  return result;
1234
1198
  }
1235
- module.exports = spawn$1;
1236
- module.exports.spawn = spawn$1;
1237
- module.exports.sync = spawnSync$1;
1199
+ module.exports = spawn;
1200
+ module.exports.spawn = spawn;
1201
+ module.exports.sync = spawnSync;
1238
1202
  module.exports._parse = parse;
1239
1203
  module.exports._enoent = enoent;
1240
- }) });
1241
-
1242
- //#endregion
1243
- //#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
1244
- var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
1204
+ })))(), 1);
1245
1205
  function pathKey(options = {}) {
1246
- const { env = process.env, platform: platform$1 = process.platform } = options;
1247
- if (platform$1 !== "win32") return "PATH";
1206
+ const { env = process.env, platform = process.platform } = options;
1207
+ if (platform !== "win32") return "PATH";
1248
1208
  return Object.keys(env).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
1249
1209
  }
1250
-
1251
- //#endregion
1252
- //#region ../../node_modules/.pnpm/unicorn-magic@0.3.0/node_modules/unicorn-magic/node.js
1253
- const execFileOriginal = promisify(execFile);
1210
+ promisify(execFile);
1254
1211
  function toPath(urlOrPath) {
1255
1212
  return urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
1256
1213
  }
@@ -1265,16 +1222,14 @@ function traversePathUp(startPath) {
1265
1222
  }
1266
1223
  } };
1267
1224
  }
1268
- const TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
1269
-
1270
1225
  //#endregion
1271
1226
  //#region ../../node_modules/.pnpm/npm-run-path@6.0.0/node_modules/npm-run-path/index.js
1272
- const npmRunPath = ({ cwd = process$1.cwd(), path: pathOption = process$1.env[pathKey()], preferLocal = true, execPath: execPath$1 = process$1.execPath, addExecPath = true } = {}) => {
1227
+ const npmRunPath = ({ cwd = process$1.cwd(), path: pathOption = process$1.env[pathKey()], preferLocal = true, execPath = process$1.execPath, addExecPath = true } = {}) => {
1273
1228
  const cwdPath = path.resolve(toPath(cwd));
1274
1229
  const result = [];
1275
1230
  const pathParts = pathOption.split(path.delimiter);
1276
1231
  if (preferLocal) applyPreferLocal(result, pathParts, cwdPath);
1277
- if (addExecPath) applyExecPath(result, pathParts, execPath$1, cwdPath);
1232
+ if (addExecPath) applyExecPath(result, pathParts, execPath, cwdPath);
1278
1233
  return pathOption === "" || pathOption === path.delimiter ? `${result.join(path.delimiter)}${pathOption}` : [...result, pathOption].join(path.delimiter);
1279
1234
  };
1280
1235
  const applyPreferLocal = (result, pathParts, cwdPath) => {
@@ -1283,18 +1238,17 @@ const applyPreferLocal = (result, pathParts, cwdPath) => {
1283
1238
  if (!pathParts.includes(pathPart)) result.push(pathPart);
1284
1239
  }
1285
1240
  };
1286
- const applyExecPath = (result, pathParts, execPath$1, cwdPath) => {
1287
- const pathPart = path.resolve(cwdPath, toPath(execPath$1), "..");
1241
+ const applyExecPath = (result, pathParts, execPath, cwdPath) => {
1242
+ const pathPart = path.resolve(cwdPath, toPath(execPath), "..");
1288
1243
  if (!pathParts.includes(pathPart)) result.push(pathPart);
1289
1244
  };
1290
- const npmRunPathEnv = ({ env = process$1.env,...options } = {}) => {
1245
+ const npmRunPathEnv = ({ env = process$1.env, ...options } = {}) => {
1291
1246
  env = { ...env };
1292
1247
  const pathName = pathKey({ env });
1293
1248
  options.path = env[pathName];
1294
1249
  env[pathName] = npmRunPath(options);
1295
1250
  return env;
1296
1251
  };
1297
-
1298
1252
  //#endregion
1299
1253
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js
1300
1254
  const getFinalError = (originalError, message, isSync) => {
@@ -1322,11 +1276,10 @@ var ExecaError = class extends Error {};
1322
1276
  setErrorName(ExecaError, ExecaError.name);
1323
1277
  var ExecaSyncError = class extends Error {};
1324
1278
  setErrorName(ExecaSyncError, ExecaSyncError.name);
1325
-
1326
1279
  //#endregion
1327
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/realtime.js
1280
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/realtime.js
1328
1281
  const getRealtimeSignals = () => {
1329
- const length = SIGRTMAX - SIGRTMIN + 1;
1282
+ const length = 64 - SIGRTMIN + 1;
1330
1283
  return Array.from({ length }, getRealtimeSignal);
1331
1284
  };
1332
1285
  const getRealtimeSignal = (value, index) => ({
@@ -1337,10 +1290,8 @@ const getRealtimeSignal = (value, index) => ({
1337
1290
  standard: "posix"
1338
1291
  });
1339
1292
  const SIGRTMIN = 34;
1340
- const SIGRTMAX = 64;
1341
-
1342
1293
  //#endregion
1343
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/core.js
1294
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/core.js
1344
1295
  const SIGNALS = [
1345
1296
  {
1346
1297
  name: "SIGHUP",
@@ -1612,9 +1563,8 @@ const SIGNALS = [
1612
1563
  standard: "other"
1613
1564
  }
1614
1565
  ];
1615
-
1616
1566
  //#endregion
1617
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/signals.js
1567
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/signals.js
1618
1568
  const getSignals = () => {
1619
1569
  const realtimeSignals = getRealtimeSignals();
1620
1570
  return [...SIGNALS, ...realtimeSignals].map(normalizeSignal$1);
@@ -1632,12 +1582,11 @@ const normalizeSignal$1 = ({ name, number: defaultNumber, description, action, f
1632
1582
  standard
1633
1583
  };
1634
1584
  };
1635
-
1636
1585
  //#endregion
1637
- //#region ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/main.js
1586
+ //#region ../../node_modules/.pnpm/human-signals@8.0.1/node_modules/human-signals/build/src/main.js
1638
1587
  const getSignalsByName = () => {
1639
- const signals$1 = getSignals();
1640
- return Object.fromEntries(signals$1.map(getSignalByName));
1588
+ const signals = getSignals();
1589
+ return Object.fromEntries(signals.map(getSignalByName));
1641
1590
  };
1642
1591
  const getSignalByName = ({ name, number, description, supported, action, forced, standard }) => [name, {
1643
1592
  name,
@@ -1650,13 +1599,12 @@ const getSignalByName = ({ name, number, description, supported, action, forced,
1650
1599
  }];
1651
1600
  const signalsByName = getSignalsByName();
1652
1601
  const getSignalsByNumber = () => {
1653
- const signals$1 = getSignals();
1654
- const length = SIGRTMAX + 1;
1655
- const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals$1));
1602
+ const signals = getSignals();
1603
+ const signalsA = Array.from({ length: 65 }, (value, number) => getSignalByNumber(number, signals));
1656
1604
  return Object.assign({}, ...signalsA);
1657
1605
  };
1658
- const getSignalByNumber = (number, signals$1) => {
1659
- const signal = findSignalByNumber(number, signals$1);
1606
+ const getSignalByNumber = (number, signals) => {
1607
+ const signal = findSignalByNumber(number, signals);
1660
1608
  if (signal === void 0) return {};
1661
1609
  const { name, description, supported, action, forced, standard } = signal;
1662
1610
  return { [number]: {
@@ -1669,13 +1617,12 @@ const getSignalByNumber = (number, signals$1) => {
1669
1617
  standard
1670
1618
  } };
1671
1619
  };
1672
- const findSignalByNumber = (number, signals$1) => {
1673
- const signal = signals$1.find(({ name }) => constants.signals[name] === number);
1620
+ const findSignalByNumber = (number, signals) => {
1621
+ const signal = signals.find(({ name }) => constants.signals[name] === number);
1674
1622
  if (signal !== void 0) return signal;
1675
- return signals$1.find((signalA) => signalA.number === number);
1623
+ return signals.find((signalA) => signalA.number === number);
1676
1624
  };
1677
- const signalsByNumber = getSignalsByNumber();
1678
-
1625
+ getSignalsByNumber();
1679
1626
  //#endregion
1680
1627
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/signal.js
1681
1628
  const normalizeKillSignal = (killSignal) => {
@@ -1705,7 +1652,6 @@ Available signal numbers: ${getAvailableSignalIntegers()}.`;
1705
1652
  const getAvailableSignalNames = () => Object.keys(constants.signals).sort().map((signalName) => `'${signalName}'`).join(", ");
1706
1653
  const getAvailableSignalIntegers = () => [...new Set(Object.values(constants.signals).sort((signalInteger, signalIntegerTwo) => signalInteger - signalIntegerTwo))].join(", ");
1707
1654
  const getSignalDescription = (signal) => signalsByName[signal].description;
1708
-
1709
1655
  //#endregion
1710
1656
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/kill.js
1711
1657
  const normalizeForceKillAfterDelay = (forceKillAfterDelay) => {
@@ -1757,13 +1703,11 @@ const killOnTimeout = async ({ kill, forceKillAfterDelay, context, controllerSig
1757
1703
  if (kill("SIGKILL")) context.isForcefullyTerminated ??= true;
1758
1704
  } catch {}
1759
1705
  };
1760
-
1761
1706
  //#endregion
1762
1707
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/abort-signal.js
1763
1708
  const onAbortedSignal = async (mainSignal, stopSignal) => {
1764
1709
  if (!mainSignal.aborted) await once(mainSignal, "abort", { signal: stopSignal });
1765
1710
  };
1766
-
1767
1711
  //#endregion
1768
1712
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/cancel.js
1769
1713
  const validateCancelSignal = ({ cancelSignal }) => {
@@ -1776,18 +1720,17 @@ const terminateOnCancel = async (subprocess, cancelSignal, context, { signal })
1776
1720
  subprocess.kill();
1777
1721
  throw cancelSignal.reason;
1778
1722
  };
1779
-
1780
1723
  //#endregion
1781
1724
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/validation.js
1782
- const validateIpcMethod = ({ methodName, isSubprocess, ipc, isConnected: isConnected$1 }) => {
1725
+ const validateIpcMethod = ({ methodName, isSubprocess, ipc, isConnected }) => {
1783
1726
  validateIpcOption(methodName, isSubprocess, ipc);
1784
- validateConnection(methodName, isSubprocess, isConnected$1);
1727
+ validateConnection(methodName, isSubprocess, isConnected);
1785
1728
  };
1786
1729
  const validateIpcOption = (methodName, isSubprocess, ipc) => {
1787
1730
  if (!ipc) throw new Error(`${getMethodName(methodName, isSubprocess)} can only be used if the \`ipc\` option is \`true\`.`);
1788
1731
  };
1789
- const validateConnection = (methodName, isSubprocess, isConnected$1) => {
1790
- if (!isConnected$1) throw new Error(`${getMethodName(methodName, isSubprocess)} cannot be used: the ${getOtherProcessName(isSubprocess)} has already exited or disconnected.`);
1732
+ const validateConnection = (methodName, isSubprocess, isConnected) => {
1733
+ if (!isConnected) throw new Error(`${getMethodName(methodName, isSubprocess)} cannot be used: the ${getOtherProcessName(isSubprocess)} has already exited or disconnected.`);
1791
1734
  };
1792
1735
  const throwOnEarlyDisconnect = (isSubprocess) => {
1793
1736
  throw new Error(`${getMethodName("getOneMessage", isSubprocess)} could not complete: the ${getOtherProcessName(isSubprocess)} exited or disconnected.`);
@@ -1831,7 +1774,6 @@ const getOtherProcessName = (isSubprocess) => isSubprocess ? "parent process" :
1831
1774
  const disconnect = (anyProcess) => {
1832
1775
  if (anyProcess.connected) anyProcess.disconnect();
1833
1776
  };
1834
-
1835
1777
  //#endregion
1836
1778
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/deferred.js
1837
1779
  const createDeferred = () => {
@@ -1844,7 +1786,6 @@ const createDeferred = () => {
1844
1786
  });
1845
1787
  return Object.assign(promise, methods);
1846
1788
  };
1847
-
1848
1789
  //#endregion
1849
1790
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/fd-options.js
1850
1791
  const getToStream = (destination, to = "stdin") => {
@@ -1921,7 +1862,6 @@ const serializeOptionValue = (value) => {
1921
1862
  if (typeof value === "string") return `'${value}'`;
1922
1863
  return typeof value === "number" ? `${value}` : "Stream";
1923
1864
  };
1924
-
1925
1865
  //#endregion
1926
1866
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/max-listeners.js
1927
1867
  const incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
@@ -1932,7 +1872,6 @@ const incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
1932
1872
  eventEmitter.setMaxListeners(eventEmitter.getMaxListeners() - maxListenersIncrement);
1933
1873
  });
1934
1874
  };
1935
-
1936
1875
  //#endregion
1937
1876
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/reference.js
1938
1877
  const addReference = (channel, reference) => {
@@ -1959,7 +1898,6 @@ const redoAddedReferences = (channel, isSubprocess) => {
1959
1898
  addReferenceCount(channel);
1960
1899
  }
1961
1900
  };
1962
-
1963
1901
  //#endregion
1964
1902
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/incoming.js
1965
1903
  const onMessage = async ({ anyProcess, channel, isSubprocess, ipcEmitter }, wrappedMessage) => {
@@ -1993,7 +1931,6 @@ const onDisconnect = async ({ anyProcess, channel, isSubprocess, ipcEmitter, bou
1993
1931
  ipcEmitter.emit("disconnect");
1994
1932
  };
1995
1933
  const INCOMING_MESSAGES = /* @__PURE__ */ new WeakMap();
1996
-
1997
1934
  //#endregion
1998
1935
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/forward.js
1999
1936
  const getIpcEmitter = (anyProcess, channel, isSubprocess) => {
@@ -2031,7 +1968,6 @@ const isConnected = (anyProcess) => {
2031
1968
  const ipcEmitter = IPC_EMITTERS.get(anyProcess);
2032
1969
  return ipcEmitter === void 0 ? anyProcess.channel !== null : ipcEmitter.connected;
2033
1970
  };
2034
-
2035
1971
  //#endregion
2036
1972
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/strict.js
2037
1973
  const handleSendStrict = ({ anyProcess, channel, isSubprocess, message, strict }) => {
@@ -2103,7 +2039,6 @@ const throwOnDisconnect$1 = async (anyProcess, isSubprocess, { signal }) => {
2103
2039
  };
2104
2040
  const REQUEST_TYPE = "execa:ipc:request";
2105
2041
  const RESPONSE_TYPE = "execa:ipc:response";
2106
-
2107
2042
  //#endregion
2108
2043
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/outgoing.js
2109
2044
  const startSendMessage = (anyProcess, wrappedMessage, strict) => {
@@ -2133,7 +2068,6 @@ const waitForOutgoingMessages = async (anyProcess, ipcEmitter, wrappedMessage) =
2133
2068
  const OUTGOING_MESSAGES = /* @__PURE__ */ new WeakMap();
2134
2069
  const hasMessageListeners = (anyProcess, ipcEmitter) => ipcEmitter.listenerCount("message") > getMinListenerCount(anyProcess);
2135
2070
  const getMinListenerCount = (anyProcess) => SUBPROCESS_OPTIONS.has(anyProcess) && !getFdSpecificValue(SUBPROCESS_OPTIONS.get(anyProcess).options.buffer, "ipc") ? 1 : 0;
2136
-
2137
2071
  //#endregion
2138
2072
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/send.js
2139
2073
  const sendMessage$1 = ({ anyProcess, channel, isSubprocess, ipc }, message, { strict = false } = {}) => {
@@ -2203,7 +2137,6 @@ const getSendMethod = (anyProcess) => {
2203
2137
  return sendMethod;
2204
2138
  };
2205
2139
  const PROCESS_SEND_METHODS = /* @__PURE__ */ new WeakMap();
2206
-
2207
2140
  //#endregion
2208
2141
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/graceful.js
2209
2142
  const sendAbort = (subprocess, message) => {
@@ -2254,7 +2187,6 @@ const abortOnDisconnect = () => {
2254
2187
  cancelController.abort(getAbortDisconnectError());
2255
2188
  };
2256
2189
  const cancelController = new AbortController();
2257
-
2258
2190
  //#endregion
2259
2191
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/graceful.js
2260
2192
  const validateGracefulCancel = ({ gracefulCancel, cancelSignal, ipc, serialization }) => {
@@ -2293,7 +2225,6 @@ const getReason = ({ reason }) => {
2293
2225
  });
2294
2226
  return error;
2295
2227
  };
2296
-
2297
2228
  //#endregion
2298
2229
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/timeout.js
2299
2230
  const validateTimeout = ({ timeout }) => {
@@ -2306,7 +2237,6 @@ const killAfterTimeout = async (subprocess, timeout, context, { signal }) => {
2306
2237
  subprocess.kill();
2307
2238
  throw new DiscardedError();
2308
2239
  };
2309
-
2310
2240
  //#endregion
2311
2241
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/node.js
2312
2242
  const mapNode = ({ options }) => {
@@ -2316,7 +2246,7 @@ const mapNode = ({ options }) => {
2316
2246
  node: true
2317
2247
  } };
2318
2248
  };
2319
- const handleNodeOption = (file, commandArguments, { node: shouldHandleNode = false, nodePath = execPath, nodeOptions = execArgv.filter((nodeOption) => !nodeOption.startsWith("--inspect")), cwd, execPath: formerNodePath,...options }) => {
2249
+ const handleNodeOption = (file, commandArguments, { node: shouldHandleNode = false, nodePath = execPath, nodeOptions = execArgv.filter((nodeOption) => !nodeOption.startsWith("--inspect")), cwd, execPath: formerNodePath, ...options }) => {
2320
2250
  if (formerNodePath !== void 0) throw new TypeError("The \"execPath\" option has been removed. Please use the \"nodePath\" option instead.");
2321
2251
  const normalizedNodePath = safeNormalizeFileUrl(nodePath, "The \"nodePath\" option");
2322
2252
  const resolvedNodePath = path.resolve(cwd, normalizedNodePath);
@@ -2346,7 +2276,6 @@ const handleNodeOption = (file, commandArguments, { node: shouldHandleNode = fal
2346
2276
  }
2347
2277
  ];
2348
2278
  };
2349
-
2350
2279
  //#endregion
2351
2280
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/ipc-input.js
2352
2281
  const validateIpcInputOption = ({ ipcInput, ipc, serialization }) => {
@@ -2376,7 +2305,6 @@ const sendIpcInput = async (subprocess, ipcInput) => {
2376
2305
  if (ipcInput === void 0) return;
2377
2306
  await subprocess.sendMessage(ipcInput);
2378
2307
  };
2379
-
2380
2308
  //#endregion
2381
2309
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/encoding-option.js
2382
2310
  const validateEncoding = ({ encoding }) => {
@@ -2384,7 +2312,7 @@ const validateEncoding = ({ encoding }) => {
2384
2312
  const correctEncoding = getCorrectEncoding(encoding);
2385
2313
  if (correctEncoding !== void 0) throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(encoding)}\`.
2386
2314
  Please rename it to ${serializeEncoding(correctEncoding)}.`);
2387
- const correctEncodings = [...ENCODINGS].map((correctEncoding$1) => serializeEncoding(correctEncoding$1)).join(", ");
2315
+ const correctEncodings = [...ENCODINGS].map((correctEncoding) => serializeEncoding(correctEncoding)).join(", ");
2388
2316
  throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(encoding)}\`.
2389
2317
  Please rename it to one of: ${correctEncodings}.`);
2390
2318
  };
@@ -2413,7 +2341,6 @@ const ENCODING_ALIASES = {
2413
2341
  binary: "latin1"
2414
2342
  };
2415
2343
  const serializeEncoding = (encoding) => typeof encoding === "string" ? `"${encoding}"` : String(encoding);
2416
-
2417
2344
  //#endregion
2418
2345
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/cwd.js
2419
2346
  const normalizeCwd = (cwd = getDefaultCwd()) => {
@@ -2439,7 +2366,6 @@ const fixCwdError = (originalMessage, cwd) => {
2439
2366
  if (!cwdStat.isDirectory()) return `The "cwd" option is not a directory: ${cwd}.\n${originalMessage}`;
2440
2367
  return originalMessage;
2441
2368
  };
2442
-
2443
2369
  //#endregion
2444
2370
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/options.js
2445
2371
  const normalizeOptions = (filePath, rawArguments, rawOptions) => {
@@ -2464,7 +2390,7 @@ const normalizeOptions = (filePath, rawArguments, rawOptions) => {
2464
2390
  options
2465
2391
  };
2466
2392
  };
2467
- const addDefaultOptions = ({ extendEnv = true, preferLocal = false, cwd, localDir: localDirectory = cwd, encoding = "utf8", reject = true, cleanup = true, all = false, windowsHide = true, killSignal = "SIGTERM", forceKillAfterDelay = true, gracefulCancel = false, ipcInput, ipc = ipcInput !== void 0 || gracefulCancel, serialization = "advanced",...options }) => ({
2393
+ const addDefaultOptions = ({ extendEnv = true, preferLocal = false, cwd, localDir: localDirectory = cwd, encoding = "utf8", reject = true, cleanup = true, all = false, windowsHide = true, killSignal = "SIGTERM", forceKillAfterDelay = true, gracefulCancel = false, ipcInput, ipc = ipcInput !== void 0 || gracefulCancel, serialization = "advanced", ...options }) => ({
2468
2394
  ...options,
2469
2395
  extendEnv,
2470
2396
  preferLocal,
@@ -2496,7 +2422,6 @@ const getEnv = ({ env: envOption, extendEnv, preferLocal, node, localDirectory,
2496
2422
  });
2497
2423
  return env;
2498
2424
  };
2499
-
2500
2425
  //#endregion
2501
2426
  //#region ../../node_modules/.pnpm/strip-final-newline@4.0.0/node_modules/strip-final-newline/index.js
2502
2427
  function stripFinalNewline(input) {
@@ -2510,22 +2435,20 @@ const LF = "\n";
2510
2435
  const LF_BINARY = LF.codePointAt(0);
2511
2436
  const CR = "\r";
2512
2437
  const CR_BINARY = CR.codePointAt(0);
2513
-
2514
2438
  //#endregion
2515
2439
  //#region ../../node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.js
2516
2440
  function isStream(stream, { checkOpen = true } = {}) {
2517
2441
  return stream !== null && typeof stream === "object" && (stream.writable || stream.readable || !checkOpen || stream.writable === void 0 && stream.readable === void 0) && typeof stream.pipe === "function";
2518
2442
  }
2519
- function isWritableStream(stream, { checkOpen = true } = {}) {
2443
+ function isWritableStream$1(stream, { checkOpen = true } = {}) {
2520
2444
  return isStream(stream, { checkOpen }) && (stream.writable || !checkOpen) && typeof stream.write === "function" && typeof stream.end === "function" && typeof stream.writable === "boolean" && typeof stream.writableObjectMode === "boolean" && typeof stream.destroy === "function" && typeof stream.destroyed === "boolean";
2521
2445
  }
2522
- function isReadableStream(stream, { checkOpen = true } = {}) {
2446
+ function isReadableStream$1(stream, { checkOpen = true } = {}) {
2523
2447
  return isStream(stream, { checkOpen }) && (stream.readable || !checkOpen) && typeof stream.read === "function" && typeof stream.readable === "boolean" && typeof stream.readableObjectMode === "boolean" && typeof stream.destroy === "function" && typeof stream.destroyed === "boolean";
2524
2448
  }
2525
2449
  function isDuplexStream(stream, options) {
2526
- return isWritableStream(stream, options) && isReadableStream(stream, options);
2450
+ return isWritableStream$1(stream, options) && isReadableStream$1(stream, options);
2527
2451
  }
2528
-
2529
2452
  //#endregion
2530
2453
  //#region ../../node_modules/.pnpm/@sec-ant+readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js
2531
2454
  const a = Object.getPrototypeOf(Object.getPrototypeOf(
@@ -2606,11 +2529,10 @@ function h({ preventCancel: r = !1 } = {}) {
2606
2529
  const t = new c(this.getReader(), r), s = Object.create(u);
2607
2530
  return s[n] = t, s;
2608
2531
  }
2609
-
2610
2532
  //#endregion
2611
2533
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.js
2612
2534
  const getAsyncIterable = (stream) => {
2613
- if (isReadableStream(stream, { checkOpen: false }) && nodeImports.on !== void 0) return getStreamIterable(stream);
2535
+ if (isReadableStream$1(stream, { checkOpen: false }) && nodeImports.on !== void 0) return getStreamIterable(stream);
2614
2536
  if (typeof stream?.[Symbol.asyncIterator] === "function") return stream;
2615
2537
  if (toString.call(stream) === "[object ReadableStream]") return h.call(stream);
2616
2538
  throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.");
@@ -2644,7 +2566,6 @@ const handleStreamEnd = async (stream, controller, state) => {
2644
2566
  }
2645
2567
  };
2646
2568
  const nodeImports = {};
2647
-
2648
2569
  //#endregion
2649
2570
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/contents.js
2650
2571
  const getStreamContents$1 = async (stream, { init, convertChunk, getSize, truncateChunk, addChunk, getFinalChunk, finalize }, { maxBuffer = Number.POSITIVE_INFINITY } = {}) => {
@@ -2720,7 +2641,6 @@ var MaxBufferError = class extends Error {
2720
2641
  super("maxBuffer exceeded");
2721
2642
  }
2722
2643
  };
2723
-
2724
2644
  //#endregion
2725
2645
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.js
2726
2646
  const identity = (value) => value;
@@ -2730,7 +2650,6 @@ const throwObjectStream = (chunk) => {
2730
2650
  throw new Error(`Streams in object mode are not supported: ${String(chunk)}`);
2731
2651
  };
2732
2652
  const getLengthProperty = (convertedChunk) => convertedChunk.length;
2733
-
2734
2653
  //#endregion
2735
2654
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array.js
2736
2655
  async function getStreamAsArray(stream, options) {
@@ -2758,7 +2677,6 @@ const arrayMethods = {
2758
2677
  getFinalChunk: noop$1,
2759
2678
  finalize: getContentsProperty
2760
2679
  };
2761
-
2762
2680
  //#endregion
2763
2681
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array-buffer.js
2764
2682
  async function getStreamAsArrayBuffer(stream, options) {
@@ -2810,7 +2728,6 @@ const arrayBufferMethods = {
2810
2728
  getFinalChunk: noop$1,
2811
2729
  finalize: finalizeArrayBuffer
2812
2730
  };
2813
-
2814
2731
  //#endregion
2815
2732
  //#region ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/string.js
2816
2733
  async function getStreamAsString(stream, options) {
@@ -2820,11 +2737,11 @@ const initString = () => ({
2820
2737
  contents: "",
2821
2738
  textDecoder: new TextDecoder()
2822
2739
  });
2823
- const useTextDecoder = (chunk, { textDecoder: textDecoder$1 }) => textDecoder$1.decode(chunk, { stream: true });
2740
+ const useTextDecoder = (chunk, { textDecoder }) => textDecoder.decode(chunk, { stream: true });
2824
2741
  const addStringChunk = (convertedChunk, { contents }) => contents + convertedChunk;
2825
2742
  const truncateStringChunk = (convertedChunk, chunkSize) => convertedChunk.slice(0, chunkSize);
2826
- const getFinalStringChunk = ({ textDecoder: textDecoder$1 }) => {
2827
- const finalChunk = textDecoder$1.decode();
2743
+ const getFinalStringChunk = ({ textDecoder }) => {
2744
+ const finalChunk = textDecoder.decode();
2828
2745
  return finalChunk === "" ? void 0 : finalChunk;
2829
2746
  };
2830
2747
  const stringMethods = {
@@ -2843,7 +2760,6 @@ const stringMethods = {
2843
2760
  getFinalChunk: getFinalStringChunk,
2844
2761
  finalize: getContentsProperty
2845
2762
  };
2846
-
2847
2763
  //#endregion
2848
2764
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/max-buffer.js
2849
2765
  const handleMaxBuffer = ({ error, stream, readableObjectMode, lines, encoding, fdNumber }) => {
@@ -2899,7 +2815,6 @@ const truncateMaxBufferSync = (result, isMaxBuffer, maxBuffer) => {
2899
2815
  return result.length > maxBufferValue ? result.slice(0, maxBufferValue) : result;
2900
2816
  };
2901
2817
  const getMaxBufferSync = ([, stdoutMaxBuffer]) => stdoutMaxBuffer;
2902
-
2903
2818
  //#endregion
2904
2819
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/message.js
2905
2820
  const createMessages = ({ stdio, all, ipcOutput, originalError, signal, signalDescription, exitCode, escapedCommand, timedOut, isCanceled, isGracefullyCanceled, isMaxBuffer, isForcefullyTerminated, forceKillAfterDelay, killSignal, maxBuffer, timeout, cwd }) => {
@@ -2961,7 +2876,6 @@ const serializeMessageItem = (messageItem) => {
2961
2876
  if (isUint8Array(messageItem)) return uint8ArrayToString(messageItem);
2962
2877
  return "";
2963
2878
  };
2964
-
2965
2879
  //#endregion
2966
2880
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js
2967
2881
  const makeSuccessResult = ({ command, escapedCommand, stdio, all, ipcOutput, options: { cwd }, startTime }) => omitUndefinedProperties({
@@ -3079,7 +2993,6 @@ const normalizeExitPayload = (rawExitCode, rawSignal) => {
3079
2993
  signalDescription: signal === void 0 ? void 0 : getSignalDescription(rawSignal)
3080
2994
  };
3081
2995
  };
3082
-
3083
2996
  //#endregion
3084
2997
  //#region ../../node_modules/.pnpm/parse-ms@4.0.0/node_modules/parse-ms/index.js
3085
2998
  const toZeroIfInfinity = (value) => Number.isFinite(value) ? value : 0;
@@ -3114,11 +3027,10 @@ function parseMilliseconds(milliseconds) {
3114
3027
  }
3115
3028
  throw new TypeError("Expected a finite number or bigint");
3116
3029
  }
3117
-
3118
3030
  //#endregion
3119
3031
  //#region ../../node_modules/.pnpm/pretty-ms@9.2.0/node_modules/pretty-ms/index.js
3120
3032
  const isZero = (value) => value === 0 || value === 0n;
3121
- const pluralize = (word, count$1) => count$1 === 1 || count$1 === 1n ? word : `${word}s`;
3033
+ const pluralize = (word, count) => count === 1 || count === 1n ? word : `${word}s`;
3122
3034
  const SECOND_ROUNDING_EPSILON = 1e-7;
3123
3035
  const ONE_DAY_IN_MILLISECONDS = 24n * 60n * 60n * 1000n;
3124
3036
  function prettyMilliseconds(milliseconds, options) {
@@ -3167,16 +3079,16 @@ function prettyMilliseconds(milliseconds, options) {
3167
3079
  add(Number(parsed.minutes), "minute", "m");
3168
3080
  if (!options.hideSeconds) if (options.separateMilliseconds || options.formatSubMilliseconds || !options.colonNotation && milliseconds < 1e3) {
3169
3081
  const seconds = Number(parsed.seconds);
3170
- const milliseconds$1 = Number(parsed.milliseconds);
3082
+ const milliseconds = Number(parsed.milliseconds);
3171
3083
  const microseconds = Number(parsed.microseconds);
3172
3084
  const nanoseconds = Number(parsed.nanoseconds);
3173
3085
  add(seconds, "second", "s");
3174
3086
  if (options.formatSubMilliseconds) {
3175
- add(milliseconds$1, "millisecond", "ms");
3087
+ add(milliseconds, "millisecond", "ms");
3176
3088
  add(microseconds, "microsecond", "µs");
3177
3089
  add(nanoseconds, "nanosecond", "ns");
3178
3090
  } else {
3179
- const millisecondsAndBelow = milliseconds$1 + microseconds / 1e3 + nanoseconds / 1e6;
3091
+ const millisecondsAndBelow = milliseconds + microseconds / 1e3 + nanoseconds / 1e6;
3180
3092
  const millisecondsDecimalDigits = typeof options.millisecondsDecimalDigits === "number" ? options.millisecondsDecimalDigits : 0;
3181
3093
  const millisecondsString = millisecondsDecimalDigits ? millisecondsAndBelow.toFixed(millisecondsDecimalDigits) : millisecondsAndBelow >= 1 ? Math.round(millisecondsAndBelow) : Math.ceil(millisecondsAndBelow);
3182
3094
  add(Number.parseFloat(millisecondsString), "millisecond", "ms", millisecondsString);
@@ -3191,7 +3103,6 @@ function prettyMilliseconds(milliseconds, options) {
3191
3103
  if (typeof options.unitCount === "number") result = result.slice(0, Math.max(options.unitCount, 1));
3192
3104
  return sign + result.join(separator);
3193
3105
  }
3194
-
3195
3106
  //#endregion
3196
3107
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/error.js
3197
3108
  const logError = (result, verboseInfo) => {
@@ -3202,7 +3113,6 @@ const logError = (result, verboseInfo) => {
3202
3113
  result
3203
3114
  });
3204
3115
  };
3205
-
3206
3116
  //#endregion
3207
3117
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/complete.js
3208
3118
  const logResult = (result, verboseInfo) => {
@@ -3218,7 +3128,6 @@ const logDuration = (result, verboseInfo) => {
3218
3128
  result
3219
3129
  });
3220
3130
  };
3221
-
3222
3131
  //#endregion
3223
3132
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/reject.js
3224
3133
  const handleResult = (result, verboseInfo, { reject }) => {
@@ -3226,7 +3135,6 @@ const handleResult = (result, verboseInfo, { reject }) => {
3226
3135
  if (result.failed && reject) throw result;
3227
3136
  return result;
3228
3137
  };
3229
-
3230
3138
  //#endregion
3231
3139
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/type.js
3232
3140
  const getStdioItemType = (value, optionName) => {
@@ -3293,10 +3201,10 @@ const KNOWN_STDIO_STRINGS = new Set([
3293
3201
  "overlapped",
3294
3202
  "pipe"
3295
3203
  ]);
3296
- const isReadableStream$1 = (value) => Object.prototype.toString.call(value) === "[object ReadableStream]";
3297
- const isWritableStream$1 = (value) => Object.prototype.toString.call(value) === "[object WritableStream]";
3298
- const isWebStream = (value) => isReadableStream$1(value) || isWritableStream$1(value);
3299
- const isTransformStream = (value) => isReadableStream$1(value?.readable) && isWritableStream$1(value?.writable);
3204
+ const isReadableStream = (value) => Object.prototype.toString.call(value) === "[object ReadableStream]";
3205
+ const isWritableStream = (value) => Object.prototype.toString.call(value) === "[object WritableStream]";
3206
+ const isWebStream = (value) => isReadableStream(value) || isWritableStream(value);
3207
+ const isTransformStream = (value) => isReadableStream(value?.readable) && isWritableStream(value?.writable);
3300
3208
  const isAsyncIterableObject = (value) => isObject(value) && typeof value[Symbol.asyncIterator] === "function";
3301
3209
  const isIterableObject = (value) => isObject(value) && typeof value[Symbol.iterator] === "function";
3302
3210
  const isObject = (value) => typeof value === "object" && value !== null;
@@ -3334,7 +3242,6 @@ const TYPE_TO_MESSAGE = {
3334
3242
  string: "a string",
3335
3243
  uint8Array: "a Uint8Array"
3336
3244
  };
3337
-
3338
3245
  //#endregion
3339
3246
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/object-mode.js
3340
3247
  const getTransformObjectModes = (objectMode, index, newTransforms, direction) => direction === "output" ? getOutputObjectModes(objectMode, index, newTransforms) : getInputObjectModes(objectMode, index, newTransforms);
@@ -3357,7 +3264,6 @@ const getFdObjectMode = (stdioItems, direction) => {
3357
3264
  if (lastTransform === void 0) return false;
3358
3265
  return direction === "input" ? lastTransform.value.writableObjectMode : lastTransform.value.readableObjectMode;
3359
3266
  };
3360
-
3361
3267
  //#endregion
3362
3268
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/normalize.js
3363
3269
  const normalizeTransforms = (stdioItems, optionName, direction, options) => [...stdioItems.filter(({ type }) => !TRANSFORM_TYPES.has(type)), ...getTransforms(stdioItems, optionName, direction, options)];
@@ -3434,7 +3340,6 @@ const normalizeGenerator = ({ stdioItem, stdioItem: { value }, index, newTransfo
3434
3340
  };
3435
3341
  };
3436
3342
  const sortTransforms = (newTransforms, direction) => direction === "input" ? newTransforms.reverse() : newTransforms;
3437
-
3438
3343
  //#endregion
3439
3344
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/direction.js
3440
3345
  const getStreamDirection = (stdioItems, fdNumber, optionName) => {
@@ -3458,10 +3363,10 @@ const guessStreamDirection = {
3458
3363
  iterable: alwaysInput,
3459
3364
  asyncIterable: alwaysInput,
3460
3365
  uint8Array: alwaysInput,
3461
- webStream: (value) => isWritableStream$1(value) ? "output" : "input",
3366
+ webStream: (value) => isWritableStream(value) ? "output" : "input",
3462
3367
  nodeStream(value) {
3463
- if (!isReadableStream(value, { checkOpen: false })) return "output";
3464
- return isWritableStream(value, { checkOpen: false }) ? void 0 : "input";
3368
+ if (!isReadableStream$1(value, { checkOpen: false })) return "output";
3369
+ return isWritableStream$1(value, { checkOpen: false }) ? void 0 : "input";
3465
3370
  },
3466
3371
  webTransform: anyDirection,
3467
3372
  duplex: anyDirection,
@@ -3481,14 +3386,12 @@ const getStandardStreamDirection = (value) => {
3481
3386
  ].includes(value)) return "output";
3482
3387
  };
3483
3388
  const DEFAULT_DIRECTION = "output";
3484
-
3485
3389
  //#endregion
3486
3390
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/array.js
3487
3391
  const normalizeIpcStdioArray = (stdioArray, ipc) => ipc && !stdioArray.includes("ipc") ? [...stdioArray, "ipc"] : stdioArray;
3488
-
3489
3392
  //#endregion
3490
3393
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/stdio-option.js
3491
- const normalizeStdioOption = ({ stdio, ipc, buffer,...options }, verboseInfo, isSync) => {
3394
+ const normalizeStdioOption = ({ stdio, ipc, buffer, ...options }, verboseInfo, isSync) => {
3492
3395
  const stdioArray = getStdioArray(stdio, options).map((stdioOption, fdNumber) => addDefaultValue(stdioOption, fdNumber));
3493
3396
  return isSync ? normalizeStdioSync(stdioArray, buffer, verboseInfo) : normalizeIpcStdioArray(stdioArray, ipc);
3494
3397
  };
@@ -3512,7 +3415,6 @@ const addDefaultValue = (stdioOption, fdNumber) => {
3512
3415
  };
3513
3416
  const normalizeStdioSync = (stdioArray, buffer, verboseInfo) => stdioArray.map((stdioOption, fdNumber) => !buffer[fdNumber] && fdNumber !== 0 && !isFullVerbose(verboseInfo, fdNumber) && isOutputPipeOnly(stdioOption) ? "ignore" : stdioOption);
3514
3417
  const isOutputPipeOnly = (stdioOption) => stdioOption === "pipe" || Array.isArray(stdioOption) && stdioOption.every((item) => item === "pipe");
3515
-
3516
3418
  //#endregion
3517
3419
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/native.js
3518
3420
  const handleNativeStream = ({ stdioItem, stdioItem: { type }, isStdioArray, fdNumber, direction, isSync }) => {
@@ -3581,7 +3483,6 @@ const getStandardStream = (fdNumber, value, optionName) => {
3581
3483
  if (standardStream === void 0) throw new TypeError(`The \`${optionName}: ${value}\` option is invalid: no such standard stream.`);
3582
3484
  return standardStream;
3583
3485
  };
3584
-
3585
3486
  //#endregion
3586
3487
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/input-option.js
3587
3488
  const handleInputOptions = ({ input, inputFile }, fdNumber) => fdNumber === 0 ? [...handleInputOption(input), ...handleInputFileOption(inputFile)] : [];
@@ -3591,7 +3492,7 @@ const handleInputOption = (input) => input === void 0 ? [] : [{
3591
3492
  optionName: "input"
3592
3493
  }];
3593
3494
  const getInputType = (input) => {
3594
- if (isReadableStream(input, { checkOpen: false })) return "nodeStream";
3495
+ if (isReadableStream$1(input, { checkOpen: false })) return "nodeStream";
3595
3496
  if (typeof input === "string") return "string";
3596
3497
  if (isUint8Array(input)) return "uint8Array";
3597
3498
  throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.");
@@ -3611,7 +3512,6 @@ const getInputFileType = (inputFile) => {
3611
3512
  };
3612
3513
  throw new Error("The `inputFile` option must be a file path string or a file URL.");
3613
3514
  };
3614
-
3615
3515
  //#endregion
3616
3516
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/duplicate.js
3617
3517
  const filterDuplicates = (stdioItems) => stdioItems.filter((stdioItemOne, indexOne) => stdioItems.every((stdioItemTwo, indexTwo) => stdioItemOne.value !== stdioItemTwo.value || indexOne >= indexTwo || stdioItemOne.type === "generator" || stdioItemOne.type === "asyncGenerator"));
@@ -3672,10 +3572,9 @@ const validateDuplicateTransform = ({ otherStdioItems, type, value, optionName }
3672
3572
  const throwOnDuplicateStream = (stdioItem, optionName, type) => {
3673
3573
  if (stdioItem !== void 0) throw new TypeError(`The \`${stdioItem.optionName}\` and \`${optionName}\` options must not target ${TYPE_TO_MESSAGE[type]} that is the same.`);
3674
3574
  };
3675
-
3676
3575
  //#endregion
3677
3576
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/handle.js
3678
- const handleStdio = (addProperties$2, options, verboseInfo, isSync) => {
3577
+ const handleStdio = (addProperties, options, verboseInfo, isSync) => {
3679
3578
  const fileDescriptors = getFinalFileDescriptors({
3680
3579
  initialFileDescriptors: normalizeStdioOption(options, verboseInfo, isSync).map((stdioOption, fdNumber) => getFileDescriptor({
3681
3580
  stdioOption,
@@ -3683,7 +3582,7 @@ const handleStdio = (addProperties$2, options, verboseInfo, isSync) => {
3683
3582
  options,
3684
3583
  isSync
3685
3584
  })),
3686
- addProperties: addProperties$2,
3585
+ addProperties,
3687
3586
  options,
3688
3587
  isSync
3689
3588
  });
@@ -3732,7 +3631,7 @@ const initializeStdioItem = (value, optionName) => ({
3732
3631
  const validateStdioArray = (stdioItems, isStdioArray, optionName) => {
3733
3632
  if (stdioItems.length === 0) throw new TypeError(`The \`${optionName}\` option must not be an empty array.`);
3734
3633
  if (!isStdioArray) return;
3735
- for (const { value, optionName: optionName$1 } of stdioItems) if (INVALID_STDIO_ARRAY_OPTIONS.has(value)) throw new Error(`The \`${optionName$1}\` option must not include \`${value}\`.`);
3634
+ for (const { value, optionName } of stdioItems) if (INVALID_STDIO_ARRAY_OPTIONS.has(value)) throw new Error(`The \`${optionName}\` option must not include \`${value}\`.`);
3736
3635
  };
3737
3636
  const INVALID_STDIO_ARRAY_OPTIONS = new Set(["ignore", "ipc"]);
3738
3637
  const validateStreams = (stdioItems) => {
@@ -3748,13 +3647,13 @@ const validateFileObjectMode = (stdioItems, objectMode) => {
3748
3647
  const fileStdioItem = stdioItems.find(({ type }) => FILE_TYPES.has(type));
3749
3648
  if (fileStdioItem !== void 0) throw new TypeError(`The \`${fileStdioItem.optionName}\` option cannot use both files and transforms in objectMode.`);
3750
3649
  };
3751
- const getFinalFileDescriptors = ({ initialFileDescriptors, addProperties: addProperties$2, options, isSync }) => {
3650
+ const getFinalFileDescriptors = ({ initialFileDescriptors, addProperties, options, isSync }) => {
3752
3651
  const fileDescriptors = [];
3753
3652
  try {
3754
3653
  for (const fileDescriptor of initialFileDescriptors) fileDescriptors.push(getFinalFileDescriptor({
3755
3654
  fileDescriptor,
3756
3655
  fileDescriptors,
3757
- addProperties: addProperties$2,
3656
+ addProperties,
3758
3657
  options,
3759
3658
  isSync
3760
3659
  }));
@@ -3764,13 +3663,13 @@ const getFinalFileDescriptors = ({ initialFileDescriptors, addProperties: addPro
3764
3663
  throw error;
3765
3664
  }
3766
3665
  };
3767
- const getFinalFileDescriptor = ({ fileDescriptor: { direction, objectMode, stdioItems }, fileDescriptors, addProperties: addProperties$2, options, isSync }) => {
3666
+ const getFinalFileDescriptor = ({ fileDescriptor: { direction, objectMode, stdioItems }, fileDescriptors, addProperties, options, isSync }) => {
3768
3667
  return {
3769
3668
  direction,
3770
3669
  objectMode,
3771
3670
  stdioItems: stdioItems.map((stdioItem) => addStreamProperties({
3772
3671
  stdioItem,
3773
- addProperties: addProperties$2,
3672
+ addProperties,
3774
3673
  direction,
3775
3674
  options,
3776
3675
  fileDescriptors,
@@ -3778,7 +3677,7 @@ const getFinalFileDescriptor = ({ fileDescriptor: { direction, objectMode, stdio
3778
3677
  }))
3779
3678
  };
3780
3679
  };
3781
- const addStreamProperties = ({ stdioItem, addProperties: addProperties$2, direction, options, fileDescriptors, isSync }) => {
3680
+ const addStreamProperties = ({ stdioItem, addProperties, direction, options, fileDescriptors, isSync }) => {
3782
3681
  const duplicateStream = getDuplicateStream({
3783
3682
  stdioItem,
3784
3683
  direction,
@@ -3791,18 +3690,17 @@ const addStreamProperties = ({ stdioItem, addProperties: addProperties$2, direct
3791
3690
  };
3792
3691
  return {
3793
3692
  ...stdioItem,
3794
- ...addProperties$2[direction][stdioItem.type](stdioItem, options)
3693
+ ...addProperties[direction][stdioItem.type](stdioItem, options)
3795
3694
  };
3796
3695
  };
3797
3696
  const cleanupCustomStreams = (fileDescriptors) => {
3798
3697
  for (const { stdioItems } of fileDescriptors) for (const { stream } of stdioItems) if (stream !== void 0 && !isStandardStream(stream)) stream.destroy();
3799
3698
  };
3800
3699
  const forwardStdio = (stdioItems) => {
3801
- if (stdioItems.length > 1) return stdioItems.some(({ value: value$1 }) => value$1 === "overlapped") ? "overlapped" : "pipe";
3700
+ if (stdioItems.length > 1) return stdioItems.some(({ value }) => value === "overlapped") ? "overlapped" : "pipe";
3802
3701
  const [{ type, value }] = stdioItems;
3803
3702
  return type === "native" ? value : "pipe";
3804
3703
  };
3805
-
3806
3704
  //#endregion
3807
3705
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/handle-sync.js
3808
3706
  const handleStdioSync = (options, verboseInfo) => handleStdio(addPropertiesSync, options, verboseInfo, true);
@@ -3849,12 +3747,10 @@ const addPropertiesSync = {
3849
3747
  uint8Array: forbiddenIfSync
3850
3748
  }
3851
3749
  };
3852
-
3853
3750
  //#endregion
3854
3751
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/strip-newline.js
3855
3752
  const stripNewline = (value, { stripFinalNewline: stripFinalNewline$1 }, fdNumber) => getStripFinalNewline(stripFinalNewline$1, fdNumber) && value !== void 0 && !Array.isArray(value) ? stripFinalNewline(value) : value;
3856
- const getStripFinalNewline = (stripFinalNewline$1, fdNumber) => fdNumber === "all" ? stripFinalNewline$1[1] || stripFinalNewline$1[2] : stripFinalNewline$1[fdNumber];
3857
-
3753
+ const getStripFinalNewline = (stripFinalNewline, fdNumber) => fdNumber === "all" ? stripFinalNewline[1] || stripFinalNewline[2] : stripFinalNewline[fdNumber];
3858
3754
  //#endregion
3859
3755
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/split.js
3860
3756
  const getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
@@ -3900,8 +3796,8 @@ const linesFinal = function* ({ previousChunks }) {
3900
3796
  };
3901
3797
  const getAppendNewlineGenerator = ({ binary, preserveNewlines, readableObjectMode, state }) => binary || preserveNewlines || readableObjectMode ? void 0 : { transform: appendNewlineGenerator.bind(void 0, state) };
3902
3798
  const appendNewlineGenerator = function* ({ isWindowsNewline = false }, chunk) {
3903
- const { unixNewline, windowsNewline, LF: LF$1, concatBytes } = typeof chunk === "string" ? linesStringInfo : linesUint8ArrayInfo;
3904
- if (chunk.at(-1) === LF$1) {
3799
+ const { unixNewline, windowsNewline, LF, concatBytes } = typeof chunk === "string" ? linesStringInfo : linesUint8ArrayInfo;
3800
+ if (chunk.at(-1) === LF) {
3905
3801
  yield chunk;
3906
3802
  return;
3907
3803
  }
@@ -3926,7 +3822,6 @@ const linesUint8ArrayInfo = {
3926
3822
  LF: 10,
3927
3823
  concatBytes: concatUint8Array
3928
3824
  };
3929
-
3930
3825
  //#endregion
3931
3826
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/validate.js
3932
3827
  const getValidateTransformInput = (writableObjectMode, optionName) => writableObjectMode ? void 0 : validateStringTransformInput.bind(void 0, optionName);
@@ -3949,7 +3844,6 @@ const validateEmptyReturn = (optionName, chunk) => {
3949
3844
  Instead, \`yield\` should either be called with a value, or not be called at all. For example:
3950
3845
  if (condition) { yield value; }`);
3951
3846
  };
3952
-
3953
3847
  //#endregion
3954
3848
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/encoding-transform.js
3955
3849
  const getEncodingTransformGenerator = (binary, encoding, skipped) => {
@@ -3961,9 +3855,9 @@ const getEncodingTransformGenerator = (binary, encoding, skipped) => {
3961
3855
  final: encodingStringFinal.bind(void 0, stringDecoder)
3962
3856
  };
3963
3857
  };
3964
- const encodingUint8ArrayGenerator = function* (textEncoder$2, chunk) {
3858
+ const encodingUint8ArrayGenerator = function* (textEncoder, chunk) {
3965
3859
  if (Buffer$1.isBuffer(chunk)) yield bufferToUint8Array(chunk);
3966
- else if (typeof chunk === "string") yield textEncoder$2.encode(chunk);
3860
+ else if (typeof chunk === "string") yield textEncoder.encode(chunk);
3967
3861
  else yield chunk;
3968
3862
  };
3969
3863
  const encodingStringGenerator = function* (stringDecoder, chunk) {
@@ -3973,7 +3867,6 @@ const encodingStringFinal = function* (stringDecoder) {
3973
3867
  const lastChunk = stringDecoder.end();
3974
3868
  if (lastChunk !== "") yield lastChunk;
3975
3869
  };
3976
-
3977
3870
  //#endregion
3978
3871
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/run-async.js
3979
3872
  const pushChunks = callbackify(async (getChunks, state, getChunksArguments, transformStream) => {
@@ -4009,7 +3902,6 @@ const destroyTransform = callbackify(async ({ currentIterable }, error) => {
4009
3902
  const identityGenerator$1 = function* (chunk) {
4010
3903
  yield chunk;
4011
3904
  };
4012
-
4013
3905
  //#endregion
4014
3906
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/run-sync.js
4015
3907
  const pushChunksSync = (getChunksSync, getChunksArguments, transformStream, done) => {
@@ -4039,7 +3931,6 @@ const generatorFinalChunksSync = function* (final, index, generators) {
4039
3931
  const identityGenerator = function* (chunk) {
4040
3932
  yield chunk;
4041
3933
  };
4042
-
4043
3934
  //#endregion
4044
3935
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/generator.js
4045
3936
  const generatorToStream = ({ value, value: { transform, final, writableObjectMode, readableObjectMode }, optionName }, { encoding }) => {
@@ -4055,7 +3946,7 @@ const generatorToStream = ({ value, value: { transform, final, writableObjectMod
4055
3946
  writableHighWaterMark: getDefaultHighWaterMark(writableObjectMode),
4056
3947
  readableObjectMode,
4057
3948
  readableHighWaterMark: getDefaultHighWaterMark(readableObjectMode),
4058
- transform(chunk, encoding$1, done) {
3949
+ transform(chunk, encoding, done) {
4059
3950
  transformMethod([
4060
3951
  chunk,
4061
3952
  generators,
@@ -4093,7 +3984,6 @@ const addInternalGenerators = ({ transform, final, binary, writableObjectMode, r
4093
3984
  })
4094
3985
  ].filter(Boolean);
4095
3986
  };
4096
-
4097
3987
  //#endregion
4098
3988
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/input-sync.js
4099
3989
  const addInputOptionsSync = (fileDescriptors, options) => {
@@ -4119,7 +4009,6 @@ const validateSerializable = (newContents) => {
4119
4009
  const invalidItem = newContents.find((item) => typeof item !== "string" && !isUint8Array(item));
4120
4010
  if (invalidItem !== void 0) throw new TypeError(`The \`stdin\` option is invalid: when passing objects as input, a transform must be used to serialize them to strings or Uint8Arrays: ${invalidItem}.`);
4121
4011
  };
4122
-
4123
4012
  //#endregion
4124
4013
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/output.js
4125
4014
  const shouldLogOutput = ({ stdioItems, encoding, verboseInfo, fdNumber }) => fdNumber !== "all" && isFullVerbose(verboseInfo, fdNumber) && !BINARY_ENCODINGS.has(encoding) && fdUsesVerbose(fdNumber) && (stdioItems.some(({ type, value }) => type === "native" && PIPED_STDIO_VALUES.has(value)) || stdioItems.every(({ type }) => TRANSFORM_TYPES.has(type)));
@@ -4140,7 +4029,6 @@ const logLine = (line, fdNumber, verboseInfo) => {
4140
4029
  verboseInfo
4141
4030
  });
4142
4031
  };
4143
-
4144
4032
  //#endregion
4145
4033
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/output-sync.js
4146
4034
  const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
@@ -4160,7 +4048,7 @@ const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options,
4160
4048
  ...state
4161
4049
  };
4162
4050
  };
4163
- const transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, outputFiles, isMaxBuffer, verboseInfo }, { buffer, encoding, lines, stripFinalNewline: stripFinalNewline$1, maxBuffer }) => {
4051
+ const transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, outputFiles, isMaxBuffer, verboseInfo }, { buffer, encoding, lines, stripFinalNewline, maxBuffer }) => {
4164
4052
  if (result === null) return;
4165
4053
  const uint8ArrayResult = bufferToUint8Array(truncateMaxBufferSync(result, isMaxBuffer, maxBuffer));
4166
4054
  const { stdioItems, objectMode } = fileDescriptors[fdNumber];
@@ -4169,7 +4057,7 @@ const transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, o
4169
4057
  objectMode,
4170
4058
  encoding,
4171
4059
  lines,
4172
- stripFinalNewline: stripFinalNewline$1,
4060
+ stripFinalNewline,
4173
4061
  fdNumber
4174
4062
  });
4175
4063
  logOutputSync({
@@ -4198,13 +4086,13 @@ const runOutputGeneratorsSync = (chunks, stdioItems, encoding, state) => {
4198
4086
  return chunks;
4199
4087
  }
4200
4088
  };
4201
- const serializeChunks = ({ chunks, objectMode, encoding, lines, stripFinalNewline: stripFinalNewline$1, fdNumber }) => {
4089
+ const serializeChunks = ({ chunks, objectMode, encoding, lines, stripFinalNewline, fdNumber }) => {
4202
4090
  if (objectMode) return { serializedResult: chunks };
4203
4091
  if (encoding === "buffer") return { serializedResult: joinToUint8Array(chunks) };
4204
4092
  const serializedResult = joinToString(chunks, encoding);
4205
4093
  if (lines[fdNumber]) return {
4206
4094
  serializedResult,
4207
- finalResult: splitLinesSync(serializedResult, !stripFinalNewline$1[fdNumber], objectMode)
4095
+ finalResult: splitLinesSync(serializedResult, !stripFinalNewline[fdNumber], objectMode)
4208
4096
  };
4209
4097
  return { serializedResult };
4210
4098
  };
@@ -4223,16 +4111,15 @@ const logOutputSync = ({ serializedResult, fdNumber, state, verboseInfo, encodin
4223
4111
  }
4224
4112
  };
4225
4113
  const writeToFiles = (serializedResult, stdioItems, outputFiles) => {
4226
- for (const { path: path$5, append } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
4227
- const pathString = typeof path$5 === "string" ? path$5 : path$5.toString();
4228
- if (append || outputFiles.has(pathString)) appendFileSync(path$5, serializedResult);
4114
+ for (const { path, append } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
4115
+ const pathString = typeof path === "string" ? path : path.toString();
4116
+ if (append || outputFiles.has(pathString)) appendFileSync(path, serializedResult);
4229
4117
  else {
4230
4118
  outputFiles.add(pathString);
4231
- writeFileSync(path$5, serializedResult);
4119
+ writeFileSync(path, serializedResult);
4232
4120
  }
4233
4121
  }
4234
4122
  };
4235
-
4236
4123
  //#endregion
4237
4124
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/all-sync.js
4238
4125
  const getAllSync = ([, stdout, stderr], options) => {
@@ -4244,7 +4131,6 @@ const getAllSync = ([, stdout, stderr], options) => {
4244
4131
  if (isUint8Array(stdout) && isUint8Array(stderr)) return concatUint8Arrays([stdout, stderr]);
4245
4132
  return `${stdout}${stderr}`;
4246
4133
  };
4247
-
4248
4134
  //#endregion
4249
4135
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/exit-async.js
4250
4136
  const waitForExit = async (subprocess, context) => {
@@ -4271,7 +4157,6 @@ const waitForSuccessfulExit = async (exitPromise) => {
4271
4157
  };
4272
4158
  const isSubprocessErrorExit = (exitCode, signal) => exitCode === void 0 && signal === void 0;
4273
4159
  const isFailedExit = (exitCode, signal) => exitCode !== 0 || signal !== null;
4274
-
4275
4160
  //#endregion
4276
4161
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/exit-sync.js
4277
4162
  const getExitResultSync = ({ error, status: exitCode, signal, output }, { maxBuffer }) => {
@@ -4288,7 +4173,6 @@ const getResultError = (error, exitCode, signal) => {
4288
4173
  if (error !== void 0) return error;
4289
4174
  return isFailedExit(exitCode, signal) ? new DiscardedError() : void 0;
4290
4175
  };
4291
-
4292
4176
  //#endregion
4293
4177
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-sync.js
4294
4178
  const execaCoreSync = (rawFile, rawArguments, rawOptions) => {
@@ -4381,7 +4265,7 @@ const runSubprocessSync = ({ file, commandArguments, options, command, escapedCo
4381
4265
  });
4382
4266
  }
4383
4267
  };
4384
- const normalizeSpawnSyncOptions = ({ encoding, maxBuffer,...options }) => ({
4268
+ const normalizeSpawnSyncOptions = ({ encoding, maxBuffer, ...options }) => ({
4385
4269
  ...options,
4386
4270
  encoding: "buffer",
4387
4271
  maxBuffer: getMaxBufferSync(maxBuffer)
@@ -4412,7 +4296,6 @@ const getSyncResult = ({ error, exitCode, signal, timedOut, isMaxBuffer, stdio,
4412
4296
  startTime,
4413
4297
  isSync: true
4414
4298
  });
4415
-
4416
4299
  //#endregion
4417
4300
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/get-one.js
4418
4301
  const getOneMessage$1 = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true, filter } = {}) => {
@@ -4463,7 +4346,6 @@ const throwOnStrictError = async (ipcEmitter, isSubprocess, { signal }) => {
4463
4346
  const [error] = await once(ipcEmitter, "strict:error", { signal });
4464
4347
  throw getStrictResponseError(error, isSubprocess);
4465
4348
  };
4466
-
4467
4349
  //#endregion
4468
4350
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/get-each.js
4469
4351
  const getEachMessage$1 = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true } = {}) => loopOnMessages({
@@ -4534,7 +4416,6 @@ const iterateOnMessages = async function* ({ anyProcess, channel, ipcEmitter, is
4534
4416
  const throwIfStrictError = ({ error }) => {
4535
4417
  if (error) throw error;
4536
4418
  };
4537
-
4538
4419
  //#endregion
4539
4420
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/methods.js
4540
4421
  const addIpcMethods = (subprocess, { ipc }) => {
@@ -4574,7 +4455,6 @@ const getIpcMethods = (anyProcess, isSubprocess, ipc) => ({
4574
4455
  ipc
4575
4456
  })
4576
4457
  });
4577
-
4578
4458
  //#endregion
4579
4459
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/early-error.js
4580
4460
  const handleEarlyError = ({ error, command, escapedCommand, fileDescriptors, options, startTime, verboseInfo }) => {
@@ -4631,7 +4511,6 @@ const duplex = () => new Duplex({
4631
4511
  write() {}
4632
4512
  });
4633
4513
  const handleDummyPromise = async (error, verboseInfo, options) => handleResult(error, verboseInfo, options);
4634
-
4635
4514
  //#endregion
4636
4515
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/stdio/handle-async.js
4637
4516
  const handleStdioAsync = (options, verboseInfo) => handleStdio(addPropertiesAsync, options, verboseInfo, false);
@@ -4672,7 +4551,6 @@ const addPropertiesAsync = {
4672
4551
  uint8Array: forbiddenIfAsync
4673
4552
  }
4674
4553
  };
4675
-
4676
4554
  //#endregion
4677
4555
  //#region ../../node_modules/.pnpm/@sindresorhus+merge-streams@4.0.0/node_modules/@sindresorhus/merge-streams/index.js
4678
4556
  function mergeStreams(streams) {
@@ -4755,7 +4633,7 @@ const onInputStreamsUnpipe = async (passThroughStream, streams, unpipeEvent, { s
4755
4633
  const validateStream = (stream) => {
4756
4634
  if (typeof stream?.pipe !== "function") throw new TypeError(`Expected a readable stream, got: \`${typeof stream}\`.`);
4757
4635
  };
4758
- const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, aborted: aborted$1, onFinished, unpipeEvent }) => {
4636
+ const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, aborted, onFinished, unpipeEvent }) => {
4759
4637
  updateMaxListeners(passThroughStream, PASSTHROUGH_LISTENERS_PER_STREAM);
4760
4638
  const controller = new AbortController();
4761
4639
  try {
@@ -4766,14 +4644,14 @@ const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, a
4766
4644
  stream,
4767
4645
  streams,
4768
4646
  ended,
4769
- aborted: aborted$1,
4647
+ aborted,
4770
4648
  controller
4771
4649
  }),
4772
4650
  onInputStreamUnpipe({
4773
4651
  stream,
4774
4652
  streams,
4775
4653
  ended,
4776
- aborted: aborted$1,
4654
+ aborted,
4777
4655
  unpipeEvent,
4778
4656
  controller
4779
4657
  })
@@ -4782,7 +4660,7 @@ const endWhenStreamsDone = async ({ passThroughStream, stream, streams, ended, a
4782
4660
  controller.abort();
4783
4661
  updateMaxListeners(passThroughStream, -PASSTHROUGH_LISTENERS_PER_STREAM);
4784
4662
  }
4785
- if (streams.size > 0 && streams.size === ended.size + aborted$1.size) if (ended.size === 0 && aborted$1.size > 0) abortStream(passThroughStream);
4663
+ if (streams.size > 0 && streams.size === ended.size + aborted.size) if (ended.size === 0 && aborted.size > 0) abortStream(passThroughStream);
4786
4664
  else endStream(passThroughStream);
4787
4665
  };
4788
4666
  const afterMergedStreamFinished = async (onFinished, stream, { signal }) => {
@@ -4793,7 +4671,7 @@ const afterMergedStreamFinished = async (onFinished, stream, { signal }) => {
4793
4671
  if (!signal.aborted) errorOrAbortStream(stream, error);
4794
4672
  }
4795
4673
  };
4796
- const onInputStreamEnd = async ({ passThroughStream, stream, streams, ended, aborted: aborted$1, controller: { signal } }) => {
4674
+ const onInputStreamEnd = async ({ passThroughStream, stream, streams, ended, aborted, controller: { signal } }) => {
4797
4675
  try {
4798
4676
  await finished(stream, {
4799
4677
  signal,
@@ -4804,16 +4682,16 @@ const onInputStreamEnd = async ({ passThroughStream, stream, streams, ended, abo
4804
4682
  if (streams.has(stream)) ended.add(stream);
4805
4683
  } catch (error) {
4806
4684
  if (signal.aborted || !streams.has(stream)) return;
4807
- if (isAbortError(error)) aborted$1.add(stream);
4685
+ if (isAbortError(error)) aborted.add(stream);
4808
4686
  else errorStream(passThroughStream, error);
4809
4687
  }
4810
4688
  };
4811
- const onInputStreamUnpipe = async ({ stream, streams, ended, aborted: aborted$1, unpipeEvent, controller: { signal } }) => {
4689
+ const onInputStreamUnpipe = async ({ stream, streams, ended, aborted, unpipeEvent, controller: { signal } }) => {
4812
4690
  await once(stream, unpipeEvent, { signal });
4813
4691
  if (!stream.readable) return once(signal, "abort", { signal });
4814
4692
  streams.delete(stream);
4815
4693
  ended.delete(stream);
4816
- aborted$1.delete(stream);
4694
+ aborted.delete(stream);
4817
4695
  };
4818
4696
  const endStream = (stream) => {
4819
4697
  if (stream.writable) stream.end();
@@ -4833,13 +4711,12 @@ const errorStream = (stream, error) => {
4833
4711
  }
4834
4712
  };
4835
4713
  const noop = () => {};
4836
- const updateMaxListeners = (passThroughStream, increment$1) => {
4714
+ const updateMaxListeners = (passThroughStream, increment) => {
4837
4715
  const maxListeners = passThroughStream.getMaxListeners();
4838
- if (maxListeners !== 0 && maxListeners !== Number.POSITIVE_INFINITY) passThroughStream.setMaxListeners(maxListeners + increment$1);
4716
+ if (maxListeners !== 0 && maxListeners !== Number.POSITIVE_INFINITY) passThroughStream.setMaxListeners(maxListeners + increment);
4839
4717
  };
4840
4718
  const PASSTHROUGH_LISTENERS_COUNT = 2;
4841
4719
  const PASSTHROUGH_LISTENERS_PER_STREAM = 1;
4842
-
4843
4720
  //#endregion
4844
4721
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/pipeline.js
4845
4722
  const pipeStreams = (source, destination) => {
@@ -4875,7 +4752,6 @@ const onDestinationFinish = async (source, destination) => {
4875
4752
  const abortSourceStream = (source) => {
4876
4753
  if (source.readable) source.destroy();
4877
4754
  };
4878
-
4879
4755
  //#endregion
4880
4756
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/output-async.js
4881
4757
  const pipeOutputAsync = (subprocess, fileDescriptors, controller) => {
@@ -4916,7 +4792,6 @@ const setStandardStreamMaxListeners = (stream, { signal }) => {
4916
4792
  if (isStandardStream(stream)) incrementMaxListeners(stream, MAX_LISTENERS_INCREMENT, signal);
4917
4793
  };
4918
4794
  const MAX_LISTENERS_INCREMENT = 2;
4919
-
4920
4795
  //#endregion
4921
4796
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
4922
4797
  /**
@@ -4949,10 +4824,9 @@ const signals = [];
4949
4824
  signals.push("SIGHUP", "SIGINT", "SIGTERM");
4950
4825
  if (process.platform !== "win32") signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
4951
4826
  if (process.platform === "linux") signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
4952
-
4953
4827
  //#endregion
4954
4828
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
4955
- const processOk = (process$3) => !!process$3 && typeof process$3 === "object" && typeof process$3.removeListener === "function" && typeof process$3.emit === "function" && typeof process$3.reallyExit === "function" && typeof process$3.listeners === "function" && typeof process$3.kill === "function" && typeof process$3.pid === "number" && typeof process$3.on === "function";
4829
+ const processOk = (process) => !!process && typeof process === "object" && typeof process.removeListener === "function" && typeof process.emit === "function" && typeof process.reallyExit === "function" && typeof process.listeners === "function" && typeof process.kill === "function" && typeof process.pid === "number" && typeof process.on === "function";
4956
4830
  const kExitEmitter = Symbol.for("signal-exit emitter");
4957
4831
  const global$1 = globalThis;
4958
4832
  const ObjectDefineProperty = Object.defineProperty.bind(Object);
@@ -4981,12 +4855,12 @@ var Emitter = class {
4981
4855
  }
4982
4856
  removeListener(ev, fn) {
4983
4857
  const list = this.listeners[ev];
4984
- const i$1 = list.indexOf(fn);
4858
+ const i = list.indexOf(fn);
4985
4859
  /* c8 ignore start */
4986
- if (i$1 === -1) return;
4860
+ if (i === -1) return;
4987
4861
  /* c8 ignore stop */
4988
- if (i$1 === 0 && list.length === 1) list.length = 0;
4989
- else list.splice(i$1, 1);
4862
+ if (i === 0 && list.length === 1) list.length = 0;
4863
+ else list.splice(i, 1);
4990
4864
  }
4991
4865
  emit(ev, code, signal) {
4992
4866
  if (this.emitted[ev]) return false;
@@ -5028,27 +4902,27 @@ var SignalExit = class extends SignalExitBase {
5028
4902
  #originalProcessReallyExit;
5029
4903
  #sigListeners = {};
5030
4904
  #loaded = false;
5031
- constructor(process$3) {
4905
+ constructor(process) {
5032
4906
  super();
5033
- this.#process = process$3;
4907
+ this.#process = process;
5034
4908
  this.#sigListeners = {};
5035
4909
  for (const sig of signals) this.#sigListeners[sig] = () => {
5036
4910
  const listeners = this.#process.listeners(sig);
5037
- let { count: count$1 } = this.#emitter;
4911
+ let { count } = this.#emitter;
5038
4912
  /* c8 ignore start */
5039
- const p = process$3;
5040
- if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") count$1 += p.__signal_exit_emitter__.count;
4913
+ const p = process;
4914
+ if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") count += p.__signal_exit_emitter__.count;
5041
4915
  /* c8 ignore stop */
5042
- if (listeners.length === count$1) {
4916
+ if (listeners.length === count) {
5043
4917
  this.unload();
5044
4918
  const ret = this.#emitter.emit("exit", null, sig);
5045
4919
  /* c8 ignore start */
5046
4920
  const s = sig === "SIGHUP" ? this.#hupSig : sig;
5047
- if (!ret) process$3.kill(process$3.pid, s);
4921
+ if (!ret) process.kill(process.pid, s);
5048
4922
  }
5049
4923
  };
5050
- this.#originalProcessReallyExit = process$3.reallyExit;
5051
- this.#originalProcessEmit = process$3.emit;
4924
+ this.#originalProcessReallyExit = process.reallyExit;
4925
+ this.#originalProcessEmit = process.emit;
5052
4926
  }
5053
4927
  onExit(cb, opts) {
5054
4928
  /* c8 ignore start */
@@ -5070,8 +4944,8 @@ var SignalExit = class extends SignalExitBase {
5070
4944
  const fn = this.#sigListeners[sig];
5071
4945
  if (fn) this.#process.on(sig, fn);
5072
4946
  } catch (_) {}
5073
- this.#process.emit = (ev, ...a$1) => {
5074
- return this.#processEmit(ev, ...a$1);
4947
+ this.#process.emit = (ev, ...a) => {
4948
+ return this.#processEmit(ev, ...a);
5075
4949
  };
5076
4950
  this.#process.reallyExit = (code) => {
5077
4951
  return this.#processReallyExit(code);
@@ -5117,7 +4991,6 @@ var SignalExit = class extends SignalExitBase {
5117
4991
  };
5118
4992
  const process$2 = globalThis.process;
5119
4993
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
5120
-
5121
4994
  //#endregion
5122
4995
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/cleanup.js
5123
4996
  const cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
@@ -5129,7 +5002,6 @@ const cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
5129
5002
  removeExitHandler();
5130
5003
  });
5131
5004
  };
5132
-
5133
5005
  //#endregion
5134
5006
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/pipe-arguments.js
5135
5007
  const normalizePipeArguments = ({ source, sourcePromise, boundOptions, createNested }, ...pipeArguments) => {
@@ -5197,7 +5069,6 @@ const getSourceStream = (source, from) => {
5197
5069
  return { sourceError: error };
5198
5070
  }
5199
5071
  };
5200
-
5201
5072
  //#endregion
5202
5073
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/throw.js
5203
5074
  const handlePipeArgumentsError = ({ sourceStream, sourceError, destinationStream, destinationError, fileDescriptors, sourceOptions, startTime }) => {
@@ -5235,7 +5106,6 @@ const createNonCommandError = ({ error, fileDescriptors, sourceOptions, startTim
5235
5106
  isSync: false
5236
5107
  });
5237
5108
  const PIPE_COMMAND_MESSAGE = "source.pipe(destination)";
5238
-
5239
5109
  //#endregion
5240
5110
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/sequence.js
5241
5111
  const waitForBothSubprocesses = async (subprocessPromises) => {
@@ -5245,7 +5115,6 @@ const waitForBothSubprocesses = async (subprocessPromises) => {
5245
5115
  if (sourceStatus === "rejected") throw sourceResult;
5246
5116
  return destinationResult;
5247
5117
  };
5248
-
5249
5118
  //#endregion
5250
5119
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/streaming.js
5251
5120
  const pipeSubprocessStream = (sourceStream, destinationStream, maxListenersController) => {
@@ -5279,7 +5148,6 @@ const cleanupMergedStreamsMap = async (destinationStream) => {
5279
5148
  const MERGED_STREAMS = /* @__PURE__ */ new WeakMap();
5280
5149
  const SOURCE_LISTENERS_PER_PIPE = 2;
5281
5150
  const DESTINATION_LISTENERS_PER_PIPE = 1;
5282
-
5283
5151
  //#endregion
5284
5152
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/abort.js
5285
5153
  const unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ? [] : [unpipeOnSignalAbort(unpipeSignal, unpipeContext)];
@@ -5293,7 +5161,6 @@ const unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, f
5293
5161
  startTime
5294
5162
  });
5295
5163
  };
5296
-
5297
5164
  //#endregion
5298
5165
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/setup.js
5299
5166
  const pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
@@ -5304,7 +5171,7 @@ const pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
5304
5171
  ...pipeArguments[0]
5305
5172
  }
5306
5173
  });
5307
- const { destination,...normalizedInfo } = normalizePipeArguments(sourceInfo, ...pipeArguments);
5174
+ const { destination, ...normalizedInfo } = normalizePipeArguments(sourceInfo, ...pipeArguments);
5308
5175
  const promise = handlePipePromise({
5309
5176
  ...normalizedInfo,
5310
5177
  destination
@@ -5343,7 +5210,6 @@ const handlePipePromise = async ({ sourcePromise, sourceStream, sourceOptions, s
5343
5210
  }
5344
5211
  };
5345
5212
  const getSubprocessPromises = (sourcePromise, destination) => Promise.allSettled([sourcePromise, destination]);
5346
-
5347
5213
  //#endregion
5348
5214
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/iterate.js
5349
5215
  const iterateOnSubprocessStream = ({ subprocessStdout, subprocess, binary, shouldEncode, encoding, preserveNewlines }) => {
@@ -5366,7 +5232,7 @@ const stopReadingOnExit = async (subprocess, controller) => {
5366
5232
  controller.abort();
5367
5233
  }
5368
5234
  };
5369
- const iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewline: stripFinalNewline$1, allMixed }) => {
5235
+ const iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewline, allMixed }) => {
5370
5236
  const controller = new AbortController();
5371
5237
  stopReadingOnStreamEnd(onStreamEnd, controller, stream);
5372
5238
  const objectMode = stream.readableObjectMode && !allMixed;
@@ -5377,7 +5243,7 @@ const iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewl
5377
5243
  shouldEncode: !objectMode,
5378
5244
  encoding,
5379
5245
  shouldSplit: !objectMode && lines,
5380
- preserveNewlines: !stripFinalNewline$1
5246
+ preserveNewlines: !stripFinalNewline
5381
5247
  });
5382
5248
  };
5383
5249
  const stopReadingOnStreamEnd = async (onStreamEnd, controller, stream) => {
@@ -5423,10 +5289,9 @@ const iterateOnData = async function* ({ onStdoutChunk, controller, binary, shou
5423
5289
  }
5424
5290
  };
5425
5291
  const getGenerators = ({ binary, shouldEncode, encoding, shouldSplit, preserveNewlines }) => [getEncodingTransformGenerator(binary, encoding, !shouldEncode), getSplitLinesGenerator(binary, preserveNewlines, !shouldSplit, {})].filter(Boolean);
5426
-
5427
5292
  //#endregion
5428
5293
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/contents.js
5429
- const getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => {
5294
+ const getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline, verboseInfo, streamInfo }) => {
5430
5295
  const logPromise = logOutputAsync({
5431
5296
  stream,
5432
5297
  onStreamEnd,
@@ -5445,7 +5310,7 @@ const getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer
5445
5310
  onStreamEnd,
5446
5311
  lines,
5447
5312
  encoding,
5448
- stripFinalNewline: getStripFinalNewline(stripFinalNewline$1, fdNumber),
5313
+ stripFinalNewline: getStripFinalNewline(stripFinalNewline, fdNumber),
5449
5314
  allMixed
5450
5315
  });
5451
5316
  const [output] = await Promise.all([getStreamContents({
@@ -5502,7 +5367,6 @@ const getBufferedData = async (streamPromise) => {
5502
5367
  }
5503
5368
  };
5504
5369
  const handleBufferedData = ({ bufferedData }) => isArrayBuffer(bufferedData) ? new Uint8Array(bufferedData) : bufferedData;
5505
-
5506
5370
  //#endregion
5507
5371
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/wait-stream.js
5508
5372
  const waitForStream = async (stream, fdNumber, streamInfo, { isSameDirection, stopOnExit = false } = {}) => {
@@ -5545,10 +5409,9 @@ const shouldIgnoreStreamError = (error, fdNumber, streamInfo, isSameDirection =
5545
5409
  const isInputFileDescriptor = ({ fileDescriptors }, fdNumber) => fdNumber !== "all" && fileDescriptors[fdNumber].direction === "input";
5546
5410
  const isStreamAbort = (error) => error?.code === "ERR_STREAM_PREMATURE_CLOSE";
5547
5411
  const isStreamEpipe = (error) => error?.code === "EPIPE";
5548
-
5549
5412
  //#endregion
5550
5413
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/stdio.js
5551
- const waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => subprocess.stdio.map((stream, fdNumber) => waitForSubprocessStream({
5414
+ const waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline, verboseInfo, streamInfo }) => subprocess.stdio.map((stream, fdNumber) => waitForSubprocessStream({
5552
5415
  stream,
5553
5416
  fdNumber,
5554
5417
  encoding,
@@ -5556,11 +5419,11 @@ const waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, s
5556
5419
  maxBuffer: maxBuffer[fdNumber],
5557
5420
  lines: lines[fdNumber],
5558
5421
  allMixed: false,
5559
- stripFinalNewline: stripFinalNewline$1,
5422
+ stripFinalNewline,
5560
5423
  verboseInfo,
5561
5424
  streamInfo
5562
5425
  }));
5563
- const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => {
5426
+ const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline, verboseInfo, streamInfo }) => {
5564
5427
  if (!stream) return;
5565
5428
  const onStreamEnd = waitForStream(stream, fdNumber, streamInfo);
5566
5429
  if (isInputFileDescriptor(streamInfo, fdNumber)) {
@@ -5576,24 +5439,23 @@ const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, max
5576
5439
  maxBuffer,
5577
5440
  lines,
5578
5441
  allMixed,
5579
- stripFinalNewline: stripFinalNewline$1,
5442
+ stripFinalNewline,
5580
5443
  verboseInfo,
5581
5444
  streamInfo
5582
5445
  }), onStreamEnd]);
5583
5446
  return output;
5584
5447
  };
5585
-
5586
5448
  //#endregion
5587
5449
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/all-async.js
5588
5450
  const makeAllStream = ({ stdout, stderr }, { all }) => all && (stdout || stderr) ? mergeStreams([stdout, stderr].filter(Boolean)) : void 0;
5589
- const waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline$1, verboseInfo, streamInfo }) => waitForSubprocessStream({
5451
+ const waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline, verboseInfo, streamInfo }) => waitForSubprocessStream({
5590
5452
  ...getAllStream(subprocess, buffer),
5591
5453
  fdNumber: "all",
5592
5454
  encoding,
5593
5455
  maxBuffer: maxBuffer[1] + maxBuffer[2],
5594
5456
  lines: lines[1] || lines[2],
5595
5457
  allMixed: getAllMixed(subprocess),
5596
- stripFinalNewline: stripFinalNewline$1,
5458
+ stripFinalNewline,
5597
5459
  verboseInfo,
5598
5460
  streamInfo
5599
5461
  });
@@ -5617,7 +5479,6 @@ const getAllStream = ({ stdout, stderr, all }, [, bufferStdout, bufferStderr]) =
5617
5479
  };
5618
5480
  };
5619
5481
  const getAllMixed = ({ all, stdout, stderr }) => all && stdout && stderr && stdout.readableObjectMode !== stderr.readableObjectMode;
5620
-
5621
5482
  //#endregion
5622
5483
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/verbose/ipc.js
5623
5484
  const shouldLogIpc = (verboseInfo) => isFullVerbose(verboseInfo, "ipc");
@@ -5629,12 +5490,11 @@ const logIpcOutput = (message, verboseInfo) => {
5629
5490
  verboseInfo
5630
5491
  });
5631
5492
  };
5632
-
5633
5493
  //#endregion
5634
5494
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/buffer-messages.js
5635
5495
  const waitForIpcOutput = async ({ subprocess, buffer: bufferArray, maxBuffer: maxBufferArray, ipc, ipcOutput, verboseInfo }) => {
5636
5496
  if (!ipc) return ipcOutput;
5637
- const isVerbose$1 = shouldLogIpc(verboseInfo);
5497
+ const isVerbose = shouldLogIpc(verboseInfo);
5638
5498
  const buffer = getFdSpecificValue(bufferArray, "ipc");
5639
5499
  const maxBuffer = getFdSpecificValue(maxBufferArray, "ipc");
5640
5500
  for await (const message of loopOnMessages({
@@ -5649,7 +5509,7 @@ const waitForIpcOutput = async ({ subprocess, buffer: bufferArray, maxBuffer: ma
5649
5509
  checkIpcMaxBuffer(subprocess, ipcOutput, maxBuffer);
5650
5510
  ipcOutput.push(message);
5651
5511
  }
5652
- if (isVerbose$1) logIpcOutput(message, verboseInfo);
5512
+ if (isVerbose) logIpcOutput(message, verboseInfo);
5653
5513
  }
5654
5514
  return ipcOutput;
5655
5515
  };
@@ -5657,10 +5517,9 @@ const getBufferedIpcOutput = async (ipcOutputPromise, ipcOutput) => {
5657
5517
  await Promise.allSettled([ipcOutputPromise]);
5658
5518
  return ipcOutput;
5659
5519
  };
5660
-
5661
5520
  //#endregion
5662
5521
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/wait-subprocess.js
5663
- const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer, maxBuffer, lines, timeoutDuration: timeout, cancelSignal, gracefulCancel, forceKillAfterDelay, stripFinalNewline: stripFinalNewline$1, ipc, ipcInput }, context, verboseInfo, fileDescriptors, originalStreams, onInternalError, controller }) => {
5522
+ const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer, maxBuffer, lines, timeoutDuration: timeout, cancelSignal, gracefulCancel, forceKillAfterDelay, stripFinalNewline, ipc, ipcInput }, context, verboseInfo, fileDescriptors, originalStreams, onInternalError, controller }) => {
5664
5523
  const exitPromise = waitForExit(subprocess, context);
5665
5524
  const streamInfo = {
5666
5525
  originalStreams,
@@ -5675,7 +5534,7 @@ const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer
5675
5534
  buffer,
5676
5535
  maxBuffer,
5677
5536
  lines,
5678
- stripFinalNewline: stripFinalNewline$1,
5537
+ stripFinalNewline,
5679
5538
  verboseInfo,
5680
5539
  streamInfo
5681
5540
  });
@@ -5685,7 +5544,7 @@ const waitForSubprocessResult = async ({ subprocess, options: { encoding, buffer
5685
5544
  buffer,
5686
5545
  maxBuffer,
5687
5546
  lines,
5688
- stripFinalNewline: stripFinalNewline$1,
5547
+ stripFinalNewline,
5689
5548
  verboseInfo,
5690
5549
  streamInfo
5691
5550
  });
@@ -5753,7 +5612,6 @@ const throwOnSubprocessError = async (subprocess, { signal }) => {
5753
5612
  const [error] = await once(subprocess, "error", { signal });
5754
5613
  throw error;
5755
5614
  };
5756
-
5757
5615
  //#endregion
5758
5616
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/concurrent.js
5759
5617
  const initializeConcurrentStreams = () => ({
@@ -5777,7 +5635,6 @@ const waitForConcurrentStreams = async ({ resolve, promises }, subprocess) => {
5777
5635
  const [isSubprocessExit] = await Promise.race([Promise.allSettled([true, subprocess]), Promise.all([false, ...promises])]);
5778
5636
  return !isSubprocessExit;
5779
5637
  };
5780
-
5781
5638
  //#endregion
5782
5639
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/shared.js
5783
5640
  const safeWaitForSubprocessStdin = async (subprocessStdin) => {
@@ -5814,7 +5671,6 @@ const destroyOtherStream = (stream, isOpen, error) => {
5814
5671
  if (error && !isStreamAbort(error)) stream.destroy(error);
5815
5672
  else if (isOpen) stream.destroy();
5816
5673
  };
5817
-
5818
5674
  //#endregion
5819
5675
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/readable.js
5820
5676
  const createReadable = ({ subprocess, concurrentStreams, encoding }, { from, binary: binaryOption = true, preserveNewlines = true } = {}) => {
@@ -5828,7 +5684,7 @@ const createReadable = ({ subprocess, concurrentStreams, encoding }, { from, bin
5828
5684
  encoding,
5829
5685
  preserveNewlines
5830
5686
  });
5831
- const readable$1 = new Readable({
5687
+ const readable = new Readable({
5832
5688
  read,
5833
5689
  destroy: callbackify(onReadableDestroy.bind(void 0, {
5834
5690
  subprocessStdout,
@@ -5842,10 +5698,10 @@ const createReadable = ({ subprocess, concurrentStreams, encoding }, { from, bin
5842
5698
  onStdoutFinished({
5843
5699
  subprocessStdout,
5844
5700
  onStdoutDataDone,
5845
- readable: readable$1,
5701
+ readable,
5846
5702
  subprocess
5847
5703
  });
5848
- return readable$1;
5704
+ return readable;
5849
5705
  };
5850
5706
  const getSubprocessStdout = (subprocess, from, concurrentStreams) => {
5851
5707
  const subprocessStdout = getFromStream(subprocess, from);
@@ -5880,23 +5736,23 @@ const getReadableMethods = ({ subprocessStdout, subprocess, binary, encoding, pr
5880
5736
  onStdoutDataDone
5881
5737
  };
5882
5738
  };
5883
- const onRead = async (readable$1, onStdoutData, onStdoutDataDone) => {
5739
+ const onRead = async (readable, onStdoutData, onStdoutDataDone) => {
5884
5740
  try {
5885
5741
  const { value, done } = await onStdoutData.next();
5886
5742
  if (done) onStdoutDataDone.resolve();
5887
- else readable$1.push(value);
5743
+ else readable.push(value);
5888
5744
  } catch {}
5889
5745
  };
5890
- const onStdoutFinished = async ({ subprocessStdout, onStdoutDataDone, readable: readable$1, subprocess, subprocessStdin }) => {
5746
+ const onStdoutFinished = async ({ subprocessStdout, onStdoutDataDone, readable, subprocess, subprocessStdin }) => {
5891
5747
  try {
5892
5748
  await waitForSubprocessStdout(subprocessStdout);
5893
5749
  await subprocess;
5894
5750
  await safeWaitForSubprocessStdin(subprocessStdin);
5895
5751
  await onStdoutDataDone;
5896
- if (readable$1.readable) readable$1.push(null);
5752
+ if (readable.readable) readable.push(null);
5897
5753
  } catch (error) {
5898
5754
  await safeWaitForSubprocessStdin(subprocessStdin);
5899
- destroyOtherReadable(readable$1, error);
5755
+ destroyOtherReadable(readable, error);
5900
5756
  }
5901
5757
  };
5902
5758
  const onReadableDestroy = async ({ subprocessStdout, subprocess, waitReadableDestroy }, error) => {
@@ -5908,12 +5764,11 @@ const onReadableDestroy = async ({ subprocessStdout, subprocess, waitReadableDes
5908
5764
  const destroyOtherReadable = (stream, error) => {
5909
5765
  destroyOtherStream(stream, stream.readable, error);
5910
5766
  };
5911
-
5912
5767
  //#endregion
5913
5768
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/writable.js
5914
5769
  const createWritable = ({ subprocess, concurrentStreams }, { to } = {}) => {
5915
5770
  const { subprocessStdin, waitWritableFinal, waitWritableDestroy } = getSubprocessStdin(subprocess, to, concurrentStreams);
5916
- const writable$1 = new Writable({
5771
+ const writable = new Writable({
5917
5772
  ...getWritableMethods(subprocessStdin, subprocess, waitWritableFinal),
5918
5773
  destroy: callbackify(onWritableDestroy.bind(void 0, {
5919
5774
  subprocessStdin,
@@ -5924,8 +5779,8 @@ const createWritable = ({ subprocess, concurrentStreams }, { to } = {}) => {
5924
5779
  highWaterMark: subprocessStdin.writableHighWaterMark,
5925
5780
  objectMode: subprocessStdin.writableObjectMode
5926
5781
  });
5927
- onStdinFinished(subprocessStdin, writable$1);
5928
- return writable$1;
5782
+ onStdinFinished(subprocessStdin, writable);
5783
+ return writable;
5929
5784
  };
5930
5785
  const getSubprocessStdin = (subprocess, to, concurrentStreams) => {
5931
5786
  const subprocessStdin = getToStream(subprocess, to);
@@ -5949,13 +5804,13 @@ const onWritableFinal = async (subprocessStdin, subprocess, waitWritableFinal) =
5949
5804
  await subprocess;
5950
5805
  }
5951
5806
  };
5952
- const onStdinFinished = async (subprocessStdin, writable$1, subprocessStdout) => {
5807
+ const onStdinFinished = async (subprocessStdin, writable, subprocessStdout) => {
5953
5808
  try {
5954
5809
  await waitForSubprocessStdin(subprocessStdin);
5955
- if (writable$1.writable) writable$1.end();
5810
+ if (writable.writable) writable.end();
5956
5811
  } catch (error) {
5957
5812
  await safeWaitForSubprocessStdout(subprocessStdout);
5958
- destroyOtherWritable(writable$1, error);
5813
+ destroyOtherWritable(writable, error);
5959
5814
  }
5960
5815
  };
5961
5816
  const onWritableDestroy = async ({ subprocessStdin, subprocess, waitWritableFinal, waitWritableDestroy }, error) => {
@@ -5968,7 +5823,6 @@ const onWritableDestroy = async ({ subprocessStdin, subprocess, waitWritableFina
5968
5823
  const destroyOtherWritable = (stream, error) => {
5969
5824
  destroyOtherStream(stream, stream.writable, error);
5970
5825
  };
5971
-
5972
5826
  //#endregion
5973
5827
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/duplex.js
5974
5828
  const createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, binary: binaryOption = true, preserveNewlines = true } = {}) => {
@@ -5983,7 +5837,7 @@ const createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, b
5983
5837
  encoding,
5984
5838
  preserveNewlines
5985
5839
  });
5986
- const duplex$1 = new Duplex({
5840
+ const duplex = new Duplex({
5987
5841
  read,
5988
5842
  ...getWritableMethods(subprocessStdin, subprocess, waitWritableFinal),
5989
5843
  destroy: callbackify(onDuplexDestroy.bind(void 0, {
@@ -6003,12 +5857,12 @@ const createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, b
6003
5857
  onStdoutFinished({
6004
5858
  subprocessStdout,
6005
5859
  onStdoutDataDone,
6006
- readable: duplex$1,
5860
+ readable: duplex,
6007
5861
  subprocess,
6008
5862
  subprocessStdin
6009
5863
  });
6010
- onStdinFinished(subprocessStdin, duplex$1, subprocessStdout);
6011
- return duplex$1;
5864
+ onStdinFinished(subprocessStdin, duplex, subprocessStdout);
5865
+ return duplex;
6012
5866
  };
6013
5867
  const onDuplexDestroy = async ({ subprocessStdout, subprocessStdin, subprocess, waitReadableDestroy, waitWritableFinal, waitWritableDestroy }, error) => {
6014
5868
  await Promise.all([onReadableDestroy({
@@ -6022,7 +5876,6 @@ const onDuplexDestroy = async ({ subprocessStdout, subprocessStdin, subprocess,
6022
5876
  waitWritableDestroy
6023
5877
  }, error)]);
6024
5878
  };
6025
-
6026
5879
  //#endregion
6027
5880
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/iterable.js
6028
5881
  const createIterable = (subprocess, encoding, { from, binary: binaryOption = false, preserveNewlines = false } = {}) => {
@@ -6045,7 +5898,6 @@ const iterateOnStdoutData = async function* (onStdoutData, subprocessStdout, sub
6045
5898
  await subprocess;
6046
5899
  }
6047
5900
  };
6048
-
6049
5901
  //#endregion
6050
5902
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/add.js
6051
5903
  const addConvertedStreams = (subprocess, { encoding }) => {
@@ -6067,7 +5919,6 @@ const addConvertedStreams = (subprocess, { encoding }) => {
6067
5919
  subprocess.iterable = createIterable.bind(void 0, subprocess, encoding);
6068
5920
  subprocess[Symbol.asyncIterator] = createIterable.bind(void 0, subprocess, encoding, {});
6069
5921
  };
6070
-
6071
5922
  //#endregion
6072
5923
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/promise.js
6073
5924
  const mergePromise = (subprocess, promise) => {
@@ -6085,7 +5936,6 @@ const descriptors = [
6085
5936
  "catch",
6086
5937
  "finally"
6087
5938
  ].map((property) => [property, Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property)]);
6088
-
6089
5939
  //#endregion
6090
5940
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js
6091
5941
  const execaCoreAsync = (rawFile, rawArguments, rawOptions, createNested) => {
@@ -6128,7 +5978,7 @@ const handleAsyncArguments = (rawFile, rawArguments, rawOptions) => {
6128
5978
  fileDescriptors: handleStdioAsync(options, verboseInfo)
6129
5979
  };
6130
5980
  };
6131
- const handleAsyncOptions = ({ timeout, signal,...options }) => {
5981
+ const handleAsyncOptions = ({ timeout, signal, ...options }) => {
6132
5982
  if (signal !== void 0) throw new TypeError("The \"signal\" option has been renamed to \"cancelSignal\" instead.");
6133
5983
  return {
6134
5984
  ...options,
@@ -6238,7 +6088,6 @@ const getAsyncResult = ({ errorInfo, exitCode, signal, stdio, all, ipcOutput, co
6238
6088
  options,
6239
6089
  startTime
6240
6090
  });
6241
-
6242
6091
  //#endregion
6243
6092
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/bind.js
6244
6093
  const mergeOptions = (boundOptions, options) => {
@@ -6256,11 +6105,10 @@ const mergeOption = (optionName, boundOptionValue, optionValue) => {
6256
6105
  return optionValue;
6257
6106
  };
6258
6107
  const DEEP_OPTIONS = new Set(["env", ...FD_SPECIFIC_OPTIONS]);
6259
-
6260
6108
  //#endregion
6261
6109
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/create.js
6262
6110
  const createExeca = (mapArguments, boundOptions, deepOptions, setBoundExeca) => {
6263
- const createNested = (mapArguments$1, boundOptions$1, setBoundExeca$1) => createExeca(mapArguments$1, boundOptions$1, deepOptions, setBoundExeca$1);
6111
+ const createNested = (mapArguments, boundOptions, setBoundExeca) => createExeca(mapArguments, boundOptions, deepOptions, setBoundExeca);
6264
6112
  const boundExeca = (...execaArguments) => callBoundExeca({
6265
6113
  mapArguments,
6266
6114
  deepOptions,
@@ -6297,7 +6145,6 @@ const parseArguments = ({ mapArguments, firstArgument, nextArguments, deepOption
6297
6145
  isSync
6298
6146
  };
6299
6147
  };
6300
-
6301
6148
  //#endregion
6302
6149
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/command.js
6303
6150
  const mapCommandAsync = ({ file, commandArguments }) => parseCommand(file, commandArguments);
@@ -6326,7 +6173,6 @@ const parseCommandString = (command) => {
6326
6173
  return tokens;
6327
6174
  };
6328
6175
  const SPACES_REGEXP = / +/g;
6329
-
6330
6176
  //#endregion
6331
6177
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/script.js
6332
6178
  const setScriptSync = (boundExeca, createNested, boundOptions) => {
@@ -6344,29 +6190,28 @@ const getScriptOptions = (options) => ({ options: {
6344
6190
  } });
6345
6191
  const getScriptStdinOption = ({ input, inputFile, stdio }) => input === void 0 && inputFile === void 0 && stdio === void 0 ? { stdin: "inherit" } : {};
6346
6192
  const deepScriptOptions = { preferLocal: true };
6347
-
6348
6193
  //#endregion
6349
6194
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/index.js
6350
6195
  const execa = createExeca(() => ({}));
6351
- const execaSync = createExeca(() => ({ isSync: true }));
6352
- const execaCommand = createExeca(mapCommandAsync);
6353
- const execaCommandSync = createExeca(mapCommandSync);
6354
- const execaNode = createExeca(mapNode);
6355
- const $ = createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
6196
+ createExeca(() => ({ isSync: true }));
6197
+ createExeca(mapCommandAsync);
6198
+ createExeca(mapCommandSync);
6199
+ createExeca(mapNode);
6200
+ createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
6356
6201
  const { sendMessage, getOneMessage, getEachMessage, getCancelSignal } = getIpcExport();
6357
-
6358
6202
  //#endregion
6359
6203
  //#region src/index.ts
6360
- const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sourcemap, hermes }) => {
6361
- const filename = `index.${platform$1}`;
6204
+ const runBundle = async ({ entryFile, cwd, platform, buildPath, sourcemap, hermes }) => {
6205
+ const filename = `index.${platform}`;
6362
6206
  const bundleOutput = path$1.join(buildPath, `${filename}.bundle`);
6207
+ const bundleId = uuidv7();
6363
6208
  const args = [
6364
6209
  "rock",
6365
6210
  "bundle",
6366
6211
  "--entry-file",
6367
6212
  entryFile,
6368
6213
  "--platform",
6369
- platform$1,
6214
+ platform,
6370
6215
  ...hermes ? ["--hermes"] : [],
6371
6216
  "--bundle-output",
6372
6217
  bundleOutput,
@@ -6381,33 +6226,11 @@ const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sour
6381
6226
  try {
6382
6227
  stdout = (await execa("npx", args, {
6383
6228
  cwd,
6384
- env: {
6385
- ...process.env,
6386
- BUILD_OUT_DIR: buildPath
6387
- },
6388
6229
  reject: true
6389
6230
  })).stdout;
6390
6231
  } catch (error) {
6391
6232
  if (error instanceof ExecaError) throw error.stderr;
6392
6233
  }
6393
- const bundleId = await fs.readFile(path$1.join(buildPath, "BUNDLE_ID"), "utf-8").catch(() => null);
6394
- if (!bundleId) throw new Error(`If you are using Babel, please check if 'hot-updater/babel-plugin' is configured in babel.config.js
6395
- Example:
6396
- module.exports = {
6397
- plugins: [
6398
- ["hot-updater/babel-plugin"]
6399
- ]
6400
- }
6401
-
6402
-
6403
- If you are using Repack, please check if '@hot-updater/repack' plugin is configured in rspack.config.mjs
6404
- Example:
6405
- import { HotUpdaterPlugin } from "@hot-updater/repack";
6406
-
6407
- {
6408
- plugins: [new Repack.RepackPlugin(), new HotUpdaterPlugin()],
6409
- }
6410
- `);
6411
6234
  return {
6412
6235
  bundleId,
6413
6236
  stdout
@@ -6421,7 +6244,7 @@ const rock = (config = {
6421
6244
  }) => ({ cwd }) => {
6422
6245
  const { outDir = "dist", sourcemap = false, entryFile = "index.js", hermes = true } = config;
6423
6246
  return {
6424
- build: async ({ platform: platform$1 }) => {
6247
+ build: async ({ platform }) => {
6425
6248
  const buildPath = path$1.join(cwd, outDir);
6426
6249
  await fs.rm(buildPath, {
6427
6250
  recursive: true,
@@ -6431,7 +6254,7 @@ const rock = (config = {
6431
6254
  const { bundleId, stdout } = await runBundle({
6432
6255
  entryFile,
6433
6256
  cwd,
6434
- platform: platform$1,
6257
+ platform,
6435
6258
  buildPath,
6436
6259
  sourcemap,
6437
6260
  hermes
@@ -6445,6 +6268,5 @@ const rock = (config = {
6445
6268
  name: "rock"
6446
6269
  };
6447
6270
  };
6448
-
6449
6271
  //#endregion
6450
- export { rock };
6272
+ export { rock };