Skip to content

refactor(deps): migrate @rollup/plugin-babel from v5.3.1 to v6.1.0#7424

Merged
jasonsaayman merged 2 commits intoaxios:v1.xfrom
digital-wizard48:deps/upgrade--rollup-plugin-babel-6.1.0
Feb 25, 2026
Merged

refactor(deps): migrate @rollup/plugin-babel from v5.3.1 to v6.1.0#7424
jasonsaayman merged 2 commits intoaxios:v1.xfrom
digital-wizard48:deps/upgrade--rollup-plugin-babel-6.1.0

Conversation

@digital-wizard48
Copy link
Contributor

@digital-wizard48 digital-wizard48 commented Feb 22, 2026

Changes

Dependency Update

  • Bumped @rollup/plugin-babel from ^5.3.1 to ^6.1.0 (major version update)

Breaking Changes Addressed

babelHelpers now required (already set)

In v6, the babelHelpers option is required and will throw an error if not specified. The existing rollup.config.js already had babelHelpers: 'bundled' set, so no change was needed there.

Added exclude: 'node_modules/**' to babel config

In v6, it is strongly recommended (and in some configurations enforced) to explicitly exclude node_modules from babel transpilation to avoid accidentally transforming third-party code. Added exclude: 'node_modules/**' to the babel() plugin options in rollup.config.js for the ES5/UMD build path.

Peer dependency alignment

@rollup/plugin-babel v6 requires @babel/core as a peer dependency. The project already has @babel/core: ^7.28.6 in devDependencies, so no additional changes are needed.

Files Changed

  • package.json: Updated @rollup/plugin-babel version constraint
  • rollup.config.js: Added explicit exclude: 'node_modules/**' to babel plugin options per v6 best practices

This PR was auto-generated by Gittensor upgrade bot using Claude AI


Summary by cubic

Upgraded @rollup/plugin-babel from v5.3.1 to v6.1.0 to keep the build current with Rollup and Node 14+. Dev-only change; ensure babelHelpers is set in Rollup config.

Description

  • Bumped @rollup/plugin-babel in package.json; lockfile refreshed after merging v1.x.
  • v6 supports Rollup 1–4 and requires Node >=14 and babelHelpers. Recommend excluding node_modules from transpilation.

Docs

  • No user-facing docs.
  • Changelog: build requires Node 14+. Plugin v6 expects babelHelpers; exclude node_modules recommended.

Testing

  • No tests added.
  • Verify via CI: Rollup build succeeds without babelHelpers errors and outputs match previous bundles.

Written for commit de5d1f0. Summary will update on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link
Member

@jasonsaayman jasonsaayman left a comment

Choose a reason for hiding this comment

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

Hi 👋

This PR LGTM 🔥 !

Thanks for your contribution to axios

@jasonsaayman jasonsaayman merged commit 20a0ba3 into axios:v1.x Feb 25, 2026
6 checks passed
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