Repository navigation
Upgrade: Bump @rollup/plugin-babel from 6.1.0 to 7.1.0 - #472
Conversation
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/HEAD/packages/babel) from 6.1.0 to 7.1.0. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/babel/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/babel-v7.1.0/packages/babel) --- updated-dependencies: - dependency-name: "@rollup/plugin-babel" dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
taylortom
left a comment
There was a problem hiding this comment.
Audit of the @rollup/plugin-babel 6 → 7 bump. Verdict: safe, no code changes required — details inline.
This pairs naturally with the rollup v4 bump (#473): master currently floors plugin-babel at ^6.0.3, whose declared peer range stops at rollup ^3. Moving to v7 cleanly aligns the babel plugin with the rollup-4 work.
| "@babel/preset-env": "^7.23.9", | ||
| "@babel/preset-react": "^7.18.6", | ||
| "@rollup/plugin-babel": "^6.0.3", | ||
| "@rollup/plugin-babel": "^7.1.0", |
There was a problem hiding this comment.
Audited the @rollup/plugin-babel 6 → 7 major bump. No changes required — safe to merge.
What actually changed in v7:
- Peer deps: the only peer change vs v6.1.0 is dropping rollup
^1.x(now^2.0.0||^3.0.0||^4.0.0). This repo runs rollup 2 (and 4 via Upgrade: Bump rollup from 2.80.0 to 4.61.0 #473), so unaffected.engines(node>=14) and@babel/core ^7are unchanged. - v7.0.0 breaking change: an
include/excludefiltering + performance rework (#1954). - v7.1.0 feature: babel runs via worker-thread parallelism (#1956).
Why those two warrant a look here: lib/JavaScriptTask.js passes both an exclude glob (**/node_modules/core-js/**) and a function option (defineModuleId: (moduleId) => … on the transform-amd-to-es6 plugin). Function options can't be structured-cloned across worker threads, so the parallelism change was the real risk.
Verified empirically (installed @rollup/plugin-babel@7.1.0 and ran real builds):
- Full plugin stack (commonjs + node-resolve + babel/preset-react/preset-env) bundles to AMD under rollup 4 + babel 7 ✔
- A build mirroring the repo's exact babel config —
excludeglob + thedefineModuleIdfunction option ontransform-amd-to-es6— completes, anddefineModuleIdis invoked normally (no worker-serialization error) ✔
Note on coverage: like #473, this plugin isn't exercised by the existing isolated specs. The rollup build integration test added in #473 does drive plugin-babel, so once both land it's covered; on this branch alone it was verified manually.
## [3.0.5](v3.0.4...v3.0.5) (2026-06-03) ### Build * Pin Rollup v2 output defaults for v4 upgrade ([a05c407](a05c407)) ### Chore * Add Rollup build integration test for v4 upgrade ([e7a9f68](e7a9f68)) ### Fix * Lazy-load UiBuild to speed up server startup (#466) ([080856f](080856f)), closes [#466](#466) ### Upgrade * Bump @rollup/plugin-babel from 6.1.0 to 7.1.0 (#472) ([a60b06b](a60b06b)), closes [#472](#472) * Bump rollup from 2.80.0 to 4.61.0 ([343255b](343255b)) * Bump upath from 2.0.1 to 3.0.7 (#468) ([fb86bf9](fb86bf9)), closes [#468](#468)
|
🎉 This PR is included in version 3.0.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bumps @rollup/plugin-babel from 6.1.0 to 7.1.0.
Changelog
Sourced from @rollup/plugin-babel's changelog.
Commits
0abd95bchore(release): babel v7.1.05b13af9feat(babel): add parallel processing via worker threads (#1956)16b7339chore(repo): test migration to vitest. phase 2 (#1976)8a6e5a9chore(release): babel v7.0.03b4e6dafeat(babel)!: improve filtering capability & performance (#1954)648fef6chore(release): babel v6.1.0dc3d0e7feat(babel): allow excluding manual chunks when transforming generated code (...dcd8da5chore(repo): use@dot/versionerfor releases (#1612)cdf9113chore(repo): manually update changelog and package versions after bad release...841a039fix(alias,auto-install,babel,beep,buble,commonjs,data-uri,dsv,dynamic-import-...Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@rollup/plugin-babelsince your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)