@examgoal/mongodb
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -13,5 +13,3 @@ "use strict"; | ||
resetClient() { | ||
if (this.mongoClient) { | ||
this.mongoClient.removeAllListeners("serverClosed"); | ||
} | ||
this.mongoClient.removeAllListeners("serverClosed"); | ||
this.mongoClient = new mongodb_1.MongoClient(this.configuration.uri, this.configuration.mongodbOptions || {}); | ||
@@ -18,0 +16,0 @@ this.mongoClient.on("serverClosed", this.resetClient); |
{ | ||
"name": "@examgoal/mongodb", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "MongoDB Session Management Helper for ExpressJS or any Node JS Projects", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3829
87