Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

process-exists

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

process-exists - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

index.js
'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 @@ },

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