New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browser-manager

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-manager - npm Package Compare versions

Comparing version 1.1.19 to 1.1.20

20

lib/debug.js

@@ -0,1 +1,2 @@

/* tslint:disable:no-console */
import { devices, chromium } from 'playwright';

@@ -6,12 +7,3 @@ import { BrowserManager } from '.';

const proxies = [
// { url: 'http://45.89.19.21:16739@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.117:17807@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.50:7167@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.18.237:8135@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.46:4919@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.51:11939@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.63:16725@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.12:18473@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.115:12069@FSOfa5:EZaEVDGtbm' },
// { url: 'socks5://45.89.19.118:4099@FSOfa5:EZaEVDGtbm' }
// { url: 'http://45.89.19.21:16739@FSOfa5:EZaEVDGtbm' }
];

@@ -21,3 +13,3 @@ const pwrt = await BrowserManager.build({

launchOpts: {
headless: false
headless: true
},

@@ -30,3 +22,3 @@ device: devices['Pixel 5'],

});
// console.log('pwrt', pwrt)
console.log('pwrt', pwrt);
const page = await pwrt?.newPage({

@@ -39,3 +31,5 @@ url: 'https://scrapingant.com/blog/block-requests-playwright',

// debugger
// console.log('page', page)
console.log('page', page);
await page?.close();
await pwrt?.close();
return { pwrt, page };

@@ -42,0 +36,0 @@ }

{
"name": "browser-manager",
"version": "1.1.19",
"version": "1.1.20",
"description": "",

@@ -18,3 +18,3 @@ "main": "lib/index.js",

"postversion": "git push && git push --tags",
"dev": "npm run build && node --experimental-modules --es-module-specifier-resolution=node ./lib/debug.js",
"dev": "yarn && yarn run build && node --experimental-modules --es-module-specifier-resolution=node ./lib/debug.js",
"upg": "yarn upgrade --latest && yarn run build"

@@ -37,3 +37,3 @@ },

"@types/lodash": "^4.14.178",
"@types/node": "^17.0.15",
"@types/node": "^17.0.18",
"prettier": "^2.5.1",

@@ -50,3 +50,3 @@ "tslint": "^6.1.3",

"lodash": "^4.17.21",
"playwright": "^1.18.1",
"playwright": "^1.19.1",
"time-helpers": "^1.0.0",

@@ -53,0 +53,0 @@ "tor-mgr": "^1.0.0"

Sorry, the diff of this file is not supported yet

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