process-exists
Advanced tools
Comparing version 2.0.0 to 2.1.0
'use strict'; | ||
var psList = require('ps-list'); | ||
var pify = require('pify'); | ||
var Promise = require('pinkie-promise'); | ||
@@ -17,5 +15,5 @@ module.exports = function (proc) { | ||
return pify(psList, Promise)().then(function (list) { | ||
return psList().then(function (list) { | ||
return list.some(fn); | ||
}); | ||
}; |
{ | ||
"name": "process-exists", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Check if a process is running", | ||
@@ -34,9 +34,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"pify": "^2.2.0", | ||
"pinkie-promise": "^1.0.0", | ||
"ps-list": "^2.0.0" | ||
"ps-list": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"noop-process": "^2.0.0", | ||
"noop-process": "^3.0.0", | ||
"xo": "*" | ||
@@ -43,0 +41,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
2764
15
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedps-list@3.1.0(transitive)
+ Addedtasklist@2.1.0(transitive)
- Removedpify@^2.2.0
- Removedpinkie-promise@^1.0.0
- Removedeach-async@1.1.1(transitive)
- Removedonetime@1.1.0(transitive)
- Removedpinkie@1.0.0(transitive)
- Removedpinkie-promise@1.0.0(transitive)
- Removedps-list@2.1.2(transitive)
- Removedset-immediate-shim@1.0.1(transitive)
- Removedtasklist@1.1.0(transitive)
Updatedps-list@^3.0.0