chore(deps): pin patched transitive npm deps (Vanta high/medium remediation)#10147
Merged
Merged
Conversation
…iation) Rebuilt on current main and regenerated yarn.lock. Forces tar 7.5.16, serialize-javascript 7.0.5, minimatch v3/v9/v10, picomatch v2/v4, lodash, brace-expansion to patched. No vulnerable versions resolve. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ab31e09 to
ec6146e
Compare
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
Adds a Yarn Berry
resolutionsblock topackage.jsonso transitively-pinned npmdependencies are forced to patched versions, then regenerates
yarn.lock. Onlypackage.jsonandyarn.lockchange.Why (the transitive-pin trap)
These packages are not direct dependencies — they are pulled in transitively and
were pinned to vulnerable versions deep in
yarn.lock. Bumping a direct dep doesn'tmove them; the reliable fix in a Yarn Berry repo is
resolutions. Berry matches eachresolution descriptor range exactly, so multi-major packages get one resolution per
vulnerable range that appears in the lockfile (verified by re-checking the lockfile and
iterating until nothing resolved below target).
Versions (all now >= patched target)
CI caveat — MAJOR bumps
tarandserialize-javascriptjump v6 -> v7. These are build/dev transitive deps,but tar v7 raises its Node floor (>= 18). Locally
yarn install --immutablepasses andthe bumps introduce no new peer-dependency conflicts (the only YN0060 warnings are
pre-existing vitest/rollup ones). Please let CI exercise the build/test pipeline before
un-drafting.
Status
Draft — opened for review / CI. Nothing merged.
🤖 Generated with Claude Code