New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cluster2

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster2 - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

lib/index.js

@@ -20,2 +20,3 @@ /*

var Master = require('./master.js'),
os = require('os'),
ecv = require('./ecv.js');

@@ -36,2 +37,3 @@

options.ecvPath = options.ecvPath || '/ecv';
options.noWorkers = options.noWorkers || os.cpus().length;

@@ -38,0 +40,0 @@ if(options.cluster) {

3

lib/master.js

@@ -132,4 +132,3 @@ /*

// Fork workers.
var noWorkers = os.cpus().length;
for(var i = 0; i < noWorkers; i++) {
for(var i = 0; i < this.options.noWorkers; i++) {
this.createWorker();

@@ -136,0 +135,0 @@ }

{
"author": "ql.io",
"name": "cluster2",
"version": "0.1.1",
"version": "0.1.2",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

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