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

mongodb-core

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-core - npm Package Compare versions

Comparing version 1.1.17 to 1.1.18

4

HISTORY.md

@@ -0,1 +1,5 @@

1.1.18 03-17-2015
-----------------
- Added support for minHeartbeatFrequencyMS on server reconnect according to the SDAM specification.
1.1.17 03-16-2015

@@ -2,0 +6,0 @@ -----------------

@@ -135,3 +135,3 @@ "use strict";

? options.secondaryOnlyConnectionAllowed : false
, haInterval: options.haInterval || 5000
, haInterval: options.haInterval || 10000
// Are we running in debug mode

@@ -169,2 +169,4 @@ , debug: typeof options.debug == 'boolean' ? options.debug : false

, authInProgressServers: []
// Minimum heartbeat frequency used if we detect a server close
, minHeartbeatFrequencyMS: 500
}

@@ -1208,2 +1210,7 @@

if(found && state.emitError && self.listeners('error').length > 0) self.emit('error', err, server);
// Fire off a detection of missing server using minHeartbeatFrequencyMS
setTimeout(function() {
replicasetInquirer(self, self.s, true)();
}, self.s.minHeartbeatFrequencyMS);
}

@@ -1218,2 +1225,7 @@ }

if(!found) self.emit('left', state.replState.remove(server), server);
// Fire off a detection of missing server using minHeartbeatFrequencyMS
setTimeout(function() {
replicasetInquirer(self, self.s, true)();
}, self.s.minHeartbeatFrequencyMS);
}

@@ -1228,2 +1240,7 @@ }

if(!found) self.emit('left', state.replState.remove(server), server);
// Fire off a detection of missing server using minHeartbeatFrequencyMS
setTimeout(function() {
replicasetInquirer(self, self.s, true)();
}, self.s.minHeartbeatFrequencyMS);
}

@@ -1230,0 +1247,0 @@ }

2

package.json
{
"name": "mongodb-core",
"version": "1.1.17",
"version": "1.1.18",
"description": "Core MongoDB driver functionality, no bells and whistles and meant for integration not end applications",

@@ -5,0 +5,0 @@ "main": "index.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