ts-morph
28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed
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/commonfile 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::defaultCompilerOptionsTypeScript 5.3 #1476
Add interface and type literal getters & setters
Add wrapped method for
getShorthandAssignmentValueSymboltoTypeChecker. add convenience method for getting the value symbol onShorthandPropertyAssignment.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/commonfile 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.