@cnlabs/mongodb-cloud-connector
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -82,3 +82,5 @@ "use strict"; | ||
return __generator(this, function (_a) { | ||
console.log(cachedDB); | ||
if (!process.env.VCAP_SERVICES && options) { | ||
delete options.replicaSet; | ||
} | ||
if (!cachedDB[dbName]) { | ||
@@ -85,0 +87,0 @@ return [2 /*return*/, mongodb_1.MongoClient.connect(resolveUrl(dbName), __assign({}, defaultMongoOptions, options)).then(function (database) { |
{ | ||
"name": "@cnlabs/mongodb-cloud-connector", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "This is MongoDB connector in cloud or local environment(Cloud Foundry)", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
8054
97
6