@contrast/route-coverage 1.56.0 → 1.56.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/install/express.js +1 -1
- package/package.json +10 -10
package/lib/install/express.js
CHANGED
|
@@ -271,7 +271,7 @@ class ExpressInstrumentation {
|
|
|
271
271
|
// in this case don't capture the current template segment.
|
|
272
272
|
const store = core.scopes.sources.getStore();
|
|
273
273
|
if (
|
|
274
|
-
store
|
|
274
|
+
store?.sourceInfo?.method &&
|
|
275
275
|
data.obj.route?.methods &&
|
|
276
276
|
!data.obj.route.methods[store.sourceInfo.method] &&
|
|
277
277
|
!data.obj.route.methods._all
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/route-coverage",
|
|
3
|
-
"version": "1.56.
|
|
3
|
+
"version": "1.56.1",
|
|
4
4
|
"description": "Handles route discovery and observation",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@contrast/common": "1.41.1",
|
|
24
|
-
"@contrast/config": "1.58.
|
|
25
|
-
"@contrast/core": "1.63.
|
|
26
|
-
"@contrast/dep-hooks": "1.32.
|
|
27
|
-
"@contrast/fn-inspect": "
|
|
28
|
-
"@contrast/logger": "1.36.
|
|
29
|
-
"@contrast/patcher": "1.35.
|
|
30
|
-
"@contrast/rewriter": "1.40.
|
|
31
|
-
"@contrast/scopes": "1.33.
|
|
32
|
-
"semver": "
|
|
24
|
+
"@contrast/config": "1.58.1",
|
|
25
|
+
"@contrast/core": "1.63.1",
|
|
26
|
+
"@contrast/dep-hooks": "1.32.1",
|
|
27
|
+
"@contrast/fn-inspect": "5.0.2",
|
|
28
|
+
"@contrast/logger": "1.36.1",
|
|
29
|
+
"@contrast/patcher": "1.35.1",
|
|
30
|
+
"@contrast/rewriter": "1.40.1",
|
|
31
|
+
"@contrast/scopes": "1.33.1",
|
|
32
|
+
"semver": "7.6.0"
|
|
33
33
|
}
|
|
34
34
|
}
|