@babel/preset-env is a smart Babel preset enabling developers to use the latest JavaScript features without specifying individual transforms or worrying about browser compatibility. Configuring your Babel setup can be laborious, but @babel/preset-env intelligently determines the necessary transformations based on your target environments. Version 7.4.5 is a minor update succeeding version 7.4.4, reflecting incremental improvements and bug fixes.
Key differences lie within the dependencies and devDependencies. The core-js-compat dependency moves from version 3.0.0 to 3.1.1 indicating updates in core-js compatibility, which is a crucial aspect for developers aiming for broad browser support. Similarly, browserslist progresses from version 4.5.2 to 4.6.0, leading to updated browser support definitions. This change ensures that the latest browser landscape is accurately considered.
In the devDependencies caniuse-db gets updated from version 1.0.30000951 to 1.0.30000969 and incompat-table from *kangax/compat-table#6d012ba020fa7415e8a2d29e87924bab79b128a3* to *kangax/compat-table#45cbb3a3778815c973c5b09d69bf7d1f7ed0c316* which means that the data to check the browser compatibility has been updated.
A notable dependency update is the transition from "@babel/plugin-transform-regenerator": "^7.4.4" to "^7.4.5", which ensures compatibility with corresponding recent updates in the Babel plugin ecosystem.
The relatively small unpacked size difference (171171 vs 171243) suggests that the core functionality is unaltered, focusing instead on updates to compatibility data and associated tools. If you encounter issues with browser support or need the absolute latest compatibility data, upgrading to 7.4.5 is recommended.
The are not vulnerabilities for the version 7.4.5 of the package @babel/preset-env