Socket
Socket
Sign inDemoInstall

@discue/mongodb-resource-client

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discue/mongodb-resource-client - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

2

lib/simple-resource-storage.js

@@ -63,3 +63,3 @@ const { MongoClient, Timestamp } = require('mongodb')

this._url = url
this._databaseName = databaseName
this._databaseName = process.env.MONGODB_RESOURCE_CLIENT_DB_NAME || databaseName
this._collectionName = collectionName

@@ -66,0 +66,0 @@

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.9.0",
"version": "0.10.0",
"description": "Simple wrapper around mongodb client allowing easier managing of resources",

@@ -8,0 +8,0 @@ "main": "lib/index",

@@ -64,2 +64,6 @@

## Database name
The database name can be configured via environment variable: `MONGODB_RESOURCE_CLIENT_DB_NAME`
## Installation

@@ -66,0 +70,0 @@ ```bash

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