Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commitlint/cli

Package Overview
Dependencies
Maintainers
4
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/cli - npm Package Compare versions

Comparing version 13.0.0 to 13.1.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24)
### Bug Fixes
* **cli:** remove hard coded comment char with linting `COMMIT_EDIT_MSG` ([#2618](https://github.com/conventional-changelog/commitlint/issues/2618)) ([5badf6d](https://github.com/conventional-changelog/commitlint/commit/5badf6dc08116ed3557e6c780e55764b4f07ca67)), closes [#2351](https://github.com/conventional-changelog/commitlint/issues/2351)
# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24)

@@ -8,0 +19,0 @@

6

lib/cli.js

@@ -199,4 +199,6 @@ "use strict";

const format = loadFormatter(loaded, flags);
// Strip comments if reading from `.git/COMMIT_EDIT_MSG`
if (flags.edit) {
// Strip comments if reading from `.git/COMMIT_EDIT_MSG` using the
// commentChar from the parser preset falling back to a `#` if that is not
// set
if (flags.edit && typeof opts.parserOpts.commentChar !== 'string') {
opts.parserOpts.commentChar = '#';

@@ -203,0 +205,0 @@ }

{
"name": "@commitlint/cli",
"version": "13.0.0",
"version": "13.1.0",
"description": "Lint your commit messages",

@@ -46,7 +46,7 @@ "files": [

"dependencies": {
"@commitlint/format": "^13.0.0",
"@commitlint/lint": "^13.0.0",
"@commitlint/load": "^13.0.0",
"@commitlint/read": "^13.0.0",
"@commitlint/types": "^13.0.0",
"@commitlint/format": "^13.1.0",
"@commitlint/lint": "^13.1.0",
"@commitlint/load": "^13.1.0",
"@commitlint/read": "^13.1.0",
"@commitlint/types": "^13.1.0",
"lodash": "^4.17.19",

@@ -57,3 +57,3 @@ "resolve-from": "5.0.0",

},
"gitHead": "ca0ddf736a495fe6868cb9b4c43ae65476a5a6bf"
"gitHead": "dfbb8c5e9481a5075458acad2e4666fd6b98f9a7"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc