From 93acdd7d6f1ae3870c9b0056caf19014cd850f79 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:54:25 +1100 Subject: [PATCH] Remove response code validation --- src/drivers/npm/driver.js | 4 ---- src/drivers/npm/package.json | 9 ++++++--- src/drivers/webextension/manifest.json | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index 01faaf5d1..ea13b773d 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -225,10 +225,6 @@ class Driver { throw new Error('NO_RESPONSE'); } - if (browser.statusCode !== 200) { - throw new Error('RESPONSE_NOT_OK'); - } - if (!browser.contentType || !/\btext\/html\b/.test(browser.contentType)) { this.wappalyzer.log(`Skipping; url: ${pageUrl.href}; content type: ${browser.contentType}`, 'driver'); diff --git a/src/drivers/npm/package.json b/src/drivers/npm/package.json index 05b8482cb..a2c6d1568 100644 --- a/src/drivers/npm/package.json +++ b/src/drivers/npm/package.json @@ -1,13 +1,16 @@ { "name": "wappalyzer", "description": "Uncovers the technologies used on websites", - "homepage": "https://github.com/AliasIO/Wappalyzer", - "version": "5.9.24", + "homepage": "https://www.wappalyzer.com", + "version": "5.9.25", "author": "Elbert Alias", "license": "GPL-3.0", "repository": { "type": "git", - "url": "https://github.com/AliasIO/Wappalyzer" + "url": "https://github.com/aliasio/wappalyzer" + }, + "funding": { + "url": "https://github.com/sponsors/aliasio" }, "main": "index.js", "files": [ diff --git a/src/drivers/webextension/manifest.json b/src/drivers/webextension/manifest.json index 226dc671a..8694e124d 100644 --- a/src/drivers/webextension/manifest.json +++ b/src/drivers/webextension/manifest.json @@ -4,7 +4,7 @@ "author": "Elbert Alias", "homepage_url": "https://www.wappalyzer.com", "description": "Identify web technologies", - "version": "5.9.24", + "version": "5.9.25", "default_locale": "en", "manifest_version": 2, "icons": {