Socket
Socket
Sign inDemoInstall

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.32 to 1.1.33

4

HISTORY.md

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

1.1.33 05-31-2015
-----------------
- NODE-478 Work around authentication race condition in mongos authentication due to multi step authentication methods like SCRAM.
1.1.32 05-20-2015

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

4

lib/connection/pool.js

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

return function(err, connection) {
if(self.logger.isDebug()) self.logger.debug(f('pool [%s] timedout out [%s] with connection [%s]', this.dead, JSON.stringify(err), JSON.stringify(connection)));
if(self.logger.isDebug()) self.logger.debug(f('pool [%s] timed out [%s] with connection [%s]', this.dead, JSON.stringify(err), JSON.stringify(connection)));
if(!self.dead) {

@@ -267,2 +267,2 @@ self.state = DISCONNECTED;

module.exports = Pool;
module.exports = Pool;

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

// Authenticate against all the servers
var servers = this.s.mongosState.getAll().slice(0);
var servers = this.s.mongosState.connectedServers().slice(0);
var count = servers.length;

@@ -592,3 +592,2 @@ // Correct authentication

var server = servers.shift();
// Arguments without a callback

@@ -864,2 +863,7 @@ var argsWithoutCallback = [mechanism, db].concat(args.slice(0));

// Is there an authentication process ongoing
if(state.authInProgress) {
state.authInProgressServers.push(server);
}
// No credentials just process server

@@ -866,0 +870,0 @@ if(state.credentials.length == 0) return processNewServer(server);

{
"name": "mongodb-core",
"version": "1.1.32",
"version": "1.1.33",
"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