The @babel/preset-env package, a cornerstone for modern JavaScript development, saw a notable update from version 7.8.7 to 7.9.0. This preset intelligently determines the necessary Babel transformations and polyfills based on your target environments, enabling developers to write cutting-edge JavaScript without sacrificing compatibility.
Key improvements with the 7.9.0 release include updated dependencies, bringing in the latest features and improvements across the Babel ecosystem. Notably, several @babel plugins saw version bumps, such as @babel/types, @babel/plugin-transform-for-of, @babel/plugin-transform-classes, @babel/plugin-transform-modules-amd, @babel/plugin-transform-modules-umd, and @babel/plugin-proposal-optional-chaining.These updates generally bring bug fixes, performance enhancements, and compatibility adjustments. The core-js-compat dependency remains at a relatively recent version in both, ensuring modern JavaScript features can be properly polyfilled.
A key difference lies in the updated @babel/core dev dependency (7.9.0 in the new version versus 7.8.7 previously), potentially incorporating the latest Babel compiler improvements. Moreover, @babel/compat-data is updated to 7.9.0 providing more granular compatibility based on the newest browser/node versions. By upgrading to version 7.9.0, developers will benefit from the most up-to-date transformations and polyfills, streamlining their workflow and ensuring optimal compatibility for their target environments. The updated browserslist dependency also facilitates better and more accurate browser targeting.
The are not vulnerabilities for the version 7.9.0 of the package @babel/preset-env