Socket
Socket
Sign inDemoInstall

mongodb

Package Overview
Dependencies
Maintainers
1
Versions
562
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 0.9.9-2 to 0.9.9-3

2

external-libs/bson/test/test_bson.js

@@ -21,2 +21,4 @@ var sys = require('util'),

if(process.env['npm_package_config_native'] != null) return;
sys.puts("=== EXECUTING TEST_BSON ===");

@@ -23,0 +25,0 @@

@@ -20,2 +20,4 @@ var sys = require('util'),

if(process.env['npm_package_config_native'] != null) return;
sys.puts("=== EXECUTING TEST_FULL_BSON ===");

@@ -22,0 +24,0 @@

@@ -17,2 +17,4 @@ var Buffer = require('buffer').Buffer,

assert = require('assert');
if(process.env['npm_package_config_native'] != null) return;

@@ -19,0 +21,0 @@ console.log("=== EXECUTING TEST_STACKLESS_BSON ===");

9

lib/mongodb/db.js

@@ -1134,2 +1134,4 @@ /**

Db.prototype.dropDatabase = function(callback) {
var self = this;
this._executeQueryCommand(DbCommand.createDropDatabaseCommand(this), function(err, result) {

@@ -1598,3 +1600,3 @@ if (err == null && result.documents[0].ok == 1) {

var args = Array.prototype.slice.call(arguments, 1);
callback = args.pop();
callback = typeof args[args.length - 1] == 'function' ? args.pop() : null;
options = args.length ? args.shift() : null;

@@ -1665,4 +1667,7 @@ options = options || {};

var db = new Db(dbname, server, dbOptions);
if (options.noOpen)
if(options.noOpen)
return db;
// If callback is null throw an exception
if(callback == null) throw new Error("no callback function provided");

@@ -1669,0 +1674,0 @@ db.open(function(err, db){

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

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

@@ -0,1 +1,6 @@

Main Documentation site
=======================
http://christkv.github.com/node-mongodb-native/
Install

@@ -2,0 +7,0 @@ ========

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