Version 7.27.4 of @babel/plugin-transform-runtime builds upon the solid foundation of its predecessor, 7.27.3, continuing to offer developers a powerful solution for automatically polyfilling code without contaminating the global scope. Both versions share the core functionality of externalizing references to Babel helpers and built-ins, ensuring compatibility across different JavaScript environments. Key dependencies like @babel/helper-plugin-utils, @babel/helper-module-imports, and the polyfill plugins for core-js 2 & 3, and regenerator remain consistent, providing a stable base for transforming code.
A notable difference lies in the updated development dependencies. Version 7.27.4 upgrades @babel/core, @babel/helpers, @babel/runtime, and @babel/runtime-corejs3 to version 7.27.4, while 7.27.3 used version 7.27.3. This indicates potential bug fixes, performance improvements, or new features within the core Babel ecosystem that plugin-transform-runtime now leverages. The unpackedSize of version 7.27.4 is slightly larger (38230 bytes vs 37383 bytes), suggesting the inclusion of these enhancements.
Developers should consider upgrading to 7.27.4 to benefit from the latest improvements in the Babel core and runtime. While the core functionality remains consistent, staying up-to-date ensures access to the most refined and performant polyfilling capabilities. For projects heavily reliant on Babel's transform-runtime, this update provides a seamless transition to benefit from these underlying enhancements. Given the peer dependency on @babel/core remains unchanged, upgrading should be straightforward for existing Babel setups. The newer release date also suggests it incorporates any recently addressed bug fixes identified since the release of 7.27.3.
The are not vulnerabilities for the version 7.27.4 of the package @babel/plugin-transform-runtime