Skip to content

chore(deps-dev): bump @babel/preset-env from 7.29.7 to 8.0.2 - #1689

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/babel/preset-env-8.0.2
Open

chore(deps-dev): bump @babel/preset-env from 7.29.7 to 8.0.2#1689
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/babel/preset-env-8.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Bumps @babel/preset-env from 7.29.7 to 8.0.2.

Release notes

Sourced from @​babel/preset-env's releases.

v8.0.2 (2026-06-18)

🐛 Bug Fix

  • Other
  • babel-helper-validator-identifier

🏠 Internal

  • babel-plugin-proposal-decorators, babel-plugin-transform-regenerator, babel-preset-env

Committers: 2

v8.0.1 (2026-06-17)

This release includes a breaking change that was in the Babel 8 migration guide's Getting ready section and in the release post, but the actual removal of the feature from the codebase was accidentally not complete.

💥 Breaking Change

  • babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone

Committers: 2

v8.0.0 (2026-06-16)

NOTE: The changelog below is relative to v8.0.0-rc.6. You can find a summary of all the breaking changes shipped in the Babel 8 release line in the migration guide for users and migration guide for plugin developers.

Read the release blog post at http://babeljs.io/blog/2026/06/16/8.0.0!

👓 Spec Compliance

💥 Breaking Change

  • babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register
  • babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime
  • babel-parser

🐛 Bug Fix

  • babel-generator
  • babel-plugin-transform-modules-systemjs

... (truncated)

Changelog

Sourced from @​babel/preset-env's changelog.

v8.0.2 (2026-06-18)

🐛 Bug Fix

  • Other
  • babel-helper-validator-identifier

🏠 Internal

  • babel-plugin-proposal-decorators, babel-plugin-transform-regenerator, babel-preset-env

v8.0.1 (2026-06-17)

💥 Breaking Change

  • babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone

v8.0.0 (2026-06-16)

👓 Spec Compliance

💥 Breaking Change

  • babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register
  • babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime
  • babel-parser

🐛 Bug Fix

  • babel-generator
  • babel-plugin-transform-modules-systemjs

📝 Documentation

🏠 Internal

🏃‍♀️ Performance

v8.0.0-rc.6 (2026-05-25)

🐛 Bug Fix

... (truncated)

Commits


Note

Medium Risk
Major dev-toolchain change: preset-env 8 peers on @babel/core 8 but core/cli/register are still 7.x, which can break npm run build or subtly change transpilation until aligned or verified in CI.

Overview
Bumps the dev dependency @babel/preset-env from 7.29.7 to 8.0.2 in package.json, with a matching package-lock.json refresh that pulls in the Babel 8 preset/plugin tree (8.x transform plugins, updated @babel/preset-modules 0.2.0, and newer polyfill helpers such as babel-plugin-polyfill-corejs3 1.0.0).

This is a major preset-env upgrade (Babel 8 line): preset-env now expects @babel/core ^8 as a peer, while the repo still pins @babel/core, @babel/cli, and @babel/register at 7.29.7. No changes to .babelrc.cjs (still a plain presets: ['@babel/preset-env'] with Node 20.16 targets and no useBuiltIns).

Reviewers should confirm npm run build (and CI binary builds that install global @babel/preset-env) still succeed and that compile output is unchanged.

Reviewed by Cursor Bugbot for commit 763c8e3. Bugbot is set up for automated code reviews on this repo. Configure here.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 30, 2026
@socket-security

socket-security Bot commented Jun 30, 2026

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
Updated@​babel/​preset-env@​7.29.7 ⏵ 8.0.297 +110080 +497 +1100

View full report

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/babel/preset-env-8.0.2 branch from e0bec37 to 98f4357 Compare July 2, 2026 18:07
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.29.7 to 8.0.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v8.0.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-version: 8.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/babel/preset-env-8.0.2 branch from 98f4357 to 763c8e3 Compare July 16, 2026 21:06

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 763c8e3. Configure here.

Comment thread package.json
"@babel/core": "^7.29.7",
"@babel/plugin-syntax-import-attributes": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-env": "^8.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ESM left untransformed for CJS build

High Severity

@babel/preset-env v8 changes modules: "auto" to assume ESM when the caller does not opt out. .babelrc.cjs relies on that default, while build rewrites the output package to "type": "commonjs" for pkg. Source import/export can remain ESM under a CJS package type, breaking dist binaries.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 763c8e3. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants