@babel/preset-react versions 7.14.5 and 7.13.13 both serve as Babel presets, simplifying the configuration for React projects by bundling necessary plugins. Version 7.14.5, released on June 9, 2021, builds upon the previous stable version 7.13.13, released on March 26, 2021, with several dependency updates. Crucially, the core dependencies such as @babel/helper-plugin-utils, @babel/plugin-transform-react-jsx, @babel/plugin-transform-react-display-name, @babel/plugin-transform-react-jsx-development, and @babel/plugin-transform-react-pure-annotations have all been updated to version 7.14.5, indicating improvements and/or bug fixes in how JSX is transformed, debugging information is handled, display names are managed, and pure annotations are applied.
Developers will benefit from these updates with enhanced compatibility and optimizations of React code. The upgrade to these plugins ensures developers are using the most up-to-date transformations and that their code is compatible with the latest React features and best practices. Additionally @babel/helper-validator-option upgrade is also present. The newer version also upgrades the testing suite.
The author field also changed from "Sebastian McKenzie" to "The Babel Team", reflecting a shift in ownership and maintainership. Both versions maintain the same MIT license and target compatible @babel/core versions (>=7.0.0-0), ensuring a seamless upgrade experience for existing Babel users. The size of the unpacked package is slightly larger in the newer version, potentially hinting at added functionality or improved code.
The are not vulnerabilities for the version 7.14.5 of the package @babel/preset-react