@coana-tech/cli 14.12.38 → 14.12.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli.mjs CHANGED
@@ -3936,8 +3936,8 @@ var require_levels = __commonJS({
3936
3936
  var require_align = __commonJS({
3937
3937
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/align.js"(exports2, module2) {
3938
3938
  "use strict";
3939
- var format5 = require_format();
3940
- module2.exports = format5((info) => {
3939
+ var format6 = require_format();
3940
+ module2.exports = format6((info) => {
3941
3941
  info.message = ` ${info.message}`;
3942
3942
  return info;
3943
3943
  });
@@ -3948,9 +3948,9 @@ var require_align = __commonJS({
3948
3948
  var require_errors = __commonJS({
3949
3949
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/errors.js"(exports2, module2) {
3950
3950
  "use strict";
3951
- var format5 = require_format();
3951
+ var format6 = require_format();
3952
3952
  var { LEVEL, MESSAGE } = require_triple_beam();
3953
- module2.exports = format5((einfo, { stack: stack2, cause }) => {
3953
+ module2.exports = format6((einfo, { stack: stack2, cause }) => {
3954
3954
  if (einfo instanceof Error) {
3955
3955
  const info = Object.assign({}, einfo, {
3956
3956
  level: einfo.level,
@@ -4086,7 +4086,7 @@ var require_cli2 = __commonJS({
4086
4086
  var require_combine = __commonJS({
4087
4087
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/combine.js"(exports2, module2) {
4088
4088
  "use strict";
4089
- var format5 = require_format();
4089
+ var format6 = require_format();
4090
4090
  function cascade(formats) {
4091
4091
  if (!formats.every(isValidFormat)) {
4092
4092
  return;
@@ -4113,7 +4113,7 @@ var require_combine = __commonJS({
4113
4113
  return true;
4114
4114
  }
4115
4115
  module2.exports = (...formats) => {
4116
- const combinedFormat = format5(cascade(formats));
4116
+ const combinedFormat = format6(cascade(formats));
4117
4117
  const instance = combinedFormat();
4118
4118
  instance.Format = combinedFormat.Format;
4119
4119
  return instance;
@@ -4710,7 +4710,7 @@ ${originalIndentation}`;
4710
4710
  var require_json = __commonJS({
4711
4711
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/json.js"(exports2, module2) {
4712
4712
  "use strict";
4713
- var format5 = require_format();
4713
+ var format6 = require_format();
4714
4714
  var { MESSAGE } = require_triple_beam();
4715
4715
  var stringify3 = require_safe_stable_stringify();
4716
4716
  function replacer(key, value) {
@@ -4718,7 +4718,7 @@ var require_json = __commonJS({
4718
4718
  return value.toString();
4719
4719
  return value;
4720
4720
  }
4721
- module2.exports = format5((info, opts) => {
4721
+ module2.exports = format6((info, opts) => {
4722
4722
  const jsonStringify = stringify3.configure(opts);
4723
4723
  info[MESSAGE] = jsonStringify(info, opts.replacer || replacer, opts.space);
4724
4724
  return info;
@@ -4730,8 +4730,8 @@ var require_json = __commonJS({
4730
4730
  var require_label = __commonJS({
4731
4731
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/label.js"(exports2, module2) {
4732
4732
  "use strict";
4733
- var format5 = require_format();
4734
- module2.exports = format5((info, opts) => {
4733
+ var format6 = require_format();
4734
+ module2.exports = format6((info, opts) => {
4735
4735
  if (opts.message) {
4736
4736
  info.message = `[${opts.label}] ${info.message}`;
4737
4737
  return info;
@@ -4746,10 +4746,10 @@ var require_label = __commonJS({
4746
4746
  var require_logstash = __commonJS({
4747
4747
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/logstash.js"(exports2, module2) {
4748
4748
  "use strict";
4749
- var format5 = require_format();
4749
+ var format6 = require_format();
4750
4750
  var { MESSAGE } = require_triple_beam();
4751
4751
  var jsonStringify = require_safe_stable_stringify();
4752
- module2.exports = format5((info) => {
4752
+ module2.exports = format6((info) => {
4753
4753
  const logstash = {};
4754
4754
  if (info.message) {
4755
4755
  logstash["@message"] = info.message;
@@ -4770,7 +4770,7 @@ var require_logstash = __commonJS({
4770
4770
  var require_metadata = __commonJS({
4771
4771
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/metadata.js"(exports2, module2) {
4772
4772
  "use strict";
4773
- var format5 = require_format();
4773
+ var format6 = require_format();
4774
4774
  function fillExcept(info, fillExceptKeys, metadataKey) {
4775
4775
  const savedKeys = fillExceptKeys.reduce((acc, key) => {
4776
4776
  acc[key] = info[key];
@@ -4795,7 +4795,7 @@ var require_metadata = __commonJS({
4795
4795
  }, {});
4796
4796
  return info;
4797
4797
  }
4798
- module2.exports = format5((info, opts = {}) => {
4798
+ module2.exports = format6((info, opts = {}) => {
4799
4799
  let metadataKey = "metadata";
4800
4800
  if (opts.key) {
4801
4801
  metadataKey = opts.key;
@@ -4939,9 +4939,9 @@ var require_ms = __commonJS({
4939
4939
  var require_ms2 = __commonJS({
4940
4940
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/ms.js"(exports2, module2) {
4941
4941
  "use strict";
4942
- var format5 = require_format();
4942
+ var format6 = require_format();
4943
4943
  var ms = require_ms();
4944
- module2.exports = format5((info) => {
4944
+ module2.exports = format6((info) => {
4945
4945
  const curr = +/* @__PURE__ */ new Date();
4946
4946
  exports2.diff = curr - (exports2.prevTime || curr);
4947
4947
  exports2.prevTime = curr;
@@ -4956,9 +4956,9 @@ var require_pretty_print = __commonJS({
4956
4956
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/pretty-print.js"(exports2, module2) {
4957
4957
  "use strict";
4958
4958
  var inspect = __require("util").inspect;
4959
- var format5 = require_format();
4959
+ var format6 = require_format();
4960
4960
  var { LEVEL, MESSAGE, SPLAT } = require_triple_beam();
4961
- module2.exports = format5((info, opts = {}) => {
4961
+ module2.exports = format6((info, opts = {}) => {
4962
4962
  const stripped = Object.assign({}, info);
4963
4963
  delete stripped[LEVEL];
4964
4964
  delete stripped[MESSAGE];
@@ -4992,10 +4992,10 @@ var require_printf = __commonJS({
4992
4992
  var require_simple = __commonJS({
4993
4993
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/simple.js"(exports2, module2) {
4994
4994
  "use strict";
4995
- var format5 = require_format();
4995
+ var format6 = require_format();
4996
4996
  var { MESSAGE } = require_triple_beam();
4997
4997
  var jsonStringify = require_safe_stable_stringify();
4998
- module2.exports = format5((info) => {
4998
+ module2.exports = format6((info) => {
4999
4999
  const stringifiedRest = jsonStringify(Object.assign({}, info, {
5000
5000
  level: void 0,
5001
5001
  message: void 0,
@@ -5361,7 +5361,7 @@ var require_fecha_umd = __commonJS({
5361
5361
  var setGlobalDateMasks = function(masks) {
5362
5362
  return assign(globalMasks, masks);
5363
5363
  };
5364
- var format5 = function(dateObj, mask, i18n) {
5364
+ var format6 = function(dateObj, mask, i18n) {
5365
5365
  if (mask === void 0) {
5366
5366
  mask = globalMasks["default"];
5367
5367
  }
@@ -5388,14 +5388,14 @@ var require_fecha_umd = __commonJS({
5388
5388
  return literals.shift();
5389
5389
  });
5390
5390
  };
5391
- function parse12(dateStr, format6, i18n) {
5391
+ function parse12(dateStr, format7, i18n) {
5392
5392
  if (i18n === void 0) {
5393
5393
  i18n = {};
5394
5394
  }
5395
- if (typeof format6 !== "string") {
5395
+ if (typeof format7 !== "string") {
5396
5396
  throw new Error("Invalid format in fecha parse");
5397
5397
  }
5398
- format6 = globalMasks[format6] || format6;
5398
+ format7 = globalMasks[format7] || format7;
5399
5399
  if (dateStr.length > 1e3) {
5400
5400
  return null;
5401
5401
  }
@@ -5413,7 +5413,7 @@ var require_fecha_umd = __commonJS({
5413
5413
  };
5414
5414
  var parseInfo = [];
5415
5415
  var literals = [];
5416
- var newFormat = format6.replace(literal, function($0, $1) {
5416
+ var newFormat = format7.replace(literal, function($0, $1) {
5417
5417
  literals.push(regexEscape($1));
5418
5418
  return "@@@";
5419
5419
  });
@@ -5482,7 +5482,7 @@ var require_fecha_umd = __commonJS({
5482
5482
  return dateTZ;
5483
5483
  }
5484
5484
  var fecha = {
5485
- format: format5,
5485
+ format: format6,
5486
5486
  parse: parse12,
5487
5487
  defaultI18n,
5488
5488
  setGlobalDateI18n,
@@ -5490,7 +5490,7 @@ var require_fecha_umd = __commonJS({
5490
5490
  };
5491
5491
  exports3.assign = assign;
5492
5492
  exports3.default = fecha;
5493
- exports3.format = format5;
5493
+ exports3.format = format6;
5494
5494
  exports3.parse = parse12;
5495
5495
  exports3.defaultI18n = defaultI18n;
5496
5496
  exports3.setGlobalDateI18n = setGlobalDateI18n;
@@ -5505,8 +5505,8 @@ var require_timestamp = __commonJS({
5505
5505
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/timestamp.js"(exports2, module2) {
5506
5506
  "use strict";
5507
5507
  var fecha = require_fecha_umd();
5508
- var format5 = require_format();
5509
- module2.exports = format5((info, opts = {}) => {
5508
+ var format6 = require_format();
5509
+ module2.exports = format6((info, opts = {}) => {
5510
5510
  if (opts.format) {
5511
5511
  info.timestamp = typeof opts.format === "function" ? opts.format() : fecha.format(/* @__PURE__ */ new Date(), opts.format);
5512
5512
  }
@@ -5526,9 +5526,9 @@ var require_uncolorize = __commonJS({
5526
5526
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/uncolorize.js"(exports2, module2) {
5527
5527
  "use strict";
5528
5528
  var colors = require_safe();
5529
- var format5 = require_format();
5529
+ var format6 = require_format();
5530
5530
  var { MESSAGE } = require_triple_beam();
5531
- module2.exports = format5((info, opts) => {
5531
+ module2.exports = format6((info, opts) => {
5532
5532
  if (opts.level !== false) {
5533
5533
  info.level = colors.strip(info.level);
5534
5534
  }
@@ -5547,10 +5547,10 @@ var require_uncolorize = __commonJS({
5547
5547
  var require_logform = __commonJS({
5548
5548
  "../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/index.js"(exports2) {
5549
5549
  "use strict";
5550
- var format5 = exports2.format = require_format();
5550
+ var format6 = exports2.format = require_format();
5551
5551
  exports2.levels = require_levels();
5552
5552
  function exposeFormat(name, requireFormat) {
5553
- Object.defineProperty(format5, name, {
5553
+ Object.defineProperty(format6, name, {
5554
5554
  get() {
5555
5555
  return requireFormat();
5556
5556
  },
@@ -5615,17 +5615,17 @@ var require_logform = __commonJS({
5615
5615
  var require_common = __commonJS({
5616
5616
  "../../node_modules/.pnpm/winston@3.14.2/node_modules/winston/lib/winston/common.js"(exports2) {
5617
5617
  "use strict";
5618
- var { format: format5 } = __require("util");
5618
+ var { format: format6 } = __require("util");
5619
5619
  exports2.warn = {
5620
5620
  deprecated(prop2) {
5621
5621
  return () => {
5622
- throw new Error(format5("{ %s } was removed in winston@3.0.0.", prop2));
5622
+ throw new Error(format6("{ %s } was removed in winston@3.0.0.", prop2));
5623
5623
  };
5624
5624
  },
5625
5625
  useFormat(prop2) {
5626
5626
  return () => {
5627
5627
  throw new Error([
5628
- format5("{ %s } was removed in winston@3.0.0.", prop2),
5628
+ format6("{ %s } was removed in winston@3.0.0.", prop2),
5629
5629
  "Use a custom winston.format = winston.format(function) instead."
5630
5630
  ].join("\n"));
5631
5631
  };
@@ -10622,17 +10622,17 @@ var require_conversions = __commonJS({
10622
10622
  convert.gray.hsl = convert.gray.hsv = function(args2) {
10623
10623
  return [0, 0, args2[0]];
10624
10624
  };
10625
- convert.gray.hwb = function(gray) {
10626
- return [0, 100, gray[0]];
10625
+ convert.gray.hwb = function(gray2) {
10626
+ return [0, 100, gray2[0]];
10627
10627
  };
10628
- convert.gray.cmyk = function(gray) {
10629
- return [0, 0, 0, gray[0]];
10628
+ convert.gray.cmyk = function(gray2) {
10629
+ return [0, 0, 0, gray2[0]];
10630
10630
  };
10631
- convert.gray.lab = function(gray) {
10632
- return [gray[0], 0, 0];
10631
+ convert.gray.lab = function(gray2) {
10632
+ return [gray2[0], 0, 0];
10633
10633
  };
10634
- convert.gray.hex = function(gray) {
10635
- var val2 = Math.round(gray[0] / 100 * 255) & 255;
10634
+ convert.gray.hex = function(gray2) {
10635
+ var val2 = Math.round(gray2[0] / 100 * 255) & 255;
10636
10636
  var integer = (val2 << 16) + (val2 << 8) + val2;
10637
10637
  var string = integer.toString(16).toUpperCase();
10638
10638
  return "000000".substring(string.length) + string;
@@ -11215,14 +11215,14 @@ var require_kuler = __commonJS({
11215
11215
  return [parseInt(r3, 16), parseInt(g, 16), parseInt(b, 16)];
11216
11216
  };
11217
11217
  Kuler.prototype.rgb = function rgb(r3, g, b) {
11218
- var red = r3 / 255 * 5, green = g / 255 * 5, blue = b / 255 * 5;
11219
- return this.ansi(red, green, blue);
11218
+ var red2 = r3 / 255 * 5, green2 = g / 255 * 5, blue2 = b / 255 * 5;
11219
+ return this.ansi(red2, green2, blue2);
11220
11220
  };
11221
11221
  Kuler.prototype.ansi = function ansi(r3, g, b) {
11222
- var red = Math.round(r3), green = Math.round(g), blue = Math.round(b);
11223
- return 16 + red * 36 + green * 6 + blue;
11222
+ var red2 = Math.round(r3), green2 = Math.round(g), blue2 = Math.round(b);
11223
+ return 16 + red2 * 36 + green2 * 6 + blue2;
11224
11224
  };
11225
- Kuler.prototype.reset = function reset() {
11225
+ Kuler.prototype.reset = function reset2() {
11226
11226
  return this.prefix + "39;49" + this.suffix;
11227
11227
  };
11228
11228
  Kuler.prototype.style = function style(color) {
@@ -11312,10 +11312,10 @@ var require_console2 = __commonJS({
11312
11312
  var require_development = __commonJS({
11313
11313
  "../../node_modules/.pnpm/@dabh+diagnostics@2.0.3/node_modules/@dabh/diagnostics/node/development.js"(exports2, module2) {
11314
11314
  var create2 = require_diagnostics();
11315
- var tty = __require("tty").isatty(1);
11315
+ var tty2 = __require("tty").isatty(1);
11316
11316
  var diagnostics = create2(function dev(namespace2, options) {
11317
11317
  options = options || {};
11318
- options.colors = "colors" in options ? options.colors : tty;
11318
+ options.colors = "colors" in options ? options.colors : tty2;
11319
11319
  options.namespace = namespace2;
11320
11320
  options.prod = false;
11321
11321
  options.dev = true;
@@ -13201,7 +13201,7 @@ var require_logger = __commonJS({
13201
13201
  */
13202
13202
  configure({
13203
13203
  silent,
13204
- format: format5,
13204
+ format: format6,
13205
13205
  defaultMeta,
13206
13206
  levels,
13207
13207
  level = "info",
@@ -13220,7 +13220,7 @@ var require_logger = __commonJS({
13220
13220
  this.clear();
13221
13221
  }
13222
13222
  this.silent = silent;
13223
- this.format = format5 || this.format || require_json()();
13223
+ this.format = format6 || this.format || require_json()();
13224
13224
  this.defaultMeta = defaultMeta || null;
13225
13225
  this.levels = levels || this.levels || config3.npm.levels;
13226
13226
  this.level = level;
@@ -21898,17 +21898,17 @@ var require_conversions2 = __commonJS({
21898
21898
  return [0, 0, args2[0]];
21899
21899
  };
21900
21900
  convert.gray.hsv = convert.gray.hsl;
21901
- convert.gray.hwb = function(gray) {
21902
- return [0, 100, gray[0]];
21901
+ convert.gray.hwb = function(gray2) {
21902
+ return [0, 100, gray2[0]];
21903
21903
  };
21904
- convert.gray.cmyk = function(gray) {
21905
- return [0, 0, 0, gray[0]];
21904
+ convert.gray.cmyk = function(gray2) {
21905
+ return [0, 0, 0, gray2[0]];
21906
21906
  };
21907
- convert.gray.lab = function(gray) {
21908
- return [gray[0], 0, 0];
21907
+ convert.gray.lab = function(gray2) {
21908
+ return [gray2[0], 0, 0];
21909
21909
  };
21910
- convert.gray.hex = function(gray) {
21911
- const val2 = Math.round(gray[0] / 100 * 255) & 255;
21910
+ convert.gray.hex = function(gray2) {
21911
+ const val2 = Math.round(gray2[0] / 100 * 255) & 255;
21912
21912
  const integer = (val2 << 16) + (val2 << 8) + val2;
21913
21913
  const string = integer.toString(16).toUpperCase();
21914
21914
  return "000000".substring(string.length) + string;
@@ -22211,7 +22211,7 @@ var require_supports_color = __commonJS({
22211
22211
  "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports2, module2) {
22212
22212
  "use strict";
22213
22213
  var os2 = __require("os");
22214
- var tty = __require("tty");
22214
+ var tty2 = __require("tty");
22215
22215
  var hasFlag = require_has_flag2();
22216
22216
  var { env } = process;
22217
22217
  var forceColor;
@@ -22302,8 +22302,8 @@ var require_supports_color = __commonJS({
22302
22302
  }
22303
22303
  module2.exports = {
22304
22304
  supportsColor: getSupportLevel,
22305
- stdout: translateLevel(supportsColor(true, tty.isatty(1))),
22306
- stderr: translateLevel(supportsColor(true, tty.isatty(2)))
22305
+ stdout: translateLevel(supportsColor(true, tty2.isatty(1))),
22306
+ stderr: translateLevel(supportsColor(true, tty2.isatty(2)))
22307
22307
  };
22308
22308
  }
22309
22309
  });
@@ -22432,14 +22432,14 @@ var require_templates = __commonJS({
22432
22432
  const styles = [];
22433
22433
  const chunks = [];
22434
22434
  let chunk = [];
22435
- temporary.replace(TEMPLATE_REGEX, (m4, escapeCharacter, inverse, style, close, character) => {
22435
+ temporary.replace(TEMPLATE_REGEX, (m4, escapeCharacter, inverse2, style, close, character) => {
22436
22436
  if (escapeCharacter) {
22437
22437
  chunk.push(unescape3(escapeCharacter));
22438
22438
  } else if (style) {
22439
22439
  const string = chunk.join("");
22440
22440
  chunk = [];
22441
22441
  chunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string));
22442
- styles.push({ inverse, styles: parseStyle(style) });
22442
+ styles.push({ inverse: inverse2, styles: parseStyle(style) });
22443
22443
  } else if (close) {
22444
22444
  if (styles.length === 0) {
22445
22445
  throw new Error("Found extraneous } in Chalk template literal");
@@ -36450,11 +36450,11 @@ var require_picomatch = __commonJS({
36450
36450
  return { isMatch: false, output: "" };
36451
36451
  }
36452
36452
  const opts = options || {};
36453
- const format5 = opts.format || (posix3 ? utils.toPosixSlashes : null);
36453
+ const format6 = opts.format || (posix3 ? utils.toPosixSlashes : null);
36454
36454
  let match2 = input === glob2;
36455
- let output = match2 && format5 ? format5(input) : input;
36455
+ let output = match2 && format6 ? format6(input) : input;
36456
36456
  if (match2 === false) {
36457
- output = format5 ? format5(input) : input;
36457
+ output = format6 ? format6(input) : input;
36458
36458
  match2 = output === glob2;
36459
36459
  }
36460
36460
  if (match2 === false || opts.capture === true) {
@@ -47037,12 +47037,12 @@ var require_common2 = __commonJS({
47037
47037
  args2.unshift("%O");
47038
47038
  }
47039
47039
  let index2 = 0;
47040
- args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2, format5) => {
47040
+ args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2, format6) => {
47041
47041
  if (match2 === "%%") {
47042
47042
  return "%";
47043
47043
  }
47044
47044
  index2++;
47045
- const formatter = createDebug.formatters[format5];
47045
+ const formatter = createDebug.formatters[format6];
47046
47046
  if (typeof formatter === "function") {
47047
47047
  const val2 = args2[index2];
47048
47048
  match2 = formatter.call(self2, val2);
@@ -47326,7 +47326,7 @@ var require_supports_color2 = __commonJS({
47326
47326
  "../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports2, module2) {
47327
47327
  "use strict";
47328
47328
  var os2 = __require("os");
47329
- var tty = __require("tty");
47329
+ var tty2 = __require("tty");
47330
47330
  var hasFlag = require_has_flag2();
47331
47331
  var { env } = process;
47332
47332
  var flagForceColor;
@@ -47429,8 +47429,8 @@ var require_supports_color2 = __commonJS({
47429
47429
  }
47430
47430
  module2.exports = {
47431
47431
  supportsColor: getSupportLevel,
47432
- stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
47433
- stderr: getSupportLevel({ isTTY: tty.isatty(2) })
47432
+ stdout: getSupportLevel({ isTTY: tty2.isatty(1) }),
47433
+ stderr: getSupportLevel({ isTTY: tty2.isatty(2) })
47434
47434
  };
47435
47435
  }
47436
47436
  });
@@ -47438,7 +47438,7 @@ var require_supports_color2 = __commonJS({
47438
47438
  // ../../node_modules/.pnpm/debug@4.3.4_supports-color@8.1.1/node_modules/debug/src/node.js
47439
47439
  var require_node3 = __commonJS({
47440
47440
  "../../node_modules/.pnpm/debug@4.3.4_supports-color@8.1.1/node_modules/debug/src/node.js"(exports2, module2) {
47441
- var tty = __require("tty");
47441
+ var tty2 = __require("tty");
47442
47442
  var util5 = __require("util");
47443
47443
  exports2.init = init2;
47444
47444
  exports2.log = log2;
@@ -47556,7 +47556,7 @@ var require_node3 = __commonJS({
47556
47556
  return obj;
47557
47557
  }, {});
47558
47558
  function useColors() {
47559
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
47559
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
47560
47560
  }
47561
47561
  function formatArgs(args2) {
47562
47562
  const { namespace: name, useColors: useColors2 } = this;
@@ -52864,7 +52864,7 @@ var require_individual = __commonJS({
52864
52864
  var require_format2 = __commonJS({
52865
52865
  "../../node_modules/.pnpm/bole@5.0.19/node_modules/bole/format.js"(exports2, module2) {
52866
52866
  var utilformat = __require("util").format;
52867
- function format5(a1, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {
52867
+ function format6(a1, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {
52868
52868
  if (a16 !== void 0) {
52869
52869
  return utilformat(a1, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);
52870
52870
  }
@@ -52912,7 +52912,7 @@ var require_format2 = __commonJS({
52912
52912
  }
52913
52913
  return a1;
52914
52914
  }
52915
- module2.exports = format5;
52915
+ module2.exports = format6;
52916
52916
  }
52917
52917
  });
52918
52918
 
@@ -52922,7 +52922,7 @@ var require_bole = __commonJS({
52922
52922
  "use strict";
52923
52923
  var _stringify = require_fast_safe_stringify();
52924
52924
  var individual = require_individual()("$$bole", { fastTime: false });
52925
- var format5 = require_format2();
52925
+ var format6 = require_format2();
52926
52926
  var levels = "debug info warn error".split(" ");
52927
52927
  var os2 = __require("os");
52928
52928
  var pid = process.pid;
@@ -53017,7 +53017,7 @@ var require_bole = __commonJS({
53017
53017
  let stringified;
53018
53018
  let message2;
53019
53019
  if (typeof inp === "string" || inp == null) {
53020
- if (!(message2 = format5(inp, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53020
+ if (!(message2 = format6(inp, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53021
53021
  message2 = void 0;
53022
53022
  }
53023
53023
  } else {
@@ -53025,17 +53025,17 @@ var require_bole = __commonJS({
53025
53025
  if (typeof a22 === "object") {
53026
53026
  objectToOut(a22, out);
53027
53027
  errorToOut(inp, out);
53028
- if (!(message2 = format5(a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53028
+ if (!(message2 = format6(a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53029
53029
  message2 = void 0;
53030
53030
  }
53031
53031
  } else {
53032
53032
  errorToOut(inp, out);
53033
- if (!(message2 = format5(a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53033
+ if (!(message2 = format6(a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53034
53034
  message2 = void 0;
53035
53035
  }
53036
53036
  }
53037
53037
  } else {
53038
- if (!(message2 = format5(a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53038
+ if (!(message2 = format6(a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
53039
53039
  message2 = void 0;
53040
53040
  }
53041
53041
  }
@@ -53100,7 +53100,7 @@ var require_bole = __commonJS({
53100
53100
  }
53101
53101
  return bole;
53102
53102
  };
53103
- bole.reset = function reset() {
53103
+ bole.reset = function reset2() {
53104
53104
  for (const level of levels) {
53105
53105
  individual[level].splice(0, individual[level].length);
53106
53106
  }
@@ -57971,12 +57971,12 @@ var require_common4 = __commonJS({
57971
57971
  args2.unshift("%O");
57972
57972
  }
57973
57973
  let index2 = 0;
57974
- args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2, format5) => {
57974
+ args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2, format6) => {
57975
57975
  if (match2 === "%%") {
57976
57976
  return "%";
57977
57977
  }
57978
57978
  index2++;
57979
- const formatter = createDebug.formatters[format5];
57979
+ const formatter = createDebug.formatters[format6];
57980
57980
  if (typeof formatter === "function") {
57981
57981
  const val2 = args2[index2];
57982
57982
  match2 = formatter.call(self2, val2);
@@ -58273,7 +58273,7 @@ var require_browser2 = __commonJS({
58273
58273
  // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
58274
58274
  var require_node4 = __commonJS({
58275
58275
  "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports2, module2) {
58276
- var tty = __require("tty");
58276
+ var tty2 = __require("tty");
58277
58277
  var util5 = __require("util");
58278
58278
  exports2.init = init2;
58279
58279
  exports2.log = log2;
@@ -58391,7 +58391,7 @@ var require_node4 = __commonJS({
58391
58391
  return obj;
58392
58392
  }, {});
58393
58393
  function useColors() {
58394
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
58394
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
58395
58395
  }
58396
58396
  function formatArgs(args2) {
58397
58397
  const { namespace: name, useColors: useColors2 } = this;
@@ -58716,8 +58716,8 @@ var require_depd = __commonJS({
58716
58716
  process.emit("deprecation", err);
58717
58717
  return;
58718
58718
  }
58719
- var format5 = process.stderr.isTTY ? formatColor : formatPlain;
58720
- var output = format5.call(this, msg, caller, stack2.slice(i7));
58719
+ var format6 = process.stderr.isTTY ? formatColor : formatPlain;
58720
+ var output = format6.call(this, msg, caller, stack2.slice(i7));
58721
58721
  process.stderr.write(output + "\n", "utf8");
58722
58722
  }
58723
58723
  function callSiteLocation(callSite) {
@@ -69017,14 +69017,14 @@ var require_bool2 = __commonJS({
69017
69017
  var require_stringifyNumber = __commonJS({
69018
69018
  "../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports2) {
69019
69019
  "use strict";
69020
- function stringifyNumber({ format: format5, minFractionDigits, tag, value }) {
69020
+ function stringifyNumber({ format: format6, minFractionDigits, tag, value }) {
69021
69021
  if (typeof value === "bigint")
69022
69022
  return String(value);
69023
69023
  const num = typeof value === "number" ? value : Number(value);
69024
69024
  if (!isFinite(num))
69025
69025
  return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
69026
69026
  let n2 = JSON.stringify(value);
69027
- if (!format5 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n2)) {
69027
+ if (!format6 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n2)) {
69028
69028
  let i7 = n2.indexOf(".");
69029
69029
  if (i7 < 0) {
69030
69030
  i7 = n2.length;
@@ -84189,15 +84189,15 @@ var require_lockfile = __commonJS({
84189
84189
  function(module3, exports3, __webpack_require__) {
84190
84190
  "use strict";
84191
84191
  var NODE_ENV = process.env.NODE_ENV;
84192
- var invariant = function(condition, format5, a5, b, c4, d4, e, f5) {
84192
+ var invariant = function(condition, format6, a5, b, c4, d4, e, f5) {
84193
84193
  if (NODE_ENV !== "production") {
84194
- if (format5 === void 0) {
84194
+ if (format6 === void 0) {
84195
84195
  throw new Error("invariant requires an error message argument");
84196
84196
  }
84197
84197
  }
84198
84198
  if (!condition) {
84199
84199
  var error;
84200
- if (format5 === void 0) {
84200
+ if (format6 === void 0) {
84201
84201
  error = new Error(
84202
84202
  "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."
84203
84203
  );
@@ -84205,7 +84205,7 @@ var require_lockfile = __commonJS({
84205
84205
  var args2 = [a5, b, c4, d4, e, f5];
84206
84206
  var argIndex = 0;
84207
84207
  error = new Error(
84208
- format5.replace(/%s/g, function() {
84208
+ format6.replace(/%s/g, function() {
84209
84209
  return args2[argIndex++];
84210
84210
  })
84211
84211
  );
@@ -87417,10 +87417,10 @@ var require_lockfile = __commonJS({
87417
87417
  args2.unshift("%O");
87418
87418
  }
87419
87419
  var index2 = 0;
87420
- args2[0] = args2[0].replace(/%([a-zA-Z%])/g, function(match2, format5) {
87420
+ args2[0] = args2[0].replace(/%([a-zA-Z%])/g, function(match2, format6) {
87421
87421
  if (match2 === "%%") return match2;
87422
87422
  index2++;
87423
- var formatter = exports3.formatters[format5];
87423
+ var formatter = exports3.formatters[format6];
87424
87424
  if ("function" === typeof formatter) {
87425
87425
  var val2 = args2[index2];
87426
87426
  match2 = formatter.call(self2, val2);
@@ -89510,7 +89510,7 @@ ${indent2}`);
89510
89510
  /* 213 */
89511
89511
  /***/
89512
89512
  function(module3, exports3, __webpack_require__) {
89513
- var tty = __webpack_require__(79);
89513
+ var tty2 = __webpack_require__(79);
89514
89514
  var util5 = __webpack_require__(2);
89515
89515
  exports3 = module3.exports = __webpack_require__(112);
89516
89516
  exports3.init = init2;
@@ -89619,7 +89619,7 @@ ${indent2}`);
89619
89619
  return obj;
89620
89620
  }, {});
89621
89621
  function useColors() {
89622
- return "colors" in exports3.inspectOpts ? Boolean(exports3.inspectOpts.colors) : tty.isatty(process.stderr.fd);
89622
+ return "colors" in exports3.inspectOpts ? Boolean(exports3.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
89623
89623
  }
89624
89624
  exports3.formatters.o = function(v) {
89625
89625
  this.inspectOpts.colors = this.useColors;
@@ -91283,7 +91283,7 @@ var require_fill_range = __commonJS({
91283
91283
  let padded = zeros(startString) || zeros(endString) || zeros(stepString);
91284
91284
  let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
91285
91285
  let toNumber = padded === false && stringify3(start, end2, options) === false;
91286
- let format5 = options.transform || transform3(toNumber);
91286
+ let format6 = options.transform || transform3(toNumber);
91287
91287
  if (options.toRegex && step === 1) {
91288
91288
  return toRange(toMaxLen(start, maxLen), toMaxLen(end2, maxLen), true, options);
91289
91289
  }
@@ -91295,7 +91295,7 @@ var require_fill_range = __commonJS({
91295
91295
  if (options.toRegex === true && step > 1) {
91296
91296
  push(a5);
91297
91297
  } else {
91298
- range.push(pad(format5(a5, index2), maxLen, toNumber));
91298
+ range.push(pad(format6(a5, index2), maxLen, toNumber));
91299
91299
  }
91300
91300
  a5 = descending ? a5 - step : a5 + step;
91301
91301
  index2++;
@@ -91309,7 +91309,7 @@ var require_fill_range = __commonJS({
91309
91309
  if (!isNumber4(start) && start.length > 1 || !isNumber4(end2) && end2.length > 1) {
91310
91310
  return invalidRange(start, end2, options);
91311
91311
  }
91312
- let format5 = options.transform || ((val2) => String.fromCharCode(val2));
91312
+ let format6 = options.transform || ((val2) => String.fromCharCode(val2));
91313
91313
  let a5 = `${start}`.charCodeAt(0);
91314
91314
  let b = `${end2}`.charCodeAt(0);
91315
91315
  let descending = a5 > b;
@@ -91321,7 +91321,7 @@ var require_fill_range = __commonJS({
91321
91321
  let range = [];
91322
91322
  let index2 = 0;
91323
91323
  while (descending ? a5 >= b : a5 <= b) {
91324
- range.push(format5(a5, index2));
91324
+ range.push(format6(a5, index2));
91325
91325
  a5 = descending ? a5 - step : a5 + step;
91326
91326
  index2++;
91327
91327
  }
@@ -93340,11 +93340,11 @@ var require_picomatch3 = __commonJS({
93340
93340
  return { isMatch: false, output: "" };
93341
93341
  }
93342
93342
  const opts = options || {};
93343
- const format5 = opts.format || (posix3 ? utils.toPosixSlashes : null);
93343
+ const format6 = opts.format || (posix3 ? utils.toPosixSlashes : null);
93344
93344
  let match2 = input === glob2;
93345
- let output = match2 && format5 ? format5(input) : input;
93345
+ let output = match2 && format6 ? format6(input) : input;
93346
93346
  if (match2 === false) {
93347
- output = format5 ? format5(input) : input;
93347
+ output = format6 ? format6(input) : input;
93348
93348
  match2 = output === glob2;
93349
93349
  }
93350
93350
  if (match2 === false || opts.capture === true) {
@@ -99526,7 +99526,7 @@ var require_request = __commonJS({
99526
99526
  upgrade,
99527
99527
  headersTimeout,
99528
99528
  bodyTimeout,
99529
- reset,
99529
+ reset: reset2,
99530
99530
  throwOnError,
99531
99531
  expectContinue
99532
99532
  }, handler) {
@@ -99551,7 +99551,7 @@ var require_request = __commonJS({
99551
99551
  if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {
99552
99552
  throw new InvalidArgumentError2("invalid bodyTimeout");
99553
99553
  }
99554
- if (reset != null && typeof reset !== "boolean") {
99554
+ if (reset2 != null && typeof reset2 !== "boolean") {
99555
99555
  throw new InvalidArgumentError2("invalid reset");
99556
99556
  }
99557
99557
  if (expectContinue != null && typeof expectContinue !== "boolean") {
@@ -99601,7 +99601,7 @@ var require_request = __commonJS({
99601
99601
  this.origin = origin2;
99602
99602
  this.idempotent = idempotent == null ? method === "HEAD" || method === "GET" : idempotent;
99603
99603
  this.blocking = blocking == null ? false : blocking;
99604
- this.reset = reset == null ? null : reset;
99604
+ this.reset = reset2 == null ? null : reset2;
99605
99605
  this.host = null;
99606
99606
  this.contentLength = null;
99607
99607
  this.contentType = null;
@@ -101847,7 +101847,7 @@ var require_client = __commonJS({
101847
101847
  writeH2(client, client[kHTTP2Session], request);
101848
101848
  return;
101849
101849
  }
101850
- const { body, method, path: path2, host, upgrade, headers, blocking, reset } = request;
101850
+ const { body, method, path: path2, host, upgrade, headers, blocking, reset: reset2 } = request;
101851
101851
  const expectsPayload = method === "PUT" || method === "POST" || method === "PATCH";
101852
101852
  if (body && typeof body.read === "function") {
101853
101853
  body.read(0);
@@ -101888,8 +101888,8 @@ var require_client = __commonJS({
101888
101888
  if (upgrade || method === "CONNECT") {
101889
101889
  socket[kReset] = true;
101890
101890
  }
101891
- if (reset != null) {
101892
- socket[kReset] = reset;
101891
+ if (reset2 != null) {
101892
+ socket[kReset] = reset2;
101893
101893
  }
101894
101894
  if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {
101895
101895
  socket[kReset] = true;
@@ -118826,7 +118826,7 @@ var require_request3 = __commonJS({
118826
118826
  upgrade,
118827
118827
  headersTimeout,
118828
118828
  bodyTimeout,
118829
- reset,
118829
+ reset: reset2,
118830
118830
  throwOnError,
118831
118831
  expectContinue,
118832
118832
  servername
@@ -118852,7 +118852,7 @@ var require_request3 = __commonJS({
118852
118852
  if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {
118853
118853
  throw new InvalidArgumentError2("invalid bodyTimeout");
118854
118854
  }
118855
- if (reset != null && typeof reset !== "boolean") {
118855
+ if (reset2 != null && typeof reset2 !== "boolean") {
118856
118856
  throw new InvalidArgumentError2("invalid reset");
118857
118857
  }
118858
118858
  if (expectContinue != null && typeof expectContinue !== "boolean") {
@@ -118902,7 +118902,7 @@ var require_request3 = __commonJS({
118902
118902
  this.origin = origin2;
118903
118903
  this.idempotent = idempotent == null ? method === "HEAD" || method === "GET" : idempotent;
118904
118904
  this.blocking = blocking == null ? false : blocking;
118905
- this.reset = reset == null ? null : reset;
118905
+ this.reset = reset2 == null ? null : reset2;
118906
118906
  this.host = null;
118907
118907
  this.contentLength = null;
118908
118908
  this.contentType = null;
@@ -123413,7 +123413,7 @@ var require_client_h1 = __commonJS({
123413
123413
  return method !== "GET" && method !== "HEAD" && method !== "OPTIONS" && method !== "TRACE" && method !== "CONNECT";
123414
123414
  }
123415
123415
  function writeH1(client, request) {
123416
- const { method, path: path2, host, upgrade, blocking, reset } = request;
123416
+ const { method, path: path2, host, upgrade, blocking, reset: reset2 } = request;
123417
123417
  let { body, headers, contentLength } = request;
123418
123418
  const expectsPayload = method === "PUT" || method === "POST" || method === "PATCH" || method === "QUERY" || method === "PROPFIND" || method === "PROPPATCH";
123419
123419
  if (util5.isFormDataLike(body)) {
@@ -123470,8 +123470,8 @@ var require_client_h1 = __commonJS({
123470
123470
  if (upgrade || method === "CONNECT") {
123471
123471
  socket[kReset] = true;
123472
123472
  }
123473
- if (reset != null) {
123474
- socket[kReset] = reset;
123473
+ if (reset2 != null) {
123474
+ socket[kReset] = reset2;
123475
123475
  }
123476
123476
  if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {
123477
123477
  socket[kReset] = true;
@@ -136147,7 +136147,7 @@ var require_dist_node2 = __commonJS({
136147
136147
  if (!isBinaryRequest) {
136148
136148
  if (options.mediaType.format) {
136149
136149
  headers.accept = headers.accept.split(/,/).map(
136150
- (format5) => format5.replace(
136150
+ (format6) => format6.replace(
136151
136151
  /application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,
136152
136152
  `application/vnd$1$2.${options.mediaType.format}`
136153
136153
  )
@@ -136157,8 +136157,8 @@ var require_dist_node2 = __commonJS({
136157
136157
  if (options.mediaType.previews?.length) {
136158
136158
  const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
136159
136159
  headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
136160
- const format5 = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
136161
- return `application/vnd.github.${preview}-preview${format5}`;
136160
+ const format6 = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
136161
+ return `application/vnd.github.${preview}-preview${format6}`;
136162
136162
  }).join(",");
136163
136163
  }
136164
136164
  }
@@ -142525,14 +142525,14 @@ var require_bool5 = __commonJS({
142525
142525
  var require_stringifyNumber2 = __commonJS({
142526
142526
  "../../node_modules/.pnpm/yaml@2.2.2/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports2) {
142527
142527
  "use strict";
142528
- function stringifyNumber({ format: format5, minFractionDigits, tag, value }) {
142528
+ function stringifyNumber({ format: format6, minFractionDigits, tag, value }) {
142529
142529
  if (typeof value === "bigint")
142530
142530
  return String(value);
142531
142531
  const num = typeof value === "number" ? value : Number(value);
142532
142532
  if (!isFinite(num))
142533
142533
  return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
142534
142534
  let n2 = JSON.stringify(value);
142535
- if (!format5 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n2)) {
142535
+ if (!format6 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n2)) {
142536
142536
  let i7 = n2.indexOf(".");
142537
142537
  if (i7 < 0) {
142538
142538
  i7 = n2.length;
@@ -185677,7 +185677,7 @@ var require_axios = __commonJS({
185677
185677
  }
185678
185678
  return deleted;
185679
185679
  }
185680
- normalize(format5) {
185680
+ normalize(format6) {
185681
185681
  const self2 = this;
185682
185682
  const headers = {};
185683
185683
  utils$1.forEach(this, (value, header) => {
@@ -185687,7 +185687,7 @@ var require_axios = __commonJS({
185687
185687
  delete self2[header];
185688
185688
  return;
185689
185689
  }
185690
- const normalized = format5 ? formatHeader2(header) : String(header).trim();
185690
+ const normalized = format6 ? formatHeader2(header) : String(header).trim();
185691
185691
  if (normalized !== header) {
185692
185692
  delete self2[header];
185693
185693
  }
@@ -192435,11 +192435,11 @@ var NuGetRange = class _NuGetRange {
192435
192435
  result += version3.toString();
192436
192436
  return result;
192437
192437
  }
192438
- toStringFormat(format5) {
192439
- if (format5 === "N") {
192438
+ toStringFormat(format6) {
192439
+ if (format6 === "N") {
192440
192440
  return this.getNormalizedString();
192441
192441
  }
192442
- if (format5 === "S" || format5 === "A") {
192442
+ if (format6 === "S" || format6 === "A") {
192443
192443
  if (this.minVersion && this.includeMinVersion && !this.maxVersion) {
192444
192444
  if (this.isFloating) {
192445
192445
  return this.minVersion.toString();
@@ -195990,7 +195990,7 @@ var AxiosHeaders = class {
195990
195990
  }
195991
195991
  return deleted;
195992
195992
  }
195993
- normalize(format5) {
195993
+ normalize(format6) {
195994
195994
  const self2 = this;
195995
195995
  const headers = {};
195996
195996
  utils_default.forEach(this, (value, header) => {
@@ -196000,7 +196000,7 @@ var AxiosHeaders = class {
196000
196000
  delete self2[header];
196001
196001
  return;
196002
196002
  }
196003
- const normalized = format5 ? formatHeader(header) : String(header).trim();
196003
+ const normalized = format6 ? formatHeader(header) : String(header).trim();
196004
196004
  if (normalized !== header) {
196005
196005
  delete self2[header];
196006
196006
  }
@@ -211683,6 +211683,76 @@ function init(open, close) {
211683
211683
  }
211684
211684
  var kleur_default = $;
211685
211685
 
211686
+ // ../../node_modules/.pnpm/yoctocolors@2.1.2/node_modules/yoctocolors/base.js
211687
+ import tty from "node:tty";
211688
+ var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
211689
+ var format5 = (open, close) => {
211690
+ if (!hasColors) {
211691
+ return (input) => input;
211692
+ }
211693
+ const openCode = `\x1B[${open}m`;
211694
+ const closeCode = `\x1B[${close}m`;
211695
+ return (input) => {
211696
+ const string = input + "";
211697
+ let index2 = string.indexOf(closeCode);
211698
+ if (index2 === -1) {
211699
+ return openCode + string + closeCode;
211700
+ }
211701
+ let result = openCode;
211702
+ let lastIndex = 0;
211703
+ const reopenOnNestedClose = close === 22;
211704
+ const replaceCode = (reopenOnNestedClose ? closeCode : "") + openCode;
211705
+ while (index2 !== -1) {
211706
+ result += string.slice(lastIndex, index2) + replaceCode;
211707
+ lastIndex = index2 + closeCode.length;
211708
+ index2 = string.indexOf(closeCode, lastIndex);
211709
+ }
211710
+ result += string.slice(lastIndex) + closeCode;
211711
+ return result;
211712
+ };
211713
+ };
211714
+ var reset = format5(0, 0);
211715
+ var bold = format5(1, 22);
211716
+ var dim = format5(2, 22);
211717
+ var italic = format5(3, 23);
211718
+ var underline = format5(4, 24);
211719
+ var overline = format5(53, 55);
211720
+ var inverse = format5(7, 27);
211721
+ var hidden = format5(8, 28);
211722
+ var strikethrough = format5(9, 29);
211723
+ var black = format5(30, 39);
211724
+ var red = format5(31, 39);
211725
+ var green = format5(32, 39);
211726
+ var yellow = format5(33, 39);
211727
+ var blue = format5(34, 39);
211728
+ var magenta = format5(35, 39);
211729
+ var cyan = format5(36, 39);
211730
+ var white = format5(37, 39);
211731
+ var gray = format5(90, 39);
211732
+ var bgBlack = format5(40, 49);
211733
+ var bgRed = format5(41, 49);
211734
+ var bgGreen = format5(42, 49);
211735
+ var bgYellow = format5(43, 49);
211736
+ var bgBlue = format5(44, 49);
211737
+ var bgMagenta = format5(45, 49);
211738
+ var bgCyan = format5(46, 49);
211739
+ var bgWhite = format5(47, 49);
211740
+ var bgGray = format5(100, 49);
211741
+ var redBright = format5(91, 39);
211742
+ var greenBright = format5(92, 39);
211743
+ var yellowBright = format5(93, 39);
211744
+ var blueBright = format5(94, 39);
211745
+ var magentaBright = format5(95, 39);
211746
+ var cyanBright = format5(96, 39);
211747
+ var whiteBright = format5(97, 39);
211748
+ var bgRedBright = format5(101, 49);
211749
+ var bgGreenBright = format5(102, 49);
211750
+ var bgYellowBright = format5(103, 49);
211751
+ var bgBlueBright = format5(104, 49);
211752
+ var bgMagentaBright = format5(105, 49);
211753
+ var bgCyanBright = format5(106, 49);
211754
+ var bgWhiteBright = format5(107, 49);
211755
+
211686
211756
  // dist/cli-core.js
211687
211757
  var import_lodash15 = __toESM(require_lodash(), 1);
211688
211758
  import os from "os";
@@ -212264,6 +212334,7 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212264
212334
  }
212265
212335
  const artifactMap = new Map(artifacts.map((a5) => [a5.id, a5]));
212266
212336
  const ecosystemToWorkspaceToAnalysisData = {};
212337
+ const ecosystemWorkspaceVulnIds = /* @__PURE__ */ new Set();
212267
212338
  const ecosystemToWorkspaceToVulnerabilities = {};
212268
212339
  const purlsFailedToFindWorkspace = /* @__PURE__ */ new Set();
212269
212340
  for (const artifact of artifacts) {
@@ -212319,23 +212390,16 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212319
212390
  purlsFailedToFindWorkspace.add(purl);
212320
212391
  }
212321
212392
  for (const [workspace, manifestFiles2] of Object.entries(workspaceToManifestFiles)) {
212322
- if (!ecosystemToWorkspaceToAnalysisData[ecosystem]) {
212323
- ecosystemToWorkspaceToAnalysisData[ecosystem] = {};
212324
- }
212325
- if (!ecosystemToWorkspaceToAnalysisData[ecosystem][workspace]) {
212326
- ecosystemToWorkspaceToAnalysisData[ecosystem][workspace] = {
212327
- type: "socket",
212328
- data: {
212329
- type: ecosystem,
212330
- manifestFiles: manifestFiles2,
212331
- artifacts: []
212332
- }
212333
- };
212334
- }
212335
- const workspaceData = ecosystemToWorkspaceToAnalysisData[ecosystem][workspace];
212336
- if (workspaceData.type === "socket") {
212337
- workspaceData.data.artifacts.push(artifact);
212338
- }
212393
+ const workspaceData = (ecosystemToWorkspaceToAnalysisData[ecosystem] ??= {})[workspace] ??= {
212394
+ type: "socket",
212395
+ data: {
212396
+ type: ecosystem,
212397
+ manifestFiles: manifestFiles2,
212398
+ artifacts: []
212399
+ }
212400
+ };
212401
+ workspaceData.type;
212402
+ workspaceData.data.artifacts.push(artifact);
212339
212403
  }
212340
212404
  if (artifact.vulnerabilities && artifact.vulnerabilities.length > 0) {
212341
212405
  for (const workspace of Object.keys(workspaceToManifestFiles)) {
@@ -212351,7 +212415,11 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212351
212415
  ecosystem,
212352
212416
  artifactId: artifact.id
212353
212417
  };
212354
- ((ecosystemToWorkspaceToVulnerabilities[ecosystem] ??= {})[workspace] ??= []).push(vulnerability);
212418
+ const vulnId = `${ecosystem}-${workspace}-${vulnerability.url}`;
212419
+ if (!ecosystemWorkspaceVulnIds.has(vulnId)) {
212420
+ ecosystemWorkspaceVulnIds.add(vulnId);
212421
+ ((ecosystemToWorkspaceToVulnerabilities[ecosystem] ??= {})[workspace] ??= []).push(vulnerability);
212422
+ }
212355
212423
  }
212356
212424
  }
212357
212425
  }
@@ -212371,10 +212439,7 @@ ${mode === "reachability" ? "This means that we will not do a full reachability
212371
212439
  }
212372
212440
  }
212373
212441
  function computeVulnChainDetails2(artifacts, vulnerableArtifactId) {
212374
- const artifactMap = /* @__PURE__ */ new Map();
212375
- for (const artifact of artifacts) {
212376
- artifactMap.set(artifact.id, artifact);
212377
- }
212442
+ const artifactMap = new Map(artifacts.map((a5) => [a5.id, a5]));
212378
212443
  const parentsMap = /* @__PURE__ */ new Map();
212379
212444
  for (const artifact of artifacts) {
212380
212445
  if (artifact.dependencies) {
@@ -212411,10 +212476,8 @@ function computeVulnChainDetails2(artifacts, vulnerableArtifactId) {
212411
212476
  if (currentId === vulnerableArtifactId) {
212412
212477
  newCurrentNode.vulnerable = true;
212413
212478
  }
212414
- if (currentArtifact.direct) {
212415
- if (!res.children.includes(currentId)) {
212416
- res.children.push(currentId);
212417
- }
212479
+ if (currentArtifact.direct && !res.children.includes(currentId)) {
212480
+ res.children.push(currentId);
212418
212481
  }
212419
212482
  visited.add(currentId);
212420
212483
  if (parents4) {
@@ -227488,7 +227551,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
227488
227551
  }
227489
227552
 
227490
227553
  // dist/version.js
227491
- var version2 = "14.12.38";
227554
+ var version2 = "14.12.39";
227492
227555
 
227493
227556
  // dist/cli-core.js
227494
227557
  var { mapValues, omit, partition, pick } = import_lodash15.default;
@@ -227656,8 +227719,19 @@ var CliCore = class {
227656
227719
  if (subProjects.length > 0) {
227657
227720
  this.dashboardAPI.registerSubprojects(subProjects, this.reportId, this.apiKey);
227658
227721
  }
227722
+ const totalWorkspaces = Object.values(ecosystemToWorkspaceToAnalysisData).reduce((total, workspaces) => total + Object.keys(workspaces).length, 0);
227723
+ const totalEcosystemsCount = Object.keys(ecosystemToWorkspaceToAnalysisData).length;
227724
+ logger.info(bold(`Found ${totalWorkspaces} project${totalWorkspaces === 1 ? "" : "s"} across ${totalEcosystemsCount} ecosystem${totalEcosystemsCount === 1 ? "" : "s"} to analyze:`));
227725
+ Object.entries(ecosystemToWorkspaceToAnalysisData).forEach(([ecosystem, workspaceToAnalysisData]) => {
227726
+ const workspaces = Object.keys(workspaceToAnalysisData);
227727
+ logger.info(bold(` ${ecosystem} (${workspaces.length}):`));
227728
+ workspaces.forEach((workspace) => logger.info(bold(` ${workspace}`)));
227729
+ });
227659
227730
  const vulnsWithResults = [];
227660
- for (const [ecosystem, workspaceToAnalysisData] of Object.entries(ecosystemToWorkspaceToAnalysisData)) {
227731
+ const allEcosystems = Object.entries(ecosystemToWorkspaceToAnalysisData);
227732
+ const totalEcosystems = allEcosystems.length;
227733
+ let currentOverallWorkspace = 0;
227734
+ for (const [ecosystemIndex, [ecosystem, workspaceToAnalysisData]] of allEcosystems.entries()) {
227661
227735
  this.sendProgress("RUN_ON_SUBPROJECT", true, this.rootWorkingDirectory);
227662
227736
  const isEcosystemToAnalyze = !this.options.purlTypes || this.options.purlTypes.some((purlType) => getAdvisoryEcosystemFromPurlType(purlType) === ecosystem);
227663
227737
  if (!isEcosystemToAnalyze) {
@@ -227671,7 +227745,11 @@ var CliCore = class {
227671
227745
  otherModulesCommunicator,
227672
227746
  this.rootWorkingDirectory,
227673
227747
  ecosystem,
227674
- ["NPM", "PIP", "GO", "MAVEN", "NUGET", "RUST"].includes(ecosystem) && isEcosystemToAnalyze
227748
+ ["NPM", "PIP", "GO", "MAVEN", "NUGET", "RUST"].includes(ecosystem) && isEcosystemToAnalyze,
227749
+ (workspaceName, workspaceNumber, totalWorkspacesForCurrentEcosystem) => {
227750
+ currentOverallWorkspace++;
227751
+ logger.info(bold(`Analyzing ecosystem ${ecosystem} for project ${workspaceName} (${workspaceNumber}/${totalWorkspacesForCurrentEcosystem}) - Overall progress: Project ${currentOverallWorkspace}/${totalWorkspaces}, ecosystem ${ecosystemIndex + 1}/${totalEcosystems}`));
227752
+ }
227675
227753
  )).flat());
227676
227754
  this.sendProgress("RUN_ON_SUBPROJECT", false, this.rootWorkingDirectory);
227677
227755
  }
@@ -227915,8 +227993,11 @@ Subproject: ${subproject}`);
227915
227993
  this.sendProgress("RUN_ON_SUBPROJECT", false, subProjAndWsPath.subprojectPath);
227916
227994
  }
227917
227995
  }
227918
- async runReachabilityAnalysisForWorkspaces(workspacePathToDataForAnalysis, workspaceToVulnerabilities, workspaceToDirectDependencies, otherModulesCommunicator, subprojectPath, ecosystem, reachabilitySupported) {
227919
- const workspaceToAugmentedVulnerabilities = Object.fromEntries(await asyncMap(Object.keys(workspacePathToDataForAnalysis), async (workspacePath) => {
227996
+ async runReachabilityAnalysisForWorkspaces(workspacePathToDataForAnalysis, workspaceToVulnerabilities, workspaceToDirectDependencies, otherModulesCommunicator, subprojectPath, ecosystem, reachabilitySupported, analysisStarting) {
227997
+ const workspaces = Object.keys(workspacePathToDataForAnalysis);
227998
+ const totalWorkspaces = workspaces.length;
227999
+ const workspaceToAugmentedVulnerabilities = Object.fromEntries(await asyncMap(workspaces, async (workspacePath, index2) => {
228000
+ analysisStarting?.(workspacePath, index2 + 1, totalWorkspaces);
227920
228001
  const vulnerabilities = workspaceToVulnerabilities[workspacePath] ?? [];
227921
228002
  try {
227922
228003
  const dataForAnalysis = workspacePathToDataForAnalysis[workspacePath];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.12.38",
3
+ "version": "14.12.39",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {