@contrast/core 1.27.0 → 1.27.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/LICENSE +1 -1
- package/lib/agent-info.js +1 -1
- package/lib/app-info.js +2 -2
- package/lib/capture-stacktrace.js +1 -1
- package/lib/contrast-methods.js +4 -1
- package/lib/index.d.ts +1 -1
- package/lib/is-agent-path.js +1 -1
- package/lib/messages.js +1 -1
- package/lib/sensitive-data-masking/constants.js +1 -1
- package/lib/sensitive-data-masking/index.js +1 -1
- package/lib/sensitive-data-masking/protect-listener.js +2 -2
- package/lib/sensitive-data-masking/server-settings-listener.js +1 -1
- package/lib/system-info/index.js +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
package/lib/agent-info.js
CHANGED
package/lib/app-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright:
|
|
2
|
+
* Copyright: 2024 Contrast Security, Inc
|
|
3
3
|
* Contact: support@contrastsecurity.com
|
|
4
4
|
* License: Commercial
|
|
5
5
|
|
|
@@ -192,7 +192,7 @@ module.exports = function (core) {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
// we only want to look at dirs in the
|
|
195
|
+
// we only want to look at dirs in the initial directory
|
|
196
196
|
// assign parent directory to directory
|
|
197
197
|
directory = path.dirname(directory);
|
|
198
198
|
return findFile({
|
package/lib/contrast-methods.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright:
|
|
2
|
+
* Copyright: 2024 Contrast Security, Inc
|
|
3
3
|
* Contact: support@contrastsecurity.com
|
|
4
4
|
* License: Commercial
|
|
5
5
|
|
|
@@ -118,6 +118,9 @@ module.exports = function (core) {
|
|
|
118
118
|
importNamed(...args) {
|
|
119
119
|
// noop
|
|
120
120
|
},
|
|
121
|
+
import(...args) {
|
|
122
|
+
// noop BAM
|
|
123
|
+
},
|
|
121
124
|
|
|
122
125
|
// Injections
|
|
123
126
|
Function: core.patcher.patch(global.Function, {
|
package/lib/index.d.ts
CHANGED
package/lib/is-agent-path.js
CHANGED
package/lib/messages.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright:
|
|
2
|
+
* Copyright: 2024 Contrast Security, Inc
|
|
3
3
|
* Contact: support@contrastsecurity.com
|
|
4
4
|
* License: Commercial
|
|
5
5
|
|
|
@@ -32,7 +32,7 @@ module.exports = function (core) {
|
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
logger.trace(
|
|
35
|
+
logger.trace('masking sensitive fields in %s message', Event.PROTECT);
|
|
36
36
|
|
|
37
37
|
if (policy.maskHttpBody) {
|
|
38
38
|
msg.protect.parsedBody = `${CONTRAST_REDACTED}-body`;
|
package/lib/system-info/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/core",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.1",
|
|
4
4
|
"description": "Preconfigured Contrast agent core services and models",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@contrast/common": "1.16.0",
|
|
20
|
-
"@contrast/fn-inspect": "^
|
|
20
|
+
"@contrast/fn-inspect": "^4.0.0"
|
|
21
21
|
}
|
|
22
22
|
}
|