@babel/preset-env version 7.16.4 introduces subtle but potentially impactful updates compared to its predecessor, 7.16.0. The core functionality, providing a Babel preset tailored to specific JavaScript environments, remains the same. However, several dependency updates and bug fixes warrant attention. Notably, core-js-compat advances from version 3.19.0 to 3.19.1, likely incorporating refined compatibility data and potentially affecting how polyfills are applied.
A key upgrade is the bump in @babel/compat-data from 7.16.0 to 7.16.4 which reflects the updated data of browser and runtime JavaScript features support. Besides feature support data, the updates also encompass changes in the landscape of supported platforms. The change in @babel/plugin-proposal-async-generator-functions is another notable change.
Furthermore, babel-plugin-polyfill-corejs2 and babel-plugin-polyfill-regenerator went through some changes but these do not present updates of their published version but rather changes in the code.
The introduction of @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining and @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression signals a focus on resolving specific browser inconsistencies, particularly in V8 (Chrome, Node.js) and Safari. Developers targeting these environments should benefit from these targeted fixes, ensuring more reliable code execution. While seemingly minor, these granular updates underscore Babel's commitment to precise and comprehensive environment support. This translates to fewer runtime errors and a smoother development experience, especially when dealing with complex JavaScript features across diverse browsers and Node.js versions.
The are not vulnerabilities for the version 7.16.4 of the package @babel/preset-env