@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
5 new2 fixed10 changed27 internal
Security
1 advisory affects 7.3.0; 7.26.10 fixes them
- ModerateBabel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsGHSA-968p-4wvh-cqc8 · 11 Mar 2025Fixed in 7.26.10
Release note
:eyeglasses: Spec Compliancy
babel-parserDisallow async functions as loop body. (@nicolo-ribaudo)
Parse class heritage as strict mode code. (@nicolo-ribaudo)
Disallow
new import(x)andimport(x,). (@nicolo-ribaudo)Disallow trailing comma after rest. (@nicolo-ribaudo)
:rocket: New Feature
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-private-methodsPrivate Class Methods Stage 3: Private Accessors. (@tim-mc)
babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operatorTransform for the smart pipeline operator proposal. (@thiagoarrais)
babel-preset-env-standalone,babel-preset-envAdd support for transform-named-capturing-groups-regex in preset-env. (@existentialism)
babel-helpers,babel-plugin-transform-named-capturing-groups-regexAdd @babel/plugin-transform-named-capturing-groups-regex. (@nicolo-ribaudo)
babel-preset-envAdd support for proposal-json-strings in preset-env. (@existentialism)
babel-generator,babel-typesAdd emit and builder for TSImportType. (@hzoo)
babel-parser@babel/parser(ts): Add parsing of type import. (@armano2)
:bug: Bug Fix
babel-parserDisallow usage of invalid keyword after export abstract statement in Typescript. (@armano2)
Fix handling newline with TypeScript declare and abstract classes. (@existentialism)
Fix range on TypeScript index signature parameters. (@existentialism)
Throw error if TypeScript class has empty implements. (@existentialism)
Fix location for typescript type assertions in AST. (@danez)
Ensure modifiers are included in TSParameterProperty ranges. (@existentialism)
babel-parser: typescript: add missing bigint keyword. (@armano2)
babel-typesCopy "optional" property when cloning Identifier node. (@unconfident)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators[decorators] Set method names at compile time instead of at runtime. (@nicolo-ribaudo)
babel-helper-builder-react-jsx,babel-plugin-transform-react-jsxbabel-helper-create-class-features-plugin,babel-plugin-proposal-private-methods[private methods] Define private methods before executing initializers. (@nicolo-ribaudo)
babel-preset-envFix handling scoped packages in preset-env include/exclude options. (@existentialism)
:nail_care: Polish
babel-parserParser Performance Collection. (@danez)
:memo: Documentation
Add v7 downloads [skip ci]. (@hzoo)
:house: Internal
babel-parserMerge declaration and init of props in parser's state. (@nicolo-ribaudo)
babel-types[@babel/types] Moved generators related to babel-types into the babel-types package directory.. (@cameron-martin)
Other
Test262 update. (@existentialism)
Use 2014-present in license. (@xtuc)
Bump license years for 2019. (@berlamhenderson)
babel-helpersAdd mixins support to the _decorate helper. (@nicolo-ribaudo)