@contrast/agentify 1.61.1 → 1.63.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/lib/index.js +4 -3
- package/package.json +17 -16
package/lib/index.js
CHANGED
|
@@ -41,7 +41,6 @@ const DEFAULT_INSTALL_ORDER = [
|
|
|
41
41
|
'scopes',
|
|
42
42
|
'secObs',
|
|
43
43
|
'sources',
|
|
44
|
-
'architectureComponents',
|
|
45
44
|
'assess',
|
|
46
45
|
'protect',
|
|
47
46
|
'depHooks',
|
|
@@ -167,7 +166,9 @@ module.exports = function init(core = {}) {
|
|
|
167
166
|
|
|
168
167
|
try {
|
|
169
168
|
// check supported Node version and correct preload usage before anything else
|
|
170
|
-
|
|
169
|
+
// use env var to skip validation for testing/debugging e.g. --experimental-print-required-tla
|
|
170
|
+
if (process.env.CONTRAST_SKIP_STARTUP_VALIDATION !== 'true')
|
|
171
|
+
preStartupValidation(core);
|
|
171
172
|
|
|
172
173
|
const modules = [
|
|
173
174
|
{ name: 'config', spec: '@contrast/config' },
|
|
@@ -183,10 +184,10 @@ module.exports = function init(core = {}) {
|
|
|
183
184
|
{ name: 'is-agent-path', spec: '@contrast/core/lib/is-agent-path' },
|
|
184
185
|
{ name: 'dep-hooks', spec: '@contrast/dep-hooks' },
|
|
185
186
|
{ name: 'patcher', spec: '@contrast/patcher' },
|
|
186
|
-
{ name: 'capture-stacktrace', spec: '@contrast/core/lib/capture-stacktrace' },
|
|
187
187
|
{ name: 'rewriter', spec: '@contrast/rewriter' },
|
|
188
188
|
{ name: 'contrast-methods', spec: '@contrast/core/lib/contrast-methods' },
|
|
189
189
|
{ name: 'scopes', spec: '@contrast/scopes' },
|
|
190
|
+
{ name: 'stack-trace-factory', spec: '@contrast/stack-trace-factory' },
|
|
190
191
|
{ name: 'deadzones', spec: '@contrast/deadzones' },
|
|
191
192
|
{ name: 'reporter', spec: '@contrast/reporter', default: true },
|
|
192
193
|
{ name: 'instrumentation', spec: '@contrast/instrumentation' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/agentify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.63.0",
|
|
4
4
|
"description": "Configures Contrast agent services and instrumentation within an application",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -20,23 +20,24 @@
|
|
|
20
20
|
"test": "bash ../scripts/test.sh"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@contrast/common": "1.
|
|
24
|
-
"@contrast/config": "1.
|
|
25
|
-
"@contrast/core": "1.
|
|
26
|
-
"@contrast/deadzones": "1.
|
|
27
|
-
"@contrast/dep-hooks": "1.
|
|
28
|
-
"@contrast/esm-hooks": "2.
|
|
23
|
+
"@contrast/common": "1.41.0",
|
|
24
|
+
"@contrast/config": "1.57.0",
|
|
25
|
+
"@contrast/core": "1.62.0",
|
|
26
|
+
"@contrast/deadzones": "1.35.0",
|
|
27
|
+
"@contrast/dep-hooks": "1.31.0",
|
|
28
|
+
"@contrast/esm-hooks": "2.37.0",
|
|
29
29
|
"@contrast/find-package-json": "^1.1.0",
|
|
30
|
-
"@contrast/instrumentation": "1.
|
|
31
|
-
"@contrast/logger": "1.
|
|
32
|
-
"@contrast/metrics": "1.
|
|
33
|
-
"@contrast/patcher": "1.
|
|
30
|
+
"@contrast/instrumentation": "1.41.0",
|
|
31
|
+
"@contrast/logger": "1.35.0",
|
|
32
|
+
"@contrast/metrics": "1.39.0",
|
|
33
|
+
"@contrast/patcher": "1.34.0",
|
|
34
34
|
"@contrast/perf": "1.4.0",
|
|
35
|
-
"@contrast/reporter": "1.
|
|
36
|
-
"@contrast/rewriter": "1.
|
|
37
|
-
"@contrast/scopes": "1.
|
|
38
|
-
"@contrast/sec-obs": "1.
|
|
39
|
-
"@contrast/sources": "1.
|
|
35
|
+
"@contrast/reporter": "1.60.0",
|
|
36
|
+
"@contrast/rewriter": "1.39.0",
|
|
37
|
+
"@contrast/scopes": "1.32.0",
|
|
38
|
+
"@contrast/sec-obs": "1.6.0",
|
|
39
|
+
"@contrast/sources": "1.8.0",
|
|
40
|
+
"@contrast/stack-trace-factory": "1.2.0",
|
|
40
41
|
"on-finished": "^2.4.1",
|
|
41
42
|
"semver": "^7.6.0"
|
|
42
43
|
}
|