@babel/preset-env is a smart Babel preset designed to simplify configuration by automatically including the necessary Babel plugins to support your target environments. Version 7.12.13 introduces several updates compared to the previous stable version 7.12.11. Most notably are the updates in the dependencies, reflecting improvements and bug fixes within the larger Babel ecosystem.
A key difference lies in the updated versions of several core dependencies. For instance, @babel/types moves from 7.12.11 to 7.12.13, @babel/compat-data jumps from 7.12.7 to 7.12.13, and several plugins receive updates, most notable @babel/plugin-transform-block-scoping going from 7.12.11 to 7.12.13. The update to core-js-compat from 3.8.0 remains the same. These updates ensure better compatibility with the latest JavaScript features and browser versions, leading to more accurate and efficient transpilation.
While the core functionality remains consistent, these incremental updates collectively improve the overall stability and reliability of the preset. Developers should consider upgrading to 7.12.13 to leverage these dependency updates, ensuring their code benefits from the latest bug fixes and feature enhancements in the Babel ecosystem. The consistent peer dependency @babel/core version requirement (^7.0.0-0) indicates backward compatibility for most users already using Babel 7. This upgrade is recommended for those seeking the latest and most refined version of @babel/preset-env.
The are not vulnerabilities for the version 7.12.13 of the package @babel/preset-env