🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pfork

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pfork - npm Package Compare versions

Comparing version
0.6.0
to
0.6.1
+5
-7
lib/index.js

@@ -219,10 +219,8 @@ var cp = require('child_process');

var key = getKey(options);
if (!key) {
return;
var child = key && cache[key];
if (child && child.kill) {
try {
child.kill(delay);
} catch (e) {}
}
var child = cache[key];
if (!child) {
return;
}
child.kill(delay);
}

@@ -229,0 +227,0 @@

{
"name": "pfork",
"description": "fork process",
"version": "0.6.0",
"version": "0.6.1",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "author": "avenwu <avenwu@vip.qq.com>",