Packages

ts-morph

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

Upgrading ts-morph From 4.1.1 to 4.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.1.1Newest 4.x4.3.3Latest28.0.0
  1. 4.1.1yours
  2. 4.2.0target
0
changes to make
0
advisories fixed
7
new
2
fixes

Release by release

  1. 4.2.0

    5 Oct 20197 new · 2 fixes
    • New

      ExpressionNode - Add getExpressionIfKind methods.

    • New

      Add useTrailingCommas manipulation setting option.

    • New

      Add getParentIf and getParentIfOrThrow (9e037b6) (@HoldYourWaffle)

    • New

      Update forgetNodesCreatedInBlock to allow returning a value.

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.