express-spider-middleware
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -40,3 +40,3 @@ const spiders = [ | ||
req.isSpider = isSpider.bind(undefined, req.get('user-agent')) | ||
if(req.isSpider && typeof callback === 'function'){ | ||
if(isSpider(req.get('user-agent')) && typeof callback === 'function'){ | ||
callback(req) | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "express-spider-middleware", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "And ExpressJS middleware for detecting search engine crawlers/spiders and handling crawler-specific logic such as additional logging for requests from spiders", | ||
@@ -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
7853