Fix Next.js 15 compatibility: async params and eslint-config-next upgrade - #103
Merged
dcotelo merged 2 commits intoFeb 9, 2026
Merged
Conversation
…ade eslint-config-next Co-authored-by: dcotelo <50673035+dcotelo@users.noreply.github.com>
Deploying chartimpact with
|
| Latest commit: |
b4e34c7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://72b1a3fb.chartimpact.pages.dev |
| Branch Preview URL: | https://copilot-sub-pr-98.chartimpact.pages.dev |
|
Copilot
AI
changed the title
[WIP] Update next from 14.2.35 to 15.5.10 for security fixes
Fix Next.js 15 compatibility: async params and eslint-config-next upgrade
Feb 9, 2026
dcotelo
marked this pull request as ready for review
February 9, 2026 14:55
dcotelo
merged commit Feb 9, 2026
8478c05
into
snyk-fix-85006cc8859b9e120bfbad5d9f37457c
12 checks passed
dcotelo
added a commit
that referenced
this pull request
Feb 9, 2026
* fix: frontend/package.json & frontend/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NEXT-15104645 * Fix Next.js 15 compatibility: async params and eslint-config-next upgrade (#103) * Initial plan * Fix Next.js 15 compatibility issues - update params to async and upgrade eslint-config-next Co-authored-by: dcotelo <50673035+dcotelo@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dcotelo <50673035+dcotelo@users.noreply.github.com> --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
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.



CI build was failing due to Next.js 15 breaking changes in dynamic route parameter handling. The
paramsprop in page components is now an async Promise.Changes
/app/analysis/[id]/page.tsx: Split into async server component (page) and client component (StoredAnalysisContent) to properly await paramseslint-config-next: v14.0.4 → v15.5.10 for Next.js 15 compatibilityBefore/After
The separation into server/client components maintains the existing client-side hooks (useRouter, useState) while allowing the page to handle async params correctly.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.