Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
8
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.4 to 1.5.5

5

lib/databases/mongodb.js

@@ -81,3 +81,6 @@ 'use strict';

if (options.username) {
if (options.authSource && options.username) {
// Authenticate with authSource
client.authenticate(options.username, options.password, {authSource: options.authSource}, finish);
} else if (options.username) {
client.authenticate(options.username, options.password, finish);

@@ -84,0 +87,0 @@ } else {

2

package.json
{
"author": "adrai",
"name": "viewmodel",
"version": "1.5.4",
"version": "1.5.5",
"private": false,

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

@@ -37,2 +37,5 @@ # Introduction

timeout: 10000 // optional
// authSource: 'authedicationDatabase', // optional
// username: 'technicalDbUser', // optional
// password: 'secret' // optional
},

@@ -39,0 +42,0 @@ function(err, repository) {

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

## [v1.5.5](https://github.com/adrai/node-viewmodel/compare/v1.5.4...v1.5.5)
- give possibility to use mongodb with authSource
## [v1.5.4](https://github.com/adrai/node-viewmodel/compare/v1.5.3...v1.5.4)

@@ -2,0 +5,0 @@ - updated dep

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc