Comparing version 0.5.1 to 0.6.0
@@ -82,3 +82,6 @@ var cheerio = require('cheerio') | ||
request(_url, {timeout:opts.timeout, headers:{accept:mime.lookup(_url, 'text/html')}}, function (e, resp, body) { | ||
var headers = opts.headers || {} | ||
headers.accept = mime.lookup(_url, 'text/html') | ||
request(_url, {timeout:opts.timeout, headers:headers}, function (e, resp, body) { | ||
if (e) { | ||
@@ -85,0 +88,0 @@ e.message += (' in ' + _url) |
{ | ||
"name": "webtouch", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "Validate that a web site and all its required resources are available.", | ||
@@ -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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
12437551
8
291
5