Packages

@babel/preset-typescript

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

Your version

7.12.16

11 Feb 2021Where it was published

7.29.7 is the newest release of 7.x.

In short

8 fixed1 changed2 internal

Release note

:bug: Bug Fix

  • babel-core: fix: use semver gte comparison on polyfill version tester (@JLHwung)

  • babel-parser: [parser] Fix scope handling of Flow declared functions (@nicolo-ribaudo)

  • babel-parser: babel-parser(ts): Throw recoverable for duplicates access modifier (@sosukesuzuki)

  • babel-parser: babel-parser(ts): Raise recoverable error for abstract interface (@sosukesuzuki)

  • babel-parser: fix(ts): include asserts in TSTypePredicate location (@fedeci)

  • babel-parser: [TS] Create TSUnionType or TSIntersectionType when typealias has a leading operator (@fedeci)

  • babel-plugin-transform-typescript: Support destructuring variable declarator within TS namespace (@JLHwung)

:nail_care: Polish

:house: Internal

  • Other

    • pnp does not work with ESM dev scripts (@JLHwung)

    • docs: Update build requirements in CONTRIBUTING.md (@sosukesuzuki)

  • babel-cli, babel-core, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin, babel-helper-member-expression-to-functions, babel-helper-validator-option, babel-node, babel-parser, babel-plugin-proposal-class-static-block, babel-plugin-proposal-dynamic-import, babel-plugin-proposal-optional-chaining, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-preset-env, babel-preset-typescript: Avoid importing .json files (@nicolo-ribaudo)

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.