@babel/core
8.1.2 · 11 Nov 2026MIT270.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/core From 7.22.20 to 8.1.2
47 releases in betweenevery note read
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.1
- Breaking8.0.1
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Security
Fixes 1 advisory affecting 7.22.20
- @babel/core: Arbitrary File Read via sourceMappingURL Commentlow · GHSA-4x5r-pxfx-6jf8
- 7.26.10
This release includes a fix for github.com/babel/babel/security/advisories/GHSA…, a security vulnerability which affects the
.replacemethod of transpiled regular expressions that use named capturing groups.
Release by release
- New
Add
babel/no-emptyeslint rule (@JLHwung) - New
babel-cli, babel-core, babel-generator, babel-helper-transform-fixture-test-runner: Add experimental support for range mappings in source maps (@nicolo-ribaudo)
- New
babel-core: feat(core): export generate from babel-generator (@JLHwung)
- New
babel-core, babel-plugin-transform-classes: Add
noUninitializedThisassumption (@nicolo-ribaudo) - New
babel-core, babel-plugin-transform-classes: Add
noClassPrototypeAssignandnoConstructorPrimitiveReturn(@nicolo-ribaudo)
- New
8.0.9 – 8.0.102 releases, nothing new or fixed in the notes
8.0.6nothing new or fixed in the note
- Breaking
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
babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone: Actually remove
preset-env'suseBuiltIns(@nicolo-ribaudo)
- Breaking
- Breaking
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.
- Breaking
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: Fallback to assuming ESM support with
modules: auto(@nicolo-ribaudo) - Breaking
babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for
@babe/runtime-corejs3(@liuxingbaoyu) - Breaking
babel-parser: Remove
locations: "packed"(@liuxingbaoyu)
- Breaking
30 other lines we could not sort, mostly version bumps
- 8.1.2
babel-core, babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-helpers, babel-node, babel-plugin-transform-runtime, babel-register, babel-template, babel-traverse, babel-types: chore: enable
useUnknownInCatchVariablests compiler option (@JLHwung) - 8.0.10
babel-build-external-helpers, babel-core, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-regenerator, babel-runtime-corejs3, babel-runtime: Mangle top level names in helpers (@nicolo-ribaudo)
- 8.0.6
babel-code-frame, babel-core, babel-generator, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-parser, babel-plugin-bugfix-safari-rest-destructuring-rhs-array, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-discard-binding, babel-plugin-transform-regenerator, babel-plugin-transform-typescript, babel-preset-env, babel-traverse, babel-types: Remove unused internal exports (@nicolo-ribaudo)
- 8.0.6
babel-core: build: do not emit sourcemap in production build (@JLHwung)
- 8.0.6
babel-build-external-helpers, babel-cli, babel-code-frame, babel-core, babel-generator, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-globals, babel-helper-string-parser, babel-helper-transform-fixture-test-runner, babel-helper-validator-identifier, babel-node, babel-parser, babel-plugin-transform-async-generator-functions, babel-plugin-transform-runtime, babel-register, babel-runtime-corejs3, babel-traverse: Enforce usage of Yarn catalog for reused dependencies (@nicolo-ribaudo)
- 8.0.5
babel-cli, babel-core, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin, babel-helper-fixtures, babel-preset-env: refactor: replace
semverwithverkit(@sxzz) - 7.28.6
babel-core, babel-standalone: Polish(standalone): improve message on invalid preset/plugin (@JLHwung)
- 7.28.4
babel-core, babel-helper-check-duplicate-nodes, babel-traverse, babel-types: Update Jest to v30.1.1 (@JLHwung)
- 7.28.4
babel-plugin-transform-regenerator: chore: Clean up
transform-regenerator(@liuxingbaoyu) - 7.28.4
babel-core: Switch to @jridgewell/remapping (@mrginglymus)
12 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.