Clear the two advisories blocking every PR in this repo - #194
Merged
Conversation
pnpm audit --prod fails on main, so the Audit production dependency tree step in CI blocks every open pull request regardless of what it changes. dompurify is a direct dependency and moves 3.4.12 -> 3.4.13 for GHSA-mmhx-hgw6-5g2q. nanoid arrives via next > postcss > nanoid and the existing postcss override does not lift it — postcss 8.5.18 still declares nanoid ^3.3.6, which resolves to 3.3.16. GHSA-2v37-7h3g-55p8 is fixed in 3.3.17, so it needs its own override; it now resolves to 3.3.18. Drop the override once postcss's own range moves. The override goes in pnpm-workspace.yaml rather than package.json, per the note in that file: declaring overrides in both causes ERR_PNPM_LOCKFILE_CONFIG_MISMATCH in CI. Co-Authored-By: Claude Opus 5 <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.
pnpm audit --prodfails on main, so CI's Audit production dependency tree step blocks every open pull request regardless of what it changes — #192 and #193 are both sitting on it right now.#193 alone does not fix this. It bumps dompurify, but nanoid still fails the audit, so that PR stays blocked too. This PR does both — #193 can be closed as superseded, or merged first and this rebased.
nanoid arrives via
next > postcss > nanoid, and the existingpostcss: ^8.5.18override does not lift it: postcss 8.5.18 still declaresnanoid ^3.3.6, which resolves to 3.3.16. So it needs its own entry, following the pattern already established for postcss, @babel/core and sharp.The override goes in
pnpm-workspace.yaml, notpackage.json— per the note in that file, declaring them in both causesERR_PNPM_LOCKFILE_CONFIG_MISMATCHin CI.Verified locally with pnpm 11.18.0 (the pinned version):
pnpm audit --prodreports No known vulnerabilities.🤖 Generated with Claude Code