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.51 to 1.0.52

17

mongo.control.js

@@ -835,4 +835,17 @@ var MongoClient = require('mongodb').MongoClient

res(r)
db.close()
if (r.result.nModified || !objId) {
res(r)
db.close()
} else {
db.collection(params.collection).updateMany({
_id: params.id
}, {
'$unset': unsetObj
}, function (e, r) {
if (e) return err(e)
res(r)
db.close()
})
}
})

@@ -839,0 +852,0 @@ })

2

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