The @typescript-eslint/eslint-plugin package, a cornerstone for TypeScript developers using ESLint, has a new version available: 5.59.0, released on April 17, 2023. This update follows closely on the heels of version 5.58.0, released just a week prior on April 10, 2023. While both versions maintain the same core purpose – providing TypeScript-specific linting rules for ESLint – subtle differences exist that are worth noting for those wanting a clear understanding of the update.
A primary distinction lies in the dependency versions of internal packages. Version 5.59.0 updates its internal dependencies to version 5.59.0 of @typescript-eslint/utils, @typescript-eslint/type-utils, and @typescript-eslint/scope-manager, whereas the previous version used 5.58.0. This synchronization across the internal packages ensures better consistency and potential bug fixes or performance improvements within the toolchain. While the stated dependencies appear the same, a slight change in the unpackedSize attribute in the dist section (2415982 vs 2413916) of the two versions may also indicate minor code alterations or additions, that may be bug fixes or related to performance improvement.
Developers should update to version 5.59.0 primarily to leverage the latest refinements and bug fixes within the core utilities. Keeping dependencies current ensures optimal compatibility and can potentially resolve hidden issues that might arise from using older versions. The peer dependencies remain consistent, requiring ESLint (versions 6, 7, or 8) and @typescript-eslint/parser (version 5 or higher), so the upgrade should be seamless for most users already adhering to these constraints.
The are not vulnerabilities for the version 5.59.0 of the package @typescript-eslint/eslint-plugin