Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewmodel - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

lib/databases/mongoDb.js~

16

lib/databases/mongoDb.js

@@ -37,5 +37,13 @@ // lib/databases/mongoDb.js v0.1.0

} else {
self.client = client;
self.isConnected = true;
if (callback) callback(null, self);
var finish = function() {
self.client = client;
self.isConnected = true;
if (callback) callback(null, self);
};
if (options.username) {
client.authenticate(options.username, options.password, finish);
} else {
finish();
}
}

@@ -161,2 +169,2 @@ });

};
};
{
"author": "adrai",
"name": "viewmodel",
"version": "0.2.3",
"version": "0.2.4",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.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