@codefresh-io/service-base 3.0.21 → 3.0.23-test.0
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/config.js +1 -6
- package/package.json +7 -6
- package/yarn.lock +0 -6466
package/infra/config.js
CHANGED
|
@@ -116,12 +116,7 @@ base.logger = {
|
|
|
116
116
|
try {
|
|
117
117
|
const authEntity = getAuthenticatedEntity().toJson({ partial: true });
|
|
118
118
|
if (_.get(authEntity, 'activeAccount')) {
|
|
119
|
-
|
|
120
|
-
authEntity.activeAccount = _.pick(authEntity.activeAccount, ['type', 'id', 'name', 'activeAccount.name', 'activeAccount.id']);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (_.get(authEntity, 'account')) {
|
|
124
|
-
authEntity.account = _.pick(authEntity.account, ['type', 'id', 'name', 'account.name', 'account.id']);
|
|
119
|
+
authEntity.activeAccount = _.omit(authEntity.activeAccount, 'features');
|
|
125
120
|
}
|
|
126
121
|
return authEntity;
|
|
127
122
|
} catch (err) {
|
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.23-test.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "",
|
|
6
6
|
"bin": {
|
|
@@ -23,27 +23,28 @@
|
|
|
23
23
|
"resolutions": {
|
|
24
24
|
"eslint/**/ansi-regex": "^4.0.0",
|
|
25
25
|
"js-yaml": "^3.13.1",
|
|
26
|
-
"json-schema": "^0.4.0"
|
|
26
|
+
"json-schema": "^0.4.0",
|
|
27
|
+
"request/qs": "6.5.3"
|
|
27
28
|
},
|
|
28
29
|
"homepage": "https://github.com/codefresh-io/service-base#readme",
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@codefresh-io/authenticated-entity": "^2.13.1",
|
|
31
32
|
"@codefresh-io/cf-monitor": "^0.0.24",
|
|
32
|
-
"@codefresh-io/cf-openapi": "
|
|
33
|
+
"@codefresh-io/cf-openapi": "^0.7.14-test.0",
|
|
33
34
|
"@codefresh-io/eventbus": "1.4.2",
|
|
34
|
-
"@codefresh-io/http-infra": "
|
|
35
|
+
"@codefresh-io/http-infra": "1.8.12-test.0",
|
|
35
36
|
"@codefresh-io/internal-service-config": "^1.0.2",
|
|
36
37
|
"@ronomon/crypto-async": "^5.0.1",
|
|
37
38
|
"@wegolook/joi-objectid": "^2.4.0",
|
|
38
39
|
"ajv": "^6.10.0",
|
|
39
40
|
"bluebird": "^3.5.3",
|
|
40
|
-
"body-parser": "^1.
|
|
41
|
+
"body-parser": "^1.19.2",
|
|
41
42
|
"cf-errors": "^0.1.15",
|
|
42
43
|
"cf-logs": "^1.1.24",
|
|
43
44
|
"chai": "^4.1.2",
|
|
44
45
|
"compression": "^1.7.4",
|
|
45
46
|
"cookie-parser": "^1.4.4",
|
|
46
|
-
"express": "^4.
|
|
47
|
+
"express": "^4.17.3",
|
|
47
48
|
"joi": "^13.0.2",
|
|
48
49
|
"js-yaml": "^3.13.1",
|
|
49
50
|
"lodash": "4.17.21",
|