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

cueball

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cueball - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

7

lib/connection-fsm.js

@@ -477,2 +477,7 @@ /*

mod_assert.optionalBool(options.throwError, 'options.throwError');
this.ch_throwError = options.throwError;
if (options.throwError === undefined || options.throwError === null)
this.ch_throwError = true;
mod_assert.string(options.claimStack, 'options.claimStack');

@@ -632,3 +637,3 @@ this.ch_claimStack = options.claimStack.split('\n').slice(1).

var count = countListeners(self.ch_connection, 'error');
if (count === 0) {
if (count === 0 && self.ch_throwError) {
/*

@@ -635,0 +640,0 @@ * Our end-user never set up an 'error' event listener

@@ -23,2 +23,3 @@ /*

Resolver: mod_resolver.Resolver,
DNSResolver: mod_resolver.DNSResolver,
StaticIpResolver: mod_resolver.StaticIpResolver,

@@ -25,0 +26,0 @@ resolverForIpOrDomain: mod_resolver.resolverForIpOrDomain,

@@ -49,2 +49,6 @@ /*

mod_assert.optionalBool(options.connectionHandlesError,
'options.connectionHandlesError');
this.cs_connHandlesErr = !!(options.connectionHandlesError);
mod_assert.optionalObject(options.log, 'options.log');

@@ -678,2 +682,3 @@ this.cs_log = options.log || mod_bunyan.createLogger({

log: this.lc_log,
throwError: !(this.lc_set.cs_connHandlesErr),
claimTimeout: Infinity

@@ -680,0 +685,0 @@ };

2

package.json
{
"name": "cueball",
"version": "2.1.1",
"version": "2.2.0",
"description": "manage a pool of connections to a multi-node service where nodes are listed in DNS",

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

Sorry, the diff of this file is not supported yet

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