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

think-cluster

Package Overview
Dependencies
Maintainers
9
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

think-cluster - npm Package Compare versions

Comparing version 1.5.5 to 1.5.6

3

lib/messenger.js

@@ -31,3 +31,4 @@ const cluster = require('cluster');

if (type === 'one') {
if (!aliveWorkers.length || aliveWorkers[0] !== cWorker) return [];
if (!aliveWorkers.length) return [];
if (aliveWorkers.find(w => w === cWorker)) return [cWorker];
return [aliveWorkers[0]];

@@ -34,0 +35,0 @@ }

{
"name": "think-cluster",
"description": "Cluster manage for ThinkJS",
"version": "1.5.5",
"version": "1.5.6",
"author": {

@@ -22,3 +22,3 @@ "name": "welefen",

"main": "index.js",
"type": "index.d.ts",
"types": "index.d.ts",
"dependencies": {

@@ -25,0 +25,0 @@ "debug": "^2.6.8",

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