🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

mongodb-query-parser

Package Overview
Dependencies
Maintainers
25
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-query-parser - npm Package Compare versions

Comparing version

to
1.0.0

package-lock.json

7

lib/index.js

@@ -56,6 +56,6 @@ const EJSON = require('mongodb-extended-json');

Date: function(v) {
return `BSONDate('${v.toISOString()}')`;
return `ISODate('${v.toISOString()}')`;
},
ISODate: function(v) {
return `BSONDate('${v.toISOString()}')`;
return `ISODate('${v.toISOString()}')`;
},

@@ -147,5 +147,2 @@ RegExp: function(v) {

return new Date(s);
},
BSONDate: function(s) {
return new Date(s);
}

@@ -152,0 +149,0 @@ };

{
"name": "mongodb-query-parser",
"description": "Parse MongoDB queries",
"version": "0.7.1",
"version": "1.0.0",
"scripts": {

@@ -11,9 +11,9 @@ "fmt": "mongodb-js-fmt",

},
"homepage": "http://github.com/mongodb-js/mongodb-query-parser",
"homepage": "https://github.com/mongodb-js/query-parser",
"repository": {
"type": "git",
"url": "git://github.com/mongodb-js/mongodb-query-parser.git"
"url": "git://github.com/mongodb-js/query-parser.git"
},
"bugs": {
"url": "git://github.com/mongodb-js/mongodb-query-parser.git/issues"
"url": "https://github.com/mongodb-js/query-parser/issues"
},

@@ -20,0 +20,0 @@ "dependencies": {