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

mongoose-query-parser

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-query-parser - npm Package Compare versions

Comparing version 1.1.9 to 1.2.0

3

lib/test.spec.js

@@ -56,3 +56,3 @@ "use strict";

var parser = new _1.MongooseQueryParser();
var qry = 'date=2016-01-01&boolean=true&integer=10&regexp=/foobar/i&null=null';
var qry = 'date=2016-01-01&boolean=true&integer=10&regexp=/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"
}
}
}
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