resp-modifier
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -95,6 +95,9 @@ var minimatch = require("minimatch"); | ||
// Check the path only | ||
var split = url.split('?')[0]; | ||
// second, check that the URL does not contain a | ||
// file extension that should be ignored by default | ||
if (opts.ignore.some(function (pattern) { | ||
return new RegExp(pattern).test(url); | ||
return new RegExp(pattern).test(split); | ||
})) { | ||
@@ -101,0 +104,0 @@ return true; |
{ | ||
"name": "resp-modifier", | ||
"description": "Middleware for modifying a HTML response", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Shane Osbourne", |
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
11418
289