@coana-tech/cli 14.3.11 → 14.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cli.js +15 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -91394,7 +91394,7 @@ var init_yarn_fixing_manager = __esm({
91394
91394
  async actuallyRunInstall(specificPackagesArgs, workspacePath) {
91395
91395
  const yarnInstruction = specificPackagesArgs?.length ? "add" : "install";
91396
91396
  const yarnType = this.yarnType;
91397
- const cmdWithoutSpecificPackages = yarnType === "classic" ? cmdt`yarn ${yarnInstruction} --ignore-scripts --noninteractive` : cmdt`yarn ${yarnInstruction} --mode=skip-build`;
91397
+ const cmdWithoutSpecificPackages = yarnType === "classic" ? cmdt`yarn ${yarnInstruction} --ignore-scripts --noninteractive` : cmdt`yarn ${yarnInstruction} --mode=skip-build --no-frozen-lockfile`;
91398
91398
  const env = process.env;
91399
91399
  if (yarnType === "berry") {
91400
91400
  env.YARN_ENABLE_SCRIPTS = "false";
@@ -91405,6 +91405,10 @@ var init_yarn_fixing_manager = __esm({
91405
91405
  const installDir = (0, import_path4.resolve)(this.rootDir, this.subprojectPath, workspacePath ?? ".");
91406
91406
  const installResult = await this.runYarnCommand(installationCommand, installDir, { env });
91407
91407
  if (installResult.error) {
91408
+ logger.info(`Failed to install packages: ${installResult.error.message}`);
91409
+ logger.info(`stdout`, installResult.stdout);
91410
+ logger.info(`stderr`, installResult.stderr);
91411
+ logger.info("yarn version", await runCommandResolveStdOut("yarn -v", installDir));
91408
91412
  throw new Error(`Failed to install packages: ${installResult.error.message}`);
91409
91413
  }
91410
91414
  }
@@ -140317,7 +140321,11 @@ function shouldIgnoreDir(dir) {
140317
140321
  ".venv",
140318
140322
  "venv",
140319
140323
  ".next",
140320
- "obj"
140324
+ "obj",
140325
+ ".yarn",
140326
+ // created by the yarn package manager
140327
+ ".bingo"
140328
+ // created by the Bingo package manager, which can be used with Go projects
140321
140329
  ];
140322
140330
  return dirsToIgnore.includes(dir);
140323
140331
  }
@@ -140502,7 +140510,7 @@ var init_ecosystem_specs = __esm({
140502
140510
  /* @__PURE__ */ new Map()
140503
140511
  ],
140504
140512
  GO: [/* @__PURE__ */ new Map([[/go\.mod|go\.work/, "GO"]]), /* @__PURE__ */ new Map()],
140505
- NUGET: [/* @__PURE__ */ new Map([[/.*\.(sln|csproj|vbproj|fsproj)/, "NUGET"]]), /* @__PURE__ */ new Map()],
140513
+ NUGET: [/* @__PURE__ */ new Map([[/.*\.(sln|.*proj)/, "NUGET"]]), /* @__PURE__ */ new Map()],
140506
140514
  COMPOSER: [/* @__PURE__ */ new Map([["composer.json", "COMPOSER"]]), /* @__PURE__ */ new Map([["composer.lock", "COMPOSER"]])],
140507
140515
  RUBYGEMS: [/* @__PURE__ */ new Map([[/[Gg]emfile|gems\.rb/, "RUBYGEMS"]]), /* @__PURE__ */ new Map([[/.*\.gemspec, [gG]emfile\.lock/, "RUBYGEMS"]])],
140508
140516
  RUST: [/* @__PURE__ */ new Map([["cargo.toml", "CARGO"]]), /* @__PURE__ */ new Map([["cargo.lock", "CARGO"]])],
@@ -189284,13 +189292,14 @@ var init_vulnerabilities_supported_db = __esm({
189284
189292
  advisory
189285
189293
  });
189286
189294
  }
189287
- async registerVulnerabilityWithMissingAccessPathPattern(vuln, pms) {
189295
+ async registerVulnerabilityWithMissingAccessPathPattern(vuln, pms, assignee) {
189288
189296
  await this.vulnerabilitiesSupportedCollection.updateOne(
189289
189297
  { _id: getCoanaSupportedVulnerabilityKey(vuln) },
189290
189298
  {
189291
189299
  $set: {
189292
189300
  demand: true,
189293
- relevantUrls: await getInterestingURLsForVulnerability(vuln, pms)
189301
+ relevantUrls: await getInterestingURLsForVulnerability(vuln, pms),
189302
+ assignee
189294
189303
  }
189295
189304
  }
189296
189305
  );
@@ -207888,7 +207897,7 @@ var require_version = __commonJS({
207888
207897
  "use strict";
207889
207898
  Object.defineProperty(exports2, "__esModule", { value: true });
207890
207899
  exports2.version = void 0;
207891
- exports2.version = "14.3.11";
207900
+ exports2.version = "14.4.1";
207892
207901
  }
207893
207902
  });
207894
207903
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.3.11",
3
+ "version": "14.4.1",
4
4
  "description": "Coana CLI",
5
5
  "bin": {
6
6
  "@coana-tech/cli": "./cli.js"