refactor(deps): migrate @rollup/plugin-babel from v5.3.1 to v6.1.0#7424
Merged
jasonsaayman merged 2 commits intoaxios:v1.xfrom Feb 25, 2026
Merged
Conversation
jasonsaayman
approved these changes
Feb 25, 2026
Member
jasonsaayman
left a comment
There was a problem hiding this comment.
Hi 👋
This PR LGTM 🔥 !
Thanks for your contribution to axios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Dependency Update
@rollup/plugin-babelfrom^5.3.1to^6.1.0(major version update)Breaking Changes Addressed
babelHelpersnow required (already set)In v6, the
babelHelpersoption is required and will throw an error if not specified. The existingrollup.config.jsalready hadbabelHelpers: 'bundled'set, so no change was needed there.Added
exclude: 'node_modules/**'to babel configIn v6, it is strongly recommended (and in some configurations enforced) to explicitly exclude
node_modulesfrom babel transpilation to avoid accidentally transforming third-party code. Addedexclude: 'node_modules/**'to thebabel()plugin options inrollup.config.jsfor the ES5/UMD build path.Peer dependency alignment
@rollup/plugin-babelv6 requires@babel/coreas a peer dependency. The project already has@babel/core: ^7.28.6indevDependencies, so no additional changes are needed.Files Changed
package.json: Updated@rollup/plugin-babelversion constraintrollup.config.js: Added explicitexclude: 'node_modules/**'to babel plugin options per v6 best practicesThis 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
Docs
Testing
Written for commit de5d1f0. Summary will update on new commits.