backbone-db-mongodb
Advanced tools
Comparing version 0.2.20 to 0.2.22
@@ -294,3 +294,3 @@ var _ = require('lodash'), | ||
}, function(err, res) { | ||
callback(err, res || options.ignoreFailures ? 1 : res); | ||
callback(err, res || (options.ignoreFailures ? 1 : res)); | ||
}); | ||
@@ -320,3 +320,3 @@ }); | ||
function(err, res) { | ||
callback(err, res || options.ignoreFailures ? {} : res); | ||
callback(err, res || (options.ignoreFailures ? {} : res)); | ||
} | ||
@@ -323,0 +323,0 @@ ); |
{ | ||
"name": "backbone-db-mongodb", | ||
"version": "0.2.20", | ||
"version": "0.2.22", | ||
"description": "MongoDB driver for Backbone.Db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -84,2 +84,3 @@ var setup = require('./setup'); | ||
offset: 1, | ||
sort: 'created_at' | ||
}; | ||
@@ -86,0 +87,0 @@ return collection |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
53538
23
1052
1