@coana-tech/cli 14.12.84 → 14.12.86

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
@@ -221327,12 +221327,25 @@ var NpmSocketUpgradeManager = class {
221327
221327
  } else {
221328
221328
  logger.debug("update lockfile stdout", result.stdout);
221329
221329
  logger.debug("update lockfile stderr", result.stderr);
221330
+ logger.debug("update lockfile error code", result.error?.code);
221331
+ logger.debug("update lockfile error signal", result.error?.signal);
221332
+ logger.debug("update lockfile error killed", result.error?.killed);
221333
+ logger.debug("update lockfile working directory", lockfileDir);
221334
+ logger.debug("update lockfile command", mode === "LOCKFILE_ONLY" ? "npm install --package-lock-only" : "npm install -f --ignore-scripts --no-fund --no-audit --no-progress");
221335
+ const errorDetails = [
221336
+ `message: ${result.error?.message ?? "Unknown error"}`,
221337
+ result.error?.code ? `code: ${result.error.code}` : null,
221338
+ result.error?.signal ? `signal: ${result.error.signal}` : null,
221339
+ result.error?.killed ? "killed: true" : null,
221340
+ result.stdout === "" && result.stderr === "" ? "no output produced" : null
221341
+ ].filter(Boolean).join(", ");
221330
221342
  ctxt.statusUpdater?.({
221331
221343
  status: "error",
221332
221344
  file: lockfile2,
221333
221345
  artifacts: i3(artifacts),
221334
- message: `Failed to update lockfile: ${result.error?.message ?? "Unknown error"}`
221346
+ message: `Failed to update lockfile: ${errorDetails}`
221335
221347
  });
221348
+ throw new Error(`Failed to update lockfile: ${errorDetails}`);
221336
221349
  }
221337
221350
  });
221338
221351
  }
@@ -245909,7 +245922,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
245909
245922
  }
245910
245923
 
245911
245924
  // dist/version.js
245912
- var version2 = "14.12.84";
245925
+ var version2 = "14.12.86";
245913
245926
 
245914
245927
  // dist/cli-core.js
245915
245928
  var { mapValues, omit, partition, pick } = import_lodash15.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.12.84",
3
+ "version": "14.12.86",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {