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

@crawlee/browser-pool

Package Overview
Dependencies
Maintainers
1
Versions
1295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crawlee/browser-pool - npm Package Compare versions

Comparing version 3.0.0-beta.69 to 3.0.0-beta.70

7

browser-pool.js

@@ -349,3 +349,3 @@ "use strict";

async _createPageForBrowser(pageId, browserController, pageOptions = {}, proxyUrl) {
// TODO This is needed for concurrent newPage calls to wait for the browser launch.
// This is needed for concurrent newPage calls to wait for the browser launch.
// It's not ideal though, we need to come up with a better API.

@@ -368,4 +368,3 @@ // eslint-disable-next-line dot-notation -- accessing private property

this.pageToBrowserController.set(page, browserController);
// TODO if you synchronously trigger a lot of page launches, browser
// will not get retired soon enough. Not sure if it's a problem, let's monitor it.
// if you synchronously trigger a lot of page launches, browser will not get retired soon enough. Not sure if it's a problem, let's monitor it.
if (browserController.totalPages >= this.retireBrowserAfterPageCount) {

@@ -382,3 +381,3 @@ this.retireBrowserController(browserController);

(0, timeout_1.tryCancel)();
this.emit("pageCreated" /* BROWSER_POOL_EVENTS.PAGE_CREATED */, page); // @TODO: CONSIDER renaming this event.
this.emit("pageCreated" /* BROWSER_POOL_EVENTS.PAGE_CREATED */, page);
return page;

@@ -385,0 +384,0 @@ }

{
"name": "@crawlee/browser-pool",
"version": "3.0.0-beta.69",
"version": "3.0.0-beta.70",
"description": "Rotate multiple browsers using popular automation libraries such as Playwright or Puppeteer.",

@@ -41,3 +41,3 @@ "engines": {

"@apify/timeout": "^0.3.0",
"@crawlee/types": "^3.0.0-beta.69",
"@crawlee/types": "^3.0.0-beta.70",
"fingerprint-generator": "^2.0.0-dev.5",

@@ -44,0 +44,0 @@ "fingerprint-injector": "^2.0.0-dev.5",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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