Skip to content

[Snyk] Security upgrade eslint from 8.40.0 to 10.0.0#190

Open
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-5e4fd07b6878883cbd983d368f21c517
Open

[Snyk] Security upgrade eslint from 8.40.0 to 10.0.0#190
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-5e4fd07b6878883cbd983d368f21c517

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io bot commented Feb 13, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • gui/package.json
  • gui/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-AJV-15274295
  685  

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)


EntelligenceAI PR Summary

Major ESLint upgrade from version 8.40.0 to 10.0.0 with architectural modernization and dependency cleanup.

  • Upgraded ESLint to version 10.0.0 in package.json and package-lock.json
  • Added new ESLint core packages: @eslint/config-array, @eslint/core, @eslint/plugin-kit, @eslint/object-schema, @eslint/config-helpers
  • Replaced deprecated @eslint/eslintrc with modernized configuration systems
  • Removed deprecated dependencies: chalk, doctrine v3, grapheme-splitter, strip-ansi, js-yaml
  • Updated @HumanFS packages for enhanced file system operations
  • Updated eslint-community packages, type definitions, and utility libraries
  • Added support for flat config and improved performance through native modules

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Feb 13, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Walkthrough

This PR upgrades ESLint from version 8.40.0 to 10.0.0 in the GUI package, representing a major version update with significant architectural changes. The upgrade introduces new ESLint core packages (@eslint/config-array, @eslint/core, @eslint/plugin-kit, @eslint/object-schema, @eslint/config-helpers) and replaces deprecated @eslint/eslintrc with modernized configuration systems. Several legacy dependencies (chalk, doctrine v3, grapheme-splitter, strip-ansi, js-yaml) have been removed, while new dependencies supporting flat config and improved performance through native modules have been added. The update includes comprehensive dependency updates across eslint-community packages, type definitions, and utility libraries, along with enhanced @HumanFS packages for file system operations.

Changes

File(s) Summary
gui/package.json Updated ESLint dependency from version 8.40.0 to 10.0.0
gui/package-lock.json Updated ESLint to 10.0.0 with new core packages (@eslint/config-array, @eslint/core, @eslint/plugin-kit, @eslint/object-schema, @eslint/config-helpers), replaced deprecated @eslint/eslintrc, updated @HumanFS packages, removed deprecated dependencies (chalk, doctrine v3, grapheme-splitter, strip-ansi, js-yaml), and updated numerous eslint-community packages and utility libraries

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant App as Application
    participant ESLint as ESLint 10.0.0
    participant ConfigArray as @eslint/config-array
    participant ConfigHelpers as @eslint/config-helpers
    participant Core as @eslint/core
    participant PluginKit as @eslint/plugin-kit
    participant HumanFS as @humanfs/node
    participant Espree as Espree Parser
    participant Plugins as ESLint Plugins

    App->>ESLint: Initialize linter
    ESLint->>ConfigArray: Load configuration
    ConfigArray->>ConfigHelpers: Validate config structure
    ConfigHelpers->>Core: Process config schema
    Core-->>ConfigArray: Schema validated
    
    ConfigArray->>HumanFS: Read config files
    HumanFS-->>ConfigArray: Config file contents
    ConfigArray-->>ESLint: Merged configuration
    
    ESLint->>PluginKit: Register plugins
    PluginKit->>Plugins: Load plugin rules
    Plugins-->>PluginKit: Rule definitions
    PluginKit-->>ESLint: Plugins registered
    
    App->>ESLint: Lint files
    ESLint->>HumanFS: Read source files
    HumanFS-->>ESLint: File contents
    
    loop For each file
        ESLint->>Espree: Parse source code
        Espree-->>ESLint: AST (Abstract Syntax Tree)
        
        ESLint->>Core: Apply rules to AST
        Core->>Plugins: Execute rule checks
        Plugins-->>Core: Rule violations
        Core-->>ESLint: Linting results
    end
    
    ESLint-->>App: Aggregated lint results
Loading

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

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.

0 participants