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 17.2.0 to 17.8.1

14

lib/cli.js

@@ -17,3 +17,3 @@ "use strict";

const read_1 = __importDefault(require("@commitlint/read"));
const isFunction_1 = __importDefault(require("lodash/isFunction"));
const lodash_isfunction_1 = __importDefault(require("lodash.isfunction"));
const resolve_from_1 = __importDefault(require("resolve-from"));

@@ -128,3 +128,3 @@ const resolve_global_1 = __importDefault(require("resolve-global"));

async function stdin() {
var e_1, _a;
var _a, e_1, _b, _c;
let result = '';

@@ -136,4 +136,6 @@ if (process.stdin.isTTY) {

try {
for (var _b = __asyncValues(process.stdin), _c; _c = await _b.next(), !_c.done;) {
const chunk = _c.value;
for (var _d = true, _e = __asyncValues(process.stdin), _f; _f = await _e.next(), _a = _f.done, !_a; _d = true) {
_c = _f.value;
_d = false;
const chunk = _c;
result += chunk;

@@ -145,3 +147,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) await _a.call(_b);
if (!_d && !_a && (_b = _e.return)) await _b.call(_e);
}

@@ -363,3 +365,3 @@ finally { if (e_1) throw e_1.error; }

const moduleInstance = require(modulePath);
if ((0, isFunction_1.default)(moduleInstance.default)) {
if ((0, lodash_isfunction_1.default)(moduleInstance.default)) {
return moduleInstance.default;

@@ -366,0 +368,0 @@ }

{
"name": "@commitlint/cli",
"version": "17.2.0",
"version": "17.8.1",
"description": "Lint your commit messages",

@@ -40,16 +40,19 @@ "files": [

"devDependencies": {
"@commitlint/test": "^17.2.0",
"@commitlint/utils": "^17.0.0",
"@commitlint/test": "^17.8.1",
"@commitlint/utils": "^17.8.1",
"@types/lodash.isfunction": "^3.0.8",
"@types/lodash.merge": "^4.6.8",
"@types/node": "^14.0.0",
"@types/yargs": "^17.0.0",
"fs-extra": "^10.0.0"
"@types/yargs": "^17.0.29",
"fs-extra": "^11.0.0",
"lodash.merge": "^4.6.2"
},
"dependencies": {
"@commitlint/format": "^17.0.0",
"@commitlint/lint": "^17.2.0",
"@commitlint/load": "^17.2.0",
"@commitlint/read": "^17.2.0",
"@commitlint/types": "^17.0.0",
"@commitlint/format": "^17.8.1",
"@commitlint/lint": "^17.8.1",
"@commitlint/load": "^17.8.1",
"@commitlint/read": "^17.8.1",
"@commitlint/types": "^17.8.1",
"execa": "^5.0.0",
"lodash": "^4.17.19",
"lodash.isfunction": "^3.0.9",
"resolve-from": "5.0.0",

@@ -59,3 +62,3 @@ "resolve-global": "1.0.0",

},
"gitHead": "a2fab85ec0668b112f43073c766a2a8545a55497"
"gitHead": "75b2a1264ac699dbaead2249282b6dca18ae3008"
}

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