Socket
Socket
Sign inDemoInstall

@condor-labs/mongodb

Package Overview
Dependencies
256
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "@condor-labs/mongodb",
"version": "1.0.5",
"version": "1.0.6",
"description": "This module provide and usefull helper to use mongoose library.",

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

@@ -78,8 +78,7 @@ This module provide and usefull helper to use mongoose library.

(async () => {
// Get Mongo client instance (SKIP CONNECTION TO HOST)
let client = mongodb.getClient(false);
console.log(`isConnected(before): ${mongodb._isConnected()}`);
// Get Mongo client instance (SKIP CONNECTION TO HOST)
let client = mongodb.getClient(skipConnection = true);
console.log(`isConnected(after): ${mongodb._isConnected()}`);
// PREPARE MODEL

@@ -86,0 +85,0 @@ let Schema = client.Schema;

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc