Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewmodel - npm Package Compare versions

Comparing version 1.5.12 to 1.5.13

2

lib/databases/mongodb.js

@@ -122,3 +122,3 @@ 'use strict';

console.error(err.stack || err);
self.db.close(function () {});
self.disconnect();
}

@@ -125,0 +125,0 @@ });

@@ -127,5 +127,3 @@ 'use strict';

console.error((new Error ('Heartbeat timeouted after ' + gracePeriod + 'ms (redis)')).stack);
if (self.client) {
self.client.end(true);
}
self.disconnect();
}

@@ -132,0 +130,0 @@ }, gracePeriod);

{
"author": "adrai",
"name": "viewmodel",
"version": "1.5.12",
"version": "1.5.13",
"private": false,

@@ -17,3 +17,3 @@ "main": "index.js",

"jsondate": "0.0.1",
"lodash": "4.5.0",
"lodash": "4.11.1",
"node-uuid": "1.4.7",

@@ -20,0 +20,0 @@ "parent-require": "1.0.0",

@@ -0,1 +1,4 @@

## [v1.5.13](https://github.com/adrai/node-viewmodel/compare/v1.5.12...v1.5.13)
- redis, mongodb: call disconnect on ping error
## [v1.5.12](https://github.com/adrai/node-viewmodel/compare/v1.5.11...v1.5.12)

@@ -2,0 +5,0 @@ - redis: added optional heartbeat

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