express-perf
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -108,3 +108,3 @@ var https = require('https') | ||
function finish () { | ||
if (!req.__baseRoute) { | ||
if (!req.__baseRoute || !req.__layerPath) { | ||
cleanup() | ||
@@ -114,3 +114,4 @@ return | ||
var uri = (req.__baseRoute + req.__layerPath).replace(/:([^\/]*)/ig, '*') | ||
var uri = (req.__baseRoute || "") + (req.__layerPath || "") | ||
uri = uri.replace(/:([^\/]*)/ig, '*') | ||
if (uri[uri.length - 1] === "/") { | ||
@@ -117,0 +118,0 @@ uri = uri.substring(0, uri.length - 1) |
{ | ||
"name": "express-perf", | ||
"version": "1.6.0", | ||
"version": "1.7.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
40192
123