Ts-morph version 12.1.0 represents an incremental update to the TypeScript compiler wrapper, building upon the solid foundation established by version 12.0.0. Both versions, designed for static analysis and code manipulation, share core dependencies like @ts-morph/common and code-block-writer. However, key differences emerge in their underlying development dependencies, reflecting refinements and updates to the toolchain.
Specifically, version 12.1.0 upgrades TypeScript to ~4.4.4 from ~4.4.2 and @types/node to ^16.11.6 from ^16.7.2. The mocha dependency is updated from 9.1.0 to 9.1.3, and rollup also sees a bump from 2.56.3 to 2.58.3. These updates ensure greater compatibility with the latest features and improvements in the TypeScript ecosystem, potentially resolving bugs and enhancing performance for developers leveraging ts-morph.
Furthermore, the @ts-morph/common dependency experiences a minor version bump from ~0.11.0 to ~0.11.1. While seemingly small, this suggests potential bug fixes or improvements within the core utilities of ts-morph. The difference in fileCount and unpackedSize in the distributable may indicate slight adjustments in the packaging process or the inclusion of minor assets. Developers should consider upgrading to version 12.1.0 to benefit from these incremental improvements and ensure their projects remain aligned with the latest TypeScript tooling. Check the release notes on GitHub for the full list of changes.
The are not vulnerabilities for the version 12.1.0 of the package ts-morph