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.5 to 0.2.6

7

History.md
0.2.4 / 2013-07-30
0.2.6 / 2013-07-30
==================
* internally, 'asc' and 'desc' for sorts are now converted into 1 and -1, respectively
0.2.5 / 2013-07-30
==================
* updated docs

@@ -6,0 +11,0 @@ * changed internal representation of `sort` to use objects instead of arrays

@@ -1190,3 +1190,8 @@ 'use strict';

var s = opts.sort || (opts.sort = {});
s[field] = value;
var valueStr = value.toString()
.replace("asc", "1")
.replace("ascending", "1")
.replace("desc", "-1")
.replace("descending", "-1");
s[field] = parseInt(valueStr);
}

@@ -1193,0 +1198,0 @@

2

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

@@ -5,0 +5,0 @@ "main": "index.js",

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