@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
9 new3 fixed2 changed16 internal
Release note
Thanks @a-tarasyuk and @gausie for your first PRs!
:eyeglasses: Spec Compliance
babel-parserfeat(ts): raise error for abstract property with initializer (@fedeci)
:rocket: New Feature
babel-parserAdd
attachCommentparser option to disable comment attachment (@JLHwung)
babel-standalonestandalone: update
preset-stage-*(@sosukesuzuki)feat: support hack pipeline in
@babel/standalone(@JLHwung)
babel-parser,babel-preset-envEnable top-level
awaitparsing by default (@nicolo-ribaudo)
babel-plugin-transform-typescript,babel-preset-typescriptSupport TypeScript const enums (@nicolo-ribaudo)
babel-plugin-transform-typescriptfeat(typescript): implement namespace alias (@colinaaa)
babel-core,babel-helper-create-class-features-plugin,babel-helper-module-transforms,babel-plugin-transform-modules-commonjsfeat: add
noIncompleteNsImportDetectionassumption toplugin-transform-modules-commonjs(@fedeci)
babel-plugin-transform-react-display-nameAdd display name after create context (@JLHwung)
babel-parser,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operatorHack-pipe proposal with
%topic token (@js-choi)
babel-generator,babel-parser,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operator,babel-traverse,babel-typesAdd support for the "Hack" pipeline proposal (@js-choi)
babel-plugin-transform-runtimeExpose
@babel/eslint-parser/experimental-worker(@nicolo-ribaudo)
babel-compat-data,babel-helper-compilation-targets,babel-preset-envAdd support for rhino as a compilation target (@gausie)
babel-compat-data,babel-parser,babel-preset-envEnable ergonomic brand checks (
#priv in) by default (@nicolo-ribaudo)
:bug: Bug Fix
babel-parser,babel-plugin-transform-typescript[ts] support optional chain call with generic (@lala7573)
babel-plugin-transform-typescriptHandle typescript function overloading in a default export (@tony-go)
babel-parserFix
%==parsing in hack pipes (@nicolo-ribaudo)parser: Fix Hack/smart-pipe error positions (@js-choi)
fix(ts): raise error for
export default interface {}(@a-tarasyuk)