@babel/plugin-transform-react-jsx version 7.8.0 brings several updates for developers working with JSX in their React projects. Compared to the previous stable version 7.7.7, the most notable changes lie within its dependencies. Specifically, its dependencies @babel/plugin-syntax-jsx and @babel/helper-builder-react-jsx have been updated to ^7.8.0, while version 7.7.7 used versions ^7.7.4 for both. The @babel/helper-plugin-utilsdependency has also been updated from version 7.0.0 to ^7.8.0. For developers, this means enhanced compatibility with the latest JSX syntax features and improvements in how JSX is transformed into React function calls.
Moreover, the development dependencies of @babel/core and @babel/helper-plugin-test-runner were also updated to ^7.8.0 from ^7.7.7 and ^7.7.4 respectively, which streamlines the development and testing process when working with the plugin. Furthermore, unpacking and using version 7.8.0 requires 5432 bytes, compared to version 7.7.7, which needs 5410 bytes. Developers should note that both versions maintain the same peer dependency @babel/core (^7.0.0-0), ensuring a wide range of compatibility. Version 7.8.0 was released on January 12, 2020, providing developers with a more recent and potentially optimized solution for JSX transformations compared to version 7.7.7 released in December 2019.
The are not vulnerabilities for the version 7.8.0 of the package @babel/plugin-transform-react-jsx