@babel/plugin-transform-runtime, a crucial Babel plugin for modern JavaScript development, saw a release of version 7.12.17 on February 18, 2021, building upon the previous stable version 7.12.15 released on February 4, 2021. Both versions share the core functionality of externalizing references to Babel's helpers and built-ins. This ensures automatic polyfilling in your code without polluting the global scope, leading to cleaner and more modular JavaScript.
Developers will find that the dependencies remain largely consistent between the two versions, relying on packages like semver, @babel/helper-plugin-utils, and @babel/helper-module-imports to function. Similarly, the development dependencies, including @babel/core, @babel/types, and @babel/preset-env, are shared, though some, like @babel/core and @babel/runtime, bump up to 7.12.17 in the newer version to maintain compatibility and leverage the latest features. The peer dependency requirement for @babel/core remains at "^7.0.0-0" in both.
The key differences between the versions lie in the internal improvements and bug fixes that 7.12.17 likely brings. A subtle increase in unpackedSize (from 40359 to 41552) and fileCount (from 10 to 11) suggests the addition of new features, minor improvements or refinements. While the changelog isn't directly available in this data, upgrading to 7.12.17 is generally recommended to benefit from the most stable and optimized version of the plugin, ensuring compatibility with the latest Babel ecosystem and potentially resolving any known issues present in the previous version. Always refer to the official Babel documentation or release notes for a complete list of changes.
The are not vulnerabilities for the version 7.12.17 of the package @babel/plugin-transform-runtime