@kubb/cli 3.5.13 → 3.6.1

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.
@@ -79,10 +79,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
79
79
  mod
80
80
  ));
81
81
 
82
- // ../../node_modules/.pnpm/tsup@8.3.6_@microsoft+api-extractor@7.50.0_@types+node@20.17.19__jiti@2.4.2_postcss@8.5.3_typescript@5.7.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
82
+ // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.0_@types+node@20.17.19__jiti@2.4.2_postcss@8.5.3_typescript@5.7.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
83
83
  var getImportMetaUrl; exports.importMetaUrl = void 0;
84
84
  var init_cjs_shims = __esm({
85
- "../../node_modules/.pnpm/tsup@8.3.6_@microsoft+api-extractor@7.50.0_@types+node@20.17.19__jiti@2.4.2_postcss@8.5.3_typescript@5.7.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js"() {
85
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.0_@types+node@20.17.19__jiti@2.4.2_postcss@8.5.3_typescript@5.7.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js"() {
86
86
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
87
87
  exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
88
88
  }
@@ -96,7 +96,7 @@ var require_windows = __commonJS({
96
96
  isexe.sync = sync;
97
97
  var fs = __require("fs");
98
98
  function checkPathExt(path7, options) {
99
- var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;
99
+ var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
100
100
  if (!pathext) {
101
101
  return true;
102
102
  }
@@ -151,8 +151,8 @@ var require_mode = __commonJS({
151
151
  var mod = stat.mode;
152
152
  var uid = stat.uid;
153
153
  var gid = stat.gid;
154
- var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();
155
- var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();
154
+ var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
155
+ var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
156
156
  var u2 = parseInt("100", 8);
157
157
  var g = parseInt("010", 8);
158
158
  var o2 = parseInt("001", 8);
@@ -344,7 +344,7 @@ var require_resolveCommand = __commonJS({
344
344
  const env = parsed.options.env || process.env;
345
345
  const cwd = process.cwd();
346
346
  const hasCustomCwd = parsed.options.cwd != null;
347
- const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;
347
+ const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
348
348
  if (shouldSwitchCwd) {
349
349
  try {
350
350
  process.chdir(parsed.options.cwd);
@@ -500,7 +500,7 @@ var require_parse = __commonJS({
500
500
  command,
501
501
  args,
502
502
  options,
503
- file: undefined,
503
+ file: void 0,
504
504
  original: {
505
505
  command,
506
506
  args
@@ -655,7 +655,7 @@ var require_eventemitter3 = __commonJS({
655
655
  if (!this._events[evt]) return false;
656
656
  var listeners = this._events[evt], len = arguments.length, args, i2;
657
657
  if (listeners.fn) {
658
- if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
658
+ if (listeners.once) this.removeListener(event, listeners.fn, void 0, true);
659
659
  switch (len) {
660
660
  case 1:
661
661
  return listeners.fn.call(listeners.context), true;
@@ -677,7 +677,7 @@ var require_eventemitter3 = __commonJS({
677
677
  } else {
678
678
  var length = listeners.length, j;
679
679
  for (i2 = 0; i2 < length; i2++) {
680
- if (listeners[i2].once) this.removeListener(event, listeners[i2].fn, undefined, true);
680
+ if (listeners[i2].once) this.removeListener(event, listeners[i2].fn, void 0, true);
681
681
  switch (len) {
682
682
  case 1:
683
683
  listeners[i2].fn.call(listeners[i2].context);
@@ -806,8 +806,8 @@ function a(n2) {
806
806
  a.open = "";
807
807
  a.close = "";
808
808
  function C(n2 = false) {
809
- let e = typeof process != "undefined" ? process : undefined, i2 = (e == null ? undefined : e.env) || {}, g = (e == null ? undefined : e.argv) || [];
810
- return !("NO_COLOR" in i2 || g.includes("--no-color")) && ("FORCE_COLOR" in i2 || g.includes("--color") || (e == null ? undefined : e.platform) === "win32" || n2 && i2.TERM !== "dumb" || "CI" in i2) || typeof window != "undefined" && !!window.chrome;
809
+ let e = typeof process != "undefined" ? process : void 0, i2 = (e == null ? void 0 : e.env) || {}, g = (e == null ? void 0 : e.argv) || [];
810
+ return !("NO_COLOR" in i2 || g.includes("--no-color")) && ("FORCE_COLOR" in i2 || g.includes("--color") || (e == null ? void 0 : e.platform) === "win32" || n2 && i2.TERM !== "dumb" || "CI" in i2) || typeof window != "undefined" && !!window.chrome;
811
811
  }
812
812
  function p(n2 = false) {
813
813
  let e = C(n2), i2 = (r2, t, c3, o2) => {
@@ -885,7 +885,7 @@ var normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
885
885
  }
886
886
  const normalizedArguments = commandArguments.map(String);
887
887
  const nullByteArgument = normalizedArguments.find((normalizedArgument) => normalizedArgument.includes("\0"));
888
- if (nullByteArgument !== undefined) {
888
+ if (nullByteArgument !== void 0) {
889
889
  throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${nullByteArgument}`);
890
890
  }
891
891
  if (!isPlainObject(options)) {
@@ -964,7 +964,7 @@ var parseTemplates = (templates, expressions) => {
964
964
  return [file, commandArguments, {}];
965
965
  };
966
966
  var parseTemplate = ({ templates, expressions, tokens, index, template }) => {
967
- if (template === undefined) {
967
+ if (template === void 0) {
968
968
  throw new TypeError(`Invalid backslash sequence: ${templates.raw[index]}`);
969
969
  }
970
970
  const { nextTokens, leadingWhitespaces, trailingWhitespaces } = splitByWhitespaces(template, templates.raw[index]);
@@ -1038,7 +1038,7 @@ var getSubprocessResult = ({ stdout: stdout2 }) => {
1038
1038
  if (isUint8Array(stdout2)) {
1039
1039
  return uint8ArrayToString(stdout2);
1040
1040
  }
1041
- if (stdout2 === undefined) {
1041
+ if (stdout2 === void 0) {
1042
1042
  throw new TypeError(`Missing result.stdout in template expression. This is probably due to the previous subprocess' "stdout" option.`);
1043
1043
  }
1044
1044
  throw new TypeError(`Unexpected "${typeof stdout2}" stdout in template expression`);
@@ -1101,7 +1101,7 @@ var parseFdName = (fdName, optionName, optionArray) => {
1101
1101
  return [optionArray.length - 1];
1102
1102
  }
1103
1103
  const fdNumber = parseFd(fdName);
1104
- if (fdNumber === undefined || fdNumber === 0) {
1104
+ if (fdNumber === void 0 || fdNumber === 0) {
1105
1105
  throw new TypeError(`"${optionName}.${fdName}" is invalid.
1106
1106
  It must be "${optionName}.stdout", "${optionName}.stderr", "${optionName}.all", "${optionName}.ipc", or "${optionName}.fd3", "${optionName}.fd4" (and so on).`);
1107
1107
  }
@@ -1124,7 +1124,7 @@ var parseFd = (fdName) => {
1124
1124
  }
1125
1125
  };
1126
1126
  var FD_REGEXP = /^fd(\d+)$/;
1127
- var addDefaultValue = (optionArray, optionName) => optionArray.map((optionValue) => optionValue === undefined ? DEFAULT_OPTIONS[optionName] : optionValue);
1127
+ var addDefaultValue = (optionArray, optionName) => optionArray.map((optionValue) => optionValue === void 0 ? DEFAULT_OPTIONS[optionName] : optionValue);
1128
1128
  var verboseDefault = util.debuglog("execa").enabled ? "full" : "none";
1129
1129
  var DEFAULT_OPTIONS = {
1130
1130
  lines: false,
@@ -1141,9 +1141,9 @@ var isVerbose = ({ verbose }, fdNumber) => getFdVerbose(verbose, fdNumber) !== "
1141
1141
  var isFullVerbose = ({ verbose }, fdNumber) => !["none", "short"].includes(getFdVerbose(verbose, fdNumber));
1142
1142
  var getVerboseFunction = ({ verbose }, fdNumber) => {
1143
1143
  const fdVerbose = getFdVerbose(verbose, fdNumber);
1144
- return isVerboseFunction(fdVerbose) ? fdVerbose : undefined;
1144
+ return isVerboseFunction(fdVerbose) ? fdVerbose : void 0;
1145
1145
  };
1146
- var getFdVerbose = (verbose, fdNumber) => fdNumber === undefined ? getFdGenericVerbose(verbose) : getFdSpecificValue(verbose, fdNumber);
1146
+ var getFdVerbose = (verbose, fdNumber) => fdNumber === void 0 ? getFdGenericVerbose(verbose) : getFdSpecificValue(verbose, fdNumber);
1147
1147
  var getFdGenericVerbose = (verbose) => verbose.find((fdVerbose) => isVerboseFunction(fdVerbose)) ?? VERBOSE_VALUES.findLast((fdVerbose) => verbose.includes(fdVerbose));
1148
1148
  var isVerboseFunction = (fdVerbose) => typeof fdVerbose === "function";
1149
1149
  var VERBOSE_VALUES = ["none", "short", "full"];
@@ -1163,7 +1163,7 @@ var escapeLines = (lines) => util.stripVTControlCharacters(lines).split("\n").ma
1163
1163
  var escapeControlCharacters = (line) => line.replaceAll(SPECIAL_CHAR_REGEXP, (character) => escapeControlCharacter(character));
1164
1164
  var escapeControlCharacter = (character) => {
1165
1165
  const commonEscape = COMMON_ESCAPES[character];
1166
- if (commonEscape !== undefined) {
1166
+ if (commonEscape !== void 0) {
1167
1167
  return commonEscape;
1168
1168
  }
1169
1169
  const codepoint = character.codePointAt(0);
@@ -1561,10 +1561,10 @@ var COLORS = {
1561
1561
  init_cjs_shims();
1562
1562
  var applyVerboseOnLines = (printedLines, verboseInfo, fdNumber) => {
1563
1563
  const verboseFunction = getVerboseFunction(verboseInfo, fdNumber);
1564
- return printedLines.map(({ verboseLine, verboseObject }) => applyVerboseFunction(verboseLine, verboseObject, verboseFunction)).filter((printedLine) => printedLine !== undefined).map((printedLine) => appendNewline(printedLine)).join("");
1564
+ return printedLines.map(({ verboseLine, verboseObject }) => applyVerboseFunction(verboseLine, verboseObject, verboseFunction)).filter((printedLine) => printedLine !== void 0).map((printedLine) => appendNewline(printedLine)).join("");
1565
1565
  };
1566
1566
  var applyVerboseFunction = (verboseLine, verboseObject, verboseFunction) => {
1567
- if (verboseFunction === undefined) {
1567
+ if (verboseFunction === void 0) {
1568
1568
  return verboseLine;
1569
1569
  }
1570
1570
  const printedLine = verboseFunction(verboseLine, verboseObject);
@@ -1633,7 +1633,7 @@ var getVerboseInfo = (verbose, escapedCommand, rawOptions) => {
1633
1633
  rawOptions
1634
1634
  };
1635
1635
  };
1636
- var getCommandId = (verbose) => isVerbose({ verbose }) ? COMMAND_ID++ : undefined;
1636
+ var getCommandId = (verbose) => isVerbose({ verbose }) ? COMMAND_ID++ : void 0;
1637
1637
  var COMMAND_ID = 0n;
1638
1638
  var validateVerbose = (verbose) => {
1639
1639
  for (const fdVerbose of verbose) {
@@ -2103,7 +2103,7 @@ var normalizeSignal = ({
2103
2103
  const {
2104
2104
  signals: { [name]: constantSignal }
2105
2105
  } = os.constants;
2106
- const supported = constantSignal !== undefined;
2106
+ const supported = constantSignal !== void 0;
2107
2107
  const number = supported ? constantSignal : defaultNumber;
2108
2108
  return { name, number, description, supported, action, forced, standard };
2109
2109
  };
@@ -2134,7 +2134,7 @@ var getSignalsByNumber = () => {
2134
2134
  };
2135
2135
  var getSignalByNumber = (number, signals2) => {
2136
2136
  const signal = findSignalByNumber(number, signals2);
2137
- if (signal === undefined) {
2137
+ if (signal === void 0) {
2138
2138
  return {};
2139
2139
  }
2140
2140
  const { name, description, supported, action, forced, standard } = signal;
@@ -2152,7 +2152,7 @@ var getSignalByNumber = (number, signals2) => {
2152
2152
  };
2153
2153
  var findSignalByNumber = (number, signals2) => {
2154
2154
  const signal = signals2.find(({ name }) => os.constants.signals[name] === number);
2155
- if (signal !== undefined) {
2155
+ if (signal !== void 0) {
2156
2156
  return signal;
2157
2157
  }
2158
2158
  return signals2.find((signalA) => signalA.number === number);
@@ -2233,17 +2233,17 @@ var subprocessKill = ({ kill, options: { forceKillAfterDelay, killSignal }, onIn
2233
2233
  return killResult;
2234
2234
  };
2235
2235
  var parseKillArguments = (signalOrError, errorArgument, killSignal) => {
2236
- const [signal = killSignal, error] = isErrorInstance(signalOrError) ? [undefined, signalOrError] : [signalOrError, errorArgument];
2236
+ const [signal = killSignal, error] = isErrorInstance(signalOrError) ? [void 0, signalOrError] : [signalOrError, errorArgument];
2237
2237
  if (typeof signal !== "string" && !Number.isInteger(signal)) {
2238
2238
  throw new TypeError(`The first argument must be an error instance or a signal name string/integer: ${String(signal)}`);
2239
2239
  }
2240
- if (error !== undefined && !isErrorInstance(error)) {
2240
+ if (error !== void 0 && !isErrorInstance(error)) {
2241
2241
  throw new TypeError(`The second argument is optional. If specified, it must be an error instance: ${error}`);
2242
2242
  }
2243
2243
  return { signal: normalizeSignalArgument(signal), error };
2244
2244
  };
2245
2245
  var emitKillError = (error, onInternalError) => {
2246
- if (error !== undefined) {
2246
+ if (error !== void 0) {
2247
2247
  onInternalError.reject(error);
2248
2248
  }
2249
2249
  };
@@ -2283,11 +2283,11 @@ var onAbortedSignal = async (mainSignal, stopSignal) => {
2283
2283
 
2284
2284
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/cancel.js
2285
2285
  var validateCancelSignal = ({ cancelSignal }) => {
2286
- if (cancelSignal !== undefined && Object.prototype.toString.call(cancelSignal) !== "[object AbortSignal]") {
2286
+ if (cancelSignal !== void 0 && Object.prototype.toString.call(cancelSignal) !== "[object AbortSignal]") {
2287
2287
  throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(cancelSignal)}`);
2288
2288
  }
2289
2289
  };
2290
- var throwOnCancel = ({ subprocess, cancelSignal, gracefulCancel, context, controller }) => cancelSignal === undefined || gracefulCancel ? [] : [terminateOnCancel(subprocess, cancelSignal, context, controller)];
2290
+ var throwOnCancel = ({ subprocess, cancelSignal, gracefulCancel, context, controller }) => cancelSignal === void 0 || gracefulCancel ? [] : [terminateOnCancel(subprocess, cancelSignal, context, controller)];
2291
2291
  var terminateOnCancel = async (subprocess, cancelSignal, context, { signal }) => {
2292
2292
  await onAbortedSignal(cancelSignal, signal);
2293
2293
  context.terminationReason ??= "cancel";
@@ -2407,7 +2407,7 @@ var getFromStream = (source, from = "stdout") => {
2407
2407
  const { options, fileDescriptors } = SUBPROCESS_OPTIONS.get(source);
2408
2408
  const fdNumber = getFdNumber(fileDescriptors, from, isWritable);
2409
2409
  const sourceStream = fdNumber === "all" ? source.all : source.stdio[fdNumber];
2410
- if (sourceStream === null || sourceStream === undefined) {
2410
+ if (sourceStream === null || sourceStream === void 0) {
2411
2411
  throw new TypeError(getInvalidStdioOptionMessage(fdNumber, from, options, isWritable));
2412
2412
  }
2413
2413
  return sourceStream;
@@ -2420,7 +2420,7 @@ var getFdNumber = (fileDescriptors, fdName, isWritable) => {
2420
2420
  };
2421
2421
  var parseFdNumber = (fdName, isWritable) => {
2422
2422
  const fdNumber = parseFd(fdName);
2423
- if (fdNumber !== undefined) {
2423
+ if (fdNumber !== void 0) {
2424
2424
  return fdNumber;
2425
2425
  }
2426
2426
  const { validOptions, defaultValue } = isWritable ? { validOptions: '"stdin"', defaultValue: "stdin" } : { validOptions: '"stdout", "stderr", "all"', defaultValue: "stdout" };
@@ -2430,7 +2430,7 @@ It is optional and defaults to "${defaultValue}".`);
2430
2430
  };
2431
2431
  var validateFdNumber = (fdNumber, fdName, isWritable, fileDescriptors) => {
2432
2432
  const fileDescriptor = fileDescriptors[getUsedDescriptor(fdNumber)];
2433
- if (fileDescriptor === undefined) {
2433
+ if (fileDescriptor === void 0) {
2434
2434
  throw new TypeError(`"${getOptionName(isWritable)}" must not be ${fdName}. That file descriptor does not exist.
2435
2435
  Please set the "stdio" option to ensure that file descriptor exists.`);
2436
2436
  }
@@ -2451,13 +2451,13 @@ Please set this option with "pipe" instead.`;
2451
2451
  };
2452
2452
  var getInvalidStdioOption = (fdNumber, { stdin, stdout: stdout2, stderr, stdio }) => {
2453
2453
  const usedDescriptor = getUsedDescriptor(fdNumber);
2454
- if (usedDescriptor === 0 && stdin !== undefined) {
2454
+ if (usedDescriptor === 0 && stdin !== void 0) {
2455
2455
  return { optionName: "stdin", optionValue: stdin };
2456
2456
  }
2457
- if (usedDescriptor === 1 && stdout2 !== undefined) {
2457
+ if (usedDescriptor === 1 && stdout2 !== void 0) {
2458
2458
  return { optionName: "stdout", optionValue: stdout2 };
2459
2459
  }
2460
- if (usedDescriptor === 2 && stderr !== undefined) {
2460
+ if (usedDescriptor === 2 && stderr !== void 0) {
2461
2461
  return { optionName: "stderr", optionValue: stderr };
2462
2462
  }
2463
2463
  return { optionName: `stdio[${usedDescriptor}]`, optionValue: stdio[usedDescriptor] };
@@ -2583,14 +2583,14 @@ var getIpcEmitter = (anyProcess, channel, isSubprocess) => {
2583
2583
  };
2584
2584
  var IPC_EMITTERS = /* @__PURE__ */ new WeakMap();
2585
2585
  var forwardEvents = ({ ipcEmitter, anyProcess, channel, isSubprocess }) => {
2586
- const boundOnMessage = onMessage.bind(undefined, {
2586
+ const boundOnMessage = onMessage.bind(void 0, {
2587
2587
  anyProcess,
2588
2588
  channel,
2589
2589
  isSubprocess,
2590
2590
  ipcEmitter
2591
2591
  });
2592
2592
  anyProcess.on("message", boundOnMessage);
2593
- anyProcess.once("disconnect", onDisconnect.bind(undefined, {
2593
+ anyProcess.once("disconnect", onDisconnect.bind(void 0, {
2594
2594
  anyProcess,
2595
2595
  channel,
2596
2596
  isSubprocess,
@@ -2601,7 +2601,7 @@ var forwardEvents = ({ ipcEmitter, anyProcess, channel, isSubprocess }) => {
2601
2601
  };
2602
2602
  var isConnected = (anyProcess) => {
2603
2603
  const ipcEmitter = IPC_EMITTERS.get(anyProcess);
2604
- return ipcEmitter === undefined ? anyProcess.channel !== null : ipcEmitter.connected;
2604
+ return ipcEmitter === void 0 ? anyProcess.channel !== null : ipcEmitter.connected;
2605
2605
  };
2606
2606
 
2607
2607
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/strict.js
@@ -2624,7 +2624,7 @@ var validateStrictDeadlock = (outgoingMessages, wrappedMessage) => {
2624
2624
  return;
2625
2625
  }
2626
2626
  for (const { id } of outgoingMessages) {
2627
- if (id !== undefined) {
2627
+ if (id !== void 0) {
2628
2628
  STRICT_RESPONSES[id].resolve({ isDeadlock: true, hasListeners: false });
2629
2629
  }
2630
2630
  }
@@ -2694,7 +2694,7 @@ var startSendMessage = (anyProcess, wrappedMessage, strict) => {
2694
2694
  }
2695
2695
  const outgoingMessages = OUTGOING_MESSAGES.get(anyProcess);
2696
2696
  const onMessageSent = createDeferred();
2697
- const id = strict ? wrappedMessage.id : undefined;
2697
+ const id = strict ? wrappedMessage.id : void 0;
2698
2698
  const outgoingMessage = { onMessageSent, id };
2699
2699
  outgoingMessages.add(outgoingMessage);
2700
2700
  return { outgoingMessages, outgoingMessage };
@@ -2840,7 +2840,7 @@ var validateGracefulCancel = ({ gracefulCancel, cancelSignal, ipc, serialization
2840
2840
  if (!gracefulCancel) {
2841
2841
  return;
2842
2842
  }
2843
- if (cancelSignal === undefined) {
2843
+ if (cancelSignal === void 0) {
2844
2844
  throw new Error("The `cancelSignal` option must be defined when setting the `gracefulCancel` option.");
2845
2845
  }
2846
2846
  if (!ipc) {
@@ -2894,13 +2894,13 @@ var getReason = ({ reason }) => {
2894
2894
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/timeout.js
2895
2895
  init_cjs_shims();
2896
2896
  var validateTimeout = ({ timeout }) => {
2897
- if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {
2897
+ if (timeout !== void 0 && (!Number.isFinite(timeout) || timeout < 0)) {
2898
2898
  throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`);
2899
2899
  }
2900
2900
  };
2901
- var throwOnTimeout = (subprocess, timeout, context, controller) => timeout === 0 || timeout === undefined ? [] : [killAfterTimeout(subprocess, timeout, context, controller)];
2901
+ var throwOnTimeout = (subprocess, timeout, context, controller) => timeout === 0 || timeout === void 0 ? [] : [killAfterTimeout(subprocess, timeout, context, controller)];
2902
2902
  var killAfterTimeout = async (subprocess, timeout, context, { signal }) => {
2903
- await promises$1.setTimeout(timeout, undefined, { signal });
2903
+ await promises$1.setTimeout(timeout, void 0, { signal });
2904
2904
  context.terminationReason ??= "timeout";
2905
2905
  subprocess.kill();
2906
2906
  throw new DiscardedError();
@@ -2922,7 +2922,7 @@ var handleNodeOption = (file, commandArguments, {
2922
2922
  execPath: formerNodePath,
2923
2923
  ...options
2924
2924
  }) => {
2925
- if (formerNodePath !== undefined) {
2925
+ if (formerNodePath !== void 0) {
2926
2926
  throw new TypeError('The "execPath" option has been removed. Please use the "nodePath" option instead.');
2927
2927
  }
2928
2928
  const normalizedNodePath = safeNormalizeFileUrl(nodePath, 'The "nodePath" option');
@@ -2949,7 +2949,7 @@ var handleNodeOption = (file, commandArguments, {
2949
2949
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/ipc/ipc-input.js
2950
2950
  init_cjs_shims();
2951
2951
  var validateIpcInputOption = ({ ipcInput, ipc, serialization }) => {
2952
- if (ipcInput === undefined) {
2952
+ if (ipcInput === void 0) {
2953
2953
  return;
2954
2954
  }
2955
2955
  if (!ipc) {
@@ -2976,7 +2976,7 @@ var validateIpcInput = {
2976
2976
  json: validateJsonInput
2977
2977
  };
2978
2978
  var sendIpcInput = async (subprocess, ipcInput) => {
2979
- if (ipcInput === undefined) {
2979
+ if (ipcInput === void 0) {
2980
2980
  return;
2981
2981
  }
2982
2982
  await subprocess.sendMessage(ipcInput);
@@ -2989,7 +2989,7 @@ var validateEncoding = ({ encoding }) => {
2989
2989
  return;
2990
2990
  }
2991
2991
  const correctEncoding = getCorrectEncoding(encoding);
2992
- if (correctEncoding !== undefined) {
2992
+ if (correctEncoding !== void 0) {
2993
2993
  throw new TypeError(`Invalid option \`encoding: ${serializeEncoding(encoding)}\`.
2994
2994
  Please rename it to ${serializeEncoding(correctEncoding)}.`);
2995
2995
  }
@@ -3095,7 +3095,7 @@ var addDefaultOptions = ({
3095
3095
  forceKillAfterDelay = true,
3096
3096
  gracefulCancel = false,
3097
3097
  ipcInput,
3098
- ipc = ipcInput !== undefined || gracefulCancel,
3098
+ ipc = ipcInput !== void 0 || gracefulCancel,
3099
3099
  serialization = "advanced",
3100
3100
  ...options
3101
3101
  }) => ({
@@ -3166,7 +3166,7 @@ init_cjs_shims();
3166
3166
  // ../../node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.js
3167
3167
  init_cjs_shims();
3168
3168
  function isStream(stream, { checkOpen = true } = {}) {
3169
- return stream !== null && typeof stream === "object" && (stream.writable || stream.readable || !checkOpen || stream.writable === undefined && stream.readable === undefined) && typeof stream.pipe === "function";
3169
+ return stream !== null && typeof stream === "object" && (stream.writable || stream.readable || !checkOpen || stream.writable === void 0 && stream.readable === void 0) && typeof stream.pipe === "function";
3170
3170
  }
3171
3171
  function isWritableStream(stream, { checkOpen = true } = {}) {
3172
3172
  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";
@@ -3194,7 +3194,7 @@ var c = class {
3194
3194
  #t;
3195
3195
  #n;
3196
3196
  #r = false;
3197
- #e = undefined;
3197
+ #e = void 0;
3198
3198
  constructor(e, t) {
3199
3199
  this.#t = e, this.#n = t;
3200
3200
  }
@@ -3210,15 +3210,15 @@ var c = class {
3210
3210
  if (this.#r)
3211
3211
  return {
3212
3212
  done: true,
3213
- value: undefined
3213
+ value: void 0
3214
3214
  };
3215
3215
  let e;
3216
3216
  try {
3217
3217
  e = await this.#t.read();
3218
3218
  } catch (t) {
3219
- throw this.#e = undefined, this.#r = true, this.#t.releaseLock(), t;
3219
+ throw this.#e = void 0, this.#r = true, this.#t.releaseLock(), t;
3220
3220
  }
3221
- return e.done && (this.#e = undefined, this.#r = true, this.#t.releaseLock()), e;
3221
+ return e.done && (this.#e = void 0, this.#r = true, this.#t.releaseLock()), e;
3222
3222
  }
3223
3223
  async #i(e) {
3224
3224
  if (this.#r)
@@ -3275,7 +3275,7 @@ init_cjs_shims();
3275
3275
 
3276
3276
  // ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.js
3277
3277
  var getAsyncIterable = (stream) => {
3278
- if (isReadableStream(stream, { checkOpen: false }) && nodeImports.on !== undefined) {
3278
+ if (isReadableStream(stream, { checkOpen: false }) && nodeImports.on !== void 0) {
3279
3279
  return getStreamIterable(stream);
3280
3280
  }
3281
3281
  if (typeof stream?.[Symbol.asyncIterator] === "function") {
@@ -3296,7 +3296,7 @@ var getStreamIterable = async function* (stream) {
3296
3296
  yield chunk;
3297
3297
  }
3298
3298
  } catch (error) {
3299
- if (state.error !== undefined) {
3299
+ if (state.error !== void 0) {
3300
3300
  throw state.error;
3301
3301
  } else if (!controller.signal.aborted) {
3302
3302
  throw error;
@@ -3364,7 +3364,7 @@ var getStreamContents = async (stream, { init, convertChunk, getSize, truncateCh
3364
3364
  };
3365
3365
  var appendFinalChunk = ({ state, getSize, truncateChunk, addChunk, getFinalChunk, maxBuffer }) => {
3366
3366
  const convertedChunk = getFinalChunk(state);
3367
- if (convertedChunk !== undefined) {
3367
+ if (convertedChunk !== void 0) {
3368
3368
  appendChunk({
3369
3369
  convertedChunk,
3370
3370
  state,
@@ -3383,7 +3383,7 @@ var appendChunk = ({ convertedChunk, state, getSize, truncateChunk, addChunk, ma
3383
3383
  return;
3384
3384
  }
3385
3385
  const truncatedChunk = truncateChunk(convertedChunk, maxBuffer - state.length);
3386
- if (truncatedChunk !== undefined) {
3386
+ if (truncatedChunk !== void 0) {
3387
3387
  addNewChunk(truncatedChunk, state, addChunk, maxBuffer);
3388
3388
  }
3389
3389
  throw new MaxBufferError();
@@ -3426,7 +3426,7 @@ var MaxBufferError = class extends Error {
3426
3426
  // ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.js
3427
3427
  init_cjs_shims();
3428
3428
  var identity2 = (value) => value;
3429
- var noop = () => undefined;
3429
+ var noop = () => void 0;
3430
3430
  var getContentsProperty = ({ contents }) => contents;
3431
3431
  var throwObjectStream = (chunk) => {
3432
3432
  throw new Error(`Streams in object mode are not supported: ${String(chunk)}`);
@@ -3525,7 +3525,7 @@ var addStringChunk = (convertedChunk, { contents }) => contents + convertedChunk
3525
3525
  var truncateStringChunk = (convertedChunk, chunkSize) => convertedChunk.slice(0, chunkSize);
3526
3526
  var getFinalStringChunk = ({ textDecoder: textDecoder2 }) => {
3527
3527
  const finalChunk = textDecoder2.decode();
3528
- return finalChunk === "" ? undefined : finalChunk;
3528
+ return finalChunk === "" ? void 0 : finalChunk;
3529
3529
  };
3530
3530
  var stringMethods = {
3531
3531
  init: initString,
@@ -3585,7 +3585,7 @@ var getMaxBufferMessage = (error, maxBuffer) => {
3585
3585
  return `Command's ${streamName} was larger than ${threshold} ${unit}`;
3586
3586
  };
3587
3587
  var getMaxBufferInfo = (error, maxBuffer) => {
3588
- if (error?.maxBufferInfo === undefined) {
3588
+ if (error?.maxBufferInfo === void 0) {
3589
3589
  return { streamName: "output", threshold: maxBuffer[1], unit: "bytes" };
3590
3590
  }
3591
3591
  const { maxBufferInfo: { fdNumber, unit } } = error;
@@ -3645,10 +3645,10 @@ var createMessages = ({
3645
3645
  killSignal
3646
3646
  });
3647
3647
  const originalMessage = getOriginalMessage(originalError, cwd);
3648
- const suffix = originalMessage === undefined ? "" : `
3648
+ const suffix = originalMessage === void 0 ? "" : `
3649
3649
  ${originalMessage}`;
3650
3650
  const shortMessage = `${prefix}: ${escapedCommand}${suffix}`;
3651
- const messageStdio = all === undefined ? [stdio[2], stdio[1]] : [all];
3651
+ const messageStdio = all === void 0 ? [stdio[2], stdio[1]] : [all];
3652
3652
  const message = [
3653
3653
  shortMessage,
3654
3654
  ...messageStdio,
@@ -3678,7 +3678,7 @@ var getErrorPrefix = ({
3678
3678
  return `Command timed out after ${timeout} milliseconds${forcefulSuffix}`;
3679
3679
  }
3680
3680
  if (isGracefullyCanceled) {
3681
- if (signal === undefined) {
3681
+ if (signal === void 0) {
3682
3682
  return `Command was gracefully canceled with exit code ${exitCode}`;
3683
3683
  }
3684
3684
  return isForcefullyTerminated ? `Command was gracefully canceled${forcefulSuffix}` : `Command was gracefully canceled with ${signal} (${signalDescription})`;
@@ -3689,16 +3689,16 @@ var getErrorPrefix = ({
3689
3689
  if (isMaxBuffer) {
3690
3690
  return `${getMaxBufferMessage(originalError, maxBuffer)}${forcefulSuffix}`;
3691
3691
  }
3692
- if (errorCode !== undefined) {
3692
+ if (errorCode !== void 0) {
3693
3693
  return `Command failed with ${errorCode}${forcefulSuffix}`;
3694
3694
  }
3695
3695
  if (isForcefullyTerminated) {
3696
3696
  return `Command was killed with ${killSignal} (${getSignalDescription(killSignal)})${forcefulSuffix}`;
3697
3697
  }
3698
- if (signal !== undefined) {
3698
+ if (signal !== void 0) {
3699
3699
  return `Command was killed with ${signal} (${signalDescription})`;
3700
3700
  }
3701
- if (exitCode !== undefined) {
3701
+ if (exitCode !== void 0) {
3702
3702
  return `Command failed with exit code ${exitCode}`;
3703
3703
  }
3704
3704
  return "Command failed";
@@ -3710,7 +3710,7 @@ var getOriginalMessage = (originalError, cwd) => {
3710
3710
  }
3711
3711
  const originalMessage = isExecaError(originalError) ? originalError.originalMessage : String(originalError?.message ?? originalError);
3712
3712
  const escapedOriginalMessage = escapeLines(fixCwdError(originalMessage, cwd));
3713
- return escapedOriginalMessage === "" ? undefined : escapedOriginalMessage;
3713
+ return escapedOriginalMessage === "" ? void 0 : escapedOriginalMessage;
3714
3714
  };
3715
3715
  var serializeIpcMessage = (ipcMessage) => typeof ipcMessage === "string" ? ipcMessage : util.inspect(ipcMessage);
3716
3716
  var serializeMessagePart = (messagePart) => Array.isArray(messagePart) ? messagePart.map((messageItem) => stripFinalNewline(serializeMessageItem(messageItem))).filter(Boolean).join("\n") : serializeMessageItem(messagePart);
@@ -3875,7 +3875,7 @@ var getErrorProperties = ({
3875
3875
  timedOut,
3876
3876
  isCanceled,
3877
3877
  isGracefullyCanceled,
3878
- isTerminated: signal !== undefined,
3878
+ isTerminated: signal !== void 0,
3879
3879
  isMaxBuffer,
3880
3880
  isForcefullyTerminated,
3881
3881
  exitCode,
@@ -3889,11 +3889,11 @@ var getErrorProperties = ({
3889
3889
  ipcOutput,
3890
3890
  pipedFrom: []
3891
3891
  });
3892
- var omitUndefinedProperties = (result) => Object.fromEntries(Object.entries(result).filter(([, value]) => value !== undefined));
3892
+ var omitUndefinedProperties = (result) => Object.fromEntries(Object.entries(result).filter(([, value]) => value !== void 0));
3893
3893
  var normalizeExitPayload = (rawExitCode, rawSignal) => {
3894
- const exitCode = rawExitCode === null ? undefined : rawExitCode;
3895
- const signal = rawSignal === null ? undefined : rawSignal;
3896
- const signalDescription = signal === undefined ? undefined : getSignalDescription(rawSignal);
3894
+ const exitCode = rawExitCode === null ? void 0 : rawExitCode;
3895
+ const signal = rawSignal === null ? void 0 : rawSignal;
3896
+ const signalDescription = signal === void 0 ? void 0 : getSignalDescription(rawSignal);
3897
3897
  return { exitCode, signal, signalDescription };
3898
3898
  };
3899
3899
 
@@ -4125,7 +4125,7 @@ var getStdioItemType = (value, optionName) => {
4125
4125
  return "iterable";
4126
4126
  }
4127
4127
  if (isTransformStream(value)) {
4128
- return getTransformStreamType({ transform: value }, optionName);
4128
+ return getTransformStreamType({ }, optionName);
4129
4129
  }
4130
4130
  if (isTransformOptions(value)) {
4131
4131
  return getTransformObjectType(value, optionName);
@@ -4155,12 +4155,12 @@ var validateNonGeneratorType = ({ final, binary, objectMode }, optionName, typeN
4155
4155
  checkBooleanOption(objectMode, `${optionName}.objectMode`);
4156
4156
  };
4157
4157
  var checkUndefinedOption = (value, optionName, typeName) => {
4158
- if (value !== undefined) {
4158
+ if (value !== void 0) {
4159
4159
  throw new TypeError(`The \`${optionName}\` option can only be defined when using a generator, not a ${typeName}.`);
4160
4160
  }
4161
4161
  };
4162
4162
  var getGeneratorObjectType = ({ transform, final, binary, objectMode }, optionName) => {
4163
- if (transform !== undefined && !isGenerator(transform)) {
4163
+ if (transform !== void 0 && !isGenerator(transform)) {
4164
4164
  throw new TypeError(`The \`${optionName}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`);
4165
4165
  }
4166
4166
  if (isDuplexStream(final, { checkOpen: false })) {
@@ -4169,7 +4169,7 @@ var getGeneratorObjectType = ({ transform, final, binary, objectMode }, optionNa
4169
4169
  if (isTransformStream(final)) {
4170
4170
  throw new TypeError(`The \`${optionName}.final\` option must not be a web TransformStream.`);
4171
4171
  }
4172
- if (final !== undefined && !isGenerator(final)) {
4172
+ if (final !== void 0 && !isGenerator(final)) {
4173
4173
  throw new TypeError(`The \`${optionName}.final\` option must be a generator.`);
4174
4174
  }
4175
4175
  checkBooleanOption(binary, `${optionName}.binary`);
@@ -4177,14 +4177,14 @@ var getGeneratorObjectType = ({ transform, final, binary, objectMode }, optionNa
4177
4177
  return isAsyncGenerator(transform) || isAsyncGenerator(final) ? "asyncGenerator" : "generator";
4178
4178
  };
4179
4179
  var checkBooleanOption = (value, optionName) => {
4180
- if (value !== undefined && typeof value !== "boolean") {
4180
+ if (value !== void 0 && typeof value !== "boolean") {
4181
4181
  throw new TypeError(`The \`${optionName}\` option must use a boolean.`);
4182
4182
  }
4183
4183
  };
4184
4184
  var isGenerator = (value) => isAsyncGenerator(value) || isSyncGenerator(value);
4185
4185
  var isAsyncGenerator = (value) => Object.prototype.toString.call(value) === "[object AsyncGeneratorFunction]";
4186
4186
  var isSyncGenerator = (value) => Object.prototype.toString.call(value) === "[object GeneratorFunction]";
4187
- var isTransformOptions = (value) => isPlainObject(value) && (value.transform !== undefined || value.final !== undefined);
4187
+ var isTransformOptions = (value) => isPlainObject(value) && (value.transform !== void 0 || value.final !== void 0);
4188
4188
  var isUrl = (value) => Object.prototype.toString.call(value) === "[object URL]";
4189
4189
  var isRegularUrl = (value) => isUrl(value) && value.protocol !== "file:";
4190
4190
  var isFilePathObject = (value) => isPlainObject(value) && Object.keys(value).length > 0 && Object.keys(value).every((key) => FILE_PATH_KEYS.has(key)) && isFilePathString(value.file);
@@ -4236,7 +4236,7 @@ var getInputObjectModes = (objectMode, index, newTransforms) => {
4236
4236
  };
4237
4237
  var getFdObjectMode = (stdioItems, direction) => {
4238
4238
  const lastTransform = stdioItems.findLast(({ type }) => TRANSFORM_TYPES.has(type));
4239
- if (lastTransform === undefined) {
4239
+ if (lastTransform === void 0) {
4240
4240
  return false;
4241
4241
  }
4242
4242
  return direction === "input" ? lastTransform.value.writableObjectMode : lastTransform.value.readableObjectMode;
@@ -4347,7 +4347,7 @@ var getStreamDirection = (stdioItems, fdNumber, optionName) => {
4347
4347
  };
4348
4348
  var getStdioItemDirection = ({ type, value }, fdNumber) => KNOWN_DIRECTIONS[fdNumber] ?? guessStreamDirection[type](value);
4349
4349
  var KNOWN_DIRECTIONS = ["input", "output", "output"];
4350
- var anyDirection = () => undefined;
4350
+ var anyDirection = () => void 0;
4351
4351
  var alwaysInput = () => "input";
4352
4352
  var guessStreamDirection = {
4353
4353
  generator: anyDirection,
@@ -4362,13 +4362,13 @@ var guessStreamDirection = {
4362
4362
  if (!isReadableStream(value, { checkOpen: false })) {
4363
4363
  return "output";
4364
4364
  }
4365
- return isWritableStream(value, { checkOpen: false }) ? undefined : "input";
4365
+ return isWritableStream(value, { checkOpen: false }) ? void 0 : "input";
4366
4366
  },
4367
4367
  webTransform: anyDirection,
4368
4368
  duplex: anyDirection,
4369
4369
  native(value) {
4370
4370
  const standardStreamDirection = getStandardStreamDirection(value);
4371
- if (standardStreamDirection !== undefined) {
4371
+ if (standardStreamDirection !== void 0) {
4372
4372
  return standardStreamDirection;
4373
4373
  }
4374
4374
  if (isStream(value, { checkOpen: false })) {
@@ -4399,7 +4399,7 @@ var normalizeStdioOption = ({ stdio, ipc, buffer, ...options }, verboseInfo, isS
4399
4399
  return isSync ? normalizeStdioSync(stdioArray, buffer, verboseInfo) : normalizeIpcStdioArray(stdioArray, ipc);
4400
4400
  };
4401
4401
  var getStdioArray = (stdio, options) => {
4402
- if (stdio === undefined) {
4402
+ if (stdio === void 0) {
4403
4403
  return STANDARD_STREAMS_ALIASES.map((alias) => options[alias]);
4404
4404
  }
4405
4405
  if (hasAlias(options)) {
@@ -4414,12 +4414,12 @@ var getStdioArray = (stdio, options) => {
4414
4414
  const length = Math.max(stdio.length, STANDARD_STREAMS_ALIASES.length);
4415
4415
  return Array.from({ length }, (_, fdNumber) => stdio[fdNumber]);
4416
4416
  };
4417
- var hasAlias = (options) => STANDARD_STREAMS_ALIASES.some((alias) => options[alias] !== undefined);
4417
+ var hasAlias = (options) => STANDARD_STREAMS_ALIASES.some((alias) => options[alias] !== void 0);
4418
4418
  var addDefaultValue2 = (stdioOption, fdNumber) => {
4419
4419
  if (Array.isArray(stdioOption)) {
4420
4420
  return stdioOption.map((item) => addDefaultValue2(item, fdNumber));
4421
4421
  }
4422
- if (stdioOption === null || stdioOption === undefined) {
4422
+ if (stdioOption === null || stdioOption === void 0) {
4423
4423
  return fdNumber >= STANDARD_STREAMS_ALIASES.length ? "ignore" : "pipe";
4424
4424
  }
4425
4425
  return stdioOption;
@@ -4442,7 +4442,7 @@ var handleNativeStreamSync = ({ stdioItem, stdioItem: { value, optionName }, fdN
4442
4442
  fdNumber,
4443
4443
  direction
4444
4444
  });
4445
- if (targetFd !== undefined) {
4445
+ if (targetFd !== void 0) {
4446
4446
  return targetFd;
4447
4447
  }
4448
4448
  if (isStream(value, { checkOpen: false })) {
@@ -4452,7 +4452,7 @@ var handleNativeStreamSync = ({ stdioItem, stdioItem: { value, optionName }, fdN
4452
4452
  };
4453
4453
  var getTargetFd = ({ value, optionName, fdNumber, direction }) => {
4454
4454
  const targetFdNumber = getTargetFdNumber(value, fdNumber);
4455
- if (targetFdNumber === undefined) {
4455
+ if (targetFdNumber === void 0) {
4456
4456
  return;
4457
4457
  }
4458
4458
  if (direction === "output") {
@@ -4489,7 +4489,7 @@ var handleNativeStreamAsync = ({ stdioItem, stdioItem: { value, optionName }, fd
4489
4489
  };
4490
4490
  var getStandardStream = (fdNumber, value, optionName) => {
4491
4491
  const standardStream = STANDARD_STREAMS[fdNumber];
4492
- if (standardStream === undefined) {
4492
+ if (standardStream === void 0) {
4493
4493
  throw new TypeError(`The \`${optionName}: ${value}\` option is invalid: no such standard stream.`);
4494
4494
  }
4495
4495
  return standardStream;
@@ -4501,7 +4501,7 @@ var handleInputOptions = ({ input, inputFile }, fdNumber) => fdNumber === 0 ? [
4501
4501
  ...handleInputOption(input),
4502
4502
  ...handleInputFileOption(inputFile)
4503
4503
  ] : [];
4504
- var handleInputOption = (input) => input === undefined ? [] : [{
4504
+ var handleInputOption = (input) => input === void 0 ? [] : [{
4505
4505
  type: getInputType(input),
4506
4506
  value: input,
4507
4507
  optionName: "input"
@@ -4518,7 +4518,7 @@ var getInputType = (input) => {
4518
4518
  }
4519
4519
  throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.");
4520
4520
  };
4521
- var handleInputFileOption = (inputFile) => inputFile === undefined ? [] : [{
4521
+ var handleInputFileOption = (inputFile) => inputFile === void 0 ? [] : [{
4522
4522
  ...getInputFileType(inputFile),
4523
4523
  optionName: "inputFile"
4524
4524
  }];
@@ -4587,7 +4587,7 @@ var getDuplicateStreamInstance = ({ otherStdioItems, type, value, optionName, di
4587
4587
  }
4588
4588
  const differentStdioItem = duplicateStdioItems.find((stdioItem) => stdioItem.direction !== direction);
4589
4589
  throwOnDuplicateStream(differentStdioItem, optionName, type);
4590
- return direction === "output" ? duplicateStdioItems[0].stream : undefined;
4590
+ return direction === "output" ? duplicateStdioItems[0].stream : void 0;
4591
4591
  };
4592
4592
  var hasSameValue = ({ type, value }, secondValue) => {
4593
4593
  if (type === "filePath") {
@@ -4603,7 +4603,7 @@ var validateDuplicateTransform = ({ otherStdioItems, type, value, optionName })
4603
4603
  throwOnDuplicateStream(duplicateStdioItem, optionName, type);
4604
4604
  };
4605
4605
  var throwOnDuplicateStream = (stdioItem, optionName, type) => {
4606
- if (stdioItem !== undefined) {
4606
+ if (stdioItem !== void 0) {
4607
4607
  throw new TypeError(`The \`${stdioItem.optionName}\` and \`${optionName}\` options must not target ${TYPE_TO_MESSAGE[type]} that is the same.`);
4608
4608
  }
4609
4609
  };
@@ -4697,7 +4697,7 @@ var validateFileObjectMode = (stdioItems, objectMode) => {
4697
4697
  return;
4698
4698
  }
4699
4699
  const fileStdioItem = stdioItems.find(({ type }) => FILE_TYPES.has(type));
4700
- if (fileStdioItem !== undefined) {
4700
+ if (fileStdioItem !== void 0) {
4701
4701
  throw new TypeError(`The \`${fileStdioItem.optionName}\` option cannot use both files and transforms in objectMode.`);
4702
4702
  }
4703
4703
  };
@@ -4743,7 +4743,7 @@ var addStreamProperties = ({ stdioItem, addProperties: addProperties3, direction
4743
4743
  fileDescriptors,
4744
4744
  isSync
4745
4745
  });
4746
- if (duplicateStream !== undefined) {
4746
+ if (duplicateStream !== void 0) {
4747
4747
  return { ...stdioItem, stream: duplicateStream };
4748
4748
  }
4749
4749
  return {
@@ -4754,7 +4754,7 @@ var addStreamProperties = ({ stdioItem, addProperties: addProperties3, direction
4754
4754
  var cleanupCustomStreams = (fileDescriptors) => {
4755
4755
  for (const { stdioItems } of fileDescriptors) {
4756
4756
  for (const { stream } of stdioItems) {
4757
- if (stream !== undefined && !isStandardStream(stream)) {
4757
+ if (stream !== void 0 && !isStandardStream(stream)) {
4758
4758
  stream.destroy();
4759
4759
  }
4760
4760
  }
@@ -4816,7 +4816,7 @@ var addPropertiesSync = {
4816
4816
 
4817
4817
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/strip-newline.js
4818
4818
  init_cjs_shims();
4819
- var stripNewline = (value, { stripFinalNewline: stripFinalNewline2 }, fdNumber) => getStripFinalNewline(stripFinalNewline2, fdNumber) && value !== undefined && !Array.isArray(value) ? stripFinalNewline(value) : value;
4819
+ var stripNewline = (value, { stripFinalNewline: stripFinalNewline2 }, fdNumber) => getStripFinalNewline(stripFinalNewline2, fdNumber) && value !== void 0 && !Array.isArray(value) ? stripFinalNewline(value) : value;
4820
4820
  var getStripFinalNewline = (stripFinalNewline2, fdNumber) => fdNumber === "all" ? stripFinalNewline2[1] || stripFinalNewline2[2] : stripFinalNewline2[fdNumber];
4821
4821
 
4822
4822
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/io/input-sync.js
@@ -4827,7 +4827,7 @@ init_cjs_shims();
4827
4827
 
4828
4828
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/split.js
4829
4829
  init_cjs_shims();
4830
- var getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? undefined : initializeSplitLines(preserveNewlines, state);
4830
+ var getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
4831
4831
  var splitLinesSync = (chunk, preserveNewlines, objectMode) => objectMode ? chunk.flatMap((item) => splitLinesItemSync(item, preserveNewlines)) : splitLinesItemSync(chunk, preserveNewlines);
4832
4832
  var splitLinesItemSync = (chunk, preserveNewlines) => {
4833
4833
  const { transform, final } = initializeSplitLines(preserveNewlines, {});
@@ -4836,8 +4836,8 @@ var splitLinesItemSync = (chunk, preserveNewlines) => {
4836
4836
  var initializeSplitLines = (preserveNewlines, state) => {
4837
4837
  state.previousChunks = "";
4838
4838
  return {
4839
- transform: splitGenerator.bind(undefined, state, preserveNewlines),
4840
- final: linesFinal.bind(undefined, state)
4839
+ transform: splitGenerator.bind(void 0, state, preserveNewlines),
4840
+ final: linesFinal.bind(void 0, state)
4841
4841
  };
4842
4842
  };
4843
4843
  var splitGenerator = function* (state, preserveNewlines, chunk) {
@@ -4876,7 +4876,7 @@ var linesFinal = function* ({ previousChunks }) {
4876
4876
  yield previousChunks;
4877
4877
  }
4878
4878
  };
4879
- var getAppendNewlineGenerator = ({ binary, preserveNewlines, readableObjectMode, state }) => binary || preserveNewlines || readableObjectMode ? undefined : { transform: appendNewlineGenerator.bind(undefined, state) };
4879
+ var getAppendNewlineGenerator = ({ binary, preserveNewlines, readableObjectMode, state }) => binary || preserveNewlines || readableObjectMode ? void 0 : { transform: appendNewlineGenerator.bind(void 0, state) };
4880
4880
  var appendNewlineGenerator = function* ({ isWindowsNewline = false }, chunk) {
4881
4881
  const { unixNewline, windowsNewline, LF: LF2, concatBytes } = typeof chunk === "string" ? linesStringInfo : linesUint8ArrayInfo;
4882
4882
  if (chunk.at(-1) === LF2) {
@@ -4908,14 +4908,14 @@ var linesUint8ArrayInfo = {
4908
4908
 
4909
4909
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/transform/validate.js
4910
4910
  init_cjs_shims();
4911
- var getValidateTransformInput = (writableObjectMode, optionName) => writableObjectMode ? undefined : validateStringTransformInput.bind(undefined, optionName);
4911
+ var getValidateTransformInput = (writableObjectMode, optionName) => writableObjectMode ? void 0 : validateStringTransformInput.bind(void 0, optionName);
4912
4912
  var validateStringTransformInput = function* (optionName, chunk) {
4913
4913
  if (typeof chunk !== "string" && !isUint8Array(chunk) && !buffer.Buffer.isBuffer(chunk)) {
4914
4914
  throw new TypeError(`The \`${optionName}\` option's transform must use "objectMode: true" to receive as input: ${typeof chunk}.`);
4915
4915
  }
4916
4916
  yield chunk;
4917
4917
  };
4918
- var getValidateTransformReturn = (readableObjectMode, optionName) => readableObjectMode ? validateObjectTransformReturn.bind(undefined, optionName) : validateStringTransformReturn.bind(undefined, optionName);
4918
+ var getValidateTransformReturn = (readableObjectMode, optionName) => readableObjectMode ? validateObjectTransformReturn.bind(void 0, optionName) : validateStringTransformReturn.bind(void 0, optionName);
4919
4919
  var validateObjectTransformReturn = function* (optionName, chunk) {
4920
4920
  validateEmptyReturn(optionName, chunk);
4921
4921
  yield chunk;
@@ -4928,7 +4928,7 @@ var validateStringTransformReturn = function* (optionName, chunk) {
4928
4928
  yield chunk;
4929
4929
  };
4930
4930
  var validateEmptyReturn = (optionName, chunk) => {
4931
- if (chunk === null || chunk === undefined) {
4931
+ if (chunk === null || chunk === void 0) {
4932
4932
  throw new TypeError(`The \`${optionName}\` option's function must not call \`yield ${chunk}\`.
4933
4933
  Instead, \`yield\` should either be called with a value, or not be called at all. For example:
4934
4934
  if (condition) { yield value; }`);
@@ -4942,12 +4942,12 @@ var getEncodingTransformGenerator = (binary, encoding, skipped) => {
4942
4942
  return;
4943
4943
  }
4944
4944
  if (binary) {
4945
- return { transform: encodingUint8ArrayGenerator.bind(undefined, new TextEncoder()) };
4945
+ return { transform: encodingUint8ArrayGenerator.bind(void 0, new TextEncoder()) };
4946
4946
  }
4947
4947
  const stringDecoder = new string_decoder.StringDecoder(encoding);
4948
4948
  return {
4949
- transform: encodingStringGenerator.bind(undefined, stringDecoder),
4950
- final: encodingStringFinal.bind(undefined, stringDecoder)
4949
+ transform: encodingStringGenerator.bind(void 0, stringDecoder),
4950
+ final: encodingStringFinal.bind(void 0, stringDecoder)
4951
4951
  };
4952
4952
  };
4953
4953
  var encodingUint8ArrayGenerator = function* (textEncoder3, chunk) {
@@ -4997,7 +4997,7 @@ var finalChunks = async function* (generators) {
4997
4997
  }
4998
4998
  };
4999
4999
  var generatorFinalChunks = async function* (final, index, generators) {
5000
- if (final === undefined) {
5000
+ if (final === void 0) {
5001
5001
  return;
5002
5002
  }
5003
5003
  for await (const finalChunk of final()) {
@@ -5005,7 +5005,7 @@ var generatorFinalChunks = async function* (final, index, generators) {
5005
5005
  }
5006
5006
  };
5007
5007
  var destroyTransform = util.callbackify(async ({ currentIterable }, error) => {
5008
- if (currentIterable !== undefined) {
5008
+ if (currentIterable !== void 0) {
5009
5009
  await (error ? currentIterable.throw(error) : currentIterable.return());
5010
5010
  return;
5011
5011
  }
@@ -5049,7 +5049,7 @@ var finalChunksSync = function* (generators) {
5049
5049
  }
5050
5050
  };
5051
5051
  var generatorFinalChunksSync = function* (final, index, generators) {
5052
- if (final === undefined) {
5052
+ if (final === void 0) {
5053
5053
  return;
5054
5054
  }
5055
5055
  for (const finalChunk of final()) {
@@ -5070,9 +5070,9 @@ var generatorToStream = ({
5070
5070
  const generators = addInternalGenerators(value, encoding, optionName);
5071
5071
  const transformAsync = isAsyncGenerator(transform);
5072
5072
  const finalAsync = isAsyncGenerator(final);
5073
- const transformMethod = transformAsync ? pushChunks.bind(undefined, transformChunk, state) : pushChunksSync.bind(undefined, transformChunkSync);
5074
- const finalMethod = transformAsync || finalAsync ? pushChunks.bind(undefined, finalChunks, state) : pushChunksSync.bind(undefined, finalChunksSync);
5075
- const destroyMethod = transformAsync || finalAsync ? destroyTransform.bind(undefined, state) : undefined;
5073
+ const transformMethod = transformAsync ? pushChunks.bind(void 0, transformChunk, state) : pushChunksSync.bind(void 0, transformChunkSync);
5074
+ const finalMethod = transformAsync || finalAsync ? pushChunks.bind(void 0, finalChunks, state) : pushChunksSync.bind(void 0, finalChunksSync);
5075
+ const destroyMethod = transformAsync || finalAsync ? destroyTransform.bind(void 0, state) : void 0;
5076
5076
  const stream$1 = new stream.Transform({
5077
5077
  writableObjectMode,
5078
5078
  writableHighWaterMark: stream.getDefaultHighWaterMark(writableObjectMode),
@@ -5123,7 +5123,7 @@ var addInputOptionsSync = (fileDescriptors, options) => {
5123
5123
  var getInputFdNumbers = (fileDescriptors) => new Set(Object.entries(fileDescriptors).filter(([, { direction }]) => direction === "input").map(([fdNumber]) => Number(fdNumber)));
5124
5124
  var addInputOptionSync = (fileDescriptors, fdNumber, options) => {
5125
5125
  const { stdioItems } = fileDescriptors[fdNumber];
5126
- const allStdioItems = stdioItems.filter(({ contents }) => contents !== undefined);
5126
+ const allStdioItems = stdioItems.filter(({ contents }) => contents !== void 0);
5127
5127
  if (allStdioItems.length === 0) {
5128
5128
  return;
5129
5129
  }
@@ -5142,7 +5142,7 @@ var applySingleInputGeneratorsSync = (contents, stdioItems) => {
5142
5142
  };
5143
5143
  var validateSerializable = (newContents) => {
5144
5144
  const invalidItem = newContents.find((item) => typeof item !== "string" && !isUint8Array(item));
5145
- if (invalidItem !== undefined) {
5145
+ if (invalidItem !== void 0) {
5146
5146
  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}.`);
5147
5147
  }
5148
5148
  };
@@ -5221,7 +5221,7 @@ var transformOutputResultSync = ({ result, fileDescriptors, fdNumber, state, out
5221
5221
  stdioItems,
5222
5222
  objectMode
5223
5223
  });
5224
- const returnedResult = buffer[fdNumber] ? finalResult : undefined;
5224
+ const returnedResult = buffer[fdNumber] ? finalResult : void 0;
5225
5225
  try {
5226
5226
  if (state.error === void 0) {
5227
5227
  writeToFiles(serializedResult, stdioItems, outputFiles);
@@ -5287,10 +5287,10 @@ var getAllSync = ([, stdout2, stderr], options) => {
5287
5287
  if (!options.all) {
5288
5288
  return;
5289
5289
  }
5290
- if (stdout2 === undefined) {
5290
+ if (stdout2 === void 0) {
5291
5291
  return stderr;
5292
5292
  }
5293
- if (stderr === undefined) {
5293
+ if (stderr === void 0) {
5294
5294
  return stdout2;
5295
5295
  }
5296
5296
  if (Array.isArray(stdout2)) {
@@ -5339,7 +5339,7 @@ var waitForSuccessfulExit = async (exitPromise) => {
5339
5339
  }
5340
5340
  return [exitCode, signal];
5341
5341
  };
5342
- var isSubprocessErrorExit = (exitCode, signal) => exitCode === undefined && signal === undefined;
5342
+ var isSubprocessErrorExit = (exitCode, signal) => exitCode === void 0 && signal === void 0;
5343
5343
  var isFailedExit = (exitCode, signal) => exitCode !== 0 || signal !== null;
5344
5344
 
5345
5345
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/exit-sync.js
@@ -5356,10 +5356,10 @@ var getExitResultSync = ({ error, status: exitCode, signal, output }, { maxBuffe
5356
5356
  };
5357
5357
  };
5358
5358
  var getResultError = (error, exitCode, signal) => {
5359
- if (error !== undefined) {
5359
+ if (error !== void 0) {
5360
5360
  return error;
5361
5361
  }
5362
- return isFailedExit(exitCode, signal) ? new DiscardedError() : undefined;
5362
+ return isFailedExit(exitCode, signal) ? new DiscardedError() : void 0;
5363
5363
  };
5364
5364
 
5365
5365
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-sync.js
@@ -5467,7 +5467,7 @@ var runSubprocessSync = ({ file, commandArguments, options, command, escapedComm
5467
5467
  }
5468
5468
  };
5469
5469
  var normalizeSpawnSyncOptions = ({ encoding, maxBuffer, ...options }) => ({ ...options, encoding: "buffer", maxBuffer: getMaxBufferSync(maxBuffer) });
5470
- var getSyncResult = ({ error, exitCode, signal, timedOut, isMaxBuffer, stdio, all, options, command, escapedCommand, startTime }) => error === undefined ? makeSuccessResult({
5470
+ var getSyncResult = ({ error, exitCode, signal, timedOut, isMaxBuffer, stdio, all, options, command, escapedCommand, startTime }) => error === void 0 ? makeSuccessResult({
5471
5471
  command,
5472
5472
  escapedCommand,
5473
5473
  stdio,
@@ -5536,7 +5536,7 @@ var getOneMessageAsync = async ({ anyProcess, channel, isSubprocess, filter, ref
5536
5536
  }
5537
5537
  };
5538
5538
  var getMessage = async (ipcEmitter, filter, { signal }) => {
5539
- if (filter === undefined) {
5539
+ if (filter === void 0) {
5540
5540
  const [message] = await events.once(ipcEmitter, "message", { signal });
5541
5541
  return message;
5542
5542
  }
@@ -5641,10 +5641,10 @@ var addIpcMethods = (subprocess, { ipc }) => {
5641
5641
  var getIpcExport = () => {
5642
5642
  const anyProcess = process4__namespace.default;
5643
5643
  const isSubprocess = true;
5644
- const ipc = process4__namespace.default.channel !== undefined;
5644
+ const ipc = process4__namespace.default.channel !== void 0;
5645
5645
  return {
5646
5646
  ...getIpcMethods(anyProcess, isSubprocess, ipc),
5647
- getCancelSignal: getCancelSignal.bind(undefined, {
5647
+ getCancelSignal: getCancelSignal.bind(void 0, {
5648
5648
  anyProcess,
5649
5649
  channel: anyProcess.channel,
5650
5650
  isSubprocess,
@@ -5653,19 +5653,19 @@ var getIpcExport = () => {
5653
5653
  };
5654
5654
  };
5655
5655
  var getIpcMethods = (anyProcess, isSubprocess, ipc) => ({
5656
- sendMessage: sendMessage.bind(undefined, {
5656
+ sendMessage: sendMessage.bind(void 0, {
5657
5657
  anyProcess,
5658
5658
  channel: anyProcess.channel,
5659
5659
  isSubprocess,
5660
5660
  ipc
5661
5661
  }),
5662
- getOneMessage: getOneMessage.bind(undefined, {
5662
+ getOneMessage: getOneMessage.bind(void 0, {
5663
5663
  anyProcess,
5664
5664
  channel: anyProcess.channel,
5665
5665
  isSubprocess,
5666
5666
  ipc
5667
5667
  }),
5668
- getEachMessage: getEachMessage.bind(undefined, {
5668
+ getEachMessage: getEachMessage.bind(void 0, {
5669
5669
  anyProcess,
5670
5670
  channel: anyProcess.channel,
5671
5671
  isSubprocess,
@@ -5827,7 +5827,7 @@ var MergedStream = class extends stream.PassThrough {
5827
5827
  return false;
5828
5828
  }
5829
5829
  const streamPromise = this.#streamPromises.get(stream);
5830
- if (streamPromise === undefined) {
5830
+ if (streamPromise === void 0) {
5831
5831
  return false;
5832
5832
  }
5833
5833
  this.#streamPromises.delete(stream);
@@ -6050,14 +6050,14 @@ var pipeTransform = (subprocess, stream, direction, fdNumber) => {
6050
6050
  pipeStreams(stream, subprocess.stdio[fdNumber]);
6051
6051
  }
6052
6052
  const streamProperty = SUBPROCESS_STREAM_PROPERTIES[fdNumber];
6053
- if (streamProperty !== undefined) {
6053
+ if (streamProperty !== void 0) {
6054
6054
  subprocess[streamProperty] = stream;
6055
6055
  }
6056
6056
  subprocess.stdio[fdNumber] = stream;
6057
6057
  };
6058
6058
  var SUBPROCESS_STREAM_PROPERTIES = ["stdin", "stdout", "stderr"];
6059
6059
  var pipeStdioItem = ({ subprocess, stream, direction, fdNumber, pipeGroups, controller }) => {
6060
- if (stream === undefined) {
6060
+ if (stream === void 0) {
6061
6061
  return;
6062
6062
  }
6063
6063
  setStandardStreamMaxListeners(stream, controller);
@@ -6311,24 +6311,7 @@ var {
6311
6311
  *
6312
6312
  * Returns a function that may be used to unload signal-exit.
6313
6313
  */
6314
- onExit,
6315
- /**
6316
- * Load the listeners. Likely you never need to call this, unless
6317
- * doing a rather deep integration with signal-exit functionality.
6318
- * Mostly exposed for the benefit of testing.
6319
- *
6320
- * @internal
6321
- */
6322
- load,
6323
- /**
6324
- * Unload the listeners. Likely you never need to call this, unless
6325
- * doing a rather deep integration with signal-exit functionality.
6326
- * Mostly exposed for the benefit of testing.
6327
- *
6328
- * @internal
6329
- */
6330
- unload
6331
- } = signalExitWrap(processOk(process9) ? new SignalExit(process9) : new SignalExitFallback());
6314
+ onExit} = signalExitWrap(processOk(process9) ? new SignalExit(process9) : new SignalExitFallback());
6332
6315
 
6333
6316
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/terminate/cleanup.js
6334
6317
  var cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
@@ -6437,7 +6420,7 @@ var handlePipeArgumentsError = ({
6437
6420
  destinationStream,
6438
6421
  destinationError
6439
6422
  });
6440
- if (error !== undefined) {
6423
+ if (error !== void 0) {
6441
6424
  throw createNonCommandError({
6442
6425
  error,
6443
6426
  fileDescriptors,
@@ -6447,14 +6430,14 @@ var handlePipeArgumentsError = ({
6447
6430
  }
6448
6431
  };
6449
6432
  var getPipeArgumentsError = ({ sourceStream, sourceError, destinationStream, destinationError }) => {
6450
- if (sourceError !== undefined && destinationError !== undefined) {
6433
+ if (sourceError !== void 0 && destinationError !== void 0) {
6451
6434
  return destinationError;
6452
6435
  }
6453
- if (destinationError !== undefined) {
6436
+ if (destinationError !== void 0) {
6454
6437
  abortSourceStream(sourceStream);
6455
6438
  return destinationError;
6456
6439
  }
6457
- if (sourceError !== undefined) {
6440
+ if (sourceError !== void 0) {
6458
6441
  endDestinationStream(destinationStream);
6459
6442
  return sourceError;
6460
6443
  }
@@ -6522,7 +6505,7 @@ var DESTINATION_LISTENERS_PER_PIPE = 1;
6522
6505
 
6523
6506
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/abort.js
6524
6507
  init_cjs_shims();
6525
- var unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === undefined ? [] : [unpipeOnSignalAbort(unpipeSignal, unpipeContext)];
6508
+ var unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ? [] : [unpipeOnSignalAbort(unpipeSignal, unpipeContext)];
6526
6509
  var unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fileDescriptors, sourceOptions, startTime }) => {
6527
6510
  await util.aborted(unpipeSignal, sourceStream);
6528
6511
  await mergedStream.remove(sourceStream);
@@ -6538,14 +6521,14 @@ var unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fil
6538
6521
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/pipe/setup.js
6539
6522
  var pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
6540
6523
  if (isPlainObject(pipeArguments[0])) {
6541
- return pipeToSubprocess.bind(undefined, {
6524
+ return pipeToSubprocess.bind(void 0, {
6542
6525
  ...sourceInfo,
6543
6526
  boundOptions: { ...sourceInfo.boundOptions, ...pipeArguments[0] }
6544
6527
  });
6545
6528
  }
6546
6529
  const { destination, ...normalizedInfo } = normalizePipeArguments(sourceInfo, ...pipeArguments);
6547
6530
  const promise = handlePipePromise({ ...normalizedInfo, destination });
6548
- promise.pipe = pipeToSubprocess.bind(undefined, {
6531
+ promise.pipe = pipeToSubprocess.bind(void 0, {
6549
6532
  ...sourceInfo,
6550
6533
  source: destination,
6551
6534
  sourcePromise: promise,
@@ -6881,7 +6864,7 @@ var waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBu
6881
6864
  };
6882
6865
 
6883
6866
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/resolve/all-async.js
6884
- var makeAllStream = ({ stdout: stdout2, stderr }, { all }) => all && (stdout2 || stderr) ? mergeStreams([stdout2, stderr].filter(Boolean)) : undefined;
6867
+ var makeAllStream = ({ stdout: stdout2, stderr }, { all }) => all && (stdout2 || stderr) ? mergeStreams([stdout2, stderr].filter(Boolean)) : void 0;
6885
6868
  var waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => waitForSubprocessStream({
6886
6869
  ...getAllStream(subprocess, buffer),
6887
6870
  fdNumber: "all",
@@ -7071,7 +7054,7 @@ var waitForSubprocessResult = async ({
7071
7054
  ]);
7072
7055
  }
7073
7056
  };
7074
- var waitForOriginalStreams = (originalStreams, subprocess, streamInfo) => originalStreams.map((stream, fdNumber) => stream === subprocess.stdio[fdNumber] ? undefined : waitForStream(stream, fdNumber, streamInfo));
7057
+ var waitForOriginalStreams = (originalStreams, subprocess, streamInfo) => originalStreams.map((stream, fdNumber) => stream === subprocess.stdio[fdNumber] ? void 0 : waitForStream(stream, fdNumber, streamInfo));
7075
7058
  var waitForCustomStreamsEnd = (fileDescriptors, streamInfo) => fileDescriptors.flatMap(({ stdioItems }, fdNumber) => stdioItems.filter(({ value, stream = value }) => isStream(stream, { checkOpen: false }) && !isStandardStream(stream)).map(({ type, value, stream = value }) => waitForStream(stream, fdNumber, streamInfo, {
7076
7059
  isSameDirection: TRANSFORM_TYPES.has(type),
7077
7060
  stopOnExit: type === "native"
@@ -7117,7 +7100,7 @@ init_cjs_shims();
7117
7100
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/shared.js
7118
7101
  init_cjs_shims();
7119
7102
  var safeWaitForSubprocessStdin = async (subprocessStdin) => {
7120
- if (subprocessStdin === undefined) {
7103
+ if (subprocessStdin === void 0) {
7121
7104
  return;
7122
7105
  }
7123
7106
  try {
@@ -7126,7 +7109,7 @@ var safeWaitForSubprocessStdin = async (subprocessStdin) => {
7126
7109
  }
7127
7110
  };
7128
7111
  var safeWaitForSubprocessStdout = async (subprocessStdout) => {
7129
- if (subprocessStdout === undefined) {
7112
+ if (subprocessStdout === void 0) {
7130
7113
  return;
7131
7114
  }
7132
7115
  try {
@@ -7168,7 +7151,7 @@ var createReadable = ({ subprocess, concurrentStreams, encoding }, { from, binar
7168
7151
  });
7169
7152
  const readable2 = new stream.Readable({
7170
7153
  read,
7171
- destroy: util.callbackify(onReadableDestroy.bind(undefined, { subprocessStdout, subprocess, waitReadableDestroy })),
7154
+ destroy: util.callbackify(onReadableDestroy.bind(void 0, { subprocessStdout, subprocess, waitReadableDestroy })),
7172
7155
  highWaterMark: readableHighWaterMark,
7173
7156
  objectMode: readableObjectMode,
7174
7157
  encoding: readableEncoding
@@ -7245,7 +7228,7 @@ var createWritable = ({ subprocess, concurrentStreams }, { to } = {}) => {
7245
7228
  const { subprocessStdin, waitWritableFinal, waitWritableDestroy } = getSubprocessStdin(subprocess, to, concurrentStreams);
7246
7229
  const writable2 = new stream.Writable({
7247
7230
  ...getWritableMethods(subprocessStdin, subprocess, waitWritableFinal),
7248
- destroy: util.callbackify(onWritableDestroy.bind(undefined, {
7231
+ destroy: util.callbackify(onWritableDestroy.bind(void 0, {
7249
7232
  subprocessStdin,
7250
7233
  subprocess,
7251
7234
  waitWritableFinal,
@@ -7264,8 +7247,8 @@ var getSubprocessStdin = (subprocess, to, concurrentStreams) => {
7264
7247
  return { subprocessStdin, waitWritableFinal, waitWritableDestroy };
7265
7248
  };
7266
7249
  var getWritableMethods = (subprocessStdin, subprocess, waitWritableFinal) => ({
7267
- write: onWrite.bind(undefined, subprocessStdin),
7268
- final: util.callbackify(onWritableFinal.bind(undefined, subprocessStdin, subprocess, waitWritableFinal))
7250
+ write: onWrite.bind(void 0, subprocessStdin),
7251
+ final: util.callbackify(onWritableFinal.bind(void 0, subprocessStdin, subprocess, waitWritableFinal))
7269
7252
  });
7270
7253
  var onWrite = (subprocessStdin, chunk, encoding, done) => {
7271
7254
  if (subprocessStdin.write(chunk, encoding)) {
@@ -7321,7 +7304,7 @@ var createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, bin
7321
7304
  const duplex2 = new stream.Duplex({
7322
7305
  read,
7323
7306
  ...getWritableMethods(subprocessStdin, subprocess, waitWritableFinal),
7324
- destroy: util.callbackify(onDuplexDestroy.bind(undefined, {
7307
+ destroy: util.callbackify(onDuplexDestroy.bind(void 0, {
7325
7308
  subprocessStdout,
7326
7309
  subprocessStdin,
7327
7310
  subprocess,
@@ -7390,11 +7373,11 @@ var iterateOnStdoutData = async function* (onStdoutData, subprocessStdout, subpr
7390
7373
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/convert/add.js
7391
7374
  var addConvertedStreams = (subprocess, { encoding }) => {
7392
7375
  const concurrentStreams = initializeConcurrentStreams();
7393
- subprocess.readable = createReadable.bind(undefined, { subprocess, concurrentStreams, encoding });
7394
- subprocess.writable = createWritable.bind(undefined, { subprocess, concurrentStreams });
7395
- subprocess.duplex = createDuplex.bind(undefined, { subprocess, concurrentStreams, encoding });
7396
- subprocess.iterable = createIterable.bind(undefined, subprocess, encoding);
7397
- subprocess[Symbol.asyncIterator] = createIterable.bind(undefined, subprocess, encoding, {});
7376
+ subprocess.readable = createReadable.bind(void 0, { subprocess, concurrentStreams, encoding });
7377
+ subprocess.writable = createWritable.bind(void 0, { subprocess, concurrentStreams });
7378
+ subprocess.duplex = createDuplex.bind(void 0, { subprocess, concurrentStreams, encoding });
7379
+ subprocess.iterable = createIterable.bind(void 0, subprocess, encoding);
7380
+ subprocess[Symbol.asyncIterator] = createIterable.bind(void 0, subprocess, encoding, {});
7398
7381
  };
7399
7382
 
7400
7383
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/promise.js
@@ -7425,7 +7408,7 @@ var execaCoreAsync = (rawFile, rawArguments, rawOptions, createNested) => {
7425
7408
  escapedCommand,
7426
7409
  fileDescriptors
7427
7410
  });
7428
- subprocess.pipe = pipeToSubprocess.bind(undefined, {
7411
+ subprocess.pipe = pipeToSubprocess.bind(void 0, {
7429
7412
  source: subprocess,
7430
7413
  sourcePromise: promise,
7431
7414
  boundOptions: {},
@@ -7452,7 +7435,7 @@ var handleAsyncArguments = (rawFile, rawArguments, rawOptions) => {
7452
7435
  };
7453
7436
  };
7454
7437
  var handleAsyncOptions = ({ timeout, signal, ...options }) => {
7455
- if (signal !== undefined) {
7438
+ if (signal !== void 0) {
7456
7439
  throw new TypeError('The "signal" option has been renamed to "cancelSignal" instead.');
7457
7440
  }
7458
7441
  return { ...options, timeoutDuration: timeout };
@@ -7479,7 +7462,7 @@ var spawnSubprocessAsync = ({ file, commandArguments, options, startTime, verbos
7479
7462
  cleanupOnExit(subprocess, options, controller);
7480
7463
  const context = {};
7481
7464
  const onInternalError = createDeferred();
7482
- subprocess.kill = subprocessKill.bind(undefined, {
7465
+ subprocess.kill = subprocessKill.bind(void 0, {
7483
7466
  kill: subprocess.kill.bind(subprocess),
7484
7467
  options,
7485
7468
  onInternalError,
@@ -7596,7 +7579,7 @@ var createExeca = (mapArguments, boundOptions, deepOptions, setBoundExeca) => {
7596
7579
  setBoundExeca,
7597
7580
  createNested
7598
7581
  }, ...execaArguments);
7599
- if (setBoundExeca !== undefined) {
7582
+ if (setBoundExeca !== void 0) {
7600
7583
  setBoundExeca(boundExeca, createNested, boundOptions);
7601
7584
  }
7602
7585
  return boundExeca;
@@ -7673,7 +7656,7 @@ var setScriptSync = (boundExeca, createNested, boundOptions) => {
7673
7656
  var mapScriptAsync = ({ options }) => getScriptOptions(options);
7674
7657
  var mapScriptSync = ({ options }) => ({ ...getScriptOptions(options), isSync: true });
7675
7658
  var getScriptOptions = (options) => ({ options: { ...getScriptStdinOption(options), ...options } });
7676
- var getScriptStdinOption = ({ input, inputFile, stdio }) => input === undefined && inputFile === undefined && stdio === undefined ? { stdin: "inherit" } : {};
7659
+ var getScriptStdinOption = ({ input, inputFile, stdio }) => input === void 0 && inputFile === void 0 && stdio === void 0 ? { stdin: "inherit" } : {};
7677
7660
  var deepScriptOptions = { preferLocal: true };
7678
7661
 
7679
7662
  // ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/index.js
@@ -7723,9 +7706,9 @@ var AbortError = class extends Error {
7723
7706
  this.message = message;
7724
7707
  }
7725
7708
  };
7726
- var getDOMException = (errorMessage) => globalThis.DOMException === undefined ? new AbortError(errorMessage) : new DOMException(errorMessage);
7709
+ var getDOMException = (errorMessage) => globalThis.DOMException === void 0 ? new AbortError(errorMessage) : new DOMException(errorMessage);
7727
7710
  var getAbortedReason = (signal) => {
7728
- const reason = signal.reason === undefined ? getDOMException("This operation was aborted.") : signal.reason;
7711
+ const reason = signal.reason === void 0 ? getDOMException("This operation was aborted.") : signal.reason;
7729
7712
  return reason instanceof Error ? reason : getDOMException(reason);
7730
7713
  };
7731
7714
  function pTimeout(promise, options) {
@@ -7758,7 +7741,7 @@ function pTimeout(promise, options) {
7758
7741
  return;
7759
7742
  }
7760
7743
  const timeoutError = new TimeoutError();
7761
- timer = customTimers.setTimeout.call(undefined, () => {
7744
+ timer = customTimers.setTimeout.call(void 0, () => {
7762
7745
  if (fallback) {
7763
7746
  try {
7764
7747
  resolve(fallback());
@@ -7791,8 +7774,8 @@ function pTimeout(promise, options) {
7791
7774
  cancelablePromise.clear();
7792
7775
  });
7793
7776
  cancelablePromise.clear = () => {
7794
- customTimers.clearTimeout.call(undefined, timer);
7795
- timer = undefined;
7777
+ customTimers.clearTimeout.call(void 0, timer);
7778
+ timer = void 0;
7796
7779
  };
7797
7780
  return cancelablePromise;
7798
7781
  }
@@ -7898,7 +7881,7 @@ var PQueue = class extends import_index.default {
7898
7881
  if (!(typeof options.intervalCap === "number" && options.intervalCap >= 1)) {
7899
7882
  throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${options.intervalCap?.toString() ?? ""}\` (${typeof options.intervalCap})`);
7900
7883
  }
7901
- if (options.interval === undefined || !(Number.isFinite(options.interval) && options.interval >= 0)) {
7884
+ if (options.interval === void 0 || !(Number.isFinite(options.interval) && options.interval >= 0)) {
7902
7885
  throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${options.interval?.toString() ?? ""}\` (${typeof options.interval})`);
7903
7886
  }
7904
7887
  this.#carryoverConcurrencyCount = options.carryoverConcurrencyCount;
@@ -7926,16 +7909,16 @@ var PQueue = class extends import_index.default {
7926
7909
  #onResumeInterval() {
7927
7910
  this.#onInterval();
7928
7911
  this.#initializeIntervalIfNeeded();
7929
- this.#timeoutId = undefined;
7912
+ this.#timeoutId = void 0;
7930
7913
  }
7931
7914
  get #isIntervalPaused() {
7932
7915
  const now = Date.now();
7933
- if (this.#intervalId === undefined) {
7916
+ if (this.#intervalId === void 0) {
7934
7917
  const delay = this.#intervalEnd - now;
7935
7918
  if (delay < 0) {
7936
7919
  this.#intervalCount = this.#carryoverConcurrencyCount ? this.#pending : 0;
7937
7920
  } else {
7938
- if (this.#timeoutId === undefined) {
7921
+ if (this.#timeoutId === void 0) {
7939
7922
  this.#timeoutId = setTimeout(() => {
7940
7923
  this.#onResumeInterval();
7941
7924
  }, delay);
@@ -7950,7 +7933,7 @@ var PQueue = class extends import_index.default {
7950
7933
  if (this.#intervalId) {
7951
7934
  clearInterval(this.#intervalId);
7952
7935
  }
7953
- this.#intervalId = undefined;
7936
+ this.#intervalId = void 0;
7954
7937
  this.emit("empty");
7955
7938
  if (this.#pending === 0) {
7956
7939
  this.emit("idle");
@@ -7975,7 +7958,7 @@ var PQueue = class extends import_index.default {
7975
7958
  return false;
7976
7959
  }
7977
7960
  #initializeIntervalIfNeeded() {
7978
- if (this.#isIntervalIgnored || this.#intervalId !== undefined) {
7961
+ if (this.#isIntervalIgnored || this.#intervalId !== void 0) {
7979
7962
  return;
7980
7963
  }
7981
7964
  this.#intervalId = setInterval(() => {
@@ -7986,7 +7969,7 @@ var PQueue = class extends import_index.default {
7986
7969
  #onInterval() {
7987
7970
  if (this.#intervalCount === 0 && this.#pending === 0 && this.#intervalId) {
7988
7971
  clearInterval(this.#intervalId);
7989
- this.#intervalId = undefined;
7972
+ this.#intervalId = void 0;
7990
7973
  }
7991
7974
  this.#intervalCount = this.#carryoverConcurrencyCount ? this.#pending : 0;
7992
7975
  this.#processQueue();
@@ -8207,7 +8190,7 @@ async function executeHooks({ hooks, logger: logger$1 }) {
8207
8190
  logger$1?.emit("start", `Executing hook ${logger$1.logLevel !== logger.LogMapper.silent ? p2.dim(command) : ""}`);
8208
8191
  await execa(cmd, _args, {
8209
8192
  detached: true,
8210
- stdout: logger$1?.logLevel === logger.LogMapper.silent ? undefined : ["pipe", consolaWritable],
8193
+ stdout: logger$1?.logLevel === logger.LogMapper.silent ? void 0 : ["pipe", consolaWritable],
8211
8194
  stripFinalNewline: true
8212
8195
  });
8213
8196
  logger$1?.emit("success", `Executed hook ${logger$1.logLevel !== logger.LogMapper.silent ? p2.dim(command) : ""}`);
@@ -8251,7 +8234,7 @@ function getSummary({ pluginManager, filesCreated, status, hrStart, config }) {
8251
8234
  const pluginsCount = config.plugins?.length || 0;
8252
8235
  const meta = {
8253
8236
  plugins: status === "success" ? `${p2.green(`${buildStartPlugins.length} successful`)}, ${pluginsCount} total` : `${p2.red(`${failedPlugins?.length ?? 1} failed`)}, ${pluginsCount} total`,
8254
- pluginsFailed: status === "failed" ? failedPlugins?.map((name) => logger.randomCliColour(name))?.join(", ") : undefined,
8237
+ pluginsFailed: status === "failed" ? failedPlugins?.map((name) => logger.randomCliColour(name))?.join(", ") : void 0,
8255
8238
  filesCreated,
8256
8239
  time: `${p2.yellow(`${elapsedSeconds}s`)}`,
8257
8240
  output: path2__default.default.isAbsolute(config.root) ? path2__default.default.resolve(config.root, config.output.path) : config.root
@@ -8266,7 +8249,7 @@ function getSummary({ pluginManager, filesCreated, status, hrStart, config }) {
8266
8249
  if (item.at(1)) {
8267
8250
  return item.at(0);
8268
8251
  }
8269
- return undefined;
8252
+ return void 0;
8270
8253
  }).filter(Boolean).join("\n")
8271
8254
  );
8272
8255
  return [...logs];
@@ -8278,7 +8261,7 @@ async function generate({ input, config, args }) {
8278
8261
  name: config.name
8279
8262
  });
8280
8263
  const { root = process.cwd(), ...userConfig } = config;
8281
- const inputPath = input ?? ("path" in userConfig.input ? userConfig.input.path : undefined);
8264
+ const inputPath = input ?? ("path" in userConfig.input ? userConfig.input.path : void 0);
8282
8265
  if (logger$1.logLevel !== logger.LogMapper.debug) {
8283
8266
  const progressCache = /* @__PURE__ */ new Map();
8284
8267
  logger$1.on("progress_start", ({ id, size, message = "" }) => {
@@ -8381,5 +8364,5 @@ ${logFiles.join("\n")}`);
8381
8364
  exports.generate = generate;
8382
8365
  exports.init_cjs_shims = init_cjs_shims;
8383
8366
  exports.p = p2;
8384
- //# sourceMappingURL=chunk-PVCU5WMB.cjs.map
8385
- //# sourceMappingURL=chunk-PVCU5WMB.cjs.map
8367
+ //# sourceMappingURL=chunk-DZXE2JAJ.cjs.map
8368
+ //# sourceMappingURL=chunk-DZXE2JAJ.cjs.map