Packages

ts-morph

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

Upgrading ts-morph From 1.3.5 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.3.5Latest28.0.0
  1. 1.3.5yours
  2. 2.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0

Release by release

  1. 2.0.0

    Migration needed11 Apr 201922 new · 8 fixes
    • Breaking

      FileSystemHost.isCaseSensitive() is now required in implementations.

    • Breaking

      The default export was removed. Use the named Project export from now on.

    • Breaking

      ModuledNode#getExportedDeclarations() now returns a map with a key as the export name and the value as an array of declarations that are exported.

    • Breaking

      Removed .bodyText, .classes, .enums properties on structures. Replaced with .statements property.

1 other line we could not sort, mostly version bumps
  • Target ES2015.

    2.0.0

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