Socket
Socket
Sign inDemoInstall

@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 19.3.0 to 19.4.0

7

lib/cli.js

@@ -69,2 +69,6 @@ import { createRequire } from 'module';

},
'from-last-tag': {
description: 'uses the last tag as the lower end of the commit range to lint; applies if edit=false and from is not set',
type: 'boolean',
},
'git-log-args': {

@@ -115,2 +119,3 @@ description: "additional git log arguments as space separated string, example '--first-parent --cherry-pick'",

.alias('h', 'help')
.config('options', 'path to a JSON file or Common.js module containing CLI options', require)
.usage(`${pkg.name}@${pkg.version} - ${pkg.description}\n`)

@@ -181,2 +186,3 @@ .usage(`[input] reads from stdin if --edit, --env, --from and --to are omitted`)

from: flags.from,
fromLastTag: flags['from-last-tag'],
last: flags.last,

@@ -306,2 +312,3 @@ edit: flags.edit,

return (typeof flags.from === 'string' ||
typeof flags['from-last-tag'] === 'boolean' ||
typeof flags.to === 'string' ||

@@ -308,0 +315,0 @@ typeof flags.last === 'boolean');

1

lib/types.d.ts

@@ -11,2 +11,3 @@ export interface CliFlags {

from?: string;
'from-last-tag'?: boolean;
'git-log-args'?: string;

@@ -13,0 +14,0 @@ last?: boolean;

8

package.json
{
"name": "@commitlint/cli",
"type": "module",
"version": "19.3.0",
"version": "19.4.0",
"description": "Lint your commit messages",

@@ -53,4 +53,4 @@ "files": [

"@commitlint/lint": "^19.2.2",
"@commitlint/load": "^19.2.0",
"@commitlint/read": "^19.2.1",
"@commitlint/load": "^19.4.0",
"@commitlint/read": "^19.4.0",
"@commitlint/types": "^19.0.3",

@@ -60,3 +60,3 @@ "execa": "^8.0.1",

},
"gitHead": "447fd3b415d11cce15ec1af3b948a2c97cfdd8f5"
"gitHead": "bac2288cc7de5bb6f41939d1c562193c74ce16d5"
}

Sorry, the diff of this file is not supported yet

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