Skip to content

Commit

Permalink
chore(wappalyzer): silent the warning about headless
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Mar 20, 2024
1 parent 7f5c510 commit 9b2d169
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions patches/wappalyzer+6.10.66.patch
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit 9b2d169

Please sign in to comment.