Version 7.4.0 of @babel/plugin-transform-runtime introduces several notable updates compared to version 7.3.4, impacting developers aiming to leverage Babel for efficient and clean JavaScript polyfilling. The core functionality—externalizing helper functions and built-ins to prevent global namespace pollution—remains consistent, ensuring a streamlined approach to code transformation without introducing unintended side effects.
A significant change lies in the updated dependencies and devDependencies. Most notably, the @babel/core, @babel/helpers, @babel/runtime and @babel/template devDependencies have been bumped to version 7.4.0 reflecting internal updates and compatibility improvements with the latest Babel ecosystem. These upgrades often bring performance enhancements, bug fixes, and new features that trickle down to developers utilizing @babel/plugin-transform-runtime. Furthermore, a new devDependency has been added to version 7.4.0: @babel/plugin-transform-property-literals":"^7.2.0" and @babel/plugin-transform-member-expression-literals":"^7.2.0".
The dist object also reveals changes. Version 7.4.0 has a larger unpacked size, 38378 bytes compared to version 7.3.4's 16272 bytes and a higher file count of 7 vs 5, indicating potential additions to the plugin's internal structure, like extra features and functionalities or improved module handling. These revisions likely contribute to enhanced stability and effectiveness in managing runtime dependencies across different environments. Developers should be aware of the minor version upgrade and associated dependency updates when integrating this plugin into their Babel configuration to ensure optimal performance and compatibility. The release date of March 19, 2019, also makes version 7.4.0 a more recent stable release.
The are not vulnerabilities for the version 7.4.0 of the package @babel/plugin-transform-runtime