@babel/register is a powerful tool that allows developers to seamlessly integrate Babel's compilation process into their Node.js projects. It essentially acts as a "require hook," automatically transforming JavaScript files on the fly as they are imported, enabling the use of modern JavaScript syntax, language extensions, and features even in environments that don't natively support them.
Between version 7.12.10 and 7.12.13, the core functionality remains consistent: providing this on-the-fly Babel transformation. The dependencies, like lodash, pirates, make-dir, find-cache-dir, and source-map-support stay the same, ensuring a stable underlying toolkit. Similarly, the peer dependency on @babel/core remains at "^7.0.0-0", meaning both versions are compatible with the Babel 7 ecosystem.
The key upgrades reside within the development dependencies @babel/core and @babel/plugin-transform-modules-commonjs. While both versions rely on Browserify for bundling during development, version 7.12.13 uses @babel/core version 7.12.13, a bump from 7.12.10. Morever, the @babel/plugin-transform-modules-commonjs is updated from 7.12.1 to version 7.12.13, showcasing a syncronization with the core. Generally, these updates mean bug fixes and improvements in ES module to CommonJS module transformation. Also, there is an increase in the fileCount and unpackedSize on version 7.12.13, which might point to more changes and stability improvements. These updates are targeted at improvements in the developer experience related to tooling and the usage of modules transformation so developers can benefit from a more robust and feature-rich compilation pipeline when using the latest version.
The are not vulnerabilities for the version 7.12.13 of the package @babel/register