Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mquery

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mquery - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

10

History.md
0.2.3 / 2013-07-09
==================
* now using a callback in collection.find instead of directly calling toArray() on the cursor [ebensing](https://github.com/ebensing)
0.2.2 / 2013-07-09
==================
* now exposing mongodb export to allow for better testing [ebensing](https://github.com/ebensing)
0.2.1 / 2013-07-08

@@ -3,0 +13,0 @@ ==================

6

lib/collection/node.js

@@ -25,3 +25,7 @@ 'use strict';

NodeCollection.prototype.find = function (match, options, cb) {
this.collection.find(match, options).toArray(cb);
this.collection.find(match, options, function (err, cursor) {
if (err) return cb(err);
cursor.toArray(cb);
});
}

@@ -28,0 +32,0 @@

2

package.json
{
"name": "mquery",
"version": "0.2.2",
"version": "0.2.3",
"description": "Expressive query building for MongoDB",

@@ -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