Version 8.18.0 of @typescript-eslint/parser introduces several notable updates compared to the previous stable version, 8.17.0. One key change lies within the peerDependencies. While both versions require eslint versions ^8.57.0 || ^9.0.0, version 8.18.0 imposes a stricter constraint on the typescript version, specifying >=4.8.4 <5.8.0. This indicates a tighter compatibility focus within that specific TypeScript range, potentially addressing issues or leveraging features specific to those versions. Developers relying on TypeScript versions outside this range might need to consider this limitation before upgrading.
Furthermore, there's a shift in the licensing from "BSD-2-Clause" in 8.17.0 to "MITClause" in 8.18.0. This change can be significant for projects with specific licensing requirements. Also, the unpackedSize varies slightly, with 8.18.0 being smaller (18892) than 8.17.0 (18985). While the difference seems quite small, this may reflect possible optimizations or removals of certain components, but needs further investigation to assure that the core functionality remains untouched. Finally, the newer version was released on December 9th, 2024, a week after the release of version 8.17.0, giving developers a more recent version with potentially fewer bugs and enhancements. Developers should review the changelog for a comprehensive understanding of all changes and their potential impact. The dependencies and devDependencies, including tooling around jest, prettier, and downlevel-dts, remain consistent between the versions.
The are not vulnerabilities for the version 8.18.0 of the package @typescript-eslint/parser