@contrast/agent 5.41.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.
Files changed (2) hide show
  1. package/README.md +1 -10
  2. package/package.json +12 -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.41.0",
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)",
@@ -19,23 +19,24 @@
19
19
  "./lib/index.js": "./lib/index.js",
20
20
  "./lib/start-agent.js": "./lib/start-agent.js"
21
21
  },
22
+ "main": "./lib/index.js",
22
23
  "engines": {
23
24
  "npm": ">=6.13.7 <7 || >= 8.3.1",
24
- "node": ">=16.9.1 <17 || >=18.7.0 <19 || >=20.6.0 <21 || >= 22.5.1 <23"
25
+ "node": ">=18.7.0 <19 || >=20.6.0 <21 || >= 22.5.1 <23 || >= 24.0.1 <25"
25
26
  },
26
27
  "scripts": {
27
28
  "test": "bash ../scripts/test.sh"
28
29
  },
29
30
  "dependencies": {
30
- "@contrast/agentify": "1.53.0",
31
- "@contrast/architecture-components": "1.43.0",
32
- "@contrast/assess": "1.59.0",
33
- "@contrast/common": "1.35.0",
34
- "@contrast/core": "1.55.0",
35
- "@contrast/library-analysis": "1.45.0",
36
- "@contrast/protect": "1.65.0",
37
- "@contrast/route-coverage": "1.46.0",
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",
38
39
  "@contrast/sec-obs": "1.0.0-alpha.9",
39
- "@contrast/telemetry": "1.30.0"
40
+ "@contrast/telemetry": "1.31.0"
40
41
  }
41
42
  }