Conversation
Clears the six remaining Dependabot alerts (sharp 77/94, postcss 67/79/80/86) without taking the Next.js 15 -> 16 major upgrade that Dependabot proposed. - sharp: next@15.5.25 already allows "^0.34.3 || ^0.35.4", so 0.35.4 is reachable on Next 15; the override just pins resolution to that branch. - postcss: next@15.5.25 pins postcss to exactly 8.4.31 in its own node_modules, so a top-level bump alone does not clear the alerts. The "$postcss" override applies our direct devDependency spec everywhere, deduping next's nested copy onto 8.5.28. Verified: build, lint and a `next start` smoke test of /, /visualization, /api/latencies, /region-status and /about all pass, and the compiled Tailwind CSS is byte-identical to the pre-change build (14871 bytes). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JgBXidouB5LfaxhmPgtUta
Owner
Author
|
Obsolete: merging #95 (Next.js 16) resolved these natively — next@16.3.4 pins postcss 8.5.23 and allows sharp ^0.35.3, so main now resolves postcss 8.5.23 and sharp 0.35.4 with no overrides needed. All six alerts (sharp #77/#94, postcss #67/#79/#80/#86) are closed, and the repo has zero open Dependabot alerts. Adding overrides on top would be redundant machinery. |
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.
Closes the last six open Dependabot alerts (sharp #77/#94, postcss #67/#79/#80/#86) while staying on Next.js 15.
Dependabot proposed these as part of #86, which bumps
nextfrom 15.5.21 to 16.3.0 — a framework major. That is not required:next@15.5.25declaressharp: "^0.34.3 || ^0.35.4", so 0.35.4 is already reachable on Next 15. We were resolving to 0.34.5; the override pins resolution to the patched branch.next@15.5.25pinspostcssto exactly8.4.31inside its ownnode_modules, so raising our top-level dep alone leaves the nested copy vulnerable. Raising the direct devDependency to^8.5.23and adding anoverridesentry of"$postcss"applies that spec everywhere, deduping next's nested copy onto 8.5.28.Verification
npm ci+npm run build— clean on Next.js 15.5.25npm run lint— no ESLint warnings or errorsnext startsmoke test —/,/visualization,/api/latencies,/region-status,/aboutall return 200 with real rendered contentFollow-up
Next.js 16 (#86) is still worth doing, but as a deliberate migration rather than a security bump — notably
next lintis removed in 16, which would break the currentlintscript.🤖 Generated with Claude Code
https://claude.ai/code/session_01JgBXidouB5LfaxhmPgtUta