Packages

ts-morph

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

Upgrading ts-morph From 4.1.1 to 4.3.3

5 releases in betweennotes for 4

Reading releases, release notes and advisories…

Other targets from 4.1.1Latest28.0.0
?
changes to make
0
advisories fixed
8+
new
5+
fixes

Counted from 4 of 5 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 4.3.3

    7 Nov 20191 fix
    • Fixed

      Restrict 4.3 version of library to TS < 3.7

  2. 4.3.2

    22 Oct 20191 fix
    • Fixed

      Inserting a member when a comment was the last member would throw.

  3. 4.3.1no release note

  4. 4.3.0

    17 Oct 20191 new · 1 fix
    • New

      Add Node#getWidth(true) for including js docs in the width (similar to Node#getStart(true) in the compiler api).

    • Fixed

      An unwrappable node would throw an error on unwrap if it had a leading comment.

  5. 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.