@contrast/assess 1.61.0 → 1.63.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.
|
@@ -37,7 +37,7 @@ module.exports = function (core) {
|
|
|
37
37
|
} = core;
|
|
38
38
|
|
|
39
39
|
/** @type {import('@contrast/rewriter').RewriteOpts} */
|
|
40
|
-
const REWRITE_OPTS = {
|
|
40
|
+
const REWRITE_OPTS = { inject: false, minify: false };
|
|
41
41
|
const WRAPPER_PREFIX = ArrayPrototypeJoin.call([
|
|
42
42
|
'function tempWrapper() {',
|
|
43
43
|
'function __append(s) { if (s !== undefined && s !== null) __output += s }'
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
const { patchType } = require('../../common');
|
|
18
18
|
|
|
19
19
|
/** @type {import('@contrast/rewriter').RewriteOpts} */
|
|
20
|
-
const REWRITE_OPTS = {
|
|
20
|
+
const REWRITE_OPTS = { inject: false, minify: false };
|
|
21
21
|
|
|
22
22
|
module.exports = function (core) {
|
|
23
23
|
const store = { lock: true, name: 'assess:propagators:pug-compile' };
|
package/lib/dataflow/tracker.js
CHANGED
|
@@ -65,7 +65,7 @@ module.exports = function tracker(core) {
|
|
|
65
65
|
|
|
66
66
|
if (distringuish.getProperties(value)) {
|
|
67
67
|
const err = new Error();
|
|
68
|
-
logger.
|
|
68
|
+
logger.debug({ err, value }, 'tracker.track called with a string value that is already tracked');
|
|
69
69
|
return { extern: null };
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -101,7 +101,7 @@ function factory(core) {
|
|
|
101
101
|
// that the caller previously logged, we generate a stack trace to
|
|
102
102
|
// capture that information.
|
|
103
103
|
const err = new Error('No source context found');
|
|
104
|
-
core.logger.
|
|
104
|
+
core.logger.debug({ err }, 'assess running outside of request scope');
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
107
107
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/assess",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.63.0",
|
|
4
4
|
"description": "Contrast service providing framework-agnostic Assess support",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"test": "bash ../scripts/test.sh"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@contrast/common": "1.
|
|
24
|
-
"@contrast/config": "1.
|
|
25
|
-
"@contrast/core": "1.
|
|
26
|
-
"@contrast/dep-hooks": "1.
|
|
23
|
+
"@contrast/common": "1.37.0",
|
|
24
|
+
"@contrast/config": "1.52.1",
|
|
25
|
+
"@contrast/core": "1.57.1",
|
|
26
|
+
"@contrast/dep-hooks": "1.26.1",
|
|
27
27
|
"@contrast/distringuish": "^6.0.2",
|
|
28
|
-
"@contrast/instrumentation": "1.
|
|
29
|
-
"@contrast/logger": "1.
|
|
30
|
-
"@contrast/patcher": "1.
|
|
31
|
-
"@contrast/rewriter": "1.
|
|
32
|
-
"@contrast/route-coverage": "1.
|
|
33
|
-
"@contrast/scopes": "1.
|
|
34
|
-
"@contrast/sources": "1.
|
|
28
|
+
"@contrast/instrumentation": "1.36.1",
|
|
29
|
+
"@contrast/logger": "1.30.1",
|
|
30
|
+
"@contrast/patcher": "1.29.1",
|
|
31
|
+
"@contrast/rewriter": "1.34.0",
|
|
32
|
+
"@contrast/route-coverage": "1.49.1",
|
|
33
|
+
"@contrast/scopes": "1.27.1",
|
|
34
|
+
"@contrast/sources": "1.3.1",
|
|
35
35
|
"semver": "^7.6.0"
|
|
36
36
|
}
|
|
37
37
|
}
|