@babel/preset-env 7.16.0 introduces several updates and enhancements compared to version 7.15.8. Key dependency bumps include @babel/types moving from 7.15.6 to 7.16.0 and @babel/compat-data jumping from 7.15.0 to 7.16.0, suggesting improved support for newer JavaScript features and browser compatibility data. The core-js-compat dependency sees an update from version 3.16.0 to 3.19.0, bringing in the latest core-js polyfills and compatibility fixes.
Many of the @babel/plugin-transform-* and @babel/plugin-proposal-* dependencies have been updated to version 7.16.0, indicating refinements and bug fixes in the transformation process for various JavaScript syntax features, including class properties, optional chaining, and more. Specifically, @babel/plugin-transform-spread jumps from 7.15.8 to 7.16.0, as well as @babel/plugin-proposal-async-generator-functions jumping from 7.15.8 to 7.16.0.
Developers upgrading to 7.16.0 can expect enhanced support for modern JavaScript syntax, more accurate and up-to-date browser compatibility information, and potential performance improvements within the Babel compilation process, which can significantly streamline the development workflow. The update also touches bug fixes related to spread parameters in optional chaining and Safari's ID destructuring collision in function expressions demonstrating a dedication to solving specific browser quirks.
The are not vulnerabilities for the version 7.16.0 of the package @babel/preset-env