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

native-mongo-util

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-mongo-util - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

9

index.js

@@ -81,4 +81,8 @@ const Log = require('logger3000').getLogger(__filename);

this._db.on('close', () => {
Log.debug({ msg: `DB lost connection: ${this.getDBName()}. Killing the process.` });
process.exit(1);
if (this._closedCalled) {
Log.debug({ msg: 'DB connection closed.' });
} else {
Log.debug({ msg: `DB lost connection: ${this.getDBName()}. Killing the process.` });
process.exit(1);
}
});

@@ -106,2 +110,3 @@

close(force) {
this._closedCalled = true;
return this._client.close(force);

@@ -108,0 +113,0 @@ }

{
"name": "native-mongo-util",
"version": "2.3.0",
"version": "2.3.1",
"description": "",

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

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