eslint-plugin-testing-library has released version 5.10.3, building upon the foundation of 5.10.2 to provide enhanced linting rules for projects leveraging Testing Library. This update contains various dependency updates and a newer release date of April 12, 2023. While the core description remains the same – an ESLint plugin designed to promote best practices and prevent common errors in Testing Library tests – the underlying tooling receives some attention.
Specifically, @typescript-eslint/utils sees an update from version ^5.43.0 to ^5.58.0, potentially bringing in bug fixes and performance improvements related to TypeScript parsing and analysis. Several development dependencies also receive updates, including eslint (from ^8.28.0 to ^8.38.0), @babel/core (from ^7.20.2 to ^7.21.4), @typescript-eslint/parser (from ^5.43.0 to ^5.58.0), and @typescript-eslint/eslint-plugin (from ^5.43.0 to ^5.58.0), eslint-doc-generator (from 1.0.0 to 1.4.3), eslint-plugin-import (from ^2.26.0 to ^2.27.5). These updates often include enhanced rule sets, better compatibility with newer language features, and improved performance within the development workflow. The Prettier version increases from 2.8.1 to 2.8.7, meaning a potentially different code formatting output according to default configuration.
The update from eslint-remote-tester-repositories from ^1.0.0 to ^1.0.1 is also included.
For developers already using eslint-plugin-testing-library, upgrading to 5.10.3 is generally recommended to benefit from the latest improvements and bug fixes in the underlying dependencies. New adopters will find a well-maintained and actively updated plugin that helps enforce consistent and reliable testing practices.
The are not vulnerabilities for the version 5.10.3 of the package eslint-plugin-testing-library