Eslint-plugin-react version 7.20.1 is a minor update to the popular ESLint plugin that provides React-specific linting rules. Comparing it to the previous stable version, 7.20.0, several changes become apparent. The "resolve" dependency was updated from version 1.15.1 to 1.17.0, while "jsx-ast-utils" was upgraded from 2.2.3 to 2.4.1. The "array.prototype.flatmap" dependency was introduced in 7.20.1 with version ^1.2.3. The "xregexp" dependency present in version 7.20.0 was removed in 7.20.1.
On the development dependency side, Typescript was updated from version 3.9.2 to 3.9.5 and @types/node from 13.13.6 to 14.0.14. The @types/eslint package was also updated to 7.2.0. Furthermore, eslint-plugin-import saw an update from version 2.20.2 to 2.22.0, @typescript-eslint/parser was updated from 2.33.0 to 2.34.0, eslint-config-airbnb-base from 14.1.0 to 14.2.0 and eslint-plugin-eslint-plugin from 2.2.1 to 2.3.0. The @types/estree dev dependency was also updated to version 0.0.45.
Developers should consider these updates for improved dependency management and potential bug fixes. The increment of the "resolve" and "jsx-ast-utils" packages, along other dev dependencies upgrades, might introduce new features and performance enhancements. The introduction of "array.prototype.flatmap" could allow for more concise code in certain scenarios. If you're using the previous version, thoroughly test your application after upgrading to ensure compatibility with the updated dependencies. These updates enhance the plugin's ability to provide accurate and helpful linting suggestions for React projects, which saves time, improves code quality, and promotes consistency across your codebase.
The are not vulnerabilities for the version 7.20.1 of the package eslint-plugin-react