mongoose-query-parser
Advanced tools
Comparing version 1.1.9 to 1.2.0
@@ -56,3 +56,3 @@ "use strict"; | ||
var parser = new _1.MongooseQueryParser(); | ||
var qry = 'date=2016-01-01&boolean=true&integer=10®exp=/foobar/i&null=null'; | ||
var qry = 'date=2016-01-01&boolean=true&integer=10®exp=/foobar/i&null=null&!notexists'; | ||
var parsed = parser.parse(qry); | ||
@@ -65,2 +65,3 @@ chai_1.assert.isNotNull(parsed.filter); | ||
chai_1.assert.isOk(parsed.filter['null'] === null); | ||
chai_1.assert.isFalse(parsed.filter['notexists']['$exists']); | ||
}; | ||
@@ -67,0 +68,0 @@ Tester.prototype.blacklistTest = function () { |
{ | ||
"name": "mongoose-query-parser", | ||
"version": "1.1.9", | ||
"version": "1.2.0", | ||
"description": "Convert url query string to MongooseJs friendly query object including advanced filtering, sorting, population, string template, type casting and many more...", | ||
@@ -33,18 +33,18 @@ "main": "./lib/index.js", | ||
"@testdeck/mocha": "^0.1.2", | ||
"@types/chai": "^4.2.13", | ||
"@types/lodash": "^4.14.161", | ||
"@types/luxon": "^1.25.0", | ||
"@types/mocha": "^8.0.3", | ||
"@types/node": "^14.11.5", | ||
"chai": "^4.2.0", | ||
"mocha": "^8.1.3", | ||
"@types/chai": "^4.2.18", | ||
"@types/lodash": "^4.14.170", | ||
"@types/luxon": "^1.26.5", | ||
"@types/mocha": "^8.2.2", | ||
"@types/node": "^15.12.1", | ||
"chai": "^4.3.4", | ||
"mocha": "^8.4.0", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^9.0.0", | ||
"ts-node": "^10.0.0", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.0.3" | ||
"typescript": "^4.2.4" | ||
}, | ||
"dependencies": { | ||
"lodash": "^4.17.20", | ||
"luxon": "^1.25.0" | ||
"lodash": "^4.17.21", | ||
"luxon": "^1.27.0" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46238
816
Updatedlodash@^4.17.21
Updatedluxon@^1.27.0