@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
1 breaking1 new6 fixed6 changed32 internal
- breaking
Adding createFlowUnionType in place of createUnionTypeAnnotation without breaking change (@Beraliv)
Release note
:eyeglasses: Spec Compliance
babel-plugin-proposal-object-rest-spreadFix evaluation order with object spread, 2 (@jridgewell)
Fix evaluation order with object spread (@Zzzen)
babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classesSuper property eval order (@jridgewell)
:rocket: New Feature
babel-traverse,babel-typesAdding createFlowUnionType in place of createUnionTypeAnnotation without breaking change (@Beraliv)
:bug: Bug Fix
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-transform-modules-commonjs,babel-preset-envFix helpers.unsupportedIterableToArray for Map and Set (@ChintanAcharya)
babel-traversehandle objectMethod in scope.isPure (@Zzzen)
babel-plugin-transform-typescriptThrow error for TypeScript
declare const enum(@dosentmatter)
babel-compat-datachore: add node.js 14 support data (@JLHwung)
babel-parserSet exprAllowed to false for star token (@existentialism)
fix: disallow expression after binding identifier
of(@JLHwung)fix: report missing plugins on type exports (@JLHwung)
fix: do not push new token context when function is following dot/questionDot (@JLHwung)
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-propertiesFix redeclaring private in nested class's superClass (@jridgewell)
Fix nested classes reference private fields (@jridgewell)
babel-traverse,babel-typestransform-spread: create TS types (not Flow) when using TS (@Beraliv)
babel-standalonechore: update stage preset in babel-standalone (@JLHwung)
babel-plugin-transform-runtimefix: replace backslashes with forward slashes from resolved path for … (@johannes-z)
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-throw-expressions,babel-plugin-transform-async-to-generatorUnify parens printing for postfix-like expressions (@nicolo-ribaudo)
:nail_care: Polish
babel-parserbabel-core
:memo: Documentation
babel-parserdocs: update AST spec (@JLHwung)
Other
Add note about experimental nature of @babel/eslint-* packages (@kaicataldo)
contributing.md updates [skip ci] (@hzoo)
:house: Internal
babel-compat-data,babel-preset-envUpdate compat table script (@nicolo-ribaudo)
Update compat data (@JLHwung)
Other
babel-noderefactor(babel-node): Refactor babel-node tests configuration (@arku)
:running_woman: Performance
babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-plugin-transform-parameters,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-preset-envSpeed up the createSuper helper (@jridgewell)