@haakco/hostingctl 1.0.673 → 1.0.677

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/dist/main.js CHANGED
@@ -44002,7 +44002,7 @@ async function scheduleAction(context, action, path, extra) {
44002
44002
  function imageScanText(image) {
44003
44003
  const counts = `${String(image.scan.critical)} critical, ${String(image.scan.high)} high`;
44004
44004
  if (image.scan.status === "pending") return "pending — deployment unaffected";
44005
- if (image.scan.status === "clean") return `completed — ${counts}`;
44005
+ if (image.scan.status === "clean" || image.scan.status === "findings") return `completed — ${counts}`;
44006
44006
  return "unavailable — deployment unaffected";
44007
44007
  }
44008
44008
  /** The provenance lines for one imported image release, or none for a release built from source. */
@@ -79329,7 +79329,7 @@ function writeUpdateState(state, env = process.env) {
79329
79329
  }
79330
79330
  //#endregion
79331
79331
  //#region src/version.ts
79332
- var VERSION = "1.0.673";
79332
+ var VERSION = "1.0.677";
79333
79333
  //#endregion
79334
79334
  //#region src/commands/update.ts
79335
79335
  /**
@@ -79404,7 +79404,7 @@ var update = {
79404
79404
  }, process.env);
79405
79405
  return {
79406
79406
  ...known,
79407
- current: after ?? "1.0.673",
79407
+ current: after ?? "1.0.677",
79408
79408
  latest: after ?? latest,
79409
79409
  upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
79410
79410
  action: "run",
@@ -79686,7 +79686,7 @@ async function printUpdateNotice(options) {
79686
79686
  }, env, { waitMs: NOTICE_LOCK_WAIT_MS });
79687
79687
  } catch {}
79688
79688
  if (latest === null) return;
79689
- if (!isNewerVersion(latest, "1.0.673")) return;
79689
+ if (!isNewerVersion(latest, "1.0.677")) return;
79690
79690
  process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
79691
79691
  }
79692
79692
  /** Whether an environment variable is set to something, which is how CI and the opt-out are read. */