find-process
Advanced tools
Comparing version 1.4.8 to 1.4.9
@@ -5,3 +5,3 @@ #!/usr/bin/env node | ||
const program = require('commander') | ||
const { program } = require('commander') | ||
const chalk = require('chalk') | ||
@@ -32,2 +32,3 @@ const log = require('loglevel').getLogger('find-process') | ||
}) | ||
.showHelpAfterError() | ||
.parse(process.argv) | ||
@@ -34,0 +35,0 @@ |
@@ -51,2 +51,3 @@ /* | ||
} | ||
return false | ||
}) | ||
@@ -86,2 +87,3 @@ | ||
} | ||
return false | ||
}) | ||
@@ -123,2 +125,3 @@ | ||
} | ||
return false | ||
}) | ||
@@ -160,2 +163,3 @@ | ||
} | ||
return false | ||
}) | ||
@@ -162,0 +166,0 @@ |
@@ -104,3 +104,3 @@ /* | ||
name: fetchName(bin), | ||
bin: bin, | ||
bin, | ||
cmd: column[4] | ||
@@ -107,0 +107,0 @@ } |
@@ -26,3 +26,3 @@ /* | ||
return findProcess({ | ||
pid: pid, | ||
pid, | ||
config | ||
@@ -33,3 +33,3 @@ }) | ||
return findProcess({ | ||
name: name, | ||
name, | ||
config, | ||
@@ -36,0 +36,0 @@ skipSelf: true |
{ | ||
"name": "find-process", | ||
"version": "1.4.8", | ||
"version": "1.4.9", | ||
"description": "find process info by port/pid/name etc.", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
"test": "mocha test/*.test.js && standard", | ||
"lint": "standard --fix && npm-ensure -t deps" | ||
}, | ||
"bin": { | ||
@@ -55,3 +51,3 @@ "find-process": "bin/find-process.js" | ||
"dependencies": { | ||
"chalk": "^5.4.1", | ||
"chalk": "~4.1.2", | ||
"commander": "^12.1.0", | ||
@@ -72,3 +68,6 @@ "debug": "^4.4.0", | ||
}, | ||
"packageManager": "pnpm@9.15.1+sha512.1acb565e6193efbebda772702950469150cf12bcc764262e7587e71d19dc98a423dff9536e57ea44c49bdf790ff694e83c27be5faa23d67e0c033b583be4bfcf" | ||
} | ||
"scripts": { | ||
"test": "mocha test/*.test.js && standard", | ||
"lint": "standard --fix && npm-ensure -t deps" | ||
} | ||
} |
733
30676
- Removedchalk@5.4.1(transitive)
Updatedchalk@~4.1.2