viewmodel
Advanced tools
Comparing version 1.5.20 to 1.5.21
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107236
2867