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

viewmodel

Package Overview
Dependencies
Maintainers
2
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 1.5.20 to 1.5.21

11

lib/databases/mongodb.js

@@ -28,3 +28,2 @@ 'use strict';

var defaultOpt = {
auto_reconnect: false,
ssl: false

@@ -35,3 +34,9 @@ };

_.defaults(options.options, defaultOpt);
if (isNew) {
defaultOpt.autoReconnect = false;
_.defaults(options, defaultOpt);
} else {
defaultOpt.auto_reconnect = false;
_.defaults(options.options, defaultOpt);
}

@@ -59,3 +64,3 @@ this.options = options;

var memberString = _(members).map(function(m) { return m.host + ':' + m.port });
var memberString = _(members).map(function(m) { return m.host + ':' + m.port; });
var authString = options.username && options.password

@@ -62,0 +67,0 @@ ? options.username + ':' + options.password + '@'

{
"author": "adrai",
"name": "viewmodel",
"version": "1.5.20",
"version": "1.5.21",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -0,1 +1,4 @@

## [v1.5.21](https://github.com/adrai/node-viewmodel/compare/v1.5.20...v1.5.21)
- fix for new mongodb driver
## [v1.5.20](https://github.com/adrai/node-viewmodel/compare/v1.5.19...v1.5.20)

@@ -2,0 +5,0 @@ - update deps

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