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

cluster-client

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-client - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

5

History.md
1.6.6 / 2017-07-28
==================
* fix: set exclusive to true on listen (#29)
1.6.5 / 2017-06-24

@@ -3,0 +8,0 @@ ==================

4

lib/api_client.js

@@ -30,2 +30,6 @@ 'use strict';

get isClusterClientLeader() {
return this._client.isClusterClientLeader;
}
close() {

@@ -32,0 +36,0 @@ if (is.function(this._client.close)) {

@@ -54,2 +54,6 @@ 'use strict';

get isClusterClientLeader() {
return this[innerClient] && this[innerClient].isLeader;
}
/**

@@ -56,0 +60,0 @@ * log instance

@@ -28,3 +28,8 @@ 'use strict';

const server = net.createServer();
server.listen(port, '127.0.0.1');
server.listen({
port,
host: '127.0.0.1',
// When exclusive is true, the handle is not shared, and attempted port sharing results in an error.
exclusive: true,
});

@@ -31,0 +36,0 @@ function onError(err) {

6

package.json
{
"name": "cluster-client",
"version": "1.6.5",
"version": "1.6.6",
"description": "Sharing Connection among Multi-Process Nodejs",

@@ -11,3 +11,3 @@ "main": "./index.js",

"autod": "autod",
"lint": "eslint . --ext .js --fix",
"lint": "eslint . --ext .js",
"test": "npm run lint && npm run test-local",

@@ -66,4 +66,4 @@ "test-local": "egg-bin test",

"ci": {
"version": "6, 7, 8"
"version": "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