@coana-tech/cli 14.4.0 → 14.4.2

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.
Files changed (2) hide show
  1. package/cli.js +133 -132
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -37864,8 +37864,8 @@ var require_follow_redirects = __commonJS({
37864
37864
  }
37865
37865
  return parsed;
37866
37866
  }
37867
- function resolveUrl(relative6, base) {
37868
- return useNativeURL ? new URL3(relative6, base) : parseUrl(url2.resolve(base, relative6));
37867
+ function resolveUrl(relative7, base) {
37868
+ return useNativeURL ? new URL3(relative7, base) : parseUrl(url2.resolve(base, relative7));
37869
37869
  }
37870
37870
  function validateUrl(input) {
37871
37871
  if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) {
@@ -45191,7 +45191,7 @@ var init_esm4 = __esm({
45191
45191
  *
45192
45192
  * @internal
45193
45193
  */
45194
- constructor(cwd = process.cwd(), pathImpl, sep2, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
45194
+ constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
45195
45195
  this.#fs = fsFromOption(fs);
45196
45196
  if (cwd instanceof URL || cwd.startsWith("file://")) {
45197
45197
  cwd = (0, import_node_url.fileURLToPath)(cwd);
@@ -45202,7 +45202,7 @@ var init_esm4 = __esm({
45202
45202
  this.#resolveCache = new ResolveCache();
45203
45203
  this.#resolvePosixCache = new ResolveCache();
45204
45204
  this.#children = new ChildrenCache(childrenCacheSize);
45205
- const split = cwdPath.substring(this.rootPath.length).split(sep2);
45205
+ const split = cwdPath.substring(this.rootPath.length).split(sep3);
45206
45206
  if (split.length === 1 && !split[0]) {
45207
45207
  split.pop();
45208
45208
  }
@@ -46036,10 +46036,10 @@ var init_ignore = __esm({
46036
46036
  ignored(p3) {
46037
46037
  const fullpath = p3.fullpath();
46038
46038
  const fullpaths = `${fullpath}/`;
46039
- const relative6 = p3.relative() || ".";
46040
- const relatives = `${relative6}/`;
46039
+ const relative7 = p3.relative() || ".";
46040
+ const relatives = `${relative7}/`;
46041
46041
  for (const m2 of this.relative) {
46042
- if (m2.match(relative6) || m2.match(relatives))
46042
+ if (m2.match(relative7) || m2.match(relatives))
46043
46043
  return true;
46044
46044
  }
46045
46045
  for (const m2 of this.absolute) {
@@ -46050,9 +46050,9 @@ var init_ignore = __esm({
46050
46050
  }
46051
46051
  childrenIgnored(p3) {
46052
46052
  const fullpath = p3.fullpath() + "/";
46053
- const relative6 = (p3.relative() || ".") + "/";
46053
+ const relative7 = (p3.relative() || ".") + "/";
46054
46054
  for (const m2 of this.relativeChildren) {
46055
- if (m2.match(relative6))
46055
+ if (m2.match(relative7))
46056
46056
  return true;
46057
46057
  }
46058
46058
  for (const m2 of this.absoluteChildren) {
@@ -51095,10 +51095,10 @@ var require_resolve_block_map = __commonJS({
51095
51095
  let offset = bm.offset;
51096
51096
  let commentEnd = null;
51097
51097
  for (const collItem of bm.items) {
51098
- const { start, key, sep: sep2, value } = collItem;
51098
+ const { start, key, sep: sep3, value } = collItem;
51099
51099
  const keyProps = resolveProps.resolveProps(start, {
51100
51100
  indicator: "explicit-key-ind",
51101
- next: key ?? sep2?.[0],
51101
+ next: key ?? sep3?.[0],
51102
51102
  offset,
51103
51103
  onError,
51104
51104
  parentIndent: bm.indent,
@@ -51112,7 +51112,7 @@ var require_resolve_block_map = __commonJS({
51112
51112
  else if ("indent" in key && key.indent !== bm.indent)
51113
51113
  onError(offset, "BAD_INDENT", startColMsg);
51114
51114
  }
51115
- if (!keyProps.anchor && !keyProps.tag && !sep2) {
51115
+ if (!keyProps.anchor && !keyProps.tag && !sep3) {
51116
51116
  commentEnd = keyProps.end;
51117
51117
  if (keyProps.comment) {
51118
51118
  if (map2.comment)
@@ -51134,7 +51134,7 @@ var require_resolve_block_map = __commonJS({
51134
51134
  utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);
51135
51135
  if (utilMapIncludes.mapIncludes(ctx, map2.items, keyNode))
51136
51136
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
51137
- const valueProps = resolveProps.resolveProps(sep2 ?? [], {
51137
+ const valueProps = resolveProps.resolveProps(sep3 ?? [], {
51138
51138
  indicator: "map-value-ind",
51139
51139
  next: value,
51140
51140
  offset: keyNode.range[2],
@@ -51150,7 +51150,7 @@ var require_resolve_block_map = __commonJS({
51150
51150
  if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024)
51151
51151
  onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
51152
51152
  }
51153
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep2, null, valueProps, onError);
51153
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep3, null, valueProps, onError);
51154
51154
  if (ctx.schema.compat)
51155
51155
  utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
51156
51156
  offset = valueNode.range[2];
@@ -51239,7 +51239,7 @@ var require_resolve_end = __commonJS({
51239
51239
  let comment = "";
51240
51240
  if (end2) {
51241
51241
  let hasSpace = false;
51242
- let sep2 = "";
51242
+ let sep3 = "";
51243
51243
  for (const token of end2) {
51244
51244
  const { source, type } = token;
51245
51245
  switch (type) {
@@ -51253,13 +51253,13 @@ var require_resolve_end = __commonJS({
51253
51253
  if (!comment)
51254
51254
  comment = cb;
51255
51255
  else
51256
- comment += sep2 + cb;
51257
- sep2 = "";
51256
+ comment += sep3 + cb;
51257
+ sep3 = "";
51258
51258
  break;
51259
51259
  }
51260
51260
  case "newline":
51261
51261
  if (comment)
51262
- sep2 += source;
51262
+ sep3 += source;
51263
51263
  hasSpace = true;
51264
51264
  break;
51265
51265
  default:
@@ -51300,18 +51300,18 @@ var require_resolve_flow_collection = __commonJS({
51300
51300
  let offset = fc.offset + fc.start.source.length;
51301
51301
  for (let i6 = 0; i6 < fc.items.length; ++i6) {
51302
51302
  const collItem = fc.items[i6];
51303
- const { start, key, sep: sep2, value } = collItem;
51303
+ const { start, key, sep: sep3, value } = collItem;
51304
51304
  const props = resolveProps.resolveProps(start, {
51305
51305
  flow: fcName,
51306
51306
  indicator: "explicit-key-ind",
51307
- next: key ?? sep2?.[0],
51307
+ next: key ?? sep3?.[0],
51308
51308
  offset,
51309
51309
  onError,
51310
51310
  parentIndent: fc.indent,
51311
51311
  startOnNewline: false
51312
51312
  });
51313
51313
  if (!props.found) {
51314
- if (!props.anchor && !props.tag && !sep2 && !value) {
51314
+ if (!props.anchor && !props.tag && !sep3 && !value) {
51315
51315
  if (i6 === 0 && props.comma)
51316
51316
  onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`);
51317
51317
  else if (i6 < fc.items.length - 1)
@@ -51365,8 +51365,8 @@ var require_resolve_flow_collection = __commonJS({
51365
51365
  }
51366
51366
  }
51367
51367
  }
51368
- if (!isMap && !sep2 && !props.found) {
51369
- const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep2, null, props, onError);
51368
+ if (!isMap && !sep3 && !props.found) {
51369
+ const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep3, null, props, onError);
51370
51370
  coll.items.push(valueNode);
51371
51371
  offset = valueNode.range[2];
51372
51372
  if (isBlock(value))
@@ -51376,7 +51376,7 @@ var require_resolve_flow_collection = __commonJS({
51376
51376
  const keyNode = key ? composeNode(ctx, key, props, onError) : composeEmptyNode(ctx, keyStart, start, null, props, onError);
51377
51377
  if (isBlock(key))
51378
51378
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
51379
- const valueProps = resolveProps.resolveProps(sep2 ?? [], {
51379
+ const valueProps = resolveProps.resolveProps(sep3 ?? [], {
51380
51380
  flow: fcName,
51381
51381
  indicator: "map-value-ind",
51382
51382
  next: value,
@@ -51387,8 +51387,8 @@ var require_resolve_flow_collection = __commonJS({
51387
51387
  });
51388
51388
  if (valueProps.found) {
51389
51389
  if (!isMap && !props.found && ctx.options.strict) {
51390
- if (sep2)
51391
- for (const st of sep2) {
51390
+ if (sep3)
51391
+ for (const st of sep3) {
51392
51392
  if (st === valueProps.found)
51393
51393
  break;
51394
51394
  if (st.type === "newline") {
@@ -51405,7 +51405,7 @@ var require_resolve_flow_collection = __commonJS({
51405
51405
  else
51406
51406
  onError(valueProps.start, "MISSING_CHAR", `Missing , or : between ${fcName} items`);
51407
51407
  }
51408
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep2, null, valueProps, onError) : null;
51408
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep3, null, valueProps, onError) : null;
51409
51409
  if (valueNode) {
51410
51410
  if (isBlock(value))
51411
51411
  onError(valueNode.range, "BLOCK_IN_FLOW", blockMsg);
@@ -51585,7 +51585,7 @@ var require_resolve_block_scalar = __commonJS({
51585
51585
  chompStart = i6 + 1;
51586
51586
  }
51587
51587
  let value = "";
51588
- let sep2 = "";
51588
+ let sep3 = "";
51589
51589
  let prevMoreIndented = false;
51590
51590
  for (let i6 = 0; i6 < contentStart; ++i6)
51591
51591
  value += lines[i6][0].slice(trimIndent) + "\n";
@@ -51602,24 +51602,24 @@ var require_resolve_block_scalar = __commonJS({
51602
51602
  indent = "";
51603
51603
  }
51604
51604
  if (type === Scalar.Scalar.BLOCK_LITERAL) {
51605
- value += sep2 + indent.slice(trimIndent) + content;
51606
- sep2 = "\n";
51605
+ value += sep3 + indent.slice(trimIndent) + content;
51606
+ sep3 = "\n";
51607
51607
  } else if (indent.length > trimIndent || content[0] === " ") {
51608
- if (sep2 === " ")
51609
- sep2 = "\n";
51610
- else if (!prevMoreIndented && sep2 === "\n")
51611
- sep2 = "\n\n";
51612
- value += sep2 + indent.slice(trimIndent) + content;
51613
- sep2 = "\n";
51608
+ if (sep3 === " ")
51609
+ sep3 = "\n";
51610
+ else if (!prevMoreIndented && sep3 === "\n")
51611
+ sep3 = "\n\n";
51612
+ value += sep3 + indent.slice(trimIndent) + content;
51613
+ sep3 = "\n";
51614
51614
  prevMoreIndented = true;
51615
51615
  } else if (content === "") {
51616
- if (sep2 === "\n")
51616
+ if (sep3 === "\n")
51617
51617
  value += "\n";
51618
51618
  else
51619
- sep2 = "\n";
51619
+ sep3 = "\n";
51620
51620
  } else {
51621
- value += sep2 + content;
51622
- sep2 = " ";
51621
+ value += sep3 + content;
51622
+ sep3 = " ";
51623
51623
  prevMoreIndented = false;
51624
51624
  }
51625
51625
  }
@@ -51801,25 +51801,25 @@ var require_resolve_flow_scalar = __commonJS({
51801
51801
  if (!match2)
51802
51802
  return source;
51803
51803
  let res = match2[1];
51804
- let sep2 = " ";
51804
+ let sep3 = " ";
51805
51805
  let pos = first2.lastIndex;
51806
51806
  line.lastIndex = pos;
51807
51807
  while (match2 = line.exec(source)) {
51808
51808
  if (match2[1] === "") {
51809
- if (sep2 === "\n")
51810
- res += sep2;
51809
+ if (sep3 === "\n")
51810
+ res += sep3;
51811
51811
  else
51812
- sep2 = "\n";
51812
+ sep3 = "\n";
51813
51813
  } else {
51814
- res += sep2 + match2[1];
51815
- sep2 = " ";
51814
+ res += sep3 + match2[1];
51815
+ sep3 = " ";
51816
51816
  }
51817
51817
  pos = line.lastIndex;
51818
51818
  }
51819
51819
  const last2 = /[ \t]*(.*)/sy;
51820
51820
  last2.lastIndex = pos;
51821
51821
  match2 = last2.exec(source);
51822
- return res + sep2 + (match2?.[1] ?? "");
51822
+ return res + sep3 + (match2?.[1] ?? "");
51823
51823
  }
51824
51824
  function doubleQuotedValue(source, onError) {
51825
51825
  let res = "";
@@ -52606,14 +52606,14 @@ var require_cst_stringify = __commonJS({
52606
52606
  }
52607
52607
  }
52608
52608
  }
52609
- function stringifyItem({ start, key, sep: sep2, value }) {
52609
+ function stringifyItem({ start, key, sep: sep3, value }) {
52610
52610
  let res = "";
52611
52611
  for (const st of start)
52612
52612
  res += st.source;
52613
52613
  if (key)
52614
52614
  res += stringifyToken(key);
52615
- if (sep2)
52616
- for (const st of sep2)
52615
+ if (sep3)
52616
+ for (const st of sep3)
52617
52617
  res += st.source;
52618
52618
  if (value)
52619
52619
  res += stringifyToken(value);
@@ -53762,18 +53762,18 @@ var require_parser = __commonJS({
53762
53762
  if (this.type === "map-value-ind") {
53763
53763
  const prev2 = getPrevProps(this.peek(2));
53764
53764
  const start = getFirstKeyStartProps(prev2);
53765
- let sep2;
53765
+ let sep3;
53766
53766
  if (scalar.end) {
53767
- sep2 = scalar.end;
53768
- sep2.push(this.sourceToken);
53767
+ sep3 = scalar.end;
53768
+ sep3.push(this.sourceToken);
53769
53769
  delete scalar.end;
53770
53770
  } else
53771
- sep2 = [this.sourceToken];
53771
+ sep3 = [this.sourceToken];
53772
53772
  const map2 = {
53773
53773
  type: "block-map",
53774
53774
  offset: scalar.offset,
53775
53775
  indent: scalar.indent,
53776
- items: [{ start, key: scalar, sep: sep2 }]
53776
+ items: [{ start, key: scalar, sep: sep3 }]
53777
53777
  };
53778
53778
  this.onKeyLine = true;
53779
53779
  this.stack[this.stack.length - 1] = map2;
@@ -53926,15 +53926,15 @@ var require_parser = __commonJS({
53926
53926
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
53927
53927
  const start2 = getFirstKeyStartProps(it.start);
53928
53928
  const key = it.key;
53929
- const sep2 = it.sep;
53930
- sep2.push(this.sourceToken);
53929
+ const sep3 = it.sep;
53930
+ sep3.push(this.sourceToken);
53931
53931
  delete it.key;
53932
53932
  delete it.sep;
53933
53933
  this.stack.push({
53934
53934
  type: "block-map",
53935
53935
  offset: this.offset,
53936
53936
  indent: this.indent,
53937
- items: [{ start: start2, key, sep: sep2 }]
53937
+ items: [{ start: start2, key, sep: sep3 }]
53938
53938
  });
53939
53939
  } else if (start.length > 0) {
53940
53940
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -54118,13 +54118,13 @@ var require_parser = __commonJS({
54118
54118
  const prev2 = getPrevProps(parent2);
54119
54119
  const start = getFirstKeyStartProps(prev2);
54120
54120
  fixFlowSeqItems(fc);
54121
- const sep2 = fc.end.splice(1, fc.end.length);
54122
- sep2.push(this.sourceToken);
54121
+ const sep3 = fc.end.splice(1, fc.end.length);
54122
+ sep3.push(this.sourceToken);
54123
54123
  const map2 = {
54124
54124
  type: "block-map",
54125
54125
  offset: fc.offset,
54126
54126
  indent: fc.indent,
54127
- items: [{ start, key: fc, sep: sep2 }]
54127
+ items: [{ start, key: fc, sep: sep3 }]
54128
54128
  };
54129
54129
  this.onKeyLine = true;
54130
54130
  this.stack[this.stack.length - 1] = map2;
@@ -84259,16 +84259,16 @@ var require_lockfile = __commonJS({
84259
84259
  if (process.platform === "win32") {
84260
84260
  yield fsSymlink(src, dest, "junction");
84261
84261
  } else {
84262
- let relative6;
84262
+ let relative7;
84263
84263
  try {
84264
- relative6 = (_path || _load_path()).default.relative((_fs || _load_fs()).default.realpathSync((_path || _load_path()).default.dirname(dest)), (_fs || _load_fs()).default.realpathSync(src));
84264
+ relative7 = (_path || _load_path()).default.relative((_fs || _load_fs()).default.realpathSync((_path || _load_path()).default.dirname(dest)), (_fs || _load_fs()).default.realpathSync(src));
84265
84265
  } catch (err) {
84266
84266
  if (err.code !== "ENOENT") {
84267
84267
  throw err;
84268
84268
  }
84269
- relative6 = (_path || _load_path()).default.relative((_path || _load_path()).default.dirname(dest), src);
84269
+ relative7 = (_path || _load_path()).default.relative((_path || _load_path()).default.dirname(dest), src);
84270
84270
  }
84271
- yield fsSymlink(relative6 || ".", dest);
84271
+ yield fsSymlink(relative7 || ".", dest);
84272
84272
  }
84273
84273
  });
84274
84274
  return function symlink2(_x24, _x25) {
@@ -84295,17 +84295,17 @@ var require_lockfile = __commonJS({
84295
84295
  _ref28 = _i14.value;
84296
84296
  }
84297
84297
  const name = _ref28;
84298
- const relative6 = relativeDir ? (_path || _load_path()).default.join(relativeDir, name) : name;
84298
+ const relative7 = relativeDir ? (_path || _load_path()).default.join(relativeDir, name) : name;
84299
84299
  const loc = (_path || _load_path()).default.join(dir, name);
84300
84300
  const stat3 = yield lstat2(loc);
84301
84301
  files.push({
84302
- relative: relative6,
84302
+ relative: relative7,
84303
84303
  basename: name,
84304
84304
  absolute: loc,
84305
84305
  mtime: +stat3.mtime
84306
84306
  });
84307
84307
  if (stat3.isDirectory()) {
84308
- files = files.concat(yield walk(loc, relative6, ignoreBasenames));
84308
+ files = files.concat(yield walk(loc, relative7, ignoreBasenames));
84309
84309
  }
84310
84310
  }
84311
84311
  return files;
@@ -85525,15 +85525,15 @@ var require_lockfile = __commonJS({
85525
85525
  }
85526
85526
  toString(opts) {
85527
85527
  opts = opts || {};
85528
- let sep2 = opts.sep || " ";
85528
+ let sep3 = opts.sep || " ";
85529
85529
  if (opts.strict) {
85530
- sep2 = sep2.replace(/\S+/g, " ");
85530
+ sep3 = sep3.replace(/\S+/g, " ");
85531
85531
  }
85532
85532
  return Object.keys(this).map((k) => {
85533
85533
  return this[k].map((hash) => {
85534
85534
  return Hash.prototype.toString.call(hash, opts);
85535
- }).filter((x2) => x2.length).join(sep2);
85536
- }).filter((x2) => x2.length).join(sep2);
85535
+ }).filter((x2) => x2.length).join(sep3);
85536
+ }).filter((x2) => x2.length).join(sep3);
85537
85537
  }
85538
85538
  concat(integrity, opts) {
85539
85539
  const other = typeof integrity === "string" ? integrity : stringify3(integrity, opts);
@@ -106147,7 +106147,7 @@ var init_other_modules_communicator = __esm({
106147
106147
  return `${_cmdStr()}: (${ecosystem}) ${(0, import_path20.join)(subprojectPath, workspacePath)}`;
106148
106148
  }
106149
106149
  getProjectPath(subprojectPath) {
106150
- return this.options.runWithoutDocker ? subprojectPath : import_path20.posix.resolve("/project", import_path20.posix.relative(this.rootWorkingDir, subprojectPath));
106150
+ return this.options.runWithoutDocker ? subprojectPath : import_path20.posix.resolve("/project", (0, import_path20.relative)(this.rootWorkingDir, subprojectPath).replaceAll(import_path20.sep, import_path20.posix.sep));
106151
106151
  }
106152
106152
  // options shared between package-management and reachability-analyzers
106153
106153
  commonOptions = (0, import_lodash7.once)(
@@ -140510,7 +140510,7 @@ var init_ecosystem_specs = __esm({
140510
140510
  /* @__PURE__ */ new Map()
140511
140511
  ],
140512
140512
  GO: [/* @__PURE__ */ new Map([[/go\.mod|go\.work/, "GO"]]), /* @__PURE__ */ new Map()],
140513
- NUGET: [/* @__PURE__ */ new Map([[/.*\.(sln|csproj|vbproj|fsproj)/, "NUGET"]]), /* @__PURE__ */ new Map()],
140513
+ NUGET: [/* @__PURE__ */ new Map([[/.*\.(sln|.*proj)/, "NUGET"]]), /* @__PURE__ */ new Map()],
140514
140514
  COMPOSER: [/* @__PURE__ */ new Map([["composer.json", "COMPOSER"]]), /* @__PURE__ */ new Map([["composer.lock", "COMPOSER"]])],
140515
140515
  RUBYGEMS: [/* @__PURE__ */ new Map([[/[Gg]emfile|gems\.rb/, "RUBYGEMS"]]), /* @__PURE__ */ new Map([[/.*\.gemspec, [gG]emfile\.lock/, "RUBYGEMS"]])],
140516
140516
  RUST: [/* @__PURE__ */ new Map([["cargo.toml", "CARGO"]]), /* @__PURE__ */ new Map([["cargo.lock", "CARGO"]])],
@@ -144908,10 +144908,10 @@ var require_resolve_block_map2 = __commonJS({
144908
144908
  let offset = bm.offset;
144909
144909
  let commentEnd = null;
144910
144910
  for (const collItem of bm.items) {
144911
- const { start, key, sep: sep2, value } = collItem;
144911
+ const { start, key, sep: sep3, value } = collItem;
144912
144912
  const keyProps = resolveProps.resolveProps(start, {
144913
144913
  indicator: "explicit-key-ind",
144914
- next: key ?? sep2?.[0],
144914
+ next: key ?? sep3?.[0],
144915
144915
  offset,
144916
144916
  onError,
144917
144917
  startOnNewline: true
@@ -144924,7 +144924,7 @@ var require_resolve_block_map2 = __commonJS({
144924
144924
  else if ("indent" in key && key.indent !== bm.indent)
144925
144925
  onError(offset, "BAD_INDENT", startColMsg);
144926
144926
  }
144927
- if (!keyProps.anchor && !keyProps.tag && !sep2) {
144927
+ if (!keyProps.anchor && !keyProps.tag && !sep3) {
144928
144928
  commentEnd = keyProps.end;
144929
144929
  if (keyProps.comment) {
144930
144930
  if (map2.comment)
@@ -144946,7 +144946,7 @@ var require_resolve_block_map2 = __commonJS({
144946
144946
  utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);
144947
144947
  if (utilMapIncludes.mapIncludes(ctx, map2.items, keyNode))
144948
144948
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
144949
- const valueProps = resolveProps.resolveProps(sep2 ?? [], {
144949
+ const valueProps = resolveProps.resolveProps(sep3 ?? [], {
144950
144950
  indicator: "map-value-ind",
144951
144951
  next: value,
144952
144952
  offset: keyNode.range[2],
@@ -144961,7 +144961,7 @@ var require_resolve_block_map2 = __commonJS({
144961
144961
  if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024)
144962
144962
  onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
144963
144963
  }
144964
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep2, null, valueProps, onError);
144964
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep3, null, valueProps, onError);
144965
144965
  if (ctx.schema.compat)
144966
144966
  utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
144967
144967
  offset = valueNode.range[2];
@@ -145048,7 +145048,7 @@ var require_resolve_end2 = __commonJS({
145048
145048
  let comment = "";
145049
145049
  if (end2) {
145050
145050
  let hasSpace = false;
145051
- let sep2 = "";
145051
+ let sep3 = "";
145052
145052
  for (const token of end2) {
145053
145053
  const { source, type } = token;
145054
145054
  switch (type) {
@@ -145062,13 +145062,13 @@ var require_resolve_end2 = __commonJS({
145062
145062
  if (!comment)
145063
145063
  comment = cb;
145064
145064
  else
145065
- comment += sep2 + cb;
145066
- sep2 = "";
145065
+ comment += sep3 + cb;
145066
+ sep3 = "";
145067
145067
  break;
145068
145068
  }
145069
145069
  case "newline":
145070
145070
  if (comment)
145071
- sep2 += source;
145071
+ sep3 += source;
145072
145072
  hasSpace = true;
145073
145073
  break;
145074
145074
  default:
@@ -145108,17 +145108,17 @@ var require_resolve_flow_collection2 = __commonJS({
145108
145108
  let offset = fc.offset + fc.start.source.length;
145109
145109
  for (let i6 = 0; i6 < fc.items.length; ++i6) {
145110
145110
  const collItem = fc.items[i6];
145111
- const { start, key, sep: sep2, value } = collItem;
145111
+ const { start, key, sep: sep3, value } = collItem;
145112
145112
  const props = resolveProps.resolveProps(start, {
145113
145113
  flow: fcName,
145114
145114
  indicator: "explicit-key-ind",
145115
- next: key ?? sep2?.[0],
145115
+ next: key ?? sep3?.[0],
145116
145116
  offset,
145117
145117
  onError,
145118
145118
  startOnNewline: false
145119
145119
  });
145120
145120
  if (!props.found) {
145121
- if (!props.anchor && !props.tag && !sep2 && !value) {
145121
+ if (!props.anchor && !props.tag && !sep3 && !value) {
145122
145122
  if (i6 === 0 && props.comma)
145123
145123
  onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`);
145124
145124
  else if (i6 < fc.items.length - 1)
@@ -145172,8 +145172,8 @@ var require_resolve_flow_collection2 = __commonJS({
145172
145172
  }
145173
145173
  }
145174
145174
  }
145175
- if (!isMap && !sep2 && !props.found) {
145176
- const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep2, null, props, onError);
145175
+ if (!isMap && !sep3 && !props.found) {
145176
+ const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep3, null, props, onError);
145177
145177
  coll.items.push(valueNode);
145178
145178
  offset = valueNode.range[2];
145179
145179
  if (isBlock(value))
@@ -145183,7 +145183,7 @@ var require_resolve_flow_collection2 = __commonJS({
145183
145183
  const keyNode = key ? composeNode(ctx, key, props, onError) : composeEmptyNode(ctx, keyStart, start, null, props, onError);
145184
145184
  if (isBlock(key))
145185
145185
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
145186
- const valueProps = resolveProps.resolveProps(sep2 ?? [], {
145186
+ const valueProps = resolveProps.resolveProps(sep3 ?? [], {
145187
145187
  flow: fcName,
145188
145188
  indicator: "map-value-ind",
145189
145189
  next: value,
@@ -145193,8 +145193,8 @@ var require_resolve_flow_collection2 = __commonJS({
145193
145193
  });
145194
145194
  if (valueProps.found) {
145195
145195
  if (!isMap && !props.found && ctx.options.strict) {
145196
- if (sep2)
145197
- for (const st of sep2) {
145196
+ if (sep3)
145197
+ for (const st of sep3) {
145198
145198
  if (st === valueProps.found)
145199
145199
  break;
145200
145200
  if (st.type === "newline") {
@@ -145211,7 +145211,7 @@ var require_resolve_flow_collection2 = __commonJS({
145211
145211
  else
145212
145212
  onError(valueProps.start, "MISSING_CHAR", `Missing , or : between ${fcName} items`);
145213
145213
  }
145214
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep2, null, valueProps, onError) : null;
145214
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep3, null, valueProps, onError) : null;
145215
145215
  if (valueNode) {
145216
145216
  if (isBlock(value))
145217
145217
  onError(valueNode.range, "BLOCK_IN_FLOW", blockMsg);
@@ -145380,7 +145380,7 @@ var require_resolve_block_scalar2 = __commonJS({
145380
145380
  chompStart = i6 + 1;
145381
145381
  }
145382
145382
  let value = "";
145383
- let sep2 = "";
145383
+ let sep3 = "";
145384
145384
  let prevMoreIndented = false;
145385
145385
  for (let i6 = 0; i6 < contentStart; ++i6)
145386
145386
  value += lines[i6][0].slice(trimIndent) + "\n";
@@ -145397,24 +145397,24 @@ var require_resolve_block_scalar2 = __commonJS({
145397
145397
  indent = "";
145398
145398
  }
145399
145399
  if (type === Scalar.Scalar.BLOCK_LITERAL) {
145400
- value += sep2 + indent.slice(trimIndent) + content;
145401
- sep2 = "\n";
145400
+ value += sep3 + indent.slice(trimIndent) + content;
145401
+ sep3 = "\n";
145402
145402
  } else if (indent.length > trimIndent || content[0] === " ") {
145403
- if (sep2 === " ")
145404
- sep2 = "\n";
145405
- else if (!prevMoreIndented && sep2 === "\n")
145406
- sep2 = "\n\n";
145407
- value += sep2 + indent.slice(trimIndent) + content;
145408
- sep2 = "\n";
145403
+ if (sep3 === " ")
145404
+ sep3 = "\n";
145405
+ else if (!prevMoreIndented && sep3 === "\n")
145406
+ sep3 = "\n\n";
145407
+ value += sep3 + indent.slice(trimIndent) + content;
145408
+ sep3 = "\n";
145409
145409
  prevMoreIndented = true;
145410
145410
  } else if (content === "") {
145411
- if (sep2 === "\n")
145411
+ if (sep3 === "\n")
145412
145412
  value += "\n";
145413
145413
  else
145414
- sep2 = "\n";
145414
+ sep3 = "\n";
145415
145415
  } else {
145416
- value += sep2 + content;
145417
- sep2 = " ";
145416
+ value += sep3 + content;
145417
+ sep3 = " ";
145418
145418
  prevMoreIndented = false;
145419
145419
  }
145420
145420
  }
@@ -145596,25 +145596,25 @@ var require_resolve_flow_scalar2 = __commonJS({
145596
145596
  if (!match2)
145597
145597
  return source;
145598
145598
  let res = match2[1];
145599
- let sep2 = " ";
145599
+ let sep3 = " ";
145600
145600
  let pos = first2.lastIndex;
145601
145601
  line.lastIndex = pos;
145602
145602
  while (match2 = line.exec(source)) {
145603
145603
  if (match2[1] === "") {
145604
- if (sep2 === "\n")
145605
- res += sep2;
145604
+ if (sep3 === "\n")
145605
+ res += sep3;
145606
145606
  else
145607
- sep2 = "\n";
145607
+ sep3 = "\n";
145608
145608
  } else {
145609
- res += sep2 + match2[1];
145610
- sep2 = " ";
145609
+ res += sep3 + match2[1];
145610
+ sep3 = " ";
145611
145611
  }
145612
145612
  pos = line.lastIndex;
145613
145613
  }
145614
145614
  const last2 = /[ \t]*(.*)/sy;
145615
145615
  last2.lastIndex = pos;
145616
145616
  match2 = last2.exec(source);
145617
- return res + sep2 + (match2?.[1] ?? "");
145617
+ return res + sep3 + (match2?.[1] ?? "");
145618
145618
  }
145619
145619
  function doubleQuotedValue(source, onError) {
145620
145620
  let res = "";
@@ -146387,14 +146387,14 @@ var require_cst_stringify2 = __commonJS({
146387
146387
  }
146388
146388
  }
146389
146389
  }
146390
- function stringifyItem({ start, key, sep: sep2, value }) {
146390
+ function stringifyItem({ start, key, sep: sep3, value }) {
146391
146391
  let res = "";
146392
146392
  for (const st of start)
146393
146393
  res += st.source;
146394
146394
  if (key)
146395
146395
  res += stringifyToken(key);
146396
- if (sep2)
146397
- for (const st of sep2)
146396
+ if (sep3)
146397
+ for (const st of sep3)
146398
146398
  res += st.source;
146399
146399
  if (value)
146400
146400
  res += stringifyToken(value);
@@ -147531,18 +147531,18 @@ var require_parser2 = __commonJS({
147531
147531
  if (this.type === "map-value-ind") {
147532
147532
  const prev2 = getPrevProps(this.peek(2));
147533
147533
  const start = getFirstKeyStartProps(prev2);
147534
- let sep2;
147534
+ let sep3;
147535
147535
  if (scalar.end) {
147536
- sep2 = scalar.end;
147537
- sep2.push(this.sourceToken);
147536
+ sep3 = scalar.end;
147537
+ sep3.push(this.sourceToken);
147538
147538
  delete scalar.end;
147539
147539
  } else
147540
- sep2 = [this.sourceToken];
147540
+ sep3 = [this.sourceToken];
147541
147541
  const map2 = {
147542
147542
  type: "block-map",
147543
147543
  offset: scalar.offset,
147544
147544
  indent: scalar.indent,
147545
- items: [{ start, key: scalar, sep: sep2 }]
147545
+ items: [{ start, key: scalar, sep: sep3 }]
147546
147546
  };
147547
147547
  this.onKeyLine = true;
147548
147548
  this.stack[this.stack.length - 1] = map2;
@@ -147693,14 +147693,14 @@ var require_parser2 = __commonJS({
147693
147693
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
147694
147694
  const start2 = getFirstKeyStartProps(it.start);
147695
147695
  const key = it.key;
147696
- const sep2 = it.sep;
147697
- sep2.push(this.sourceToken);
147696
+ const sep3 = it.sep;
147697
+ sep3.push(this.sourceToken);
147698
147698
  delete it.key, delete it.sep;
147699
147699
  this.stack.push({
147700
147700
  type: "block-map",
147701
147701
  offset: this.offset,
147702
147702
  indent: this.indent,
147703
- items: [{ start: start2, key, sep: sep2 }]
147703
+ items: [{ start: start2, key, sep: sep3 }]
147704
147704
  });
147705
147705
  } else if (start.length > 0) {
147706
147706
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -147884,13 +147884,13 @@ var require_parser2 = __commonJS({
147884
147884
  const prev2 = getPrevProps(parent2);
147885
147885
  const start = getFirstKeyStartProps(prev2);
147886
147886
  fixFlowSeqItems(fc);
147887
- const sep2 = fc.end.splice(1, fc.end.length);
147888
- sep2.push(this.sourceToken);
147887
+ const sep3 = fc.end.splice(1, fc.end.length);
147888
+ sep3.push(this.sourceToken);
147889
147889
  const map2 = {
147890
147890
  type: "block-map",
147891
147891
  offset: fc.offset,
147892
147892
  indent: fc.indent,
147893
- items: [{ start, key: fc, sep: sep2 }]
147893
+ items: [{ start, key: fc, sep: sep3 }]
147894
147894
  };
147895
147895
  this.onKeyLine = true;
147896
147896
  this.stack[this.stack.length - 1] = map2;
@@ -176185,10 +176185,10 @@ function compareDocumentPosition(nodeA, nodeB) {
176185
176185
  function uniqueSort(nodes) {
176186
176186
  nodes = nodes.filter((node, i6, arr) => !arr.includes(node, i6 + 1));
176187
176187
  nodes.sort((a2, b) => {
176188
- const relative6 = compareDocumentPosition(a2, b);
176189
- if (relative6 & DocumentPosition.PRECEDING) {
176188
+ const relative7 = compareDocumentPosition(a2, b);
176189
+ if (relative7 & DocumentPosition.PRECEDING) {
176190
176190
  return -1;
176191
- } else if (relative6 & DocumentPosition.FOLLOWING) {
176191
+ } else if (relative7 & DocumentPosition.FOLLOWING) {
176192
176192
  return 1;
176193
176193
  }
176194
176194
  return 0;
@@ -189292,13 +189292,14 @@ var init_vulnerabilities_supported_db = __esm({
189292
189292
  advisory
189293
189293
  });
189294
189294
  }
189295
- async registerVulnerabilityWithMissingAccessPathPattern(vuln, pms) {
189295
+ async registerVulnerabilityWithMissingAccessPathPattern(vuln, pms, assignee) {
189296
189296
  await this.vulnerabilitiesSupportedCollection.updateOne(
189297
189297
  { _id: getCoanaSupportedVulnerabilityKey(vuln) },
189298
189298
  {
189299
189299
  $set: {
189300
189300
  demand: true,
189301
- relevantUrls: await getInterestingURLsForVulnerability(vuln, pms)
189301
+ relevantUrls: await getInterestingURLsForVulnerability(vuln, pms),
189302
+ assignee
189302
189303
  }
189303
189304
  }
189304
189305
  );
@@ -207896,7 +207897,7 @@ var require_version = __commonJS({
207896
207897
  "use strict";
207897
207898
  Object.defineProperty(exports2, "__esModule", { value: true });
207898
207899
  exports2.version = void 0;
207899
- exports2.version = "14.4.0";
207900
+ exports2.version = "14.4.2";
207900
207901
  }
207901
207902
  });
207902
207903
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.4.0",
3
+ "version": "14.4.2",
4
4
  "description": "Coana CLI",
5
5
  "bin": {
6
6
  "@coana-tech/cli": "./cli.js"