@babel/helpers
8.1.3 · 20 Nov 2026MIT253M / weekRepositoryHomepagenpmAtom feed
7.29.15 is the newest release of 7.x.
In short
8 new1 faster2 fixed2 changed
Security
1 advisory affects 7.26.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
Thanks @timofei-iatsenko for your first PR!
You can find the release blog post with some highlights at babeljs.io/blog/2024/10/25/7.26.0.
:rocket: New Feature
babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes, babel-preset-env, babel-standalone, babel-types: Enable import attributes parsing by default (@nicolo-ribaudo)
babel-core: feat: support async plugin's pre/post (@timofei-iatsenko)
babel-compat-data, babel-plugin-proposal-regexp-modifiers, babel-plugin-transform-regexp-modifiers, babel-preset-env, babel-standalone: Add
transform-regexp-modifierstopreset-env(@JLHwung)babel-parser: feat: add
startIndexparser option (@DylanPiercey)babel-generator, babel-parser, babel-plugin-syntax-flow: Always enable parsing of Flow enums (@nicolo-ribaudo)
babel-helpers, babel-preset-typescript, babel-runtime-corejs3: Support
import()inrewriteImportExtensions(@liuxingbaoyu)babel-generator, babel-parser: Add experimental format-preserving mode to
@babel/generator(@nicolo-ribaudo)
:bug: Bug Fix
babel-core: Workaround Node.js bug for parallel loading of TLA modules (@nicolo-ribaudo)
babel-core: Fix loading of modules with TLA in Node.js 23 (@nicolo-ribaudo)
:nail_care: Polish
babel-plugin-proposal-json-modules, babel-plugin-transform-json-modules, babel-standalone: Rename
proposal-json-modulestotransform-json-modules(@nicolo-ribaudo)
:house: Internal
babel-code-frame, babel-highlight: Inline
@babel/highlightin@babel/code-frame(@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Add
kindtoTSModuleDeclaration(@liuxingbaoyu)
:running_woman: Performance
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: perf: Improve module transforms (@liuxingbaoyu)
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.