New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongo-control

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-control - npm Package Compare versions

Comparing version 1.0.69 to 1.0.70

13

mongo.control.js

@@ -497,4 +497,9 @@ var MongoClient = require('mongodb').MongoClient

var query = {
$and: [params.query]
var query
if(query.$and) {
query = params.query
} else {
query = {
$and: [params.query]
}
}

@@ -509,3 +514,3 @@

params.limit = 1
} else if(params.prev) {

@@ -535,2 +540,4 @@ var prevObj = {$or: [{$lt: params.prev}]}

console.log(query)
MongoClient.connect(params.db, function (e, db) {

@@ -537,0 +544,0 @@ if (e) return err(e)

{
"name": "mongo-control",
"version": "1.0.69",
"version": "1.0.70",
"description": "Simple functions to control mongo",

@@ -5,0 +5,0 @@ "main": "mongo.control.js",

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