@contrast/route-coverage
Advanced tools
Comparing version 1.15.0 to 1.15.1
@@ -81,3 +81,4 @@ /* | ||
const url = `${req.baseUrl}${req._parsedUrl.pathname}`; | ||
const normalizedUrl = req.route.path; | ||
const { path } = req.route; | ||
const normalizedUrl = path instanceof RegExp ? path.toString() : path; | ||
const { signature } = signatureMap.get(route.signature); | ||
@@ -84,0 +85,0 @@ if (method) routeCoverage.observe({ signature, url, method, normalizedUrl }); |
{ | ||
"name": "@contrast/route-coverage", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "Handles route discovery and observation", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22396
565