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.2.7 to 1.2.8

4

HISTORY.md

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

1.2.8 07-24-2015
-----------------
- Minor fix to handle 2.4.x errors better by correctly return driver layer issues.
1.2.7 07-16-2015

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

@@ -450,2 +450,4 @@ "use strict";

var writeConcern = cloneWriteConcern(optionWriteConcern);
// Driver level error
var error;

@@ -486,8 +488,10 @@ // Execute all the operations

return function(err, result) {
if(err) error = err;
// Update the number of operations executed
totalOps = totalOps - 1;
// Save the getLastError document
getLastErrors[_index] = result.documents[0];
if(!err) getLastErrors[_index] = result.documents[0];
// Check if we are done
if(totalOps == 0) {
if(error) return callback(error);
callback(null, aggregateWriteOperationResults(opType, ops, getLastErrors, connection));

@@ -494,0 +498,0 @@ }

2

package.json
{
"name": "mongodb-core",
"version": "1.2.7",
"version": "1.2.8",
"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