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

@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.14.0 to 0.15.0

6

lib/simple-resource-storage.js

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

async _getConnectedClient() {
if (this._mongoDbClient?.topology?.isConnected()) {
return this._mongoDbClient
} else {
return this._mongoDbClient.connect()
}
return this._mongoDbClient
}

@@ -100,0 +96,0 @@

2

package.json

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

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

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

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