@babel/plugin-transform-runtime version 7.12.0 introduces several key updates compared to its predecessor, 7.11.5, making it a worthwhile upgrade for developers leveraging Babel for JavaScript transformations. Both versions share the same core functionality: externalizing references to Babel helpers and built-ins, effectively polyfilling code without polluting the global scope. This simplifies dependency management and prevents conflicts when targeting different JavaScript environments.
However, the newer release includes updates to its development dependencies. Most notably, @babel/core, @babel/types, @babel/runtime, @babel/preset-env and @babel/runtime-corejs3 have all been updated to version 7.12.0. In the previous version of the package they were using version 7.11.5 @babel/core, @babel/types and @babel/preset-env , and 7.11.0 for @babel/runtime and @babel/runtime-corejs3. The upgrade of @babel/core is particularly significant, as it brings improvements and bug fixes to the core compilation process.
Developers should note that while both versions list @babel/core as a peer dependency with a compatible range of ^7.0.0-0, ensuring your project uses a version within this range is crucial for smooth integration. Finally it's important to notice the differences in the dist section of the package. The newer version has fileCount:11 and unpackedSize:41194, while the older version has fileCount:9 and unpackedSize:40219.
The are not vulnerabilities for the version 7.12.0 of the package @babel/plugin-transform-runtime