@contrast/agent 4.10.6 → 4.12.1
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/bin/VERSION +1 -1
- package/bin/linux/contrast-service +0 -0
- package/bin/mac/contrast-service +0 -0
- package/bin/windows/contrast-service.exe +0 -0
- package/lib/agent.js +9 -2
- package/lib/app-info.js +88 -52
- package/lib/assess/loopback4/route-coverage.js +1 -1
- package/lib/contrast.js +25 -24
- package/lib/core/config/options.js +136 -238
- package/lib/hooks/frameworks/base.js +1 -1
- package/lib/hooks/module/helpers.js +1 -1
- package/lib/instrumentation.js +1 -1
- package/lib/libraries.js +119 -135
- package/lib/list-installed.js +13 -0
- package/lib/reporter/models/app-update/index.js +1 -1
- package/lib/reporter/translations/to-protobuf/dtm/agent-startup.js +3 -3
- package/lib/telemetry.js +188 -0
- package/lib/util/traverse.js +7 -3
- package/package.json +11 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/agent",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.1",
|
|
4
4
|
"description": "Node.js security instrumentation by Contrast Security",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"security",
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
"@contrast/fn-inspect": "^2.4.4",
|
|
82
82
|
"@contrast/heapdump": "^1.1.0",
|
|
83
83
|
"@contrast/protobuf-api": "^3.2.3",
|
|
84
|
-
"@contrast/require-hook": "^2.0.
|
|
84
|
+
"@contrast/require-hook": "^2.0.10",
|
|
85
85
|
"@contrast/synchronous-source-maps": "^1.1.0",
|
|
86
86
|
"amqp-connection-manager": "^3.2.2",
|
|
87
87
|
"amqplib": "^0.8.0",
|
|
88
|
+
"axios": "^0.25.0",
|
|
88
89
|
"big-integer": "^1.6.36",
|
|
89
|
-
"bluebird": "^3.5.3",
|
|
90
90
|
"builtin-modules": "^3.2.0",
|
|
91
91
|
"cls-hooked": "^4.2.2",
|
|
92
92
|
"commander": "^8.3.0",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"crc-32": "^1.0.0",
|
|
96
96
|
"fast-deep-equal": "^3.1.3",
|
|
97
97
|
"find-cache-dir": "^3.3.1",
|
|
98
|
+
"getmac": "^5.20.0",
|
|
98
99
|
"ipaddr.js": "^1.8.1",
|
|
99
100
|
"json-stable-stringify": "^1.0.1",
|
|
100
101
|
"jspack": "0.0.4",
|
|
@@ -102,10 +103,12 @@
|
|
|
102
103
|
"make-dir": "^3.1.0",
|
|
103
104
|
"multi-stage-sourcemap": "^0.3.1",
|
|
104
105
|
"on-finished": "^2.3.0",
|
|
106
|
+
"parent-package-json": "^2.0.1",
|
|
105
107
|
"parseurl": "^1.3.3",
|
|
106
108
|
"prom-client": "^12.0.0",
|
|
107
109
|
"recursive-readdir": "^2.2.2",
|
|
108
110
|
"semver": "^7.3.2",
|
|
111
|
+
"uuid": "^8.3.2",
|
|
109
112
|
"winston": "^3.1.0",
|
|
110
113
|
"winston-daily-rotate-file": "^3.5.1",
|
|
111
114
|
"yaml": "^1.10.0"
|
|
@@ -113,19 +116,19 @@
|
|
|
113
116
|
"devDependencies": {
|
|
114
117
|
"@aws-sdk/client-dynamodb": "^3.39.0",
|
|
115
118
|
"@bmacnaughton/string-generator": "^1.0.0",
|
|
116
|
-
"@contrast/eslint-config": "^
|
|
119
|
+
"@contrast/eslint-config": "^3.0.0-beta.4",
|
|
117
120
|
"@contrast/fake-module": "file:test/mock/contrast-fake",
|
|
118
121
|
"@contrast/screener-service": "^1.12.9",
|
|
119
122
|
"@hapi/boom": "file:test/mock/boom",
|
|
120
123
|
"@hapi/hapi": "file:test/mock/hapi",
|
|
121
124
|
"@ls-lint/ls-lint": "^1.8.1",
|
|
122
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
123
|
-
"@typescript-eslint/parser": "^5.
|
|
125
|
+
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
|
126
|
+
"@typescript-eslint/parser": "^5.12.0",
|
|
124
127
|
"ajv": "^8.5.0",
|
|
125
128
|
"ast-types": "^0.12.4",
|
|
126
129
|
"aws-sdk": "file:test/mock/aws-sdk",
|
|
127
|
-
"axios": "^0.21.4",
|
|
128
130
|
"base58": "^2.0.1",
|
|
131
|
+
"bluebird": "^3.7.2",
|
|
129
132
|
"callsite": "^1.0.0",
|
|
130
133
|
"chai": "^4.2.0",
|
|
131
134
|
"chai-as-promised": "^7.1.1",
|
|
@@ -137,7 +140,7 @@
|
|
|
137
140
|
"dustjs-linkedin": "^3.0.1",
|
|
138
141
|
"ejs": "^3.1.6",
|
|
139
142
|
"escape-html": "^1.0.3",
|
|
140
|
-
"eslint": "^8.
|
|
143
|
+
"eslint": "^8.9.0",
|
|
141
144
|
"eslint-config-prettier": "^8.3.0",
|
|
142
145
|
"eslint-plugin-mocha": "^10.0.3",
|
|
143
146
|
"eslint-plugin-node": "^11.1.0",
|
|
@@ -182,7 +185,6 @@
|
|
|
182
185
|
"swig": "file:test/mock/swig",
|
|
183
186
|
"triple-beam": "^1.3.0",
|
|
184
187
|
"typeorm": "file:test/mock/typeorm",
|
|
185
|
-
"uuid": "^8.3.1",
|
|
186
188
|
"validator": "^13.7.0",
|
|
187
189
|
"xpath": "file:test/mock/xpath"
|
|
188
190
|
},
|