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.53 to 1.0.54

8

mongo.control.js

@@ -555,2 +555,3 @@ var MongoClient = require('mongodb').MongoClient

var objId
var unset = {}

@@ -576,6 +577,11 @@ if (reMongoId.test(params.id)) {

if (reJsStrData.test(item)) params.update[key] = new Date(item)
else if(item === '') {
unset[key] = ''
delete params.update[key]
}
}
var updObj = {
'$set': params.update
'$set': params.update,
'$unset': unset
}

@@ -582,0 +588,0 @@

2

package.json
{
"name": "mongo-control",
"version": "1.0.53",
"version": "1.0.54",
"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