Eslint-plugin-react has a new version, 7.31.11, released on November 18, 2022, following the previous stable version 7.31.10 released in October 2022. Both versions provide React-specific linting rules for ESLint, enhancing code quality and consistency in React projects. A close look reveals subtle but notable differences in their dependency trees. In the newer version, several dependency updates are present, including object.hasown (1.1.2 vs 1.1.1), object.values (1.1.6 vs 1.1.5), array-includes (3.1.6 vs 3.1.5), object.entries (1.1.6 vs 1.1.5), object.fromentries (2.0.6 vs 2.0.5), array.prototype.flatmap (1.3.1 vs 1.3.0), and string.prototype.matchall (4.0.8 vs 4.0.7). These updates likely incorporate bug fixes, performance enhancements, or new features within those specific utility libraries.
Additionally, on the development dependency front, @babel/core was upgraded to version 7.20.2 from 7.19.3, and array.prototype.tosorted was added with version 1.1.1 in the newest version. The jump in unpacked size from 752024 to 777094 suggests code additions or modifications. These changes collectively refine the linting process, improve compatibility with the latest tools and standards, and can potentially introduce new linting rules or enhance existing ones. Developers upgrading should review the changelog for specific rule changes and consider updating their ESLint configuration accordingly to leverage the improvements.
The are not vulnerabilities for the version 7.31.11 of the package eslint-plugin-react