fix(P04-S01C): reconcile nested PostCSS 8.5.33 with baseline metadata and gate runtime advisories
This commit is contained in:
1 parent
8763be8460
commit
c759be990c
3 files changed
+15
-26
No files matched your search
@@ -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
|
||||
|
||||
Generated
-26
@@ -10599,32 +10599,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/next/node_modules/postcss": {
|
||||
"version": "8.4.31",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/postcss/"
|
||||
},
|
||||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/postcss"
|
||||
},
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"nanoid": "^3.3.6",
|
||||
"picocolors": "^1.0.0",
|
||||
"source-map-js": "^1.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/nicki": {
|
||||
"version": "6.1.1",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -61,5 +61,10 @@
|
||||
"optionalDependencies": {
|
||||
"lightningcss-linux-arm64-musl": "^1.30.1",
|
||||
"lightningcss-linux-x64-musl": "^1.30.1"
|
||||
},
|
||||
"overrides": {
|
||||
"next": {
|
||||
"postcss": "8.5.33"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user