@contrast/agent 5.62.0 → 5.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.
Files changed (2) hide show
  1. package/lib/start-agent.js +2 -1
  2. package/package.json +11 -11
@@ -18,7 +18,7 @@
18
18
  const process = require('process');
19
19
  const { isMainThread, threadId } = require('worker_threads');
20
20
  const { safeConsoleError, safeConsoleWarn } = require('@contrast/common');
21
- const { Core } = require('@contrast/core/lib/ioc/core');
21
+ const { Core } = require('@contrast/core');
22
22
 
23
23
  const {
24
24
  name: agentName,
@@ -107,6 +107,7 @@ function startAgent({ type = 'cjs' } = {}) {
107
107
  'libraryAnalysis',
108
108
  'heapSnapshots',
109
109
  'metrics',
110
+ 'rewriter',
110
111
  'rewriteHooks',
111
112
  'functionHooks',
112
113
  'esmHooks',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/agent",
3
- "version": "5.62.0",
3
+ "version": "5.63.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)",
@@ -28,16 +28,16 @@
28
28
  "test": "bash ../scripts/test.sh"
29
29
  },
30
30
  "dependencies": {
31
- "@contrast/agentify": "1.70.0",
32
- "@contrast/assess": "1.78.0",
33
- "@contrast/cli": "1.66.0",
31
+ "@contrast/agentify": "1.71.0",
32
+ "@contrast/assess": "1.79.0",
33
+ "@contrast/cli": "1.67.0",
34
34
  "@contrast/common": "1.42.0",
35
- "@contrast/core": "1.66.0",
36
- "@contrast/cve-shield": "1.1.0",
37
- "@contrast/library-analysis": "1.56.0",
38
- "@contrast/protect": "1.80.0",
39
- "@contrast/route-coverage": "1.60.0",
40
- "@contrast/sec-obs": "1.11.0",
41
- "@contrast/telemetry": "1.41.0"
35
+ "@contrast/core": "1.67.0",
36
+ "@contrast/cve-shield": "1.2.0",
37
+ "@contrast/library-analysis": "1.57.0",
38
+ "@contrast/protect": "1.81.0",
39
+ "@contrast/route-coverage": "1.61.0",
40
+ "@contrast/sec-obs": "1.12.0",
41
+ "@contrast/telemetry": "1.42.0"
42
42
  }
43
43
  }