Skip to content

[Snyk] Fix for 2 vulnerabilities#50

Open
wiatrM wants to merge 1 commit into
mainfrom
snyk-fix-29ca7379bb899257eab65d89d736facb
Open

[Snyk] Fix for 2 vulnerabilities#50
wiatrM wants to merge 1 commit into
mainfrom
snyk-fix-29ca7379bb899257eab65d89d736facb

Conversation

@wiatrM

@wiatrM wiatrM commented Jan 30, 2026

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15104645
  696  
medium severity Uncontrolled Recursion
SNYK-JS-ESLINT-15102420
  623  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

Copilot AI review requested due to automatic review settings January 30, 2026 18:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates npm dependencies to remediate two Snyk-reported vulnerabilities by upgrading key packages (notably Next.js and ESLint).

Changes:

  • Bump next from 13.5.1 to 15.5.10.
  • Bump eslint from 8.49.0 to 9.26.0.
  • Update package-lock.json to reflect new transitive dependency graph from these upgrades.

Reviewed changes

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

File Description
package.json Upgrades eslint and next versions to address the reported vulnerabilities.
package-lock.json Regenerates/updates resolved dependency tree and metadata after the upgrades.

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

Comment thread package.json
"embla-carousel-react": "^8.3.0",
"eslint": "8.49.0",
"eslint": "9.26.0",
"eslint-config-next": "13.5.11",

Copilot AI Jan 30, 2026

Copy link

Choose a reason for hiding this comment

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

eslint was upgraded to v9, but eslint-config-next is still pinned to 13.5.11. eslint-config-next@13 depends on @typescript-eslint/parser with a peer range that does not include ESLint 9, so next lint is likely to fail. Update eslint-config-next to a version compatible with ESLint 9 (typically matching the next major/version), and ensure the ESLint config (extends: next/core-web-vitals) still resolves correctly.

Suggested change
"eslint-config-next": "13.5.11",
"eslint-config-next": "15.5.10",

Copilot uses AI. Check for mistakes.
Comment thread package.json
Comment on lines 81 to 83
"lucide-react": "^0.446.0",
"next": "13.5.1",
"next": "15.5.10",
"next-pwa": "^5.6.0",

Copilot AI Jan 30, 2026

Copy link

Choose a reason for hiding this comment

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

next is upgraded to 15.5.10, but the project still depends on @next/swc-wasm-nodejs@13.5.1 (see dependencies earlier in this file). That mismatch can cause install/build issues and is inconsistent with the upgraded Next runtime. Align/remove @next/swc-wasm-nodejs to match the Next version being used.

Copilot uses AI. Check for mistakes.
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.

3 participants