Packages

ts-morph

28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed

Your version

21.0.0

major2 Dec 2023Where it was published

21.0.1 is the newest release of 21.x.

In short

3 breaking4 new1 faster

  • Breaking

    Upgraded to TS 5.3

  • Breaking

    Underlying @ts-morph/common file system methods return undefined instead of throwing when not exists (for perf).

  • Breaking

    Private fields are actually private (default build requires private fields).

Release note

What's Changed

  • ProjectOptions::defaultCompilerOptions

  • TypeScript 5.3 #1476

  • Add interface and type literal getters & setters

  • Add wrapped method for getShorthandAssignmentValueSymbol to TypeChecker. add convenience method for getting the value symbol on ShorthandPropertyAssignment.

  • Use path.exists functions that don't throw internally when not exists #1478

Breaking Changes

  • Breaking

    Upgraded to TS 5.3

  • Breaking

    Underlying @ts-morph/common file system methods return undefined instead of throwing when not exists (for perf).

  • Breaking

    Private fields are actually private (default build requires private fields).

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.