@babel/plugin-transform-runtime, a crucial Babel plugin, streamlines code by externalizing references to helpers and built-ins, thus automatically polyfilling code while preventing global namespace pollution. Comparing versions 7.25.7 and 7.25.4 reveals several noteworthy updates for developers.
Version 7.25.7 features dependency updates across the board, particularly in @babel/helper-plugin-utils, @babel/helper-module-imports, @babel/core, @babel/helpers, @babel/runtime, @babel/preset-env, @babel/runtime-corejs3, and @babel/helper-plugin-test-runner. These upgrades likely incorporate performance optimizations, bug fixes, and enhanced compatibility with the broader Babel ecosystem. Although babel-plugin-polyfill-corejs3 is listed in both devDependencies and dependencies for version 7.25.7 it should be noted that only needs to be added as a dependency. The @babel/runtime and related packages like @babel/runtime-corejs3 being updated signifies improvements in how Babel handles runtime dependencies, potentially leading to smaller bundle sizes or more efficient polyfilling. Developers should carefully review the changelogs for these updated dependencies to understand the specific changes and ensure compatibility with their projects. The unpacked size and release date also vary between the two versions implying changed code. While version 7.25.4 was published on August 22, 2024, the newer releases date is October 2, 2024.
The are not vulnerabilities for the version 7.25.7 of the package @babel/plugin-transform-runtime