@babel/preset-react versions 7.9.0 and 7.8.3 offer developers a streamlined way to use Babel for transforming React code. Both presets package essential plugins for handling JSX syntax, adding self and source information for debugging, and applying display names to React components. Key differences lie primarily in the upgraded dependencies within version 7.9.0. Specifically, several core transformation plugins like @babel/plugin-transform-react-jsx, @babel/plugin-transform-react-jsx-self, @babel/plugin-transform-react-jsx-source, and @babel/plugin-transform-react-jsx-development have been updated to version 7.9.0.
Importantly, @babel/plugin-transform-react-jsx-development, which adds valuable debugging information in development environments, is introduced in v7.9.0, enhancing the developer experience. The update offers potentially improved performance, bug fixes, and alignment with the latest React features and Babel's core functionalities. Developers already on the Babel 7 ecosystem and utilizing React should strongly consider migrating to 7.9.0 to leverage improvements and ensure compatibility. The older 7.8.3 version remains functional, but misses out on the refinements implemented in these plugin updates, and the addition of @babel/plugin-transform-react-jsx-development. Both versions maintain the same peer dependency on @babel/core (version 7 or higher).
The are not vulnerabilities for the version 7.9.0 of the package @babel/preset-react