@babel/preset-env 7.14.2 introduces several key dependency version updates compared to version 7.14.1. A notable update includes @babel/types which moves from version 7.14.1 to 7.14.2. Many @babel/plugin-* dependencies have also been bumped, offering developers access to the latest bug fixes and features from those specific plugins. These include updates to transform-classes, transform-parameters, proposal-json-strings, proposal-dynamic-import, transform-block-scoping, proposal-numeric-separator, proposal-optional-chaining, proposal-object-rest-spread, proposal-export-namespace-from, proposal-optional-catch-binding, proposal-async-generator-functions, proposal-nullish-coalescing-operator, and proposal-logical-assignment-operators.
Developers using @babel/preset-env should be aware of these minor version bumps, as they could potentially introduce subtle changes in behavior, especially regarding edge cases in code transformation. Always consult the release notes of updated dependencies, which generally reside on specified Github repositories and available via npm package details, for comprehensive details, since these release notes contain crucial information regarding bug fixes and new capabilities implemented inside the dependencies. Because these upgrades frequently improve compatibility and stability of the entire preset, keeping abreast of changes and upgrading to the most recent version is advised. The core functionality of the preset, which focuses on intelligently applying Babel transformations based on target environments, remains consistent between the two.
The are not vulnerabilities for the version 7.14.2 of the package @babel/preset-env