From 9b2d169b772471674b323ecc4b5a9096e17e5e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Rame=CC=81?= Date: Wed, 20 Mar 2024 10:51:46 +0100 Subject: [PATCH] chore(wappalyzer): silent the warning about headless --- patches/wappalyzer+6.10.66.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/patches/wappalyzer+6.10.66.patch b/patches/wappalyzer+6.10.66.patch index bf94164..8d23d7c 100644 --- a/patches/wappalyzer+6.10.66.patch +++ b/patches/wappalyzer+6.10.66.patch @@ -1,12 +1,14 @@ diff --git a/node_modules/wappalyzer/driver.js b/node_modules/wappalyzer/driver.js -index abfbcad..398c2ee 100644 +index abfbcad..768754b 100644 --- a/node_modules/wappalyzer/driver.js +++ b/node_modules/wappalyzer/driver.js -@@ -16,7 +16,7 @@ const chromiumArgs = CHROMIUM_ARGS +@@ -15,8 +15,8 @@ const { CHROMIUM_BIN, CHROMIUM_DATA_DIR, CHROMIUM_WEBSOCKET, CHROMIUM_ARGS } = + const chromiumArgs = CHROMIUM_ARGS ? CHROMIUM_ARGS.split(' ') : [ - '--headless', +- '--headless', - '--single-process', ++ '--headless=old', // We upgraded puppeteer but still we want to use the old headless mode since Wappalyzer has been only developed/tested for it + // '--single-process', '--no-sandbox', '--no-zygote',