@contrast/agent 5.42.0 → 5.43.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/README.md +1 -10
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -65,23 +65,14 @@ Notes:
|
|
|
65
65
|
|
|
66
66
|
### With end-of-life Node.js Versions
|
|
67
67
|
|
|
68
|
-
When using the agent with end-of-life Node.js versions, use either the `--loader` or
|
|
69
|
-
`--require` flag, depending on the version of Node.js and the module system used.
|
|
70
|
-
|
|
71
68
|
Use the `--loader` flag for Node.js versions `>=16.17.0 <18.19.0`.
|
|
72
69
|
|
|
73
70
|
```sh
|
|
74
71
|
node --loader @contrast/agent app-main.mjs [app arguments]
|
|
75
72
|
```
|
|
76
73
|
|
|
77
|
-
Use the `--require` (`-r`) flag for Node.js versions `<16.17.0`.
|
|
78
|
-
|
|
79
|
-
```sh
|
|
80
|
-
node -r @contrast/agent app-main [app arguments]
|
|
81
|
-
```
|
|
82
|
-
|
|
83
74
|
Note:
|
|
84
|
-
- `-r` will still work for Node.js versions that have no ESM modules or dependencies.
|
|
75
|
+
- `--require` or `-r` will still work for Node.js versions that have no ESM modules or dependencies.
|
|
85
76
|
|
|
86
77
|
### Configuration
|
|
87
78
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/agent",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.43.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)",
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"main": "./lib/index.js",
|
|
23
23
|
"engines": {
|
|
24
24
|
"npm": ">=6.13.7 <7 || >= 8.3.1",
|
|
25
|
-
"node": ">=
|
|
25
|
+
"node": ">=18.7.0 <19 || >=20.6.0 <21 || >= 22.5.1 <23 || >= 24.0.1 <25"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"test": "bash ../scripts/test.sh"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@contrast/agentify": "1.
|
|
32
|
-
"@contrast/architecture-components": "1.
|
|
33
|
-
"@contrast/assess": "1.
|
|
34
|
-
"@contrast/common": "1.
|
|
35
|
-
"@contrast/core": "1.
|
|
36
|
-
"@contrast/library-analysis": "1.
|
|
37
|
-
"@contrast/protect": "1.
|
|
38
|
-
"@contrast/route-coverage": "1.
|
|
31
|
+
"@contrast/agentify": "1.55.0",
|
|
32
|
+
"@contrast/architecture-components": "1.44.0",
|
|
33
|
+
"@contrast/assess": "1.61.0",
|
|
34
|
+
"@contrast/common": "1.36.0",
|
|
35
|
+
"@contrast/core": "1.56.0",
|
|
36
|
+
"@contrast/library-analysis": "1.46.0",
|
|
37
|
+
"@contrast/protect": "1.66.0",
|
|
38
|
+
"@contrast/route-coverage": "1.48.0",
|
|
39
39
|
"@contrast/sec-obs": "1.0.0-alpha.9",
|
|
40
|
-
"@contrast/telemetry": "1.
|
|
40
|
+
"@contrast/telemetry": "1.31.0"
|
|
41
41
|
}
|
|
42
42
|
}
|