Version 7.24.1 of @babel/plugin-transform-runtime brings key updates and dependency enhancements compared to its predecessor, version 7.24.0, making it a worthwhile upgrade for Babel users focused on efficient polyfilling. The plugin, designed to externalize references to Babel's helpers and built-ins, prevents global namespace pollution while enabling automatic polyfilling.
A primary difference lies within the dependencies. Version 7.24.1 updates @babel/helper-module-imports to version 7.24.1, whereas version 7.24.0 used the older 7.22.15. This suggests improved module handling and likely bug fixes within the helper. Furthermore, the latest version brings advancements with updates to babel-plugin-polyfill-corejs2 (0.4.10), babel-plugin-polyfill-corejs3 (0.10.1), and babel-plugin-polyfill-regenerator (0.6.1). These updates bring in newer polyfills and could improve compatibility and performance when targeting older environments.
On the development dependency front, @babel/helper-plugin-test-runner was updated to v7.24.1 from v7.22.5.
Developers will appreciate the incremental improvements that translate to more reliable and up-to-date polyfilling. The updated core-js and regenerator plugins mean better support for modern JavaScript features across different browser and runtime environments. While the core functionality remains consistent, the enhancements in dependencies make version 7.24.1 a preferable choice for new projects and existing projects seeking the latest fixes and features from the polyfill ecosystem.
The are not vulnerabilities for the version 7.24.1 of the package @babel/plugin-transform-runtime