Skip to content

IRL-32: Bump Next 16.2.1 → 16.2.4 (high-severity DoS)#37

Merged
alecvdp merged 1 commit intomainfrom
alecvdpoel/irl-32-bump-next-1624
Apr 16, 2026
Merged

IRL-32: Bump Next 16.2.1 → 16.2.4 (high-severity DoS)#37
alecvdp merged 1 commit intomainfrom
alecvdpoel/irl-32-bump-next-1624

Conversation

@alecvdp
Copy link
Copy Markdown
Owner

@alecvdp alecvdp commented Apr 16, 2026

Summary

Resolves IRL-32. Patches GHSA-q4gf-8mx6-v5v3 — Denial of Service in Server Components affecting Next.js 16.0.0-beta.0 through 16.2.2.

Bumped both next and eslint-config-next to ^16.2.4. npm audit now reports found 0 vulnerabilities.

Note on merge order

This PR is independent of #34 (bug bundle) and #35 (tests + CI), but #35 will need a rebase when this merges — both touch package.json / package-lock.json. Conflict is mechanical (different keys) and trivial to resolve.

Recommended merge order: this PR → #34#35 (rebase #35 onto main after each merge).

Test plan

  • npm install clean
  • npm audit reports 0 vulnerabilities
  • npm run lint clean
  • npm run build green
  • Manual smoke: npm run dev, click through tasks/notes/links/weather widgets

🤖 Generated with Claude Code


Open with Devin

Patches GHSA-q4gf-8mx6-v5v3 — Denial of Service in Server Components affecting
Next.js 16.0.0-beta.0 through 16.2.2.

Bumped both `next` and `eslint-config-next` to `^16.2.4`. `npm audit` now shows
0 vulnerabilities. Lint and build pass clean.

Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 16, 2026 17:13
@linear
Copy link
Copy Markdown

linear Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s Next.js dependency to a patched release to address GHSA-q4gf-8mx6-v5v3 (high-severity DoS in Server Components) and keeps the Next ESLint config in sync.

Changes:

  • Bump next from 16.2.1 to 16.2.4 (now specified as ^16.2.4).
  • Bump eslint-config-next from 16.2.1 to 16.2.4 (now specified as ^16.2.4).
  • Update package-lock.json to reflect the new resolved Next.js 16.2.4 dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
package.json Updates Next.js and eslint-config-next version specifiers to 16.2.4 to patch the advisory.
package-lock.json Updates resolved Next.js/eslint-config-next packages (and Next SWC artifacts) to 16.2.4.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"dotenv": "^17.3.1",
"lucide-react": "^1.7.0",
"next": "16.2.1",
"next": "^16.2.4",
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

next was changed from a pinned version to a caret range (^16.2.4). In this repo the core runtime packages appear to be pinned exactly (e.g., react, react-dom, @prisma/client), and previously next was pinned as well; keeping next pinned (e.g., 16.2.4 or at most ~16.2.4) helps avoid unexpected behavior changes from automatic patch/minor upgrades outside of an explicit bump PR.

Suggested change
"next": "^16.2.4",
"next": "16.2.4",

Copilot uses AI. Check for mistakes.
Comment thread package.json
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.2.1",
"eslint-config-next": "^16.2.4",
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint-config-next was changed from a pinned version to a caret range (^16.2.4). If the intent is reproducible toolchain behavior (consistent with pinning other core packages), consider pinning this to an exact version to prevent silent lint rule changes landing via transitive updates.

Suggested change
"eslint-config-next": "^16.2.4",
"eslint-config-next": "16.2.4",

Copilot uses AI. Check for mistakes.
Comment thread package.json
"dotenv": "^17.3.1",
"lucide-react": "^1.7.0",
"next": "16.2.1",
"next": "^16.2.4",
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next 16.2.4 declares a Node engine requirement of ">=20.9.0" (see package-lock.json for node_modules/next). Since package.json doesn't currently declare an engines.node, it's easy to deploy/build with an older Node and fail at runtime; consider adding an engines entry aligned with Next's requirement.

Copilot uses AI. Check for mistakes.
@alecvdp alecvdp merged commit f0468ed into main Apr 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants