@babel/helpers
8.1.3 · 20 Nov 2026MIT253M / weekRepositoryHomepagenpmAtom feed
7.29.15 is the newest release of 7.x.
In short
7 fixed2 changed
Security
1 advisory affects 7.25.6; 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 @j4k0xb for your first PR!
:bug: Bug Fix
babel-generator: Properly print inner comments in TS array types (@nicolo-ribaudo)
babel-generator: fix: jsx whitespace is not properly preserved when retainLines (@liuxingbaoyu)
babel-traverse: fix:
path.getAssignmentIdentifiersmay beundefined(@liuxingbaoyu)babel-parser: fix: improve static canFollowModifier checks (@JLHwung)
babel-helpers, babel-plugin-transform-optional-chaining, babel-runtime-corejs3: Only wrap functions in
superPropertyGethelper (@nicolo-ribaudo)
:nail_care: Polish
babel-generator, babel-plugin-transform-async-to-generator, babel-plugin-transform-block-scoping, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-duplicate-named-capturing-groups-regex, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-plugin-transform-react-pure-annotations, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env: Do not enforce printing space between
(and comments (@nicolo-ribaudo)babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes: Don't throw when enabling both syntax-import-{assertions,attributes} (@nicolo-ribaudo)
babel-generator: TS union/intersection nested in union does not need parens (@nicolo-ribaudo)
:house: Internal
babel-generator: Remove unused
parentparams in the generator (@nicolo-ribaudo)
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.