@codefresh-io/service-base 3.0.26 → 3.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/infra/mongo.js +1 -2
- package/package.json +3 -3
- package/yarn.lock +0 -6577
package/infra/mongo.js
CHANGED
|
@@ -22,10 +22,9 @@ class Mongo {
|
|
|
22
22
|
|
|
23
23
|
const logger = require('cf-logs').Logger('codefresh:infra:mongo'); // eslint-disable-line
|
|
24
24
|
this.logger = logger;
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
const { uri } = config.mongo;
|
|
27
27
|
const dbName = config.mongo.dbName || getDbNameFromUri(uri);
|
|
28
|
-
logger.info(`Use Uri ${uri} settings ${JSON.stringify(clientSettings)}, the dbName is ${dbName}`);
|
|
29
28
|
return MongoClient.connect(uri, clientSettings)
|
|
30
29
|
.then(async (client) => {
|
|
31
30
|
this.client = client;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefresh-io/service-base",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "",
|
|
6
6
|
"bin": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/codefresh-io/service-base#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@codefresh-io/authenticated-entity": "^2.
|
|
31
|
+
"@codefresh-io/authenticated-entity": "^2.16.0",
|
|
32
32
|
"@codefresh-io/cf-monitor": "^0.0.24",
|
|
33
33
|
"@codefresh-io/cf-openapi": "^0.7.16",
|
|
34
34
|
"@codefresh-io/eventbus": "1.4.3",
|
|
35
|
-
"@codefresh-io/http-infra": "^1.8.
|
|
35
|
+
"@codefresh-io/http-infra": "^1.8.13",
|
|
36
36
|
"@codefresh-io/internal-service-config": "^1.0.3",
|
|
37
37
|
"@ronomon/crypto-async": "^5.0.1",
|
|
38
38
|
"@wegolook/joi-objectid": "^2.4.0",
|