Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.4 to 0.2.5

lib/databases/tiny.js

11

lib/databases/mongoDb.js

@@ -30,5 +30,14 @@ // lib/databases/mongoDb.js v0.1.0

var defaultOpt = {
auto_reconnect: true,
ssl: false
};
options.options = options.options || {};
_.defaults(options.options, defaultOpt);
this.isConnected = false;
var self = this;
var server = new mongo.Server(options.host, options.port, {});
var server = new mongo.Server(options.host, options.port, options.options);
new mongo.Db(options.dbName , server, {}).open(function(err, client) {

@@ -35,0 +44,0 @@ if (err) {

2

package.json
{
"author": "adrai",
"name": "viewmodel",
"version": "0.2.4",
"version": "0.2.5",
"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