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

mquery

Package Overview
Dependencies
Maintainers
1
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.1.0 to 0.1.1

7

History.md
0.1.1 / 2013-06-24
==================
* fixed; $intersects -> $geoIntersects #14 [ebensing](https://github.com/ebensing)
* fixed; Retain key order when copying objects #15 [ebensing](https://github.com/ebensing)
* bump mongodb dev dep
0.1.0 / 2013-05-06

@@ -3,0 +10,0 @@ ==================

4

lib/mquery.js

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

this._geoComparison = '$intersects';
this._geoComparison = '$geoIntersects';

@@ -957,3 +957,3 @@ if (0 === arguments.length) {

if (!('$within' == this._geoComparison ||
'$intersects' == this._geoComparison)) {
'$geoIntersects' == this._geoComparison)) {
throw new Error('geometry() must come after either `within()` or `intersects()`');

@@ -960,0 +960,0 @@ }

@@ -174,3 +174,5 @@ 'use strict';

if ('undefined' === typeof to[key]) {
to[key] = clone(from[key]);
// make sure to retain key order here because of a bug handling the $each
// operator in mongodb 2.4.4
to[key] = clone(from[key], { retainKeyOrder : 1});
} else {

@@ -180,3 +182,5 @@ if (exports.isObject(from[key])) {

} else {
to[key] = clone(from[key]);
// make sure to retain key order here because of a bug handling the
// $each operator in mongodb 2.4.4
to[key] = clone(from[key], { retainKeyOrder : 1});
}

@@ -183,0 +187,0 @@ }

{
"name": "mquery",
"version": "0.1.0",
"version": "0.1.1",
"description": "Expressive query building for MongoDB",

@@ -24,3 +24,3 @@ "main": "index.js",

"mocha": "1.9.x",
"mongodb": "1.3.0"
"mongodb": "1.3.x"
},

@@ -27,0 +27,0 @@ "bugs": {

#mquery
===========
Expressive MongoDB query builder
`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.

@@ -17,2 +17,4 @@ ##Features

[![Build Status](https://travis-ci.org/aheckmann/mquery.png)](https://travis-ci.org/aheckmann/mquery)
##Use

@@ -19,0 +21,0 @@

Sorry, the diff of this file is not supported yet

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