Version 7.7.0 of @babel/register, a crucial package for transpiling JavaScript with Babel on the fly within Node.js environments, introduces subtle but noteworthy updates compared to its predecessor, version 7.6.2. Both versions maintain the core functionality of enabling the use of modern JavaScript syntax in projects without pre-compilation.
However, the key difference lies in the dependencies. Version 7.7.0 replaces the dependency mkdirp with make-dir, which might suggest a shift towards a more modern or actively maintained alternative for creating directories. Furthermore, source-map-support is updated from version 0.5.9 to 0.5.16, potentially incorporating bug fixes and performance improvements in source map handling, which is critical for debugging transpiled code.
Developers should note the devDependencies, particularly @babel/core. Version 7.7.0 of register depends on version 7.7.0 of core, while 7.6.2 depends on 7.6.2 leading to a more streamlined and consistent development experience by aligning core Babel functionalities with the register package. Both versions declare @babel/core as a peer dependency, indicating that it must be explicitly installed by the user to ensure compatibility and avoid version conflicts.
Finally the upgrade impacts the unpackedSize and release date witch means other fixes and refactor were introduced outside the dependencies upgrades. These versions help developers who want to use the newest features of Babel without an intermediate compilation step.
The are not vulnerabilities for the version 7.7.0 of the package @babel/register