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

mquery

Package Overview
Dependencies
Maintainers
3
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 1.11.0 to 2.0.0

8

History.md

@@ -0,1 +1,9 @@

2.0.0 / 2016-09-25
==================
* added; support for mongodb driver 2.0 streams
1.12.0 / 2016-09-25
===================
* added; `retainKeyOrder` option re: Automattic/mongoose#4542
1.11.0 / 2016-06-04

@@ -2,0 +10,0 @@ ===================

2

lib/collection/node.js

@@ -87,3 +87,3 @@ 'use strict';

NodeCollection.prototype.findStream = function(match, findOptions, streamOptions) {
return this.collection.find(match, findOptions).stream(streamOptions);
return this.collection.find(match, findOptions);
}

@@ -90,0 +90,0 @@

{
"name": "mquery",
"version": "1.11.0",
"version": "2.0.0",
"description": "Expressive query building for MongoDB",

@@ -20,3 +20,3 @@ "main": "lib/mquery.js",

"devDependencies": {
"mongodb": "1.4.38",
"mongodb": "~2.2",
"mocha": "1.9.x",

@@ -23,0 +23,0 @@ "istanbul": "0.3.2"

#mquery
===========

@@ -4,0 +3,0 @@ `mquery` is a fluent mongodb query builder designed to run in multiple environments. As of v0.1, `mquery` runs on `Node.js` only with support for the MongoDB shell and browser environments planned for upcoming releases.

@@ -11,3 +11,3 @@

exports.getCollection = function (cb) {
mongo.Db.connect(uri, function (err, db_) {
mongo.MongoClient.connect(uri, function (err, db_) {
assert.ifError(err);

@@ -17,3 +17,2 @@ db = db_;

var collection = db.collection('stuff');
collection.opts.safe = true;

@@ -20,0 +19,0 @@ // clean test db before starting

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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