@coana-tech/cli 14.12.37 → 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;
@@ -4287,7 +4287,7 @@ var require_safe_stable_stringify = __commonJS({
4287
4287
  return circularValue;
4288
4288
  }
4289
4289
  let res = "";
4290
- let join30 = ",";
4290
+ let join29 = ",";
4291
4291
  const originalIndentation = indentation;
4292
4292
  if (Array.isArray(value)) {
4293
4293
  if (value.length === 0) {
@@ -4301,7 +4301,7 @@ var require_safe_stable_stringify = __commonJS({
4301
4301
  indentation += spacer;
4302
4302
  res += `
4303
4303
  ${indentation}`;
4304
- join30 = `,
4304
+ join29 = `,
4305
4305
  ${indentation}`;
4306
4306
  }
4307
4307
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
@@ -4309,13 +4309,13 @@ ${indentation}`;
4309
4309
  for (; i7 < maximumValuesToStringify - 1; i7++) {
4310
4310
  const tmp2 = stringifyFnReplacer(String(i7), value, stack2, replacer, spacer, indentation);
4311
4311
  res += tmp2 !== void 0 ? tmp2 : "null";
4312
- res += join30;
4312
+ res += join29;
4313
4313
  }
4314
4314
  const tmp = stringifyFnReplacer(String(i7), value, stack2, replacer, spacer, indentation);
4315
4315
  res += tmp !== void 0 ? tmp : "null";
4316
4316
  if (value.length - 1 > maximumBreadth) {
4317
4317
  const removedKeys = value.length - maximumBreadth - 1;
4318
- res += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
4318
+ res += `${join29}"... ${getItemCount(removedKeys)} not stringified"`;
4319
4319
  }
4320
4320
  if (spacer !== "") {
4321
4321
  res += `
@@ -4336,7 +4336,7 @@ ${originalIndentation}`;
4336
4336
  let separator = "";
4337
4337
  if (spacer !== "") {
4338
4338
  indentation += spacer;
4339
- join30 = `,
4339
+ join29 = `,
4340
4340
  ${indentation}`;
4341
4341
  whitespace2 = " ";
4342
4342
  }
@@ -4350,13 +4350,13 @@ ${indentation}`;
4350
4350
  const tmp = stringifyFnReplacer(key2, value, stack2, replacer, spacer, indentation);
4351
4351
  if (tmp !== void 0) {
4352
4352
  res += `${separator}${strEscape(key2)}:${whitespace2}${tmp}`;
4353
- separator = join30;
4353
+ separator = join29;
4354
4354
  }
4355
4355
  }
4356
4356
  if (keyLength > maximumBreadth) {
4357
4357
  const removedKeys = keyLength - maximumBreadth;
4358
4358
  res += `${separator}"...":${whitespace2}"${getItemCount(removedKeys)} not stringified"`;
4359
- separator = join30;
4359
+ separator = join29;
4360
4360
  }
4361
4361
  if (spacer !== "" && separator.length > 1) {
4362
4362
  res = `
@@ -4397,7 +4397,7 @@ ${originalIndentation}`;
4397
4397
  }
4398
4398
  const originalIndentation = indentation;
4399
4399
  let res = "";
4400
- let join30 = ",";
4400
+ let join29 = ",";
4401
4401
  if (Array.isArray(value)) {
4402
4402
  if (value.length === 0) {
4403
4403
  return "[]";
@@ -4410,7 +4410,7 @@ ${originalIndentation}`;
4410
4410
  indentation += spacer;
4411
4411
  res += `
4412
4412
  ${indentation}`;
4413
- join30 = `,
4413
+ join29 = `,
4414
4414
  ${indentation}`;
4415
4415
  }
4416
4416
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
@@ -4418,13 +4418,13 @@ ${indentation}`;
4418
4418
  for (; i7 < maximumValuesToStringify - 1; i7++) {
4419
4419
  const tmp2 = stringifyArrayReplacer(String(i7), value[i7], stack2, replacer, spacer, indentation);
4420
4420
  res += tmp2 !== void 0 ? tmp2 : "null";
4421
- res += join30;
4421
+ res += join29;
4422
4422
  }
4423
4423
  const tmp = stringifyArrayReplacer(String(i7), value[i7], stack2, replacer, spacer, indentation);
4424
4424
  res += tmp !== void 0 ? tmp : "null";
4425
4425
  if (value.length - 1 > maximumBreadth) {
4426
4426
  const removedKeys = value.length - maximumBreadth - 1;
4427
- res += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
4427
+ res += `${join29}"... ${getItemCount(removedKeys)} not stringified"`;
4428
4428
  }
4429
4429
  if (spacer !== "") {
4430
4430
  res += `
@@ -4437,7 +4437,7 @@ ${originalIndentation}`;
4437
4437
  let whitespace2 = "";
4438
4438
  if (spacer !== "") {
4439
4439
  indentation += spacer;
4440
- join30 = `,
4440
+ join29 = `,
4441
4441
  ${indentation}`;
4442
4442
  whitespace2 = " ";
4443
4443
  }
@@ -4446,7 +4446,7 @@ ${indentation}`;
4446
4446
  const tmp = stringifyArrayReplacer(key2, value[key2], stack2, replacer, spacer, indentation);
4447
4447
  if (tmp !== void 0) {
4448
4448
  res += `${separator}${strEscape(key2)}:${whitespace2}${tmp}`;
4449
- separator = join30;
4449
+ separator = join29;
4450
4450
  }
4451
4451
  }
4452
4452
  if (spacer !== "" && separator.length > 1) {
@@ -4504,20 +4504,20 @@ ${originalIndentation}`;
4504
4504
  indentation += spacer;
4505
4505
  let res2 = `
4506
4506
  ${indentation}`;
4507
- const join31 = `,
4507
+ const join30 = `,
4508
4508
  ${indentation}`;
4509
4509
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
4510
4510
  let i7 = 0;
4511
4511
  for (; i7 < maximumValuesToStringify - 1; i7++) {
4512
4512
  const tmp2 = stringifyIndent(String(i7), value[i7], stack2, spacer, indentation);
4513
4513
  res2 += tmp2 !== void 0 ? tmp2 : "null";
4514
- res2 += join31;
4514
+ res2 += join30;
4515
4515
  }
4516
4516
  const tmp = stringifyIndent(String(i7), value[i7], stack2, spacer, indentation);
4517
4517
  res2 += tmp !== void 0 ? tmp : "null";
4518
4518
  if (value.length - 1 > maximumBreadth) {
4519
4519
  const removedKeys = value.length - maximumBreadth - 1;
4520
- res2 += `${join31}"... ${getItemCount(removedKeys)} not stringified"`;
4520
+ res2 += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
4521
4521
  }
4522
4522
  res2 += `
4523
4523
  ${originalIndentation}`;
@@ -4533,16 +4533,16 @@ ${originalIndentation}`;
4533
4533
  return '"[Object]"';
4534
4534
  }
4535
4535
  indentation += spacer;
4536
- const join30 = `,
4536
+ const join29 = `,
4537
4537
  ${indentation}`;
4538
4538
  let res = "";
4539
4539
  let separator = "";
4540
4540
  let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
4541
4541
  if (isTypedArrayWithEntries(value)) {
4542
- res += stringifyTypedArray(value, join30, maximumBreadth);
4542
+ res += stringifyTypedArray(value, join29, maximumBreadth);
4543
4543
  keys = keys.slice(value.length);
4544
4544
  maximumPropertiesToStringify -= value.length;
4545
- separator = join30;
4545
+ separator = join29;
4546
4546
  }
4547
4547
  if (deterministic) {
4548
4548
  keys = insertSort(keys);
@@ -4553,13 +4553,13 @@ ${indentation}`;
4553
4553
  const tmp = stringifyIndent(key2, value[key2], stack2, spacer, indentation);
4554
4554
  if (tmp !== void 0) {
4555
4555
  res += `${separator}${strEscape(key2)}: ${tmp}`;
4556
- separator = join30;
4556
+ separator = join29;
4557
4557
  }
4558
4558
  }
4559
4559
  if (keyLength > maximumBreadth) {
4560
4560
  const removedKeys = keyLength - maximumBreadth;
4561
4561
  res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"`;
4562
- separator = join30;
4562
+ separator = join29;
4563
4563
  }
4564
4564
  if (separator !== "") {
4565
4565
  res = `
@@ -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
  };
@@ -6126,7 +6126,7 @@ var require_buffer_list = __commonJS({
6126
6126
  }
6127
6127
  }, {
6128
6128
  key: "join",
6129
- value: function join30(s6) {
6129
+ value: function join29(s6) {
6130
6130
  if (this.length === 0) return "";
6131
6131
  var p3 = this.head;
6132
6132
  var ret = "" + p3.data;
@@ -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;
@@ -19073,7 +19073,7 @@ var require_lodash = __commonJS({
19073
19073
  }
19074
19074
  return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined2, comparator) : [];
19075
19075
  });
19076
- function join30(array, separator) {
19076
+ function join29(array, separator) {
19077
19077
  return array == null ? "" : nativeJoin.call(array, separator);
19078
19078
  }
19079
19079
  function last2(array) {
@@ -20992,7 +20992,7 @@ var require_lodash = __commonJS({
20992
20992
  lodash16.isUndefined = isUndefined2;
20993
20993
  lodash16.isWeakMap = isWeakMap;
20994
20994
  lodash16.isWeakSet = isWeakSet;
20995
- lodash16.join = join30;
20995
+ lodash16.join = join29;
20996
20996
  lodash16.kebabCase = kebabCase;
20997
20997
  lodash16.last = last2;
20998
20998
  lodash16.lastIndexOf = lastIndexOf;
@@ -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");
@@ -29988,7 +29988,7 @@ var require_builder = __commonJS({
29988
29988
  }
29989
29989
  };
29990
29990
  exports2.SeqBuilder = SeqBuilder;
29991
- function join30(first2, second, ...others) {
29991
+ function join29(first2, second, ...others) {
29992
29992
  const seq = new SeqBuilder(first2, second);
29993
29993
  if (!others.length) {
29994
29994
  return seq;
@@ -29997,7 +29997,7 @@ var require_builder = __commonJS({
29997
29997
  return res.join(query);
29998
29998
  }, seq);
29999
29999
  }
30000
- exports2.join = join30;
30000
+ exports2.join = join29;
30001
30001
  var SymBuilder = class extends AbstractBuilder {
30002
30002
  constructor(opts) {
30003
30003
  super();
@@ -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
  }
@@ -190192,7 +190192,7 @@ var {
190192
190192
 
190193
190193
  // dist/index.js
190194
190194
  import { mkdir as mkdir3, readFile as readFile28, writeFile as writeFile11 } from "fs/promises";
190195
- import { dirname as dirname13, join as join29, resolve as resolve31 } from "path";
190195
+ import { dirname as dirname13, join as join28, resolve as resolve31 } from "path";
190196
190196
 
190197
190197
  // ../utils/src/tmp-file.ts
190198
190198
  import { rm, mkdtemp } from "fs/promises";
@@ -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
  }
@@ -208005,22 +208005,36 @@ var NuGetSocketUpgradeManager = class {
208005
208005
  };
208006
208006
 
208007
208007
  // ../fixing-management/src/fixing-management/rust/cargo-socket-upgrade-manager.ts
208008
- import { basename as basename6, dirname as dirname9, join as join13, resolve as resolve19 } from "node:path";
208008
+ import { basename as basename6, dirname as dirname9, resolve as resolve19 } from "node:path";
208009
208009
  var import_toml_eslint_parser2 = __toESM(require_lib10(), 1);
208010
208010
  var import_picomatch3 = __toESM(require_picomatch2(), 1);
208011
208011
  var import_semver3 = __toESM(require_semver2(), 1);
208012
208012
  import assert6 from "node:assert";
208013
208013
  import { readFile as readFile18 } from "node:fs/promises";
208014
- import { existsSync as existsSync12 } from "node:fs";
208015
208014
  var CargoSocketUpgradeManager = class {
208016
208015
  constructor(rootDir) {
208017
208016
  this.rootDir = rootDir;
208018
208017
  }
208019
208018
  cargoTomlMatcher = (0, import_picomatch3.default)("Cargo.toml");
208020
208019
  cargoLockMatcher = (0, import_picomatch3.default)("Cargo.lock");
208021
- async applySocketArtifactUpgrades(_manifestFiles, upgrades, artifacts, rangeStyle) {
208022
- const tomlPatches = await this.collectCargoTomlPatches(upgrades, artifacts, rangeStyle);
208023
- const lockPatches = await this.collectCargoLockPatches(upgrades, artifacts);
208020
+ async applySocketArtifactUpgrades(manifestFiles, upgrades, artifacts, rangeStyle) {
208021
+ const tomlPatches = await asyncFlatMap(upgrades, async (upgrade) => {
208022
+ const artifact = artifacts[upgrade.idx];
208023
+ assert6(artifact.name);
208024
+ assert6(artifact.version);
208025
+ const directManifestFiles = i(artifact.manifestFiles?.map((ref) => ref.file) ?? []);
208026
+ return await asyncFlatMap(
208027
+ directManifestFiles.filter((manifestFile) => this.cargoTomlMatcher(basename6(manifestFile))),
208028
+ async (manifestFile) => this.handleCargoToml(manifestFile, upgrade, artifact, rangeStyle)
208029
+ );
208030
+ });
208031
+ const lockPatches = await asyncFlatMap(
208032
+ manifestFiles.filter((mf) => this.cargoLockMatcher(basename6(mf))),
208033
+ async (lockFile) => await asyncFlatMap(
208034
+ upgrades,
208035
+ async (upgrade) => this.handleCargoLock(lockFile, upgrade, artifacts[upgrade.idx])
208036
+ )
208037
+ );
208024
208038
  const successfulPatches = extractSuccessfulPatches(tomlPatches.concat(lockPatches));
208025
208039
  await applySocketPatchResults("RUST", this.rootDir, successfulPatches);
208026
208040
  await asyncForEach(
@@ -208033,42 +208047,6 @@ var CargoSocketUpgradeManager = class {
208033
208047
  }
208034
208048
  );
208035
208049
  }
208036
- /**
208037
- * Collect patches for Cargo.toml files (direct dependencies only)
208038
- */
208039
- async collectCargoTomlPatches(upgrades, artifacts, rangeStyle) {
208040
- return await asyncFlatMap(upgrades, async (upgrade) => {
208041
- const artifact = artifacts[upgrade.idx];
208042
- assert6(artifact.name);
208043
- assert6(artifact.version);
208044
- const directManifestFiles = i(artifact.manifestFiles?.map((ref) => ref.file) ?? []);
208045
- return await asyncFlatMap(
208046
- directManifestFiles.filter((manifestFile) => this.cargoTomlMatcher(basename6(manifestFile))),
208047
- async (manifestFile) => this.handleCargoToml(manifestFile, upgrade, artifact, rangeStyle)
208048
- );
208049
- });
208050
- }
208051
- /**
208052
- * Collect patches for Cargo.lock files (all dependencies)
208053
- */
208054
- async collectCargoLockPatches(upgrades, artifacts) {
208055
- return asyncFlatMap(upgrades, async (upgrade) => {
208056
- const artifact = artifacts[upgrade.idx];
208057
- assert6(artifact.name);
208058
- assert6(artifact.version);
208059
- const ancestorManifestFiles = i(
208060
- (artifact.manifestFiles?.map((ref) => ref.file) ?? []).concat(
208061
- artifact.toplevelAncestors?.flatMap(
208062
- (ancestorId) => artifacts.find((a5) => a5.id === ancestorId)?.manifestFiles?.map((ref) => ref.file) ?? []
208063
- ) ?? []
208064
- )
208065
- );
208066
- return asyncFlatMap(
208067
- ancestorManifestFiles.filter((manifestFile) => this.cargoTomlMatcher(basename6(manifestFile))).map((tomlFile) => join13(dirname9(tomlFile), "Cargo.lock")).filter((lockFile) => existsSync12(resolve19(this.rootDir, lockFile))),
208068
- async (lockFile) => this.handleCargoLock(lockFile, upgrade, artifact)
208069
- );
208070
- });
208071
- }
208072
208050
  /**
208073
208051
  * Handle Cargo.toml file updates for direct dependencies
208074
208052
  */
@@ -208193,13 +208171,6 @@ var CargoSocketUpgradeManager = class {
208193
208171
  }
208194
208172
  }
208195
208173
  }
208196
- if (patches.length === 0) {
208197
- patches.push({
208198
- success: false,
208199
- upgrades: [upgrade],
208200
- reason: `Could not find ${artifact.name} version ${artifact.version} in lock file ${lockFile}`
208201
- });
208202
- }
208203
208174
  return patches;
208204
208175
  }
208205
208176
  /**
@@ -208329,7 +208300,7 @@ async function applySocketUpgrades(ecosystem, rootDir, manifestFiles, upgrades,
208329
208300
 
208330
208301
  // dist/cli-apply-fix.js
208331
208302
  var import_lodash12 = __toESM(require_lodash(), 1);
208332
- import { existsSync as existsSync17 } from "fs";
208303
+ import { existsSync as existsSync16 } from "fs";
208333
208304
 
208334
208305
  // ../other-modules-communicator/src/other-modules-communicator.ts
208335
208306
  import { execFileSync } from "child_process";
@@ -208340,15 +208311,15 @@ import { resolve as resolve21 } from "path";
208340
208311
 
208341
208312
  // ../utils/dist/constants.js
208342
208313
  var import_lodash6 = __toESM(require_lodash(), 1);
208343
- import { dirname as dirname10, join as join15 } from "node:path";
208314
+ import { dirname as dirname10, join as join14 } from "node:path";
208344
208315
  import { fileURLToPath as fileURLToPath3 } from "node:url";
208345
208316
 
208346
208317
  // ../utils/dist/file-utils.js
208347
208318
  var import_lodash5 = __toESM(require_lodash(), 1);
208348
208319
  var import_micromatch = __toESM(require_micromatch(), 1);
208349
- import { existsSync as existsSync13 } from "fs";
208320
+ import { existsSync as existsSync12 } from "fs";
208350
208321
  import { access as access2, cp, readdir as readdir3, stat as stat2 } from "fs/promises";
208351
- import { basename as basename7, join as join14, relative as relative11, resolve as resolve20 } from "path";
208322
+ import { basename as basename7, join as join13, relative as relative11, resolve as resolve20 } from "path";
208352
208323
  var { uniq } = import_lodash5.default;
208353
208324
  var { isMatch } = import_micromatch.default;
208354
208325
  function* parents(dir) {
@@ -208377,10 +208348,10 @@ var COANA_ROOT = once2(() => {
208377
208348
  return coanaRoot;
208378
208349
  });
208379
208350
  var REPOS_PATH = once2(() => {
208380
- return process.env.REPOS_PATH ?? join15(COANA_ROOT(), "repos");
208351
+ return process.env.REPOS_PATH ?? join14(COANA_ROOT(), "repos");
208381
208352
  });
208382
208353
  var COANA_REPOS_PATH = once2(() => {
208383
- return process.env.COANA_REPOS_PATH ?? join15(REPOS_PATH(), "coana-tech");
208354
+ return process.env.COANA_REPOS_PATH ?? join14(REPOS_PATH(), "coana-tech");
208384
208355
  });
208385
208356
 
208386
208357
  // ../docker-management/src/constants.ts
@@ -208394,32 +208365,32 @@ var getImageTag = () => {
208394
208365
  };
208395
208366
 
208396
208367
  // ../docker-management/src/docker-spec.ts
208397
- import { join as join16 } from "path";
208368
+ import { join as join15 } from "path";
208398
208369
  var builderSpecs = [
208399
208370
  {
208400
208371
  name: "maven-builder",
208401
- file: join16("builders", "maven", "Dockerfile"),
208372
+ file: join15("builders", "maven", "Dockerfile"),
208402
208373
  isBuilder: true
208403
208374
  },
208404
208375
  {
208405
208376
  name: "python-builder",
208406
- file: join16("builders", "python", "Dockerfile"),
208377
+ file: join15("builders", "python", "Dockerfile"),
208407
208378
  isBuilder: true
208408
208379
  },
208409
208380
  {
208410
208381
  name: "go-builder",
208411
- file: join16("builders", "go", "Dockerfile"),
208382
+ file: join15("builders", "go", "Dockerfile"),
208412
208383
  isBuilder: true
208413
208384
  }
208414
208385
  ];
208415
208386
  var packageManagerDockerSpecs = [
208416
208387
  {
208417
208388
  name: "npm-package-managers",
208418
- file: join16("package-management", "npm", "Dockerfile")
208389
+ file: join15("package-management", "npm", "Dockerfile")
208419
208390
  },
208420
208391
  {
208421
208392
  name: "maven-package-managers",
208422
- file: join16("package-management", "maven", "Dockerfile"),
208393
+ file: join15("package-management", "maven", "Dockerfile"),
208423
208394
  variants: {
208424
208395
  jdk8: {
208425
208396
  JDK_URL_AMD64: "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u442-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u442b06.tar.gz",
@@ -208444,57 +208415,57 @@ var packageManagerDockerSpecs = [
208444
208415
  },
208445
208416
  {
208446
208417
  name: "pip-package-managers",
208447
- file: join16("package-management", "pip", "Dockerfile"),
208418
+ file: join15("package-management", "pip", "Dockerfile"),
208448
208419
  from: {
208449
208420
  name: "python-builder"
208450
208421
  }
208451
208422
  },
208452
208423
  {
208453
208424
  name: "go-package-manager",
208454
- file: join16("package-management", "go", "Dockerfile"),
208425
+ file: join15("package-management", "go", "Dockerfile"),
208455
208426
  from: {
208456
208427
  name: "go-builder"
208457
208428
  }
208458
208429
  },
208459
208430
  {
208460
208431
  name: "nuget-package-manager",
208461
- file: join16("package-management", "nuget", "Dockerfile")
208432
+ file: join15("package-management", "nuget", "Dockerfile")
208462
208433
  },
208463
208434
  {
208464
208435
  name: "cargo-package-manager",
208465
- file: join16("package-management", "cargo", "Dockerfile")
208436
+ file: join15("package-management", "cargo", "Dockerfile")
208466
208437
  }
208467
208438
  ];
208468
208439
  var reachabilityAnalyzerDockerSpecs = [
208469
208440
  {
208470
208441
  name: "jelly-analyzer",
208471
- file: join16("reachability-analyzers", "jelly", "Dockerfile")
208442
+ file: join15("reachability-analyzers", "jelly", "Dockerfile")
208472
208443
  },
208473
208444
  {
208474
208445
  name: "alucard-analyzer",
208475
- file: join16("reachability-analyzers", "alucard", "Dockerfile")
208446
+ file: join15("reachability-analyzers", "alucard", "Dockerfile")
208476
208447
  },
208477
208448
  {
208478
208449
  name: "mambalade-analyzer",
208479
- file: join16("reachability-analyzers", "mambalade", "Dockerfile"),
208450
+ file: join15("reachability-analyzers", "mambalade", "Dockerfile"),
208480
208451
  from: {
208481
208452
  name: "python-builder"
208482
208453
  }
208483
208454
  },
208484
208455
  {
208485
208456
  name: "goana-analyzer",
208486
- file: join16("reachability-analyzers", "goana", "Dockerfile"),
208457
+ file: join15("reachability-analyzers", "goana", "Dockerfile"),
208487
208458
  from: {
208488
208459
  name: "go-builder"
208489
208460
  }
208490
208461
  },
208491
208462
  {
208492
208463
  name: "cocoa-analyzer",
208493
- file: join16("reachability-analyzers", "cocoa", "Dockerfile")
208464
+ file: join15("reachability-analyzers", "cocoa", "Dockerfile")
208494
208465
  },
208495
208466
  {
208496
208467
  name: "rustica-analyzer",
208497
- file: join16("reachability-analyzers", "rustica", "Dockerfile")
208468
+ file: join15("reachability-analyzers", "rustica", "Dockerfile")
208498
208469
  }
208499
208470
  ];
208500
208471
  function getAllPackageManagerSpecs() {
@@ -209091,15 +209062,15 @@ async function detectVariantMaven(projectDir) {
209091
209062
  }
209092
209063
 
209093
209064
  // ../docker-management/src/maven/gradle-version-detector.ts
209094
- import { existsSync as existsSync14 } from "fs";
209095
- import { join as join17 } from "path";
209065
+ import { existsSync as existsSync13 } from "fs";
209066
+ import { join as join16 } from "path";
209096
209067
  import { readFile as readFile20 } from "fs/promises";
209097
209068
  async function detectVariantGradle(projectDir) {
209098
209069
  return sanitizeJvmVariant("GRADLE", projectDir, await detect(projectDir));
209099
209070
  }
209100
209071
  async function detect(projectDir) {
209101
- const gradleWrapperPropertiesPath = join17(projectDir, "gradle", "wrapper", "gradle-wrapper.properties");
209102
- const gradleWrapperProperties = existsSync14(gradleWrapperPropertiesPath) ? (await readFile20(gradleWrapperPropertiesPath, "utf-8")).split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("#")).filter((line) => line) : void 0;
209072
+ const gradleWrapperPropertiesPath = join16(projectDir, "gradle", "wrapper", "gradle-wrapper.properties");
209073
+ const gradleWrapperProperties = existsSync13(gradleWrapperPropertiesPath) ? (await readFile20(gradleWrapperPropertiesPath, "utf-8")).split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("#")).filter((line) => line) : void 0;
209103
209074
  if (!gradleWrapperProperties) return void 0;
209104
209075
  const distributionUrlRegex = /.*gradle-(\d+(\.\d+(\.\d+)?)?)/;
209105
209076
  for (const prop2 of gradleWrapperProperties) {
@@ -209113,15 +209084,15 @@ async function detect(projectDir) {
209113
209084
  }
209114
209085
 
209115
209086
  // ../docker-management/src/maven/sbt-version-detector.ts
209116
- import { existsSync as existsSync15 } from "fs";
209117
- import { join as join18 } from "path";
209087
+ import { existsSync as existsSync14 } from "fs";
209088
+ import { join as join17 } from "path";
209118
209089
  import { readFile as readFile21 } from "fs/promises";
209119
209090
  async function detectVariantSbt(projectDir) {
209120
209091
  return sanitizeJvmVariant("SBT", projectDir, await detect2(projectDir));
209121
209092
  }
209122
209093
  async function detect2(projectDir) {
209123
- const sbtBuildPropertiesPath = join18(projectDir, "project", "build.properties");
209124
- const sbtBuildProperties = existsSync15(sbtBuildPropertiesPath) ? (await readFile21(sbtBuildPropertiesPath, "utf-8")).split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("#")).filter((line) => line) : void 0;
209094
+ const sbtBuildPropertiesPath = join17(projectDir, "project", "build.properties");
209095
+ const sbtBuildProperties = existsSync14(sbtBuildPropertiesPath) ? (await readFile21(sbtBuildPropertiesPath, "utf-8")).split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("#")).filter((line) => line) : void 0;
209125
209096
  if (!sbtBuildProperties) return void 0;
209126
209097
  for (const prop2 of sbtBuildProperties) {
209127
209098
  const [key, value] = prop2.split("=");
@@ -209237,14 +209208,14 @@ var import_lodash11 = __toESM(require_lodash(), 1);
209237
209208
  import { rmSync } from "fs";
209238
209209
  import { mkdir, readFile as readFile22, writeFile as writeFile8 } from "fs/promises";
209239
209210
  import { platform } from "os";
209240
- import { join as join21, posix as posix2, relative as relative13, sep as sep3 } from "path";
209211
+ import { join as join20, posix as posix2, relative as relative13, sep as sep3 } from "path";
209241
209212
 
209242
209213
  // ../utils/src/file-utils.ts
209243
209214
  var import_lodash8 = __toESM(require_lodash(), 1);
209244
209215
  var import_micromatch2 = __toESM(require_micromatch(), 1);
209245
- import { existsSync as existsSync16 } from "fs";
209216
+ import { existsSync as existsSync15 } from "fs";
209246
209217
  import { access as access3, cp as cp2, readdir as readdir4, stat as stat3 } from "fs/promises";
209247
- import { basename as basename8, join as join19, relative as relative12, resolve as resolve22 } from "path";
209218
+ import { basename as basename8, join as join18, relative as relative12, resolve as resolve22 } from "path";
209248
209219
  var { uniq: uniq2 } = import_lodash8.default;
209249
209220
  var { isMatch: isMatch2 } = import_micromatch2.default;
209250
209221
  function* parents2(dir) {
@@ -209261,8 +209232,8 @@ function findParent2(dir, predicate, wholePath) {
209261
209232
  }
209262
209233
  async function getFilesRelative(dir, excludeDirs) {
209263
209234
  async function helper(subDir, arrayOfFiles) {
209264
- for (const item of await readdir4(join19(dir, subDir), { withFileTypes: true })) {
209265
- const itemPath = join19(subDir, item.name);
209235
+ for (const item of await readdir4(join18(dir, subDir), { withFileTypes: true })) {
209236
+ const itemPath = join18(subDir, item.name);
209266
209237
  if (item.isDirectory()) {
209267
209238
  if (!excludeDirs?.includes(item.name)) await helper(itemPath, arrayOfFiles);
209268
209239
  } else if (item.isFile()) {
@@ -209492,7 +209463,7 @@ import { resolve as resolve23 } from "path";
209492
209463
 
209493
209464
  // ../utils/src/constants.ts
209494
209465
  var import_lodash9 = __toESM(require_lodash(), 1);
209495
- import { dirname as dirname11, join as join20 } from "node:path";
209466
+ import { dirname as dirname11, join as join19 } from "node:path";
209496
209467
  import { fileURLToPath as fileURLToPath4 } from "node:url";
209497
209468
  var { once: once4 } = import_lodash9.default;
209498
209469
  var fileName2 = fileURLToPath4(import.meta.url);
@@ -209505,10 +209476,10 @@ var COANA_ROOT2 = once4(() => {
209505
209476
  return coanaRoot;
209506
209477
  });
209507
209478
  var REPOS_PATH2 = once4(() => {
209508
- return process.env.REPOS_PATH ?? join20(COANA_ROOT2(), "repos");
209479
+ return process.env.REPOS_PATH ?? join19(COANA_ROOT2(), "repos");
209509
209480
  });
209510
209481
  var COANA_REPOS_PATH2 = once4(() => {
209511
- return process.env.COANA_REPOS_PATH ?? join20(REPOS_PATH2(), "coana-tech");
209482
+ return process.env.COANA_REPOS_PATH ?? join19(REPOS_PATH2(), "coana-tech");
209512
209483
  });
209513
209484
  var REQUIREMENTS_FILES_SEARCH_DEPTH = 2;
209514
209485
 
@@ -209597,7 +209568,7 @@ var OtherModulesCommunicator = class {
209597
209568
  return "Running reachability analysis on package registry package";
209598
209569
  }
209599
209570
  }
209600
- return `${_cmdStr()}: (${ecosystem}) ${relative13(this.rootWorkingDir, join21(subprojectPath, workspacePath)) || "."}`;
209571
+ return `${_cmdStr()}: (${ecosystem}) ${relative13(this.rootWorkingDir, join20(subprojectPath, workspacePath)) || "."}`;
209601
209572
  }
209602
209573
  getProjectPath(subprojectPath) {
209603
209574
  return this.options.runWithoutDocker ? subprojectPath : posix2.resolve("/project", relative13(this.rootWorkingDir, subprojectPath).replaceAll(sep3, posix2.sep));
@@ -209646,7 +209617,7 @@ var OtherModulesCommunicator = class {
209646
209617
  async runPackageManagerCommandWithOutput(commandName, packageManagerName, subprojectPath, args2 = [], extraDockerArgs, env) {
209647
209618
  const tmpDir = await this.getTmpDirForSubproject(subprojectPath);
209648
209619
  const outputFileName = `${v4_default()}-${commandName}-output.json`;
209649
- const outputFilePathThisProcess = join21(tmpDir, outputFileName);
209620
+ const outputFilePathThisProcess = join20(tmpDir, outputFileName);
209650
209621
  const outputFilePathOtherProcess = this.options.runWithoutDocker ? outputFilePathThisProcess : posix2.join(TMP_DIR_IN_DOCKER, outputFileName);
209651
209622
  await this.runPackageManagerCommand(
209652
209623
  commandName,
@@ -209711,7 +209682,7 @@ var OtherModulesCommunicator = class {
209711
209682
  async runReachabilityAnalyzerCommandWithOutput(commandName, ecosystem, subprojectPath, workspacePath, args2, env) {
209712
209683
  const tmpDir = await this.getTmpDirForSubproject(subprojectPath);
209713
209684
  const outputFileName = `${v4_default()}-${commandName}-output.json`;
209714
- const outputFilePathThisProcess = join21(tmpDir, outputFileName);
209685
+ const outputFilePathThisProcess = join20(tmpDir, outputFileName);
209715
209686
  const outputFilePathOtherProcess = this.options.runWithoutDocker ? outputFilePathThisProcess : posix2.join(TMP_DIR_IN_DOCKER, outputFileName);
209716
209687
  await this.runReachabilityAnalyzerCommand(
209717
209688
  commandName,
@@ -209748,7 +209719,7 @@ var OtherModulesCommunicator = class {
209748
209719
  if (providedOptions.type === "providee") {
209749
209720
  const tmpDir = await this.getTmpDirForSubproject(subprojectPath);
209750
209721
  const providerFileName = "provider.json";
209751
- const providerFileThisProcess = join21(tmpDir, providerFileName);
209722
+ const providerFileThisProcess = join20(tmpDir, providerFileName);
209752
209723
  const providerFileOtherProcess = this.options.runWithoutDocker ? providerFileThisProcess : posix2.join(TMP_DIR_IN_DOCKER, providerFileName);
209753
209724
  await writeFile8(providerFileThisProcess, JSON.stringify(providedOptions.provider));
209754
209725
  return ["--provider", providerFileOtherProcess];
@@ -209792,7 +209763,7 @@ var OtherModulesCommunicator = class {
209792
209763
  async runReachabilityAnalysis(subprojectPath, workspacePath, workspaceData, ecosystem, vulnerabilities, reachabilityAnalysisOptions, otherAnalysisOptions) {
209793
209764
  const tmpDir = await this.getTmpDirForSubproject(subprojectPath);
209794
209765
  const inputFileName = `${v4_default()}-runReachabilityAnalysis-input.json`;
209795
- const inputFileThisProcess = join21(tmpDir, inputFileName);
209766
+ const inputFileThisProcess = join20(tmpDir, inputFileName);
209796
209767
  const inputFileOtherProcess = this.options.runWithoutDocker ? inputFileThisProcess : posix2.join(TMP_DIR_IN_DOCKER, inputFileName);
209797
209768
  await writeFile8(
209798
209769
  inputFileThisProcess,
@@ -209834,7 +209805,7 @@ var setUpGoModuleCache = once6(async () => {
209834
209805
  execFileSync("chmod", ["--recursive", "+rw", tmpDir]);
209835
209806
  rmSync(tmpDir, { recursive: true, force: true });
209836
209807
  });
209837
- const [upper, work] = [join21(tmpDir, "upper"), join21(tmpDir, "work")];
209808
+ const [upper, work] = [join20(tmpDir, "upper"), join20(tmpDir, "work")];
209838
209809
  for (const dir of [upper, work]) await mkdir(dir);
209839
209810
  const o7 = await execNeverFail(
209840
209811
  cmdt`docker volume create --driver local --opt type=overlay
@@ -210427,7 +210398,7 @@ async function verifyFixes(fixes, otherModulesCommunicator, rootPath) {
210427
210398
  if (pathsForEachFixIdData.length !== new Set(pathsForEachFixIdData).size) {
210428
210399
  throw new Error("Multiple fix IDs found for the same subproject, workspace and ecosystem");
210429
210400
  }
210430
- const subprojectsNotFound = uniq3(fixes.filter(({ vulnerabilityInstance: v }) => !existsSync17(resolve24(rootPath, v.subprojectPath))).map(({ vulnerabilityInstance: v }) => `${v.subprojectPath}:${v.ecosystem}`));
210401
+ const subprojectsNotFound = uniq3(fixes.filter(({ vulnerabilityInstance: v }) => !existsSync16(resolve24(rootPath, v.subprojectPath))).map(({ vulnerabilityInstance: v }) => `${v.subprojectPath}:${v.ecosystem}`));
210431
210402
  if (subprojectsNotFound.length > 0) {
210432
210403
  throw new Error(`Cannot find the following subprojects: ${subprojectsNotFound.join(", ")}`);
210433
210404
  }
@@ -211230,15 +211201,15 @@ import { relative as relative15, resolve as resolve28 } from "path";
211230
211201
  // ../project-management/src/project-management/ecosystem-management/ecosystem-manager.ts
211231
211202
  var import_micromatch3 = __toESM(require_micromatch2(), 1);
211232
211203
  import { readdir as readdir6 } from "fs/promises";
211233
- import { join as join24, relative as relative14, resolve as resolve27 } from "path";
211204
+ import { join as join23, relative as relative14, resolve as resolve27 } from "path";
211234
211205
 
211235
211206
  // ../project-management/src/project-management/ecosystem-management/ecosystem-specs.ts
211236
- import { existsSync as existsSync19 } from "fs";
211207
+ import { existsSync as existsSync18 } from "fs";
211237
211208
  import { readdir as readdir5, readFile as readFile25 } from "fs/promises";
211238
- import { join as join23, sep as sep4 } from "path";
211209
+ import { join as join22, sep as sep4 } from "path";
211239
211210
 
211240
211211
  // ../utils/src/pip-utils.ts
211241
- import { existsSync as existsSync18 } from "fs";
211212
+ import { existsSync as existsSync17 } from "fs";
211242
211213
  import { readFile as readFile24 } from "fs/promises";
211243
211214
  import { resolve as resolve26 } from "path";
211244
211215
  import util4 from "util";
@@ -211249,7 +211220,7 @@ var import_semver5 = __toESM(require_semver2(), 1);
211249
211220
  import { execFileSync as execFileSync2 } from "child_process";
211250
211221
  import { constants as constants2 } from "fs";
211251
211222
  import { access as access4, readFile as readFile23 } from "fs/promises";
211252
- import { join as join22, resolve as resolve25 } from "path";
211223
+ import { join as join21, resolve as resolve25 } from "path";
211253
211224
  import util3 from "util";
211254
211225
  var { once: once7 } = import_lodash13.default;
211255
211226
  var systemPython = once7(() => {
@@ -211302,7 +211273,7 @@ var specs = {
211302
211273
  [
211303
211274
  /^(pyproject.toml|setup.py|requirements.*\.txt)/,
211304
211275
  async (projectDir) => {
211305
- const isPythonProject = await exists(join23(projectDir, "pyproject.toml")) || await exists(join23(projectDir, "setup.py")) && await isSetupPySetuptools(join23(projectDir, "setup.py"));
211276
+ const isPythonProject = await exists(join22(projectDir, "pyproject.toml")) || await exists(join22(projectDir, "setup.py")) && await isSetupPySetuptools(join22(projectDir, "setup.py"));
211306
211277
  if (isPythonProject) {
211307
211278
  properPythonProjects.push(projectDir + sep4);
211308
211279
  return "PIP_REQUIREMENTS";
@@ -211325,7 +211296,7 @@ var specs = {
211325
211296
  [
211326
211297
  "uv.lock",
211327
211298
  async (projectDir) => {
211328
- if (await exists(join23(projectDir, "pyproject.toml"))) {
211299
+ if (await exists(join22(projectDir, "pyproject.toml"))) {
211329
211300
  logger.warn("uv is not supported yet, using plain pyproject.toml as a fallback");
211330
211301
  return "PIP_REQUIREMENTS";
211331
211302
  } else logger.error("uv.lock found without pyproject.toml");
@@ -211346,8 +211317,8 @@ function getEcosystemSpecs(ecosystems) {
211346
211317
  }
211347
211318
  function packageManagerIfPackageJSONExistsAndValid(packageManager) {
211348
211319
  return async (projectDir) => {
211349
- if (!existsSync19(join23(projectDir, "package.json"))) return void 0;
211350
- const packageJSONPath = join23(projectDir, "package.json");
211320
+ if (!existsSync18(join22(projectDir, "package.json"))) return void 0;
211321
+ const packageJSONPath = join22(projectDir, "package.json");
211351
211322
  try {
211352
211323
  JSON.parse(await readFile25(packageJSONPath, "utf-8"));
211353
211324
  return packageManager;
@@ -211404,7 +211375,7 @@ var EcosystemManager = class _EcosystemManager {
211404
211375
  const resolvedProjectDir = resolve27(mainProjectDir, relativeProjectDir);
211405
211376
  if (config3.includeDirs.length > 0)
211406
211377
  workspacePaths = workspacePaths.filter(
211407
- (workspacePath) => isMatch3(relative14(mainProjectDir, join24(resolvedProjectDir, workspacePath)), config3.includeDirs)
211378
+ (workspacePath) => isMatch3(relative14(mainProjectDir, join23(resolvedProjectDir, workspacePath)), config3.includeDirs)
211408
211379
  );
211409
211380
  workspacePaths.filter((workspacePath) => workspacePath !== ".").forEach((workspacePath) => projectDirsAlreadyCovered.push(resolve27(resolvedProjectDir, workspacePath)));
211410
211381
  if (workspacePaths.length > 0)
@@ -211432,7 +211403,7 @@ var EcosystemManager = class _EcosystemManager {
211432
211403
  }
211433
211404
  }
211434
211405
  for (const dir of directoriesToTraverse) {
211435
- await recHelper(join24(projectDir, dir), true);
211406
+ await recHelper(join23(projectDir, dir), true);
211436
211407
  }
211437
211408
  }
211438
211409
  async function getPackageManagerName(projectDir, foundProjectFiles, foundLockFiles) {
@@ -211461,7 +211432,7 @@ var EcosystemManager = class _EcosystemManager {
211461
211432
  const filesAndDirectories = await readdir6(projectDir, { withFileTypes: true });
211462
211433
  for (const dirent of filesAndDirectories) {
211463
211434
  const fileOrDirectory = dirent.name;
211464
- const fullPath = join24(projectDir, fileOrDirectory);
211435
+ const fullPath = join23(projectDir, fileOrDirectory);
211465
211436
  if (dirent.isDirectory()) {
211466
211437
  if (shouldIgnoreDir(fileOrDirectory) || shouldIgnoreDueToExcludeDirsOrChangedFiles(config3, fullPath))
211467
211438
  continue;
@@ -211488,7 +211459,7 @@ var EcosystemManager = class _EcosystemManager {
211488
211459
  packageManagerName,
211489
211460
  subprojectPath,
211490
211461
  workspacePaths: workspacePaths.filter(
211491
- (workspacePath) => !shouldIgnoreDueToExcludeDirsOrChangedFiles(this.config, join24(subprojectPath, workspacePath))
211462
+ (workspacePath) => !shouldIgnoreDueToExcludeDirsOrChangedFiles(this.config, join23(subprojectPath, workspacePath))
211492
211463
  )
211493
211464
  }));
211494
211465
  }
@@ -211712,10 +211683,80 @@ function init(open, close) {
211712
211683
  }
211713
211684
  var kleur_default = $;
211714
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
+
211715
211756
  // dist/cli-core.js
211716
211757
  var import_lodash15 = __toESM(require_lodash(), 1);
211717
211758
  import os from "os";
211718
- import { join as join27, relative as relative16, resolve as resolve30 } from "path";
211759
+ import { join as join26, relative as relative16, resolve as resolve30 } from "path";
211719
211760
 
211720
211761
  // ../utils/src/dashboard-api/shared-api.ts
211721
211762
  var DashboardAPI = class {
@@ -212034,16 +212075,16 @@ function isVulnChainWithParentsMap(v) {
212034
212075
  var DEFAULT_REPORT_FILENAME_BASE = "coana-report";
212035
212076
 
212036
212077
  // dist/internal/exclude-dirs-from-configuration-files.js
212037
- import { existsSync as existsSync20 } from "fs";
212078
+ import { existsSync as existsSync19 } from "fs";
212038
212079
  import { readFile as readFile26 } from "fs/promises";
212039
212080
  import { basename as basename9, resolve as resolve29 } from "path";
212040
212081
  var import_yaml2 = __toESM(require_dist11(), 1);
212041
212082
  async function inferExcludeDirsFromConfigurationFiles(rootWorkingDir) {
212042
212083
  const socketYmlConfigFile = resolve29(rootWorkingDir, "socket.yml");
212043
- if (existsSync20(socketYmlConfigFile))
212084
+ if (existsSync19(socketYmlConfigFile))
212044
212085
  return inferExcludeDirsFromSocketConfig(socketYmlConfigFile);
212045
212086
  const socketYamlConfigFile = resolve29(rootWorkingDir, "socket.yaml");
212046
- if (existsSync20(socketYamlConfigFile))
212087
+ if (existsSync19(socketYamlConfigFile))
212047
212088
  return inferExcludeDirsFromSocketConfig(socketYamlConfigFile);
212048
212089
  return void 0;
212049
212090
  }
@@ -212165,7 +212206,7 @@ function transformToVulnChainNode(dependencyTree) {
212165
212206
  // dist/internal/socket-mode-helpers-socket-dependency-trees.js
212166
212207
  var import_packageurl_js = __toESM(require_packageurl_js(), 1);
212167
212208
  var import_picomatch4 = __toESM(require_picomatch2(), 1);
212168
- import { basename as basename10, dirname as dirname12, join as join25, sep as sep5 } from "path";
212209
+ import { basename as basename10, dirname as dirname12, join as join24, sep as sep5 } from "path";
212169
212210
  var REQUIREMENTS_FILES_SEARCH_DEPTH2 = 3;
212170
212211
  function inferWorkspaceFromManifestPath(ecosystem, manifestPath, properPythonProjects) {
212171
212212
  switch (ecosystem) {
@@ -212285,7 +212326,7 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212285
212326
  for (const file of allFiles) {
212286
212327
  const base = basename10(file);
212287
212328
  const workspaceDir = dirname12(file) || ".";
212288
- if (base === "pyproject.toml" || base === "setup.py" && await isSetupPySetuptools(join25(rootWorkingDirectory, file))) {
212329
+ if (base === "pyproject.toml" || base === "setup.py" && await isSetupPySetuptools(join24(rootWorkingDirectory, file))) {
212289
212330
  if (!properPythonProjects.includes(workspaceDir)) {
212290
212331
  properPythonProjects.push(workspaceDir);
212291
212332
  }
@@ -212293,6 +212334,7 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212293
212334
  }
212294
212335
  const artifactMap = new Map(artifacts.map((a5) => [a5.id, a5]));
212295
212336
  const ecosystemToWorkspaceToAnalysisData = {};
212337
+ const ecosystemWorkspaceVulnIds = /* @__PURE__ */ new Set();
212296
212338
  const ecosystemToWorkspaceToVulnerabilities = {};
212297
212339
  const purlsFailedToFindWorkspace = /* @__PURE__ */ new Set();
212298
212340
  for (const artifact of artifacts) {
@@ -212348,23 +212390,16 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212348
212390
  purlsFailedToFindWorkspace.add(purl);
212349
212391
  }
212350
212392
  for (const [workspace, manifestFiles2] of Object.entries(workspaceToManifestFiles)) {
212351
- if (!ecosystemToWorkspaceToAnalysisData[ecosystem]) {
212352
- ecosystemToWorkspaceToAnalysisData[ecosystem] = {};
212353
- }
212354
- if (!ecosystemToWorkspaceToAnalysisData[ecosystem][workspace]) {
212355
- ecosystemToWorkspaceToAnalysisData[ecosystem][workspace] = {
212356
- type: "socket",
212357
- data: {
212358
- type: ecosystem,
212359
- manifestFiles: manifestFiles2,
212360
- artifacts: []
212361
- }
212362
- };
212363
- }
212364
- const workspaceData = ecosystemToWorkspaceToAnalysisData[ecosystem][workspace];
212365
- if (workspaceData.type === "socket") {
212366
- workspaceData.data.artifacts.push(artifact);
212367
- }
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);
212368
212403
  }
212369
212404
  if (artifact.vulnerabilities && artifact.vulnerabilities.length > 0) {
212370
212405
  for (const workspace of Object.keys(workspaceToManifestFiles)) {
@@ -212380,7 +212415,11 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
212380
212415
  ecosystem,
212381
212416
  artifactId: artifact.id
212382
212417
  };
212383
- ((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
+ }
212384
212423
  }
212385
212424
  }
212386
212425
  }
@@ -212400,10 +212439,7 @@ ${mode === "reachability" ? "This means that we will not do a full reachability
212400
212439
  }
212401
212440
  }
212402
212441
  function computeVulnChainDetails2(artifacts, vulnerableArtifactId) {
212403
- const artifactMap = /* @__PURE__ */ new Map();
212404
- for (const artifact of artifacts) {
212405
- artifactMap.set(artifact.id, artifact);
212406
- }
212442
+ const artifactMap = new Map(artifacts.map((a5) => [a5.id, a5]));
212407
212443
  const parentsMap = /* @__PURE__ */ new Map();
212408
212444
  for (const artifact of artifacts) {
212409
212445
  if (artifact.dependencies) {
@@ -212440,10 +212476,8 @@ function computeVulnChainDetails2(artifacts, vulnerableArtifactId) {
212440
212476
  if (currentId === vulnerableArtifactId) {
212441
212477
  newCurrentNode.vulnerable = true;
212442
212478
  }
212443
- if (currentArtifact.direct) {
212444
- if (!res.children.includes(currentId)) {
212445
- res.children.push(currentId);
212446
- }
212479
+ if (currentArtifact.direct && !res.children.includes(currentId)) {
212480
+ res.children.push(currentId);
212447
212481
  }
212448
212482
  visited.add(currentId);
212449
212483
  if (parents4) {
@@ -226145,8 +226179,8 @@ var { root: root2 } = static_exports;
226145
226179
 
226146
226180
  // ../utils/src/maven-utils.ts
226147
226181
  var import_lodash14 = __toESM(require_lodash(), 1);
226148
- import { existsSync as existsSync21, readdirSync as readdirSync4, statSync as statSync3 } from "fs";
226149
- import { join as join26 } from "path";
226182
+ import { existsSync as existsSync20, readdirSync as readdirSync4, statSync as statSync3 } from "fs";
226183
+ import { join as join25 } from "path";
226150
226184
  var { memoize: memoize3 } = import_lodash14.default;
226151
226185
  var memoizedParseShellArgs = memoize3(parseShellArgs);
226152
226186
  var MAVEN_PUBLIC_REPOSITORIES = [
@@ -227517,7 +227551,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
227517
227551
  }
227518
227552
 
227519
227553
  // dist/version.js
227520
- var version2 = "14.12.37";
227554
+ var version2 = "14.12.39";
227521
227555
 
227522
227556
  // dist/cli-core.js
227523
227557
  var { mapValues, omit, partition, pick } = import_lodash15.default;
@@ -227622,7 +227656,7 @@ var CliCore = class {
227622
227656
  }
227623
227657
  }
227624
227658
  async main() {
227625
- this.coanaLogPath = join27(await createTmpDirectory("coana-cli-"), "coana-log.txt");
227659
+ this.coanaLogPath = join26(await createTmpDirectory("coana-cli-"), "coana-log.txt");
227626
227660
  logger.initWinstonLogger(this.options.debug, this.coanaLogPath);
227627
227661
  logger.silent = this.options.silent;
227628
227662
  try {
@@ -227685,8 +227719,19 @@ var CliCore = class {
227685
227719
  if (subProjects.length > 0) {
227686
227720
  this.dashboardAPI.registerSubprojects(subProjects, this.reportId, this.apiKey);
227687
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
+ });
227688
227730
  const vulnsWithResults = [];
227689
- 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()) {
227690
227735
  this.sendProgress("RUN_ON_SUBPROJECT", true, this.rootWorkingDirectory);
227691
227736
  const isEcosystemToAnalyze = !this.options.purlTypes || this.options.purlTypes.some((purlType) => getAdvisoryEcosystemFromPurlType(purlType) === ecosystem);
227692
227737
  if (!isEcosystemToAnalyze) {
@@ -227700,7 +227745,11 @@ var CliCore = class {
227700
227745
  otherModulesCommunicator,
227701
227746
  this.rootWorkingDirectory,
227702
227747
  ecosystem,
227703
- ["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
+ }
227704
227753
  )).flat());
227705
227754
  this.sendProgress("RUN_ON_SUBPROJECT", false, this.rootWorkingDirectory);
227706
227755
  }
@@ -227944,8 +227993,11 @@ Subproject: ${subproject}`);
227944
227993
  this.sendProgress("RUN_ON_SUBPROJECT", false, subProjAndWsPath.subprojectPath);
227945
227994
  }
227946
227995
  }
227947
- async runReachabilityAnalysisForWorkspaces(workspacePathToDataForAnalysis, workspaceToVulnerabilities, workspaceToDirectDependencies, otherModulesCommunicator, subprojectPath, ecosystem, reachabilitySupported) {
227948
- 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);
227949
228001
  const vulnerabilities = workspaceToVulnerabilities[workspacePath] ?? [];
227950
228002
  try {
227951
228003
  const dataForAnalysis = workspacePathToDataForAnalysis[workspacePath];
@@ -228204,7 +228256,7 @@ async function getGitDataToMetadataIfAvailable(rootWorkingDirectory) {
228204
228256
  }
228205
228257
 
228206
228258
  // dist/cli-upgrade-purl.js
228207
- import { join as join28, relative as relative17 } from "node:path";
228259
+ import { join as join27, relative as relative17 } from "node:path";
228208
228260
  var import_packageurl_js2 = __toESM(require_packageurl_js(), 1);
228209
228261
  var ECOSYSTEMS_WITH_SOCKET_UPGRADES = ["NPM", "MAVEN", "NUGET", "GO", "RUST"];
228210
228262
  async function upgradePurl(path2, upgrades, options, logFile, cliFixRunId) {
@@ -228298,7 +228350,7 @@ ${upgrades.map((upgrade) => ` ${upgrade.purl} -> ${upgrade.upgradeVersion}`).joi
228298
228350
  const subprojectPromiseQueue = new PromiseQueue(Number(options.concurrency));
228299
228351
  supportedSubprojects.forEach((subproject) => {
228300
228352
  subprojectPromiseQueue.enqueueTask(async () => {
228301
- const workspacePathsMatchingGlob = subproject.workspacePaths.filter((wsPath) => minimatch(join28(subproject.subprojectPath, wsPath), options.globPattern ?? "**"));
228353
+ const workspacePathsMatchingGlob = subproject.workspacePaths.filter((wsPath) => minimatch(join27(subproject.subprojectPath, wsPath), options.globPattern ?? "**"));
228302
228354
  if (workspacePathsMatchingGlob.length === 0)
228303
228355
  return;
228304
228356
  logger.info(`Found workspaces for subproject ${subproject.subprojectPath}${options.globPattern ? `matching glob ${options.globPattern}` : ""}:
@@ -228327,7 +228379,7 @@ ${workspacePathsMatchingGlob.map((wsPath) => ` ${wsPath}`).join("\n")}`);
228327
228379
  });
228328
228380
  if (vulnerabilityFixes.length === 0)
228329
228381
  return;
228330
- logger.info(`Found ${vulnerabilityFixes.length} ${vulnerabilityFixes.length === 1 ? "dependency" : "dependencies"} matching upgrade specs for ${join28(subproject.subprojectPath, wsPath)}`);
228382
+ logger.info(`Found ${vulnerabilityFixes.length} ${vulnerabilityFixes.length === 1 ? "dependency" : "dependencies"} matching upgrade specs for ${join27(subproject.subprojectPath, wsPath)}`);
228331
228383
  workspaceToFixes[wsPath] = [
228332
228384
  {
228333
228385
  fixId: "dummy",
@@ -228348,7 +228400,7 @@ ${workspacePathsMatchingGlob.map((wsPath) => ` ${wsPath}`).join("\n")}`);
228348
228400
  }
228349
228401
  }
228350
228402
  var signalFixApplied = (_fixId, subprojectPath, workspacePath, vulnerabilityFixes) => {
228351
- logger.info(`Successfully upgraded purls for: ${join28(subprojectPath, workspacePath)}`);
228403
+ logger.info(`Successfully upgraded purls for: ${join27(subprojectPath, workspacePath)}`);
228352
228404
  logger.info(`Upgraded:
228353
228405
  ${vulnerabilityFixes.map((fix) => ` ${fix.dependencyName} from ${fix.currentVersion} to ${fix.fixedVersion}`).join("\n")}`);
228354
228406
  };
@@ -228545,7 +228597,7 @@ var upgradePurls = new Command();
228545
228597
  upgradePurls.name("upgrade-purls").argument("<path>", "File system path to the folder containing the project").argument("<specs...>", "Package upgrade specifications in the format 'purl -> newVersion' (e.g., 'pkg:maven/io.micrometer/micrometer-core@1.10.9 -> 1.15.0')").option("-g, --glob <pattern>", "Glob pattern to filter workspaces by absolute file path").option("-c, --concurrency <concurrency>", "Set the maximum number of concurrent reachability analysis runs. It's recommended to choose a concurrency level that ensures that each analysis run has at least the --memory-limit amount of memory available.", "1").option("-d, --debug", "Enable debug logging", false).option("-s, --silent", "Silence all debug/warning output", false).option("--silent-spinner", "Silence spinner", "CI" in process.env || !process.stdin.isTTY).option("--range-style <style>", 'Range style to use for the output. Currently only "pin" is supported and it only works for npm.').addOption(new Option("--run-without-docker", "Run package managers without using docker").default(process.env.RUN_WITHOUT_DOCKER === "true").hideHelp()).addOption(new Option("--socket-mode", "Use Socket for computing dependency trees").default(process.env.SOCKET_MODE === "true").hideHelp()).version(version2).action(async (path2, specs2, options) => {
228546
228598
  process.env.DOCKER_IMAGE_TAG ??= version2;
228547
228599
  await withTmpDirectory("upgrade-purls", async (tmpDir) => {
228548
- const logFile = join29(tmpDir, "upgrade-purls.log");
228600
+ const logFile = join28(tmpDir, "upgrade-purls.log");
228549
228601
  logger.initWinstonLogger(options.debug, logFile);
228550
228602
  const upgradeSpecs = specs2.map((spec) => {
228551
228603
  const [purl, upgradeVersion] = spec.split("->").map((s6) => s6.trim());
@@ -228572,7 +228624,7 @@ computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument(
228572
228624
  throw new Error('Range style must be "pin"');
228573
228625
  }
228574
228626
  await withTmpDirectory("compute-fixes-and-upgrade-purls", async (tmpDir) => {
228575
- const logFile = join29(tmpDir, "compute-fixes-and-upgrade-purls.log");
228627
+ const logFile = join28(tmpDir, "compute-fixes-and-upgrade-purls.log");
228576
228628
  logger.initWinstonLogger(options.debug, logFile);
228577
228629
  const output = await computeFixesAndUpgradePurls(path2, options, logFile);
228578
228630
  if (options.outputFile) {