@crawlee/browser-pool 4.0.0-beta.207 → 4.0.0-beta.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/browser-pool.d.ts CHANGED
@@ -351,8 +351,9 @@ export declare class BrowserPool<Options extends BrowserPoolOptions = BrowserPoo
351
351
  retireBrowserByPage(page: PageReturn): void;
352
352
  /**
353
353
  * Releases a page back to the pool. The page is closed and, if the
354
- * optional `error` is a {@link SessionError}, the browser controller
355
- * that served the page is retired so that its tainted state (cookies,
354
+ * optional `error` is a {@link SessionError} (including
355
+ * {@link SessionRetiredError}), the browser controller that served
356
+ * the page is retired so that the finished session's state (cookies,
356
357
  * storage, etc.) cannot leak into future sessions.
357
358
  *
358
359
  * This is the primary way the crawler should return pages to the pool.
package/browser-pool.js CHANGED
@@ -354,8 +354,9 @@ export class BrowserPool extends TypedEmitter {
354
354
  }
355
355
  /**
356
356
  * Releases a page back to the pool. The page is closed and, if the
357
- * optional `error` is a {@link SessionError}, the browser controller
358
- * that served the page is retired so that its tainted state (cookies,
357
+ * optional `error` is a {@link SessionError} (including
358
+ * {@link SessionRetiredError}), the browser controller that served
359
+ * the page is retired so that the finished session's state (cookies,
359
360
  * storage, etc.) cannot leak into future sessions.
360
361
  *
361
362
  * This is the primary way the crawler should return pages to the pool.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/browser-pool",
3
- "version": "4.0.0-beta.207",
3
+ "version": "4.0.0-beta.208",
4
4
  "description": "Rotate multiple browsers using popular automation libraries such as Playwright or Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@apify/timeout": "^1.0.1",
34
- "@crawlee/core": "4.0.0-beta.207",
35
- "@crawlee/types": "4.0.0-beta.207",
36
- "@crawlee/utils": "4.0.0-beta.207",
34
+ "@crawlee/core": "4.0.0-beta.208",
35
+ "@crawlee/types": "4.0.0-beta.208",
36
+ "@crawlee/utils": "4.0.0-beta.208",
37
37
  "fingerprint-generator": "^2.1.68",
38
38
  "fingerprint-injector": "^2.1.68",
39
39
  "lodash.merge": "^4.6.2",
@@ -64,5 +64,5 @@
64
64
  }
65
65
  }
66
66
  },
67
- "gitHead": "8d4e54dfe0343e33f40a90d12abfb1840340c520"
67
+ "gitHead": "81d3fbc1abd10fd34be2694a98f4a36e2ebc2f64"
68
68
  }