express-perf
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -34,2 +34,6 @@ var https = require('https') | ||
if (layer.route) { | ||
req.__layerPath = layer.route.path | ||
} | ||
return pp.apply(this, arguments) | ||
@@ -105,3 +109,3 @@ } | ||
function finish () { | ||
var uri = (req.__baseRoute + req.route.path).replace(/:([^\/]*)/ig, '*') | ||
var uri = (req.__baseRoute + req.__layerPath).replace(/:([^\/]*)/ig, '*') | ||
if (uri[uri.length - 1] === "/") { | ||
@@ -108,0 +112,0 @@ uri = uri.substring(0, uri.length - 1) |
{ | ||
"name": "express-perf", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
40056
118