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.6.5

21

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,5 +136,12 @@ if (process.stdin.isTTY) {

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

@@ -145,3 +152,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 +370,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 +373,0 @@ }

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

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

"devDependencies": {
"@commitlint/test": "^17.2.0",
"@commitlint/utils": "^17.0.0",
"@commitlint/test": "^17.4.2",
"@commitlint/utils": "^17.4.0",
"@types/lodash.isfunction": "^3.0.7",
"@types/lodash.merge": "^4.6.7",
"@types/node": "^14.0.0",
"@types/yargs": "^17.0.0",
"fs-extra": "^10.0.0"
"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.4.4",
"@commitlint/lint": "^17.6.5",
"@commitlint/load": "^17.5.0",
"@commitlint/read": "^17.5.1",
"@commitlint/types": "^17.4.4",
"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": "af2f3a82d38ea0272578c8066565a0e6cf5810b0"
}

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