breeze-mongodb
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -90,3 +90,3 @@ var mongodb = require('mongodb'); | ||
if (that.inlineCount) { | ||
collection.count(that.filter, function(err, count) { | ||
collection.countDocuments(that.filter, function(err, count) { | ||
// Mongo doesn't handle limit = 0 as a real limit. | ||
@@ -98,3 +98,3 @@ if (that.options && that.options.limit === 0) { | ||
} | ||
src = collection.find(that.filter, that.select, that.options); | ||
src = collection.find(that.filter, that.options).project(that.select); | ||
src.toArray(function (err, results) { | ||
@@ -112,3 +112,3 @@ results = processResults(results, that.resultEntityType); | ||
} | ||
src = collection.find(that.filter, that.select, that.options); | ||
src = collection.find(that.filter, that.options).project(that.select); | ||
src.toArray(function (err, results) { | ||
@@ -115,0 +115,0 @@ results = processResults(results, that.resultEntityType); |
{ | ||
"name": "breeze-mongodb", | ||
"description": "Classes and helper methods to allow Breeze - Mongo interop.", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"main": "main", | ||
@@ -22,4 +22,3 @@ "dependencies": { | ||
"author": "Jay Traband", | ||
"license": "MIT", | ||
"readme": "Provides server-side helper classes to facilitate BreezeJs <-> Mongo interop. See www.breeze.js.com and breeze.github.io/doc-node-mongodb/" | ||
} | ||
"license": "MIT" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
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
38461
18
0