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

think-cluster

Package Overview
Dependencies
Maintainers
8
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.2 to 1.5.3

test/case/master.js

4

lib/messenger.js

@@ -59,3 +59,2 @@ const cluster = require('cluster');

Promise.all(promises).then(data => {
mapPromise.delete(message.action);
message.data = data;

@@ -76,6 +75,6 @@ message.action = `${message.action}_ret`;

assert(helper.isFunction(listener), `${message.action} listener must be a function`);
message.mapReturn = true;
Promise.resolve(listener(message.mapData)).then(data => {
delete message.mapData;
message.data = data;
message.mapReturn = true;
process.send(message);

@@ -119,2 +118,3 @@ });

defer.resolve(data);
mapPromise.delete(action);
});

@@ -121,0 +121,0 @@ return defer.promise;

{
"name": "think-cluster",
"description": "Cluster manage for ThinkJS",
"version": "1.5.2",
"version": "1.5.3",
"author": {

@@ -6,0 +6,0 @@ "name": "welefen",

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