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

cluster-balancer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-balancer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

lib/Advisor.js

@@ -130,3 +130,2 @@ 'use strict';

if (allStatuses.length < 2) {
_advisor.emit('advice', null);
return null;

@@ -133,0 +132,0 @@ }

2

package.json
{
"name": "cluster-balancer",
"version": "1.0.0",
"version": "1.0.1",
"description": "autonomously balance load across a cluster using zookeeper or redis",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -87,6 +87,8 @@ 'use strict';

it('should give no advise', function() {
this.timeout(6000);
let scenario = createScenario({});
return testScenario(scenario).then(advice => {
expect(advice).to.equal(null);
});
return testScenario(scenario).timeout(5000, 'expected no advice')
.catch(err => {
expect(err.message).to.equal('expected no advice');
});
});

@@ -93,0 +95,0 @@ });

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