Version 7.23.2 of @babel/plugin-transform-runtime brings significant updates compared to version 7.22.15, impacting how developers handle polyfilling and helper injection in their Babel-powered projects. A key advantage remains consistent: automatically polyfilling code without polluting the global scope. This plugin externalizes references to Babel's helpers and built-ins, streamlining bundle sizes and avoiding potential conflicts in larger applications.
Significant differences lie in the updated dependencies, notably Babel's core packages. Developers migrating should be aware of peer dependency @babel/core remaining at "^7.0.0-0", ensuring compatibility across a wide range of Babel versions remains consistent. However, crucial devDependencies like @babel/core, @babel/helpers, @babel/runtime, @babel/preset-env, and @babel/runtime-corejs3 have all jumped in version. This signifies improvements and bug fixes within Babel's core functionalities, potentially unlocking access to newer features and optimizations. Further benefiting developers is the update to core-js polyfill plugins: babel-plugin-polyfill-corejs2, babel-plugin-polyfill-corejs3, and babel-plugin-polyfill-regenerator. Especially notable is the update from 0.8.3 to 0.8.5 for babel-plugin-polyfill-corejs3. Developers should consult the changelogs for Babel and CoreJS packages to fully leverage these advancements. The releaseDate moved from September to October confirming recency. While the unpackedSize and fileCount are nearly identical, indicating few structural changes, the dependency updates signal an enhanced and more refined experience for Babel users.
Ultimately, upgrading delivers incremental improvements for a faster, standards-compliant workflow.
The are not vulnerabilities for the version 7.23.2 of the package @babel/plugin-transform-runtime