New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongodb

Package Overview
Dependencies
Maintainers
1
Versions
621
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb - npm Package Compare versions

Comparing version 1.3.8 to 1.3.9

leak.js

2

lib/mongodb/connection/base.js

@@ -407,3 +407,3 @@ var EventEmitter = require('events').EventEmitter

// Delete the current object
delete this._callBackStore._notReplied[id];
delete this._callBackStore._notReplied[id];
// Emit to the callback of the object

@@ -410,0 +410,0 @@ this._callBackStore.emit(id, err, document, info.connection);

@@ -486,2 +486,9 @@ var Connection = require('./connection').Connection,

if(firstResult[0].err != null || firstResult[0].errmsg != null) {
// Cleanup the remaining callback
if(Array.isArray(callbackInfo.info.chained)) {
for(var i = 0; i < callbackInfo.info.chained.length; i++) {
if(callbackInfo.info.chained[i] != mongoReply.responseTo)
server._removeHandler(callbackInfo.info.chained[i]);
}
}
// Trigger the callback for the error

@@ -499,3 +506,3 @@ server._callHandler(mongoReply.responseTo, mongoReply, null);

server._callHandler(mongoReply.responseTo, callbackInfo.info.results.shift(), null);
} else{
} else{
// Add the results to all the results

@@ -502,0 +509,0 @@ for(var i = 0; i < chainedIds.length; i++) {

{ "name" : "mongodb"
, "description" : "A node.js driver for MongoDB"
, "keywords" : ["mongodb", "mongo", "driver", "db"]
, "version" : "1.3.8"
, "version" : "1.3.9"
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>"

@@ -6,0 +6,0 @@ , "contributors" : [ "Aaron Heckmann",

Sorry, the diff of this file is too big to display

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