Skip to content

[Snyk] Security upgrade @babel/cli from 7.29.7 to 8.0.0#31

Open
fredex42 wants to merge 1 commit into
mainfrom
snyk-fix-eb9f08e7d6c476ad4c8a04ed35ffb8ca
Open

[Snyk] Security upgrade @babel/cli from 7.29.7 to 8.0.0#31
fredex42 wants to merge 1 commit into
mainfrom
snyk-fix-eb9f08e7d6c476ad4c8a04ed35ffb8ca

Conversation

@fredex42

@fredex42 fredex42 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

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):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

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

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.

@fredex42

fredex42 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This is a major version upgrade to Babel 8, which introduces significant and mandatory breaking changes that require configuration updates to prevent build failures and unexpected output.

Key Breaking Changes:

  • New Compilation Defaults: @babel/preset-env no longer compiles to ES5 by default. It now targets modern browsers based on browserslist's defaults (roughly ES2023) and outputs ES Modules (ESM) instead of CommonJS. You must explicitly set the targets option in your configuration if you need to support older environments. [1, 2]
  • Node.js Requirement: All Babel 8 packages require Node.js version ^22.18.0 or >=24.11.0. [1]
  • ESM-Only Package: Babel itself is now distributed as an ESM-only package, which may affect how you require or import it in your build scripts. [2, 5]
  • Configuration Updates:
    • The loose and spec options have been removed in favor of a new top-level assumptions option. [1, 2]
    • The default JSX runtime in @babel/preset-react has changed from classic to automatic. [1]
    • Polyfill injection via useBuiltIns and corejs options has been removed and extracted into separate packages like babel-plugin-polyfill-corejs3. [2]

Source: Babel 8 Migration Guide [1, 2, 3]

Recommendation: This upgrade requires a careful review of your Babel configuration. Developers must consult the official migration guide, update their configuration to match the new defaults and options, and thoroughly test their application's build process and runtime behavior.

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

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 99b876e.

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