Skip to content

[Snyk] Security upgrade eslint from 7.32.0 to 10.0.0#1029

Open
posit-snyk-bot wants to merge 1 commit into
mainfrom
snyk-fix-61a3d286b895ac081cd869c77a865ec8
Open

[Snyk] Security upgrade eslint from 7.32.0 to 10.0.0#1029
posit-snyk-bot wants to merge 1 commit into
mainfrom
snyk-fix-61a3d286b895ac081cd869c77a865ec8

Conversation

@posit-snyk-bot

Copy link
Copy Markdown
Contributor

snyk-top-banner

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

Snyk changed the following file(s):

  • packages/ojs/quarto-ojs-runtime/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Inefficient Algorithmic Complexity
SNYK-JS-BRACEEXPANSION-17706650
  124  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@posit-snyk-bot

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This is a major upgrade across three versions (v7 → v10) that introduces significant and mandatory breaking changes. The most critical change is the complete removal of the traditional .eslintrc configuration system in favor of the new "flat config" (eslint.config.js).

Key Breaking Changes:

  • Mandatory Configuration Migration: ESLint v9 introduced the new flat config system and deprecated .eslintrc. ESLint v10 has completely removed support for .eslintrc files. You must migrate your configuration to an eslint.config.js file.

  • Node.js Version Requirement: Support for older Node.js versions has been dropped. ESLint v10.0.0 requires Node.js v20.19.0 or newer.

  • Configuration & Plugin Changes: The way plugins, parsers, and shareable configs are loaded and defined has changed in eslint.config.js. You will need to update your configuration to import these modules directly.

  • Removed Core Features:

    • Several core formatters (like codeframe, junit, tap, etc.) were removed in v9.
    • The CLIEngine class was removed in v8 and LegacyESLint was removed in v10, impacting programmatic integrations.
    • The valid-jsdoc and require-jsdoc rules were removed in v9.

Recommendation: This upgrade cannot be performed without manual intervention. You must follow the official Configuration Migration Guide to convert your existing .eslintrc file to the new eslint.config.js format. This is a significant effort and should be handled as a separate, dedicated task before merging.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@posit-snyk-bot

posit-snyk-bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

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

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

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

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