@babel/cli
8.0.6 · 18 Sep 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
5 new11 fixed11 changed50 internal
Release note
:eyeglasses: Spec Compliance
babel-typesthrow a TypeError if identifier validation fails. (@dentrado)
babel-parserfix: Exclude catch clause from let identifier error. (@gonzarodriguezt)
[parser] Exception to 8 and 9 in tagged template. (@pnowak)
Allow duplicate
__proto__keys in patterns, simple case (#6705). (@alejo90)
:rocket: New Feature
babel-generator,babel-helper-create-class-features-plugin,babel-parser,babel-plugin-transform-typescript,babel-preset-typescript,babel-typesAdd support for TS declare modifier on fields. (@nicolo-ribaudo)
babel-core,babel-parser,babel-preset-typescript@babel/parser error recovery. (@nicolo-ribaudo)
babel-coreAdd support for .cjs config files. (@nicolo-ribaudo)
Add support for babel.config.json. (@devongovett)
feat: if code frame error is on a single line, highlight the whole path. (@SimenB)
babel-plugin-syntax-top-level-await,babel-preset-envCreate @babel/plugin-syntax-top-level-await. (@nicolo-ribaudo)
babel-helper-builder-react-jsx,babel-plugin-transform-react-jsx,babel-preset-react[transform-react-jsx] Add useSpread option to transform JSX. (@ivandevp)
babel-generator,babel-parser,babel-plugin-proposal-decorators,babel-plugin-syntax-flow,babel-typesFlow enums parsing. (@gkz)
babel-plugin-transform-function-name,babel-plugin-transform-modules-umd,babel-preset-envChanges UMD callsite to be more likely to pass in the intended object.. (@MicahZoltu)
babel-parserCreate parser plugin "topLevelAwait". (@nicolo-ribaudo)
[parser] Enable "exportNamespaceFrom" by default. (@nicolo-ribaudo)
[parser] Add support for private fields in TypeScript. (@nicolo-ribaudo)
babel-generator,babel-parser,babel-typesadd assertions signature for TypeScript. (@tanhauhau)
babel-cli,babel-registerMake dir for babel --out-file. (@TrySound)
babel-cliCloses #8326, add back --quiet option.. (@chris-peng-1244)
:bug: Bug Fix
babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-function-sent,babel-preset-envCorrectly delegate .return() in async generator. (@nicolo-ribaudo)
babel-helper-module-transforms,babel-plugin-transform-modules-commonjsDon't throw when destructuring into a var named as an import. (@nicolo-ribaudo)
babel-plugin-transform-modules-systemjsfix: remove ExportNamedDeclaration when the specifier is empty. (@JLHwung)
babel-parser[TS] Parse calls with type args in optional chains. (@nicolo-ribaudo)
fixed missing errors on assignment pattern in object expression. (@vivek12345)
[parser] Parse only modifiers of actual methods. (@gonzarodriguezt)
babel-plugin-transform-typescript[TS] Correctly transform computed strings and templates in enums. (@nicolo-ribaudo)
babel-corebabel-plugin-proposal-decorators[decorators] fix: support string literal properties. (@mwhitworth)
babel-helpers,babel-plugin-proposal-dynamic-import,babel-plugin-transform-modules-commonjs,babel-preset-envfix: _interopRequireWildcard should only cache objects. (@samMeow)
babel-traverse[traverse] Allow skipping nodes inserted with .replaceWith(). (@nicolo-ribaudo)
babel-preset-envInject core-js@3 imports in Program:exit instead of on post(). (@nicolo-ribaudo)
babel-generatorFix generator missing parens around an arrow returning function type. (@existentialism)
babel-plugin-transform-async-to-generator,babel-preset-env,babel-traverseDon't use args rest/spread to hoist super method calls. (@nicolo-ribaudo)
:nail_care: Polish
babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-preset-env[preset-env] Don't use async-to-generator when already using regenerator. (@nicolo-ribaudo)
babel-helpers,babel-plugin-transform-modules-commonjs,babel-preset-envfix(babel‑helpers/interopRequireWildcard): Avoid double nullish check. (@ExE-Boss)
babel-registerfix: disable caching when babel could not read/write cache. (@JLHwung)
:house: Internal
babel-cli,babel-nodechore: remove output-file-sync dependency. (@JLHwung)
babel-registerchore: bump source-map-support to 0.5.14. (@JLHwung)
babel-helper-create-regexp-features-plugin,babel-plugin-proposal-unicode-property-regex,babel-plugin-transform-dotall-regex,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-unicode-regex,babel-preset-envMerge multiple regex transform plugin. (@JLHwung)
babel-preset-envchore: update web.immediate support fixtures. (@JLHwung)
babel-helper-module-importsUse .find instead of .filter to get targetPath in ImportInjector. (@Andarist)
Other
Test node@13 on circle. (@existentialism)
chore: replace outdated travis-ci.org badges [ci skip]. (@JLHwung)
chore: test against Node.js 13. (@JLHwung)
Add master branch workflow for test262 tests. (@jbhoosreddy)
babel-runtimedocs: add homepage link. (@DanArthurGallagher)
babel-helper-annotate-as-pure,babel-helper-bindify-decorators,babel-helper-builder-binary-assignment-operator-visitor,babel-helper-builder-react-jsx,babel-helper-call-delegate,babel-helper-define-map,babel-helper-explode-assignable-expression,babel-helper-explode-class,babel-helper-function-name,babel-helper-get-function-arity,babel-helper-hoist-variables,babel-helper-member-expression-to-functions,babel-helper-module-imports,babel-helper-module-transforms,babel-helper-optimise-call-expression,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-helper-simple-access,babel-helper-split-export-declaration,babel-helper-wrap-function,babel-helpers,babel-templateBump babel-types to ^7.6.3. (@JLHwung)
:running_woman: Performance
babel-traverseTraverse performance. (@JLHwung)