@contrast/cli 1.21.3 → 1.22.1
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.
|
@@ -36,10 +36,12 @@ async function action(entrypoint, options) {
|
|
|
36
36
|
const core = { agentName, agentVersion };
|
|
37
37
|
require('@contrast/core/lib/messages')(core);
|
|
38
38
|
require('@contrast/config')(core);
|
|
39
|
-
require('@contrast/logger').default(core
|
|
39
|
+
require('@contrast/logger').default(core);
|
|
40
40
|
require('@contrast/core/lib/app-info')(core);
|
|
41
|
+
if (core.appInfo._errors?.length) throw core.appInfo._errors[0];
|
|
42
|
+
|
|
41
43
|
require('@contrast/scopes')(core);
|
|
42
|
-
require('@contrast/reporter').default(core);
|
|
44
|
+
require('@contrast/reporter').default(core, { reporters: ['ui'] });
|
|
43
45
|
|
|
44
46
|
for (const err of core.config._errors) {
|
|
45
47
|
throw err;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.1",
|
|
4
4
|
"description": "A collection of agent related CLI utilities",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"test": "../scripts/test.sh"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@contrast/config": "1.
|
|
23
|
-
"@contrast/core": "1.
|
|
22
|
+
"@contrast/config": "1.25.0",
|
|
23
|
+
"@contrast/core": "1.29.1",
|
|
24
24
|
"@contrast/logger": "1.7.2",
|
|
25
|
-
"@contrast/reporter": "1.
|
|
25
|
+
"@contrast/reporter": "1.24.0",
|
|
26
26
|
"@contrast/scopes": "^1.4.0",
|
|
27
27
|
"commander": "^9.4.1"
|
|
28
28
|
}
|