From 88092f9a347a344b72a0f56a63e5a343ea63526a Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Tue, 21 Jan 2020 14:24:37 +1100 Subject: [PATCH] Fix uncaught page crash issue in NPM+Puppeteer --- src/drivers/npm/browsers/puppeteer.js | 4 ---- src/drivers/npm/package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/drivers/npm/browsers/puppeteer.js b/src/drivers/npm/browsers/puppeteer.js index a4b35df69..47f3650eb 100644 --- a/src/drivers/npm/browsers/puppeteer.js +++ b/src/drivers/npm/browsers/puppeteer.js @@ -90,12 +90,8 @@ class PuppeteerBrowser extends Browser { page.setDefaultTimeout(this.options.maxWait); - await page.setRequestInterception(true); - page.on('error', reject); - page.on('request', request => request.continue()); - page.on('response', (response) => { if (response.status() === 301 || response.status() === 302) { return; diff --git a/src/drivers/npm/package.json b/src/drivers/npm/package.json index f16f7b990..21d53c8f5 100644 --- a/src/drivers/npm/package.json +++ b/src/drivers/npm/package.json @@ -2,7 +2,7 @@ "name": "wappalyzer", "description": "Uncovers the technologies used on websites", "homepage": "https://github.com/AliasIO/Wappalyzer", - "version": "5.9.16", + "version": "5.9.17", "author": "Elbert Alias", "license": "GPL-3.0", "repository": {