Eslint-plugin-jest has released a new version, 28.2.0, following closely after version 28.1.1. Both versions are ESLint plugins designed to improve Jest testing workflows by enforcing best practices and catching potential errors in test code. While the core functionality remains consistent, subtle differences may impact developers looking to keep their testing environments up-to-date.
A primary focus should be given to the peerDependencies. Although on both versions the peerDependencies for jest and eslint remain unchanged, still supporting versions 7.0.0, 8.0.0 and 9.0.0 of eslint; the @typescript-eslint/eslint-plugin peer dependency now specifies that Version 7 is also allowed. This means developers using newer versions of @typescript-eslint/eslint-plugin can now leverage the plugin seamlessly, improving compatibility and reducing the need for workarounds.
Looking at the sizes, version 28.2.0 sees a slight increase in unpacked size (314163) compared to 28.1.1 (313613). While the fileCount remains the same (117), this minor size difference could indicate internal optimizations and improvements to the codebase. The release date of 28.2.0 is also slightly later than 28.1.1, pointing to a potential quick fix or minor feature addition.
For developers already using eslint-plugin-jest, upgrading to 28.2.0 is recommended due to better compatibility with the latest tooling. Always review the changelog for detailed information on specific bug fixes, enhancements, and any potential breaking changes before upgrading.
The are not vulnerabilities for the version 28.2.0 of the package eslint-plugin-jest