fix(deps): patch 2 HIGH advisories — sharp 0.35.x + brace-expansion 1.1.16#123
Merged
Merged
Conversation
…sion 1.1.14→1.1.16 - sharp: override to ^0.35.0 (GHSA-f88m-g3jw-g9cj — inherited libvips CVEs; next pins ^0.34.5, so a minor bump needs an override) - brace-expansion: bump the vulnerable top-level 1.x instance to 1.1.16 (GHSA-3jxr-9vmj-r5cp — DoS via exponential expansion); unrelated 5.0.x copies untouched Transitive-only; no direct dependency versions changed.
aaronjmars
force-pushed
the
fix/security-sharp-brace-expansion
branch
from
July 23, 2026 22:16
6cbe8ad to
ccf080b
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.
Resolves the two remaining HIGH open Dependabot advisories on this repo (the two other open PRs, #121 body-parser and #122 fast-uri, are already merged).
Changes (transitive-only, no direct dependency changed)
sharpoverrides: ^0.35.0)brace-expansion(top-level 1.x)Why an override for sharp
sharpis an optional dependency ofnext, pinned to^0.34.5, so the fixed0.35.0is out of range and won't resolve without anoverridesentry. Added"sharp": "^0.35.0"alongside the repo's existing overrides.brace-expansion
Only the vulnerable top-level 1.x instance was bumped (via
npm update). The two unrelatedbrace-expansion@5.0.xcopies (under@ts-morph/commonand@typescript-eslint/typescript-estree) are a different major, not in scope, and were left as-is (incidental 5.0.7→5.0.8 patch).Verification
@img/sharp-*platform binaries (x64/arm64/musl — the CI & prod targets) confirmed present in the lockfile.package.json+package-lock.json.