@babel/helpers
8.1.3 · 20 Nov 2026MIT253M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/helpers From 7.5.5 to 7.26.10
81 releases in betweennotes for 76
Reading releases, release notes and advisories…
Counted from 76 of 81 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking7.9.6
Security
Fixes 1 advisory affecting 7.5.5
- Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsmoderate · GHSA-968p-4wvh-cqc8
- 7.26.10
This release includes a fix for github.com/babel/babel/security/advisories/GHSA…, a security vulnerability which affects the
.replacemethod of transpiled regular expressions that use named capturing groups.
Release by release
- Security
This release includes a fix for github.com/babel/babel/security/advisories/GHSA…, a security vulnerability which affects the
.replacemethod of transpiled regular expressions that use named capturing groups. - Fixed
babel-parser, babel-template: Fix: always initialize ExportDeclaration attributes (@JLHwung)
- Fixed
babel-core: fix: "Map maximum size exceeded" in deepClone (@liuxingbaoyu)
- Fixed
babel-parser, babel-plugin-transform-typescript: Update typescript parser tests (@JLHwung)
- Security
- Fixed
babel-types: fix: Definition for
TSPropertySignature.kind(@liuxingbaoyu) - Fixed
babel-generator, babel-types: Print TypeScript optional/definite in ClassPrivateProperty (@jamiebuilds-signal)
- Fixed
babel-core: Do not depend on
@types/gensyncin Babel 7 (@nicolo-ribaudo)
- Fixed
- Fixed
babel-helpers, babel-preset-env, babel-runtime-corejs3: Make "object without properties" helpers ES6-compatible (@tquetano-netflix)
- Fixed
babel-plugin-transform-typeof-symbol: fix: Correctly handle
typeofin arrow functions (@liuxingbaoyu) - Fixed
babel-parser: Respect
rangesoption in estree method value (@JLHwung) - Fixed
babel-core: Do not try to parse .ts configs as JSON if natively supported (@nicolo-ribaudo)
- Fixed
babel-plugin-transform-typescript: fix: correctly resolve references to non-constant enum members (@branchseer)
- Fixed
babel-plugin-transform-typescript, babel-traverse, babel-types: fix: Remove type-only
import x = y.z(@liuxingbaoyu)
- Fixed
- New
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)
- New
babel-core: feat: support async plugin's pre/post (@timofei-iatsenko)
- New
babel-compat-data, babel-plugin-proposal-regexp-modifiers, babel-plugin-transform-regexp-modifiers, babel-preset-env, babel-standalone: Add
transform-regexp-modifierstopreset-env(@JLHwung) - New
babel-parser: feat: add
startIndexparser option (@DylanPiercey)
- New
- New
babel-parser, babel-types: perf: Make
VISITOR_KEYSetc. faster to access (@liuxingbaoyu) - Fixed
babel-parser, babel-template, babel-types: fix: Keep type annotations in
syntacticPlaceholdersmode (@liuxingbaoyu) - Fixed
babel-helper-compilation-targets, babel-preset-env: fix: support BROWSERSLIST{,_CONFIG} env (@JLHwung)
- Fixed
Accidentally published
tsconfigfiles (@liuxingbaoyu)
- New
- New
babel-types: Add deprecated JSDOC for fields (@liuxingbaoyu)
- New
babel-core: Allow sync loading of ESM when
--experimental-require-module(@nicolo-ribaudo) - New
babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env: Add browserslist config to external dependency (@JLHwung)
- New
babel-plugin-transform-typescript: perf: Avoid extra cloning of namespaces (@liuxingbaoyu)
- New
- Fixed
babel-generator: Properly print inner comments in TS array types (@nicolo-ribaudo)
- Fixed
babel-generator: fix: jsx whitespace is not properly preserved when retainLines (@liuxingbaoyu)
- Fixed
babel-traverse: fix:
path.getAssignmentIdentifiersmay beundefined(@liuxingbaoyu) - Fixed
babel-parser: fix: improve static canFollowModifier checks (@JLHwung)
- Fixed
babel-helpers, babel-plugin-transform-optional-chaining, babel-runtime-corejs3: Only wrap functions in
superPropertyGethelper (@nicolo-ribaudo) - Fixed
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) - Fixed
babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes: Don't throw when enabling both syntax-import-{assertions,attributes} (@nicolo-ribaudo)
- Fixed
- New
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) - New
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) - New
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) - New
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)
- New
138 other lines we could not sort, mostly version bumps
- 7.26.10
babel-parser: Disallow decorator in array pattern (@JLHwung)
- 7.26.10
babel-parser: Left-value parsing cleanup (@JLHwung)
- 7.26.9
babel-types: Use
.tsfiles with explicit reexports to solve name conflicts (@nicolo-ribaudo) - 7.26.0
babel-plugin-proposal-json-modules, babel-plugin-transform-json-modules, babel-standalone: Rename
proposal-json-modulestotransform-json-modules(@nicolo-ribaudo) - 7.26.0
babel-code-frame, babel-highlight: Inline
@babel/highlightin@babel/code-frame(@nicolo-ribaudo) - 7.25.9
Analyze
ClassAccessorPropertyto prevent theno-undefrule (@victorenator) - 7.25.9
babel-helper-transform-fixture-test-runner: remove test options flaky (@JLHwung)
- 7.25.7
babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decimal, babel-plugin-syntax-import-reflection, babel-standalone: Archive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)
- 7.25.7
babel-generator: Simplify logic for
[no LineTerminator here]before nodes (@nicolo-ribaudo) - 7.25.6
babel-generator: TS union/intersection nested in union does not need parens (@nicolo-ribaudo)
45 internal lines (docs, tests, tooling) left out.
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.