@babel/register is a powerful Babel package that enables on-the-fly transpilation of JavaScript files using Babel, directly within your Node.js application. This is particularly useful for projects that want to immediately leverage the latest JavaScript features without a pre-compilation step during development. Comparing version 7.17.7 with the earlier 7.17.0, the core functionality remains consistent. Both versions share the same key dependencies such as pirates for intercepting require statements, make-dir for creating directories, clone-deep for deep cloning objects, find-cache-dir for locating cache directories, and source-map-support for improved debugging.
The notable distinction lies in the updated development dependencies. Version 7.17.7 upgrades @babel/core to version 7.17.7 and @babel/plugin-transform-modules-commonjs to version 7.17.7., while 7.17.0 uses @babel/core in version 7.17.0 and @babel/plugin-transform-modules-commonjs in version 7.16.8. These updates pull in the latest fixes, performance improvements, and potentially new features from the core Babel compiler and the CommonJS module transformation plugin. While the peer dependency on @babel/core remains at "^7.0.0-0" for both versions, these internal updates enhance the reliability and compatibility of @babel/register with the latest Babel ecosystem. Developers should upgrade to 7.17.7 to benefit from these improvements and ensure smooth transpilation of their code. Also the unpackedSize goes from 21556 to 21260.
The are not vulnerabilities for the version 7.17.7 of the package @babel/register