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

luster

Package Overview
Dependencies
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

luster - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

9

lib/worker_wrapper.js

@@ -253,4 +253,9 @@ const cluster = require('cluster'),

_onDisconnect() {
this.ready = false;
this._setState(WorkerWrapper.STATES.STOPPING);
// "disconnect" and "exit" may be triggered in any order:
// https://nodejs.org/docs/latest-v22.x/api/cluster.html#clusterworkers
// Check state is stoppable for coordination.
if (this.isRunning()) {
this.ready = false;
this._setState(WorkerWrapper.STATES.STOPPING);
}
}

@@ -257,0 +262,0 @@

{
"name": "luster",
"version": "2.5.0",
"version": "2.6.0",
"description": "Node.js cluster wrapper",

@@ -5,0 +5,0 @@ "main": "./lib/luster.js",

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