@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
1 faster9 fixed7 changed2 internal
Release note
Thanks @chimurai and @krosenberg for your first PRs!
:eyeglasses: Spec Compliance
babel-cli, babel-core, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-jscript, babel-plugin-transform-parameters, babel-plugin-transform-runtime, babel-plugin-transform-spread, babel-plugin-transform-typescript, babel-preset-env: Mark class prototype as read-only (@wentout)
:bug: Bug Fix
babel-plugin-transform-parameters: Fix: default rest argument array elements as undefined (@The-x-Theorist)
babel-plugin-transform-arrow-functions, babel-traverse: Don't resolve shadowed
argumentsvariables from functions (@The-x-Theorist)babel-parser: maintain estree string literal shape when cloned (@JLHwung)
babel-traverse: Fix duplicate declaration error on ambient class declarations (@The-x-Theorist)
babel-generator: Support flow function type annotation with no parent (@krosenberg)
babel-plugin-transform-react-jsx: Fix JSX pragma anywhere in comment (@The-x-Theorist)
babel-helper-create-class-features-plugin, babel-helper-environment-visitor, babel-helper-member-expression-to-functions, babel-helper-module-transforms, babel-helper-replace-supers, babel-plugin-transform-classes, babel-traverse: Fix handling of
this&co in computed keys in arrows transform (@nicolo-ribaudo)
:nail_care: Polish
babel-parser: Recover from shorthand assign exprs (@JLHwung)
babel-parser: fix: update UnexpectedPrivateField error message (@JLHwung)
:memo: Documentation
Many packages
Regenerate monorepo READMEs (@nicolo-ribaudo)
:house: Internal
Every package
Run tests in a native Node.js ESM environment (@nicolo-ribaudo)
babel-parser: Extend
hasPluginto accept plugin-configuration array pairs (@js-choi)babel-helpers: Don't use ESM for
required files in@babel/helperstests (@nicolo-ribaudo)babel-plugin-proposal-object-rest-spread, babel-traverse: Convert proposal-object-rest-spread to TS (@JLHwung)
babel-parser, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-optional-chaining, babel-preset-react, babel-preset-typescript: Only bundle the release build, and don't import
srcin tests (@nicolo-ribaudo)Other
Fail CI when
@babel/runtimeESM tests fail (@nicolo-ribaudo)
:running_woman: Performance
babel-parser: Improve template tokenizing (@JLHwung)
:microscope: Output optimization
babel-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime: minify
helpers-generated.ts(@lightmare)
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.