Eslint-plugin-testing-library's versions 7.0.0 and 6.5.0 offer developers robust linting rules for writing effective and maintainable tests with Testing Library. Version 7.0.0 introduces several key updates beneficial for those aiming for the latest and greatest in linting.
One primary difference lies in the dependencies. Version 7.0.0 upgrades to newer versions of @typescript-eslint/* packages (specifically @typescript-eslint/utils":"^8.15.0" and @typescript-eslint/scope-manager":"^8.15.0"), ensuring compatibility with more recent TypeScript and ESLint features. In contrast, version 6.5.0 relies on older versions (@typescript-eslint/utils":"^5.62.0"). This dependency shift can be crucial for projects aligning with the latest TypeScript ecosystem.
Another significant change pertains to peer dependencies. Version 7.0.0 tightens its peer dependency on ESLint, now requiring "^8.57.0 || ^9.0.0", while the prior version allowed a broader range, "^7.5.0 || ^8.0.0 || ^9.0.0". This change signifies a move toward supporting only newer ESLint versions, potentially impacting projects still using older, unsupported ESLint releases.
Furthermore, a minor difference to note is the updated @types/node version in the devDependencies of version 7.0.0 with ^22.8.6, while version 6.5.0 uses ^20.16.12. While this is only used during development, it may be a consideration depending on development environments. Version 7.0.0 was released on "2024-11-23T12:54:48.005Z" and version 6.5.0 on "2024-11-20T15:07:25.449Z", making the newer version very recent.
The are not vulnerabilities for the version 7.0.0 of the package eslint-plugin-testing-library