@babel/runtime
8.1.2 · 11 Nov 2026MIT303M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime From 7.8.4 to 8.1.2
114 releases in betweenevery note read
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking7.9.6
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
Security
Fixes 1 advisory affecting 7.8.4
- Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsmoderate · GHSA-968p-4wvh-cqc8
- 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
- Fixed
babel-plugin-transform-regenerator, babel-plugin-transform-runtime: fix(regenerator): read the method of a member call before its arguments (@joellemd)
- Fixed
babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-runtime-corejs3: fix(regenerator): dispatch pending jump after finally to outer finally blocks (@hoanle0126)
- Fixed
babel-plugin-transform-regenerator: fix(regenerator): only remove bindings declared by the hoisted declar… (@joellemd)
- Fixed
- New
babel-helper-module-transforms, babel-helper-transform-fixture-test-runner, babel-helpers, babel-plugin-proposal-bytes-modules, babel-plugin-proposal-filtered-namespaces, babel-plugin-proposal-import-wasm-source, babel-plugin-proposal-text-modules, babel-plugin-transform-dynamic-import, babel-plugin-transform-json-modules, babel-runtime-corejs3, babel-runtime, babel-standalone: Add transform support for filtered namespaces (@nicolo-ribaudo)
- New
Add
babel/no-emptyeslint rule (@JLHwung) - New
babel-helper-import-to-platform-api, babel-helper-transform-fixture-test-runner, babel-helpers, babel-plugin-proposal-bytes-modules, babel-plugin-proposal-import-wasm-source, babel-plugin-proposal-text-modules, babel-plugin-transform-json-modules, babel-runtime-corejs3, babel-runtime: Add support for
type: bytesandtype: textimports (@nicolo-ribaudo)
- New
8.0.10nothing new or fixed in the note
- Fixed
babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3, babel-runtime: Fix
_arrayWithHolesbypassing customSymbol.iteratoron array-backed Proxies (@webdevelopersrinu)
- Fixed
- Fixed
babel-helpers, babel-plugin-transform-async-generator-functions, babel-runtime-corejs3: Fix
asyncIteratorhelper forwarding.throw()to.return()(@brunoborta) - Fixed
babel-helpers, babel-plugin-transform-class-properties, babel-plugin-transform-modules-systemjs, babel-runtime-corejs3: Guard
@@toPrimitiveusage in toPrimitive helper (@nicolo-ribaudo)
- Fixed
- 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
- Fixed
babel-helpers, babel-plugin-transform-optional-chaining, babel-plugin-transform-regenerator, babel-plugin-transform-spread, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: fix(transform-spread): evaluate arguments before checking callee (@babel-bot)
- Fixed
babel-plugin-transform-typescript: Remove exported TS types named like JavaScript globals (@babel-bot)
- Fixed
105 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.1.0
babel-helpers, babel-runtime-corejs3: polish: shrink
importDeferProxysize (@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.10
babel-helpers, babel-runtime-corejs3: Shrink jsx helper size (@JLHwung)
- 8.0.8
babel-plugin-transform-classes: Remove internal usage of
loosein class transform (@nicolo-ribaudo) - 8.0.7
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3: Simplify
interopRequireWildcardhelper (@nicolo-ribaudo) - 7.29.10
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3: Simplify
interopRequireWildcardhelper (@babel-bot) - 7.29.2
babel-parser: [7.x backport] async x => {} must be in leading pos (@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)
70 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.