mongodb-query-parser
Advanced tools
Comparing version
@@ -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": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
116980
440.4%8
14.29%3205
968.33%1
-50%2
100%