Skip to content

chore(deps): bump ts-morph from 18.0.0 to 28.0.0#2591

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/ts-morph-28.0.0
Open

chore(deps): bump ts-morph from 18.0.0 to 28.0.0#2591
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/ts-morph-28.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 19, 2026

Bumps ts-morph from 18.0.0 to 28.0.0.

Release notes

Sourced from ts-morph's releases.

28.0.0

What's Changed

Note there are some breaking changes due to TypeScript 6.0. Read more here: https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/

As part of this release, structures can now be printed to a string using the printStructure function.

import { printStructure, StructureKind } from "ts-morph";
const code = printStructure({
kind: StructureKind.Class,
name: "MyClass",
isExported: true,
properties: [{ name: "myProp", type: "string" }],
methods: [{
name: "myMethod",
parameters: [{ name: "param", type: "number" }],
returnType: "void",
}],
});
console.log(code);

Outputs:

export class MyClass {
  myProp: string;
myMethod(param: number): void {
}
}

New Contributors

Full Changelog: dsherret/ts-morph@27.0.2...28.0.0

27.0.2

What's Changed

Full Changelog: dsherret/ts-morph@27.0.1...27.0.2

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for ts-morph since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 19, 2026
Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 18.0.0 to 28.0.0.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](dsherret/ts-morph@18.0.0...28.0.0)

---
updated-dependencies:
- dependency-name: ts-morph
  dependency-version: 28.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump ts-morph from 18.0.0 to 28.0.0 chore(deps): bump ts-morph from 18.0.0 to 28.0.0 Apr 23, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/ts-morph-28.0.0 branch from 09a53f0 to 03e8a6f Compare April 23, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants