@contrast/agent 5.16.0 → 5.17.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.
@@ -16,7 +16,7 @@
16
16
  'use strict';
17
17
 
18
18
  const process = require('process');
19
- const { isMainThread } = require('worker_threads');
19
+ const { isMainThread, threadId } = require('worker_threads');
20
20
  const _agentify = require('@contrast/agentify');
21
21
 
22
22
  const {
@@ -101,7 +101,7 @@ function startAgent({ type = 'cjs' } = {}) {
101
101
  console.error(err);
102
102
  }
103
103
  } else {
104
- console.warn('Not in main thread. Thread continuing without instrumentation.');
104
+ console.warn('Not in main thread. Thread (tid: %d) continuing without instrumentation.', threadId);
105
105
  }
106
106
  }
107
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/agent",
3
- "version": "5.16.0",
3
+ "version": "5.17.0",
4
4
  "description": "Assess and Protect agents for Node.js",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -21,12 +21,12 @@
21
21
  "test": "../scripts/test.sh"
22
22
  },
23
23
  "dependencies": {
24
- "@contrast/agentify": "1.33.0",
25
- "@contrast/architecture-components": "1.25.0",
26
- "@contrast/assess": "1.36.0",
27
- "@contrast/library-analysis": "1.26.0",
28
- "@contrast/protect": "1.44.0",
29
- "@contrast/route-coverage": "1.26.0",
30
- "@contrast/telemetry": "1.13.0"
24
+ "@contrast/agentify": "1.34.0",
25
+ "@contrast/architecture-components": "1.26.0",
26
+ "@contrast/assess": "1.37.0",
27
+ "@contrast/library-analysis": "1.27.0",
28
+ "@contrast/protect": "1.45.0",
29
+ "@contrast/route-coverage": "1.27.0",
30
+ "@contrast/telemetry": "1.14.0"
31
31
  }
32
32
  }