fix(deps): patch sharp and brace-expansion advisories - #219
Merged
Conversation
Four runtime-scope alerts: - GHSA-f88m-g3jw-g9cj (sharp): next pulls sharp 0.34.5 as an optional dependency, which inherits the libvips CVEs. We already depend on 0.35.x directly, so lifting the floor to 0.35.0 collapses both copies onto 0.35.3. - GHSA-3jxr-9vmj-r5cp and GHSA-mh99-v99m-4gvg (brace-expansion): the tree carries the 1.x, 2.x and 5.x lines, so each gets an override inside its own major to reach 1.1.16 / 2.1.2 / 5.0.8.
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.
Clears four runtime-scope Dependabot alerts, all through
pnpm-workspace.yamloverrides.sharp (GHSA-f88m-g3jw-g9cj, high):
nextpullssharp0.34.5 as an optional dependency, and that line inherits the libvips CVEs.apps/webalready depends on^0.35.3directly, so raising the floor to 0.35.0 just collapses the duplicate copy onto 0.35.3. The standalone asset copy step is unaffected, since the version it copies does not change.brace-expansion (GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, high): the tree carries the 1.x, 2.x and 5.x lines, so each gets its own override inside its major to reach 1.1.16 / 2.1.2 / 5.0.8.
All four target versions are more than 24h old, so the
minimumReleaseAgepolicy is satisfied. The lockfile shrinks because the second sharp/@img tree disappears.The nine open
nextalerts are not covered here, they are fixed by 16.2.11 in #218.