@mimik/configuration 6.0.4 → 6.0.6
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/index.js +1 -2
- package/package.json +5 -6
package/index.js
CHANGED
|
@@ -93,7 +93,6 @@ import logger from '@mimik/sumologic-winston-logger';
|
|
|
93
93
|
import process from 'process';
|
|
94
94
|
import querystring from 'querystring';
|
|
95
95
|
import split from 'lodash.split';
|
|
96
|
-
import trim from 'lodash.trim';
|
|
97
96
|
import { userDefinitions } from '@mimik/user-filters';
|
|
98
97
|
import { v4 as uuidv4 } from 'uuid';
|
|
99
98
|
|
|
@@ -461,7 +460,7 @@ const configuration = {
|
|
|
461
460
|
key: process.env.OAUTH_GENERIC_KEY || NO_GENERIC,
|
|
462
461
|
audience: process.env.OAUTH_GENERIC_AUDIENCE || NO_GENERIC,
|
|
463
462
|
},
|
|
464
|
-
apiKeys: process.env.API_KEYS ? split(
|
|
463
|
+
apiKeys: process.env.API_KEYS ? split(process.env.API_KEYS.trim(), /\s*,\s*/u) : [],
|
|
465
464
|
},
|
|
466
465
|
serverSettings: {
|
|
467
466
|
id: process.env.SERVER_ID,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mimik/configuration",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.6",
|
|
4
4
|
"description": "Common configuration for mimik services",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@mimik/request-helper": "^2.0.2",
|
|
34
|
-
"@mimik/sumologic-winston-logger": "^2.0
|
|
34
|
+
"@mimik/sumologic-winston-logger": "^2.1.0",
|
|
35
35
|
"@mimik/user-filters": "^2.0.4",
|
|
36
36
|
"ip": "2.0.1",
|
|
37
37
|
"lodash.includes": "4.3.0",
|
|
@@ -40,14 +40,13 @@
|
|
|
40
40
|
"lodash.isstring": "4.0.1",
|
|
41
41
|
"lodash.isundefined": "3.0.1",
|
|
42
42
|
"lodash.split": "4.4.2",
|
|
43
|
-
"lodash.trim": "4.5.1",
|
|
44
43
|
"uuid": "11.1.0"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
|
-
"@eslint/js": "9.
|
|
46
|
+
"@eslint/js": "9.33.0",
|
|
48
47
|
"@mimik/eslint-plugin-document-env": "^2.0.8",
|
|
49
|
-
"@stylistic/eslint-plugin": "5.2.
|
|
50
|
-
"eslint": "9.
|
|
48
|
+
"@stylistic/eslint-plugin": "5.2.3",
|
|
49
|
+
"eslint": "9.33.0",
|
|
51
50
|
"eslint-plugin-import": "2.32.0",
|
|
52
51
|
"husky": "9.1.7",
|
|
53
52
|
"jsdoc-to-markdown": "9.1.2"
|