@babel/preset-react offers a convenient way to use Babel's React-specific transformations, streamlining the process of configuring Babel for React projects. Comparing version 7.7.0 with the previous stable version 7.6.3 highlights subtle but noteworthy changes for developers.
One key difference lies in the updated dependency on @babel/plugin-transform-react-jsx. Version 7.7.0 mandates version "^7.7.0" of this plugin, while 7.6.3 used "^7.0.0". This signifies enhancements and potentially bug fixes within the JSX transformation process itself. Developers leveraging new JSX features or those encountering JSX-related issues might find the upgrade to 7.7.0 beneficial. Additionally, the @babel/core dev dependency is bumped from "^7.6.3" to "^7.7.0" wich can bring new features.
Both versions share the same core transform plugins for JSX self, source, and display name, ensuring continued support for common React development practices. They both have @babel/helper-plugin-utils dependency, which is essential for building Babel plugins, so it's important to keep it up to date. The unpacked size increased slightly from 4119 to 4172 bytes, potentially indicating minor additions or modifications to the codebase. Overall, moving from 7.6.3 to 7.7.0 appears to be a relatively minor update centered around enhanced JSX transformation capabilities, making it a recommended upgrade for projects already using @babel/preset-react especially if they rely on recent JSX features or have faced JSX-related problems.
The are not vulnerabilities for the version 7.7.0 of the package @babel/preset-react