@babel/helpers
8.1.3 · 20 Nov 2026MIT253M / weekRepositoryHomepagenpmAtom feed
7.29.15 is the newest release of 7.x.
In short
1 faster7 fixed3 changed
Security
1 advisory affects 7.23.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 @martinez-hugo and @odinho for your first pull requests!
:eyeglasses: Spec Compliance
babel-generator, babel-parser, babel-types: Remove
TSPropertySignature.initializer(@fisker)babel-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-types: Apply
toPropertyKeyon decorator context name (@JLHwung)
:bug: Bug Fix
babel-generator: fix: Correctly indenting when
retainLinesis enabled (@liuxingbaoyu)babel-helpers, babel-plugin-proposal-explicit-resource-management:
using: Allow looking upSymbol.disposeon a function (@odinho)babel-plugin-proposal-decorators, babel-plugin-transform-class-properties: Ensure the
[[@@toPrimitive]]call of a decorated class member key is invoked once (@JLHwung)babel-plugin-proposal-decorators, babel-plugin-transform-class-properties: Support named evaluation for decorated anonymous class exp (@JLHwung)
babel-plugin-transform-for-of, babel-preset-env: fix:
for ofwithiterableIsArrayand shadowing variable (@liuxingbaoyu)babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Set function name for decorated private non-field elements (@JLHwung)
babel-plugin-transform-typescript: Fix references to enum values with merging (@nicolo-ribaudo)
:microscope: Output optimization
babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties: Reuse computed key memoiser (@JLHwung)
babel-helpers, babel-plugin-proposal-decorators: Optimize decorator helper size (@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.