@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
6 new1 faster1 fixed2 changed8 internal
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-typesEnable import attributes parsing by default (@nicolo-ribaudo)
babel-corefeat: 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-standaloneAdd
transform-regexp-modifierstopreset-env(@JLHwung)
babel-parserfeat: add
startIndexparser option (@DylanPiercey)
babel-generator,babel-parser,babel-plugin-syntax-flowAlways enable parsing of Flow enums (@nicolo-ribaudo)
babel-helpers,babel-preset-typescript,babel-runtime-corejs3Support
import()inrewriteImportExtensions(@liuxingbaoyu)
babel-generator,babel-parserAdd experimental format-preserving mode to
@babel/generator(@nicolo-ribaudo)
:bug: Bug Fix
babel-coreWorkaround Node.js bug for parallel loading of TLA modules (@nicolo-ribaudo)
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-standaloneRename
proposal-json-modulestotransform-json-modules(@nicolo-ribaudo)
:house: Internal
babel-code-frame,babel-highlightInline
@babel/highlightin@babel/code-frame(@nicolo-ribaudo)
babel-generator,babel-parser,babel-typesAdd
kindtoTSModuleDeclaration(@liuxingbaoyu)
:running_woman: Performance
babel-helper-module-transforms,babel-plugin-transform-modules-commonjsperf: Improve module transforms (@liuxingbaoyu)