Repository navigation
Patch next and sharp CVEs in docs lockfile, raise version floors - #40
Merged
Merged
Conversation
The root lockfile was fixed in 4d0b713, but docs/package-lock.json was still pinned to vulnerable versions (Dependabot #205, #203, #202). docs/: - next 16.3.1 -> 16.3.6 (critical) GHSA-p293-qw3h-jr36 / CVE-2026-75604, GHSA-2xp9-vwfh-vxw4 - sharp 0.35.3 -> 0.35.4 (high) GHSA-rgj7-g3m4-5g8c (transitive via next) - devDependencies.next floor ^16.3.1 -> ^16.3.3 root: - dependencies.sharp floor ^0.35.3 -> ^0.35.4 so consumers of the published package can no longer resolve a vulnerable sharp - devDependencies.next floor ^16.3.1 -> ^16.3.3 - lockfile resolved versions unchanged (next 16.3.5, sharp 0.35.4) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
KidkArolis
approved these changes
Sep 24, 2026
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.
Fixes the still-open Dependabot alerts on
docs/package-lock.json. The rootpackage-lock.jsonalerts for the same advisories were already fixed in #39.Changes
docs/:
npm update, then raised thenextfloor to^16.3.3npm update)root: raised floors only; resolved versions are unchanged (next 16.3.5, sharp 0.35.4)
dependencies.sharp^0.35.3→^0.35.4: this is a runtime dependency of the published package, so the old range still let consumers resolve the vulnerable sharpdevDependencies.next^16.3.1→^16.3.3Before / after
npm audit/docs/Verification
npm test(oxlint, tsc types, ava): 49 tests passednpm run format:check: passesnpm run test:integration(Turbopack + Webpack fixture builds): passesdocs:npm run build(Turbopack) andnpm run build:webpack: both pass on Next 16.3.6Release / deployment
sharprange. It's worth a patch release (e.g. 0.6.3, changelog entry: "Require sharp ^0.35.4 (GHSA-rgj7-g3m4-5g8c)") vianpm run release. Not done here, because it needs approval.npm run release:docsis optional.🤖 Generated with Claude Code