Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

puppeteer-extra-plugin-stealth

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-extra-plugin-stealth - npm Package Compare versions

Comparing version 2.4.9 to 2.4.10

17

evasions/user-agent-override/index.test.js

@@ -6,11 +6,12 @@ const test = require('ava')

test('vanilla: Accept-Language header is missing', async t => {
const browser = await vanillaPuppeteer.launch({ headless: true })
const page = await browser.newPage()
await page.goto('http://httpbin.org/headers')
// Fixed since 2.1.1?
// test('vanilla: Accept-Language header is missing', async t => {
// const browser = await vanillaPuppeteer.launch({ headless: true })
// const page = await browser.newPage()
// await page.goto('http://httpbin.org/headers')
const content = await page.content()
t.true(content.includes(`"User-Agent"`))
t.false(content.includes(`"Accept-Language"`))
})
// const content = await page.content()
// t.true(content.includes(`"User-Agent"`))
// t.false(content.includes(`"Accept-Language"`))
// })

@@ -17,0 +18,0 @@ test('vanilla: User-Agent header contains HeadlessChrome', async t => {

@@ -154,4 +154,6 @@ 'use strict'

async onBrowser(browser) {
// Increase event emitter listeners to prevent MaxListenersExceededWarning
browser.setMaxListeners(30)
if (browser && browser.setMaxListeners) {
// Increase event emitter listeners to prevent MaxListenersExceededWarning
browser.setMaxListeners(30)
}
}

@@ -158,0 +160,0 @@ }

{
"name": "puppeteer-extra-plugin-stealth",
"version": "2.4.9",
"version": "2.4.10",
"description": "Stealth mode: Applies various techniques to make detection of headless puppeteer harder.",

@@ -51,3 +51,3 @@ "main": "index.js",

},
"gitHead": "491c82d042a8607e41d422b3e6bd8806292a151c"
"gitHead": "bd73a05835ef5bd19565330188ad69d49431b7ea"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc