fix(P04-S01C): reconcile nested PostCSS 8.5.33 with baseline metadata and gate runtime advisories

This commit is contained in:
victorsteele428 committed 2026-11-22 13:26:34 +00:00
1 parent 8763be8460
commit c759be990c
3 files changed
+15 -26

No files matched your search

+10
View File
@@ -217,6 +217,16 @@ jobs:
fixAvailable: item.fixAvailable
}));
}
if (scope === "runtime") {
const counts = audit.metadata.vulnerabilities;
if (!Number.isInteger(counts.high) || !Number.isInteger(counts.critical)) {
throw Error("Incomplete runtime npm advisory severity counts");
}
if (counts.high > 0 || counts.critical > 0) {
throw Error("DATASTACK_RUNTIME_SECURITY_GATE_FAILED high=" + counts.high + " critical=" + counts.critical);
}
console.log("DATASTACK_RUNTIME_SECURITY_HIGH_CRITICAL_ZERO");
}
}
NODE
git diff --exit-code -- package.json package-lock.json