find-process
Advanced tools
Comparing version 1.4.4 to 1.4.5
1.4.5 / 2021-09-21 | ||
================== | ||
* chore: bump to 1.4.5 | ||
* fix: fix find-process | ||
* chore(deps): bump path-parse from 1.0.6 to 1.0.7 | ||
* chore(deps): bump y18n from 4.0.0 to 4.0.1 | ||
1.4.4 / 2020-10-22 | ||
@@ -3,0 +11,0 @@ ================== |
@@ -60,3 +60,3 @@ /* | ||
} else { | ||
findBy[by](value, strict).then(resolve, reject) | ||
if (by === 'pid' && typeof value !== 'number') { reject(new Error('pid must be a number')) } else if (by === 'port' && typeof value !== 'number') { reject(new Error('port must be a number')) } else { findBy[by](value, strict).then(resolve, reject) } | ||
} | ||
@@ -63,0 +63,0 @@ }) |
{ | ||
"name": "find-process", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "find process info by port/pid/name etc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
27962
12
676