@contrast/agentify 1.61.0 → 1.62.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 -2
- package/package.json +17 -16
package/lib/index.js
CHANGED
|
@@ -167,7 +167,9 @@ module.exports = function init(core = {}) {
|
|
|
167
167
|
|
|
168
168
|
try {
|
|
169
169
|
// check supported Node version and correct preload usage before anything else
|
|
170
|
-
|
|
170
|
+
// use env var to skip validation for testing/debugging e.g. --experimental-print-required-tla
|
|
171
|
+
if (process.env.CONTRAST_SKIP_STARTUP_VALIDATION !== 'true')
|
|
172
|
+
preStartupValidation(core);
|
|
171
173
|
|
|
172
174
|
const modules = [
|
|
173
175
|
{ name: 'config', spec: '@contrast/config' },
|
|
@@ -183,10 +185,10 @@ module.exports = function init(core = {}) {
|
|
|
183
185
|
{ name: 'is-agent-path', spec: '@contrast/core/lib/is-agent-path' },
|
|
184
186
|
{ name: 'dep-hooks', spec: '@contrast/dep-hooks' },
|
|
185
187
|
{ name: 'patcher', spec: '@contrast/patcher' },
|
|
186
|
-
{ name: 'capture-stacktrace', spec: '@contrast/core/lib/capture-stacktrace' },
|
|
187
188
|
{ name: 'rewriter', spec: '@contrast/rewriter' },
|
|
188
189
|
{ name: 'contrast-methods', spec: '@contrast/core/lib/contrast-methods' },
|
|
189
190
|
{ name: 'scopes', spec: '@contrast/scopes' },
|
|
191
|
+
{ name: 'stack-trace-factory', spec: '@contrast/stack-trace-factory' },
|
|
190
192
|
{ name: 'deadzones', spec: '@contrast/deadzones' },
|
|
191
193
|
{ name: 'reporter', spec: '@contrast/reporter', default: true },
|
|
192
194
|
{ 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.62.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.40.0",
|
|
24
|
+
"@contrast/config": "1.56.0",
|
|
25
|
+
"@contrast/core": "1.61.0",
|
|
26
|
+
"@contrast/deadzones": "1.34.0",
|
|
27
|
+
"@contrast/dep-hooks": "1.30.0",
|
|
28
|
+
"@contrast/esm-hooks": "2.36.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.40.0",
|
|
31
|
+
"@contrast/logger": "1.34.0",
|
|
32
|
+
"@contrast/metrics": "1.38.0",
|
|
33
|
+
"@contrast/patcher": "1.33.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.59.0",
|
|
36
|
+
"@contrast/rewriter": "1.38.0",
|
|
37
|
+
"@contrast/scopes": "1.31.0",
|
|
38
|
+
"@contrast/sec-obs": "1.5.0",
|
|
39
|
+
"@contrast/sources": "1.7.0",
|
|
40
|
+
"@contrast/stack-trace-factory": "1.1.0",
|
|
40
41
|
"on-finished": "^2.4.1",
|
|
41
42
|
"semver": "^7.6.0"
|
|
42
43
|
}
|