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

adonis-lucid-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-lucid-mongodb - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

2

package.json

@@ -8,3 +8,3 @@ {

},
"version": "1.0.10",
"version": "1.0.11",
"scripts": {

@@ -11,0 +11,0 @@ "lint": "standard",

@@ -145,3 +145,3 @@ 'use strict'

}
const security = (config.connection.user !== '' || config.connection.password !== '') ? `${config.connection.user}:${config.connection.password}@` : ''
const security = (process.env.DB_USER && process.env.DB_PASSWORD) ? `${process.env.DB_USER}:${process.env.DB_PASSWORD}@` : (process.env.DB_USER ? `${process.env.DB_USER}@` : '')
const connectionString = `mongodb://${security}${config.connection.host}:${config.connection.port}/${config.connection.database}`

@@ -148,0 +148,0 @@ const dbConnection = yield MongoClient.connect(connectionString)

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