@babel/helpers
8.1.3 · 20 Nov 2026MIT253M / weekRepositoryHomepagenpmAtom feed
7.29.15 is the newest release of 7.x.
In short
10 new1 faster3 fixed7 changed
Security
1 advisory affects 7.25.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 @davidtaylorhq and @slatereax for your first PR!
You can find the release blog post with some highlights at babeljs.io/blog/2024/07/26/7.25.0.
:eyeglasses: Spec Compliance
babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs3:
await usingnormative updates (@JLHwung)babel-plugin-transform-typescript: Ensure enum members syntactically determinable to be strings do not get reverse mappings (@liuxingbaoyu)
:rocket: New Feature
babel-helper-create-class-features-plugin, babel-helper-function-name, babel-helper-plugin-utils, babel-helper-wrap-function, babel-plugin-bugfix-safari-class-field-initializer-scope, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-preset-env, babel-traverse, babel-types: Move
ensureFunctionNametoNodePath.prototype(@nicolo-ribaudo)babel-helper-hoist-variables, babel-helper-plugin-utils, babel-plugin-proposal-async-do-expressions, babel-plugin-transform-modules-systemjs, babel-traverse: Move
hoistVariablestoScope.prototype(@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-split-export-declaration, babel-plugin-transform-classes, babel-traverse, babel-types: Move
splitExportDeclarationtoNodePath.prototype(@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-helper-environment-visitor, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-plugin-bugfix-firefox-class-in-computed-class-key, babel-plugin-bugfix-v8-static-class-fields-redefine-readonly, babel-plugin-transform-async-generator-functions, babel-plugin-transform-classes, babel-traverse: Move
environment-visitorhelper into@babel/traverse(@nicolo-ribaudo)babel-core, babel-parser: Expose wether a module has TLA or not as
.extra.async(@nicolo-ribaudo)babel-compat-data, babel-plugin-bugfix-safari-class-field-initializer-scope, babel-preset-env: Introduce
bugfix-safari-class-field-initializer-scope(@davidtaylorhq)babel-plugin-transform-block-scoping, babel-traverse, babel-types: Add
NodePath#getAssignmentIdentifiers(@JLHwung)babel-helper-import-to-platform-api, babel-plugin-proposal-json-modules: Add
uncheckedRequireoption for JSON imports to CJS (@nicolo-ribaudo)babel-helper-transform-fixture-test-runner, babel-node: Allow using custom config in
babel-node --eval(@slatereax)babel-compat-data, babel-helper-create-regexp-features-plugin, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-duplicate-named-capturing-groups-regex, babel-preset-env, babel-standalone: Add
duplicate-named-capturing-groups-regextopreset-env(@JLHwung)
:bug: Bug Fix
babel-generator: Print parens around as expressions on the LHS (@nicolo-ribaudo)
babel-template, babel-types: fix: Props are lost when the template replaces the node (@liuxingbaoyu)
:house: Internal
Other
bump gulp to 5 (@JLHwung)
babel-generator: Simplify the printing logic for
(before ambiguous tokens (@nicolo-ribaudo)babel-helper-function-name, babel-plugin-transform-arrow-functions, babel-plugin-transform-function-name, babel-preset-env, babel-traverse: Simplify
helper-function-namelogic (@nicolo-ribaudo)
:running_woman: Performance
babel-parser, babel-plugin-proposal-pipeline-operator: Some minor parser performance improvements for ts (@liuxingbaoyu)
:microscope: Output optimization
babel-plugin-transform-classes: Reduce redundant
assertThisInitialized(@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super, babel-plugin-transform-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Improve
super.xoutput (@liuxingbaoyu)babel-plugin-transform-class-properties, babel-plugin-transform-classes: Simplify output for anonymous classes with no methods (@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.