@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
4 new12 fixed3 changed4 internal
Release note
Thanks @chrishinrichs, @khoumani, @m-ahmadi, @BBlackwo, @SakibulMowla, @4geru, @Shriram-Balaji, @ZYSzys and @arku for their first PRs!
:bug: Bug Fix
babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Add support for native esm to @babel/runtime. (@nicolo-ribaudo)
babel-preset-env: Update preset-env mappings. (@existentialism)
babel-parser: Flow enums: fix enum body location. (@gkz)
babel-parser: Fix some incorrect typeof parsing in flow. (@existentialism)
babel-parser: [parser] Allow optional async methods. (@gonzarodriguezt)
babel-parser: register import equals specifier. (@JLHwung)
babel-parser: Allow TypeScript type assertions in array destructuring. (@SakibulMowla)
babel-preset-env-standalone: fix: add missing available plugins to babel-preset-env-standalone. (@JLHwung)
babel-plugin-transform-function-name, babel-plugin-transform-modules-umd, babel-preset-env: Circumvent typeof transform for umd build template. (@JLHwung)
babel-cli: Babel should not silently remove unknown options after commander arguments. (@JLHwung)
babel-plugin-proposal-optional-chaining: Fix optional method chaining in derived classes. (@Shriram-Balaji)
babel-parser, babel-types: Add
asserts this [is type]parsing support. (@JLHwung)babel-traverse: Fix parentheses on replaceWithMultiple for JSX. (@khoumani)
babel-helpers, babel-plugin-proposal-object-rest-spread, babel-preset-env: Fix: Don't call Object.keys on non-objects (babel#10482). (@chrishinrichs)
:nail_care: Polish
babel-plugin-proposal-nullish-coalescing-operator: polish: skip creating extra reference for safely re-used node. (@JLHwung)
:house: Internal
Other
Removed duplicate key in package.json. (@rajasekarm)
chore: use loose mode of transform. (@JLHwung)
Implement PR workflow for running test262 on babel PRs. (@jbhoosreddy)
bump @babel/* dev dependencies. (@JLHwung)
E2E test Babel with itself before publishing. (@nicolo-ribaudo)
babel-core: Reduce standalone build size. (@JLHwung)
babel-cli: Add missing flow type to babel-cli for consistency. (@ZYSzys)
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.