Version 7.25.4 of @babel/plugin-transform-runtime introduces key updates and dependency upgrades compared to its predecessor, version 7.24.7, impacting developers using Babel for polyfilling and runtime environment management. The primary function of this plugin remains consistent: to externalize references to Babel's helpers and built-ins, thereby automatically polyfilling code without polluting the global scope. However, the newer version incorporates several notable changes.
Specifically, several devDependencies like @babel/core, @babel/helpers, @babel/runtime, @babel/preset-env, and @babel/runtime-corejs3 have been updated from version 7.24.7 to 7.25.2, 7.25.0, 7.25.4, 7.25.4, and 7.25.0 respectively reflecting the latest bug fixes and feature enhancements within the Babel ecosystem. Also, babel-plugin-polyfill-corejs3 in devDependencies was updated from 0.10.4 to 0.10.6.
Crucially, the babel-plugin-polyfill-corejs3 dependency within the dependencies section also sees an update, moving from version 0.10.1 to 0.10.6. This likely incorporates important fixes or added functionalities related to the core-js polyfill library, potentially affecting the generated output and compatibility of transformed code. Developers relying on specific core-js features or targeting older environments should carefully assess these changes.
The unpacked size has slightly decreased from 104568 bytes to 101327 bytes, which might indicate minor refactoring or optimization within the plugin's code. Lastly, the release date highlights a more recent update, signifying ongoing maintenance and improvements. Developers are encouraged to upgrade to version 7.25.4 to benefit from these enhancements and ensure compatibility with the latest Babel tooling.
The are not vulnerabilities for the version 7.25.4 of the package @babel/plugin-transform-runtime