Packages

@babel/preset-typescript

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

Upgrading @babel/preset-typescript From 7.26.0 to 8.0.7

7 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.26.0Newest 7.x7.29.7

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.0.1
  • Breaking8.0.1
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Release by release

  1. 8.0.7nothing new or fixed in the note

  2. 8.0.1

    Migration needed17 Jun 2026
    • Breaking

      This release includes a breaking change that was in the Babel 8 migration guide's Getting ready section and in the release post, but the actual removal of the feature from the codebase was accidentally not complete.

    • Breaking

      babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone: Actually remove preset-env's useBuiltIns (@nicolo-ribaudo)

  3. 8.0.0

    Migration needed16 Jun 20262 new · 2 fixes
    • Breaking

      You can find a summary of all the breaking changes shipped in the Babel 8 release line in the migration guide for users and migration guide for plugin developers.

    • Breaking

      babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register: Fallback to assuming ESM support with modules: auto (@nicolo-ribaudo)

    • Breaking

      babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for @babe/runtime-corejs3 (@liuxingbaoyu)

    • Breaking

      babel-parser: Remove locations: "packed" (@liuxingbaoyu)

  4. 7.29.7nothing new or fixed in the note

  5. 7.28.5

    23 Oct 20252 new · 7 fixes
    • New

      babel-parser: Allow Runtime Errors for Function Call Assignment Targets (@liuxingbaoyu)

    • New

      babel-core: Faster finding of locations in buildCodeFrameError (@liuxingbaoyu)

    • Fixed

      babel-helper-validator-identifier: fix: update identifier to unicode 17 (@fisker)

    • Fixed

      babel-plugin-proposal-destructuring-private: Allow mixing private destructuring and rest (@CO0Ki3)

  6. 7.27.1

    30 Apr 20251 new · 10 fixes
    • New

      babel-parser: Allow using of as lexical declaration within for (@JLHwung)

    • Fixed

      babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-traverse: fix: do expressions should allow early exit (@kermanx)

    • Fixed

      babel-helper-wrap-function, babel-plugin-transform-async-to-generator: Fix: propagate argument evaluation errors through async promise chain (@magic-akari)

    • Fixed

      babel-helper-remap-async-to-generator, babel-plugin-transform-async-to-generator: fix apply()/call() annotated as pure (@Lacsw)

  7. 7.27.0

    24 Mar 20257 new · 6 fixes
    • New

      babel-helper-create-class-features-plugin, babel-traverse, babel-types: Allow traverseFast to exit early (@liuxingbaoyu)

    • New

      babel-parser, babel-template: Add allowYieldOutsideFunction to parser (@liuxingbaoyu)

    • New

      babel-plugin-transform-typescript, babel-traverse: feat: Add upToScope parameter to hasBinding (@liuxingbaoyu)

    • New

      babel-parser: Support ESTree AccessorProperty (@JLHwung)

12 other lines we could not sort, mostly version bumps
  • babel-types: Type checking babel-types scripts (@JLHwung)

    7.28.5
  • babel-parser: Disallow get/set in TSPropertySignature (@JLHwung)

    7.27.1
  • babel-parser, babel-types: Stricter TSImportType options parsing (@JLHwung)

    7.27.1
  • babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-transform-arrow-functions, babel-plugin-transform-class-properties, babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-traverse: Reduce generated names size for the 10th-11th (@nicolo-ribaudo)

    7.27.1
  • babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove unused regenerator-runtime dep in @babel/runtime (@nicolo-ribaudo)

    7.27.1
  • babel-compat-data, babel-preset-env: Tune plugin compat data (@JLHwung)

    7.27.1
  • babel-compat-data, babel-standalone: migrate babel-compat-data build script to mjs (@JLHwung)

    7.27.1
  • babel-register: Migrate @babel/register to cts (@liuxingbaoyu)

    7.27.1
  • babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs3: Inline regenerator in the relevant packages (@nicolo-ribaudo)

    7.27.1
  • babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3: Reduce interopRequireWildcard size (@liuxingbaoyu)

    7.27.1

4 internal lines (docs, tests, tooling) left out.

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.