Packages

@babel/preset-typescript

8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed

Your version

7.26.0

25 Oct 2024Where it was published

7.29.7 is the newest release of 7.x.

In short

8 new1 faster2 fixed2 changed

Release note

Thanks @timofei-iatsenko for your first PR!

You can find the release blog post with some highlights at babeljs.io/blog/2024/10/25/7.26.0.

:rocket: New Feature

  • babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes, babel-preset-env, babel-standalone, babel-types: Enable import attributes parsing by default (@nicolo-ribaudo)

  • babel-core: feat: support async plugin's pre/post (@timofei-iatsenko)

  • babel-compat-data, babel-plugin-proposal-regexp-modifiers, babel-plugin-transform-regexp-modifiers, babel-preset-env, babel-standalone: Add transform-regexp-modifiers to preset-env (@JLHwung)

  • babel-parser: feat: add startIndex parser option (@DylanPiercey)

  • babel-generator, babel-parser, babel-plugin-syntax-flow: Always enable parsing of Flow enums (@nicolo-ribaudo)

  • babel-helpers, babel-preset-typescript, babel-runtime-corejs3: Support import() in rewriteImportExtensions (@liuxingbaoyu)

  • babel-generator, babel-parser: Add experimental format-preserving mode to @babel/generator (@nicolo-ribaudo)

:bug: Bug Fix

  • babel-core: Workaround Node.js bug for parallel loading of TLA modules (@nicolo-ribaudo)

  • babel-core: Fix loading of modules with TLA in Node.js 23 (@nicolo-ribaudo)

:nail_care: Polish

  • babel-plugin-proposal-json-modules, babel-plugin-transform-json-modules, babel-standalone: Rename proposal-json-modules to transform-json-modules (@nicolo-ribaudo)

:house: Internal

:running_woman: Performance

  • babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: perf: Improve module transforms (@liuxingbaoyu)

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.