Upgrade Next.js to 16.3.8 (critical RCE advisories) - #9
Merged
Merged
Conversation
next 16.1.3 -> 16.3.8 and eslint-config-next 15.5.9 -> 16.3.8 in apps/web for GHSA-vcvr-r3jv-pc5j, GHSA-2xp9-vwfh-vxw4 and GHSA-p293-qw3h-jr36. eslint-config-next 16 is a native flat config, so eslint.config.mjs imports it directly instead of going through FlatCompat (which now throws). The two new React Compiler rules it enables are set to warn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ThreatCrush Security Scan3 finding(s) HIGH/CRITICAL: 1 | LOW: 2
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Bumps
next16.1.3 -> 16.3.8 andeslint-config-next15.5.9 -> 16.3.8 (same version as next) in apps/web.Advisories fixed:
Breaking change fixed: eslint-config-next 16 ships a native flat config, and loading it through FlatCompat now throws "Converting circular structure to JSON".
apps/web/eslint.config.mjsimportseslint-config-next/core-web-vitalsdirectly. It also enables eslint-plugin-react-hooks 7's React Compiler rules;set-state-in-effectandimmutabilityflag 7 spots in existing components, so they are set to warn for now (no component code changed).Lockfile: narrowed so only next, eslint-config-next (and its new deps: react-hooks 7, typescript-eslint, zod for the hooks plugin), @next/*, sharp/@img and next's nested deps change; a clean
bun install --frozen-lockfilepasses and a plainbun installleaves it unchanged.Verified locally: lint, typecheck, tests, build (Next.js 16.3.8). Booted the standalone build under Bun as apps/web/Dockerfile does and compared with live icemap.app: /, /about, /contact, /donate, /favorites, /login, /privacy, /recent, /terms all 200 with identical titles (text length identical except /contact, +/-7 chars of form token);
/_next/image(webp) byte-identical to live. No next/og routes.🤖 Generated with Claude Code