Comparing version 0.2.0 to 0.3.0
@@ -19,3 +19,3 @@ var cheerio = require('cheerio') | ||
if (resp.statusCode !== 200) return cb(new Error('statusCode is not 200. received '+resp.statusCode+' in '+_url )) | ||
if (resp.headers['content-type'].indexOf('text/html') !== 1) { | ||
if (resp.headers['content-type'].indexOf('text/html') !== -1) { | ||
var $ = cheerio.load(body) | ||
@@ -22,0 +22,0 @@ , links = [] |
{ | ||
"name": "webtouch", | ||
"version": "0.2.0", | ||
"version": "0.3.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
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
6972