@commitlint/cli version 3.1.3 introduces subtle yet significant improvements over its predecessor, version 3.1.2, making it a worthwhile upgrade for developers employing commitlint for enforcing commit message conventions. The core functionality of linting commit messages remains consistent, leveraging dependencies like meow, chalk, lodash, get-stdin, and babel-polyfill for argument parsing, terminal styling, utility functions, input handling, and ES6 compatibility, respectively.
A key difference lies in the updated dependency on @commitlint/core, advancing from version 3.1.2 to 3.1.3 ensuring access to the latest core linting rules and functionalities. This update likely includes bug fixes, performance enhancements, or new linting rules that enhance the overall commit message verification process. Additionally, version 3.1.3 incorporates mkdirp, rimraf, sander, and resolve-bin as development dependencies, which are absent in the previous version. These additions suggest potential improvements or changes in the build or testing process, possibly related to file system operations or dependency resolution during development, without directly impacting the end-user's experience. The inclusion of @commitlint/utils version 3.1.1 ensures consistent utility functions across the ecosystem, facilitating easier rule creation and maintenance.
Developers using @commitlint/cli benefit from a consistent approach to enforcing commit message styles, improving project maintainability and collaboration. This tool supports a wide range of configurations through plugins and configurations. By adhering to predefined commit message formats, teams can automate release notes generation, improve issue tracking, and streamline the overall development lifecycle, and the latest version brings improved reliability.
All the vulnerabilities related to the version 3.1.3 of the package
Uncontrolled Resource Consumption in trim-newlines
@rkesters/gnuplot is an easy to use node module to draw charts using gnuplot and ps2pdf. The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end()
method.
Command Injection in lodash
lodash
versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
dot-prop Prototype Pollution vulnerability
Prototype pollution vulnerability in dot-prop npm package versions before 4.2.1 and versions 5.x before 5.1.1 allows an attacker to add arbitrary properties to JavaScript language constructs such as objects.