Repository navigation
chore(deps): override frontend transitive deps for CVEs - #161
Merged
Merged
Conversation
pnpm audit (the release `validate` gate, --prod --audit-level moderate) flagged 11 advisories in transitive frontend deps disclosed since v1.4.1, failing the release after the backend audit was cleared: hono <4.12.25 GHSA-88fw-hqm2-52qc (high, CORS) + 4 more protobufjs <=7.6.2 GHSA-f38q-mgvj-vph7 js-yaml <=4.1.1 GHSA-h67p-54hq-rp68 @opentelemetry/core <2.8.0 GHSA-8988-4f7v-96qf All transitive, so pin patched floors via pnpm.overrides: hono >=4.12.25, protobufjs >=7.6.3, js-yaml >=4.2.0, @opentelemetry/core >=2.8.0 audit at moderate gate now exits 0 (2 low advisories remain, below threshold); typecheck clean, 272 unit tests pass, production build green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Clears the
pnpm audit --prod --audit-level moderateadvisories that block the v1.4.2 releasevalidategate (frontend layer), after the backend audit was fixed in #160. 11 advisories in transitive deps, disclosed since v1.4.1.How
All four are transitive, so pinned via
pnpm.overridesinfrontend/package.json(extends the existing override block), lockfile refreshed. No direct-dependency or app-code changes.Verification
pnpm audit --prod --audit-level moderate: exit 0 (2 low advisories remain, below the gate).pnpm typecheck: clean.pnpm test: 272 passed.pnpm build: production build succeeds.Follow-up
Re-run the v1.4.2 release after merge (backend audit fixed in #160, frontend here).
🤖 Generated with Claude Code