Skip to content

[Snyk] Fix for 5 vulnerabilities#9

Open
dmgoldstein1 wants to merge 1 commit intodevelopfrom
snyk-fix-5998696a9adb71c25c3b4da27b5392e0
Open

[Snyk] Fix for 5 vulnerabilities#9
dmgoldstein1 wants to merge 1 commit intodevelopfrom
snyk-fix-5998696a9adb71c25c3b4da27b5392e0

Conversation

@dmgoldstein1
Copy link
Copy Markdown
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Excessive Platform Resource Consumption within a Loop
SNYK-JS-BRACES-6838727
  159  
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-AJV-15274295
  157  
medium severity Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
  131  
high severity Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
  115  
medium severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
  45  

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:

🦉 Regular Expression Denial of Service (ReDoS)
🦉 Prototype Pollution

Copilot AI review requested due to automatic review settings February 15, 2026 07:01
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedjest@​27.0.01001006891100
Updatedeslint@​7.15.0 ⏵ 10.0.089 -2100100 +195 +45100

View full report

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

This PR upgrades npm devDependencies to remediate 5 reported vulnerabilities, specifically by bumping major versions of eslint and jest.

Changes:

  • Upgrade eslint from 7.15.0 to 10.0.0
  • Upgrade jest from 26.6.3 to 27.0.0

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

Comment thread package.json
"@typescript-eslint/parser": "4.10.0",
"eslint": "7.15.0",
"jest": "26.6.3",
"eslint": "10.0.0",
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

Upgrading to eslint 10 will break the CI/build as configured: the workflow uses Node 12 (see .github/workflows/build-and-test.yml:20), but eslint 10 requires a much newer Node runtime. Either keep eslint on a Node-12-compatible major, or bump the CI/tooling Node version (and ensure local/dev tooling matches).

Suggested change
"eslint": "10.0.0",
"eslint": "8.57.0",

Copilot uses AI. Check for mistakes.
Comment thread package.json
Comment on lines 1535 to 1536
"@typescript-eslint/eslint-plugin": "4.10.0",
"@typescript-eslint/parser": "4.10.0",
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

eslint 10 is not compatible with the currently pinned @typescript-eslint/parser and @typescript-eslint/eslint-plugin v4.10.0; lint will fail to load/execute with this combination. Please upgrade the @typescript-eslint packages to versions that support eslint 10 and adjust .eslintrc.json if any rules/options were renamed/removed.

Suggested change
"@typescript-eslint/eslint-plugin": "4.10.0",
"@typescript-eslint/parser": "4.10.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",

Copilot uses AI. Check for mistakes.
Comment thread package.json
Comment on lines +1538 to 1539
"jest": "27.0.0",
"ts-jest": "26.4.4",
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

jest is bumped to 27, but ts-jest remains on 26.4.4 (and @types/jest is still 26.0.19). This version skew is likely to break test runs and TypeScript typings. Please align jest/ts-jest/@types-jest to the same major family (or keep jest at 26 if you need to stay on ts-jest 26).

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