The @babel/plugin-transform-react-jsx package, a cornerstone for React developers using Babel, has seen a recent update from version 7.24.7 to 7.25.2. Both versions are designed to transform JSX syntax into standard JavaScript React function calls, ensuring compatibility across different environments. Key dependencies such as @babel/types, @babel/plugin-syntax-jsx, @babel/helper-plugin-utils, @babel/helper-module-imports, and @babel/helper-annotate-as-pure remain consistently important for the plugin's core functionalities in both version. Peer dependencies on @babel/core also stay the same, with both the old and the new version being compatible with version 7 and above.
While the core functionality remains the same, the update indicates a refinement in the underlying code. Although both versions contain the same number of files, the change becomes evident in the dependency versions and the unpacked size. Version 7.25.2 references newer versions of @babel/types, @babel/core and @babel/traverse which indicates internal updates and bug fixes. The change of unpacked size suggests that the newer version may include performance enhancements, bug fixes, or minor adjustments to the compiled output.
The update to version 7.25.2, released on July 30th, contains the newer versions of @babel/types, @babel/core and @babel/traverse, assuring users that they are working with the latest improvements. This guarantees better compatibility with current Babel versions and React projects, and also improved stability and fewer unexpected behaviours during JSX transformation.
The are not vulnerabilities for the version 7.25.2 of the package @babel/plugin-transform-react-jsx