chore(deps): pin protobufjs to >=8.0.2 to clear 7 transitive advisories #111
Reference in New Issue
Block a user
Delete Branch "chore/deps/protobufjs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
protobufjs 8.0.0/8.0.1ship 7 fresh advisories (4 high, 3 moderate) pulled in transitively as@opentelemetry/exporter-trace-otlp-http → @opentelemetry/otlp-transformer → protobufjs.pnpm audit --audit-level=moderateflags them, which blocks theci:auditgate on every push.Pins the package directly via
pnpm.overrides— same shape we already use foraxios,brace-expansion,follow-redirects,ip-address,tmp,yaml. Resolution lands onprotobufjs@8.2.0(latest stable). The override isprotobufjs@<8.0.2: ">=8.0.2"so it auto-yields the moment a non-vulnerable transitive lands and the override becomes a no-op — no need to remember to remove it.Advisories cleared
Test plan
pnpm audit --audit-level=moderate→ No known vulnerabilities foundpnpm nx test portal-bff→ 99/99 passpnpm nx build portal-bff→ webpack compiled successfullypnpm installresolvesprotobufjs@8.2.0(verified in lockfile)