@contrast/agent 4.9.0 → 4.9.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/lib/util/source-map.js +3 -3
- package/package.json +2 -7
package/lib/util/source-map.js
CHANGED
|
@@ -156,9 +156,9 @@ class SourceMapUtility {
|
|
|
156
156
|
* @returns {string} fixed filename with full path
|
|
157
157
|
*/
|
|
158
158
|
replaceSource(original, source) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
return original === source
|
|
160
|
+
? original
|
|
161
|
+
: original.replace(path.basename(original), source);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/agent",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "Node.js security instrumentation by Contrast Security",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"security",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"Michael Woytowitz"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"preinstall": "npx npm-force-resolutions",
|
|
26
25
|
"docs": "jsdoc -c ../.jsdoc.json",
|
|
27
26
|
"release": "scripts/make-release.js",
|
|
28
27
|
"tag": "scripts/tag-release.js",
|
|
@@ -191,9 +190,5 @@
|
|
|
191
190
|
"winston",
|
|
192
191
|
"winston-syslog",
|
|
193
192
|
"winston-daily-rotate-file"
|
|
194
|
-
]
|
|
195
|
-
"resolutions": {
|
|
196
|
-
"markdown-it": ">=12.3.2",
|
|
197
|
-
"marked": ">=4.0.10"
|
|
198
|
-
}
|
|
193
|
+
]
|
|
199
194
|
}
|