@babel/plugin-transform-runtime versions 7.12.1 and 7.12.0 are both focused on externalizing references to Babel's helpers and built-ins, thus enabling automatic polyfilling of code without polluting global scope. This is crucial for developers seeking to minimize bundle size and avoid conflicts in environments where multiple versions of the same library are present. A key difference between the two versions can be found in their dependencies and devDependencies.
Version 7.12.1 updates some core dependencies to version 7.12.1. Specifically @babel/core, @babel/types, @babel/helpers, @babel/runtime, and @babel/plugin-transform-typeof-symbol were updated. The @babel/helper-module-imports dependency was also updated to 7.12.1. These upgrades likely incorporate bug fixes, performance improvements, and potentially support for new JavaScript syntax features introduced in the broader Babel ecosystem. While version 7.12.0 used 7.10.4 for @babel/helper-module-imports, @babel/helpers, and @babel/plugin-transform-typeof-symbol, and 7.12.0 for @babel/core, @babel/types, @babel/runtime.
The updated dependencies in 7.12.1 might be important for developers using newer Babel features or those experiencing compatibility issues with the older dependency versions in 7.12.0. Moreover, the unpacked size decreased slightly from 41194 to 41192. Developers should consider these dependency updates and size differences when choosing between the two versions, weighing the benefits of the latest bug fixes and features against potential compatibility impacts within their existing project setup. Both versions maintain the same peer dependency requirement for @babel/core at "^7.0.0-0".
The are not vulnerabilities for the version 7.12.1 of the package @babel/plugin-transform-runtime