Skip to content

chore(deps): bump all @babel/* packages to v8#999

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/babel/template-8.0.0
Closed

chore(deps): bump all @babel/* packages to v8#999
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/babel/template-8.0.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps all @babel/* packages used across the repo to their latest 8.x versions (extending the original @babel/template 7.29.7 → 8.0.0 bump).

Changes Made

  • Dependency bumps (all source package.json files):
    • @babel/core^8.0.1
    • @babel/generator, @babel/helper-module-imports, @babel/traverse, @babel/template^8.0.0
    • @babel/helper-plugin-utils, @babel/preset-react, @babel/preset-typescript^8.0.1
  • Deduplication: ran yarn dedupe.
  • Babel 8 code migration (required by Babel 8 breaking type changes):
    • PluginObjPluginObject, TransformOptionsInputOptions, BabelFileResultFileResult
    • Swapped the declare<State, Options> generic order in @babel/helper-plugin-utils usages (babel-preset, postcss-syntax, webpack-extraction-plugin)
    • api.assertVersion(7)api.assertVersion('^7.0.0 || ^8.0.0') to support both majors
    • Source-map type casts at the webpack this.callback boundary (Babel 8's EncodedSourceMap vs webpack's RawSourceMap)
    • Explicit PresetObject return type on griffelPreset to fix a type-portability error
  • Change files: added patch beachball entries for @griffel/babel-preset, @griffel/postcss-syntax, @griffel/webpack-loader, and @griffel/webpack-extraction-plugin.

Testing

  • ✅ Type-check passes (20 projects)
  • ✅ Build passes (15 projects)
  • ✅ Lint passes
  • ✅ Tests pass (17 projects, including the rspack legacy + modern e2e scenarios)

Bumps [@babel/template](https://github.com/babel/babel/tree/HEAD/packages/babel-template) from 7.29.7 to 8.0.0.
- [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.0/packages/babel-template)

---
updated-dependencies:
- dependency-name: "@babel/template"
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 23, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 23, 2026 14:19
@dependabot dependabot Bot added javascript Pull requests that update Javascript code dependencies Pull requests that update a dependency file labels Jun 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Bundle size report

✅ No changes found

@layershifter

Copy link
Copy Markdown
Member

@copilot bump all used @babel/* packages across the repo to latest versions i.e. 8.x.x, do yarn dedupe, add change files with type patch

…types

Co-authored-by: layershifter <14183168+layershifter@users.noreply.github.com>

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

@copilot bump all used @babel/* packages across the repo to latest versions i.e. 8.x.x, do yarn dedupe, add change files with type patch

Done in b7535f1. Bumped all @babel/* packages to 8.x (core 8.0.1, generator/helper-module-imports/traverse/template 8.0.0, helper-plugin-utils/preset-react/preset-typescript 8.0.1), ran yarn dedupe, and added patch change files for @griffel/babel-preset, @griffel/postcss-syntax, @griffel/webpack-loader, and @griffel/webpack-extraction-plugin.

Babel 8 has breaking type changes, so I also migrated the affected code: PluginObjPluginObject, TransformOptionsInputOptions, BabelFileResultFileResult, the swapped declare<State, Options> generic order, assertVersion('^7.0.0 || ^8.0.0'), and source-map type casts at the webpack callback boundary. Type-check, build, lint, and tests (incl. rspack e2e) all pass.

Copilot AI changed the title chore(deps): bump @babel/template from 7.29.7 to 8.0.0 chore(deps): bump all @babel/* packages to v8 Jun 30, 2026
Copilot AI requested a review from layershifter June 30, 2026 11:24
@dependabot @github

dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/babel/template-8.0.0 branch June 30, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants