eslint-plugin-jest helps you write better Jest tests by providing ESLint rules that enforce best practices and prevent common mistakes. Version 26.2.0 was released on May 13, 2022, following version 26.1.5 released on April 22, 2022.
A key difference lies in the devDependencies. Version 26.2.0 upgrades the jest dependency from ^27.0.0 to ^28.0.0 and babel-jest accordingly. This means developers using the newer version of the plugin can leverage the features and improvements introduced in Jest v28. This includes possibly faster test execution and improved error messages. This means that developers will need to be careful of breaking changes introduced by jest 28. For example jest changed how it handles fake timers and require explicit setup.
The unpacked size of the package has slightly increased from 273886 bytes in version 26.1.5 to 278276 bytes in version 26.2.0, suggesting minor updates in tests, code or documentation improvements.
Developers should carefully review the Jest v28 release notes to understand any potential impact on their existing test suites when upgrading to eslint-plugin-jest v26.2.0.
Both versions share the same peer dependencies, requiring eslint versions 6, 7, or 8 and @typescript-eslint/eslint-plugin version 5. Overall, version 26.2.0 offers incremental improvements through its updated devDependencies, mainly by supporting Jest v28.
The are not vulnerabilities for the version 26.2.0 of the package eslint-plugin-jest