The @babel/plugin-transform-modules-commonjs package, crucial for converting ES2015 modules into the widely compatible CommonJS format, saw a notable update from version 7.12.13 to 7.13.0. This plugin empowers developers to leverage modern JavaScript module syntax while ensuring their code runs seamlessly in environments that haven't fully adopted ES modules, like older Node.js versions or browsers lacking native support. The primary function remains consistent: transforming import and export statements into require and module.exports, respectively.
However, the key changes reside in dependency updates. Both @babel/helper-plugin-utils and @babel/helper-module-transforms jumped from version 7.12.13 to 7.13.0. These helper packages likely contain internal improvements, bug fixes, or potentially new features aimed at optimizing the transformation process or enhancing compatibility with the latest ECMAScript standards. The update also reflects under the hood how Babel core works as "@babel/core" and "@babel/helper-plugin-test-runner" was used as a *devDependency*(7.12.13->7.13.0). Developers should consult the changelogs of these dependent packages for detailed information on the specific modifications. Additionally, the "unpackedSize" in the 'dist' object slightly increased (9138 bytes to 9485 bytes) possibly indicating added code or refinements and it's released almost 3 weeks later (2021-02-03T01:12:15.771Z to 2021-02-22T22:50:32.399Z) implying possibly a response to feedback or bugs. For those relying on @babel/plugin-transform-modules-commonjs, upgrading to 7.13.0 is generally recommended to benefit from these potential enhancements, but thorough testing is advisable to ensure compatibility with your existing codebase.
The are not vulnerabilities for the version 7.13.0 of the package @babel/plugin-transform-modules-commonjs