think-cluster
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -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; |
@@ -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", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
1
2
19864
11
612