Socket
Socket
Sign inDemoInstall

mongo-query-builder-chain

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-query-builder-chain - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

module.js
var helpers = require('./helpers');
class MongoQuery {
body;
keyTypePairs = [];
constructor(body = {query: {}}) {
constructor(body = {query: {}}, keyTypePairs = []) {
if (body.query) {

@@ -18,2 +15,8 @@ this.body = {

}
if (Array.isArray(keyTypePairs)) {
this.keyTypePairs = keyTypePairs;
} else {
throw "Argument keyTypePairs must be an array!";
}
}

@@ -20,0 +23,0 @@

@@ -16,3 +16,3 @@ {

"type": "module",
"version": "1.0.0"
"version": "1.0.1"
}

Sorry, the diff of this file is not supported yet

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