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

think-cluster

Package Overview
Dependencies
Maintainers
7
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.1 to 1.5.2

5

lib/master.js

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

* constructor
* @param {Object} options
* @param {Object} options
*/

@@ -148,5 +148,6 @@ constructor(options) {

* send inspect port
* @param {Worker} worker
* @param {Worker} worker
*/
sendInspectPort(worker) {
if (!process.send) return;
const inspect = process.execArgv.some(item => item.indexOf('--inspect') >= 0);

@@ -153,0 +154,0 @@ if (!inspect) return;

4

lib/messenger.js

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

* map worker task, return worker exec result
* @param {String} action
* @param {String} action
*/

@@ -123,3 +123,3 @@ map(action, mapData) {

* this method will be deprecated
* @param {Function} callback
* @param {Function} callback
*/

@@ -126,0 +126,0 @@ runInOne(callback) {

@@ -27,3 +27,3 @@ const util = require('./util.js');

* constructor
* @param {Object} options
* @param {Object} options
*/

@@ -74,3 +74,3 @@ constructor(options) {

* disconnect worker
* @param {Boolean} sendSignal
* @param {Boolean} sendSignal
*/

@@ -77,0 +77,0 @@ disconnectWorker(sendSignal) {

{
"name": "think-cluster",
"description": "Cluster manage for ThinkJS",
"version": "1.5.1",
"version": "1.5.2",
"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