@babel/plugin-transform-runtime version 7.21.0 introduces several updates that developers should be aware of compared to version 7.19.6. While the core functionality of externalizing references to helpers and built-ins for automatic polyfilling remains consistent, key differences lie within the dependency versions.
Most notably, several @babel dependencies have been bumped to version 7.21.0, including @babel/core, @babel/types, @babel/helpers, and @babel/runtime. This indicates compatibility with the latest Babel features and potential bug fixes in those core packages. Furthermore, @babel/template sees an update from 7.18.10 to 7.20.7. Version 7.21 also includes upgrade to @babel/preset-env to version 7.20.2 and @babel/runtime-corejs3 to version 7.21.0 suggesting alignment with the most recent ECMAScript proposals and polyfilling strategies. The @babel/helper-plugin-utils dependency updates from 7.19.0 to 7.20.2
Developers upgrading should carefully review the changelogs for each of these updated @babel dependencies to understand any potential breaking changes or new features. These updates likely contribute to improved performance, security, and compatibility. The changes are aimed to provide a more robust and feature-rich transformation process for modern JavaScript development workflows. The unpacked size is slightly different, indicating minor code changes or optimization.
The are not vulnerabilities for the version 7.21.0 of the package @babel/plugin-transform-runtime