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.3 to 1.0.4

10

mongo.control.js

@@ -225,12 +225,2 @@ var MongoClient = require('mongodb').MongoClient;

try {
params.update = JSON.parse(params.update);
for (var key in params.update) {
var item = params.update[key];
if (reJsStrData.test(item)) params.update[key] = new Date(item);
}
} catch (e) {
return err(e);
}
MongoClient.connect(params.db, function(e, db) {

@@ -237,0 +227,0 @@ if (e) return err(e);

2

package.json
{
"name": "mongo-control",
"version": "1.0.3",
"version": "1.0.4",
"description": "Simple functions to controll 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