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

@commitlint/cli

Package Overview
Dependencies
Maintainers
1
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 5.2.3 to 5.2.4

8

CHANGELOG.md

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

<a name="5.2.4"></a>
## [5.2.4](https://github.com/marionebl/commitlint/compare/v5.2.3...v5.2.4) (2017-12-08)
**Note:** Version bump only for package @commitlint/cli
<a name="5.2.3"></a>

@@ -8,0 +16,0 @@ ## [5.2.3](https://github.com/marionebl/commitlint/compare/v5.2.2...v5.2.3) (2017-12-05)

8

lib/cli.js

@@ -105,3 +105,9 @@ #!/usr/bin/env node

parserOpts = selectParserOpts(loaded.parserPreset);
opts = parserOpts ? { parserOpts } : undefined;
opts = parserOpts ? { parserOpts } : { parserOpts: {} };
// Strip comments if reading from `.git/COMMIT_EDIT_MSG`
if (range.edit) {
opts.parserOpts.commentChar = '#';
}
return Promise.resolve(core.lint(message, loaded.rules, opts)).then(function ($await_3) {

@@ -108,0 +114,0 @@ try {

4

package.json
{
"name": "@commitlint/cli",
"version": "5.2.3",
"version": "5.2.4",
"description": "Lint your commit messages",

@@ -72,3 +72,3 @@ "bin": {

"dependencies": {
"@commitlint/core": "^5.2.0",
"@commitlint/core": "^5.2.4",
"babel-polyfill": "6.26.0",

@@ -75,0 +75,0 @@ "chalk": "2.3.0",

@@ -102,3 +102,9 @@ #!/usr/bin/env node

const parserOpts = selectParserOpts(loaded.parserPreset);
const opts = parserOpts ? {parserOpts} : undefined;
const opts = parserOpts ? {parserOpts} : {parserOpts: {}};
// Strip comments if reading from `.git/COMMIT_EDIT_MSG`
if (range.edit) {
opts.parserOpts.commentChar = '#';
}
const report = await core.lint(message, loaded.rules, opts);

@@ -158,5 +164,3 @@ const formatted = core.format(report, {color: flags.color});

throw new Error(
`Received ${
edit
} as value for -e | --edit, but GIT_PARAMS is not available globally.`
`Received ${edit} as value for -e | --edit, but GIT_PARAMS is not available globally.`
);

@@ -163,0 +167,0 @@ }

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