Comparing version 0.4.20 to 0.4.22
@@ -187,8 +187,13 @@ /* | ||
}); | ||
server.listen(port[index], host, function() { //'listening' listener | ||
exitIfBusyPort(host, port, index-1, function(){ | ||
server.close(); | ||
cb(); | ||
}) | ||
}); | ||
if (require('cluster').isMaster) { | ||
server.listen(port[index], host, function() { //'listening' listener | ||
exitIfBusyPort(host, port, index-1, function(){ | ||
server.close(); | ||
cb(); | ||
}) | ||
}); | ||
} | ||
else { | ||
process.nextTick(cb); | ||
} | ||
} | ||
@@ -195,0 +200,0 @@ |
{ | ||
"author": "ql.io", | ||
"contributors": [{ | ||
"name": "Subbu Allamaraju", | ||
"email": "subbu@ebaysf.com" | ||
}], | ||
"name": "cluster2", | ||
"version": "0.4.20", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ql-io/cluster2" | ||
}, | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
}, | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"underscore": "~1.4.4", | ||
"express": "~2.5.11", | ||
"ejs": "~0.8.4", | ||
"npm": "~1.3.0", | ||
"when": "~2.4.0", | ||
"memwatch": "~0.2.2", | ||
"usage": "~0.3.8" | ||
}, | ||
"devDependencies": { | ||
"websocket": "~1.0.8", | ||
"nodeunit": "~0.8.0", | ||
"request": "~2.21.0", | ||
"mocha": "~1.11.0", | ||
"should": "~1.2.2", | ||
"harbor": "~0.2.0" | ||
}, | ||
"scripts": { | ||
"test": "nodeunit test" | ||
}, | ||
"optionalDependencies": {} | ||
"author": "ql.io", | ||
"contributors": [ | ||
{ | ||
"name": "Subbu Allamaraju", | ||
"email": "subbu@ebaysf.com" | ||
} | ||
], | ||
"name": "cluster2", | ||
"version": "0.4.22", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ql-io/cluster2" | ||
}, | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
}, | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"underscore": "~1.4.4", | ||
"express": "~2.5.11", | ||
"ejs": "~0.8.4", | ||
"npm": "~1.3.0", | ||
"when": "~2.4.0", | ||
"memwatch": "~0.2.2", | ||
"usage": "~0.3.8" | ||
}, | ||
"devDependencies": { | ||
"websocket": "~1.0.8", | ||
"nodeunit": "~0.8.0", | ||
"request": "~2.21.0", | ||
"mocha": "~1.11.0", | ||
"should": "~1.2.2", | ||
"harbor": "~0.2.0" | ||
}, | ||
"scripts": { | ||
"test": "nodeunit test" | ||
}, | ||
"optionalDependencies": {}, | ||
"publishConfig": { | ||
"registry": "http://registry.npmjs.org/" | ||
} | ||
} |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
cluster |
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
1851
110374
27
1