@crawlee/jsdom 4.0.0-beta.87 → 4.0.0-beta.89

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.
@@ -104,6 +104,8 @@ export declare class JSDOMCrawler<ContextExtension = Dictionary<never>, Extended
104
104
  maxCrawlDepth: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
105
105
  // @ts-ignore optional peer dependency or compatibility with es2022
106
106
  autoscaledPoolOptions: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
107
+ // @ts-ignore optional peer dependency or compatibility with es2022
108
+ concurrencySystem: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
107
109
  // @ts-ignore optional peer dependency or compatibility with es2022
108
110
  sessionPool: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
109
111
  // @ts-ignore optional peer dependency or compatibility with es2022
@@ -56,9 +56,9 @@ import { addTimeoutToPromise } from '@apify/timeout';
56
56
  *
57
57
  * New requests are only dispatched when there is enough free CPU and memory available,
58
58
  * using the functionality provided by the {@link AutoscaledPool} class.
59
- * All {@link AutoscaledPool} configuration options can be passed to the `autoscaledPoolOptions`
60
- * parameter of the `CheerioCrawler` constructor. For user convenience, the `minConcurrency` and `maxConcurrency`
61
- * {@link AutoscaledPool} options are available directly in the `CheerioCrawler` constructor.
59
+ * Concurrency is tuned via the `minConcurrency`, `maxConcurrency` and `maxRequestsPerMinute` options of the
60
+ * `JSDOMCrawler` constructor, or, for finer control, by injecting a pre-configured
61
+ * {@link ConcurrencySystem|`concurrencySystem`}.
62
62
  *
63
63
  * **Example usage:**
64
64
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/jsdom",
3
- "version": "4.0.0-beta.87",
3
+ "version": "4.0.0-beta.89",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -49,9 +49,9 @@
49
49
  "dependencies": {
50
50
  "@apify/timeout": "^0.3.0",
51
51
  "@apify/utilities": "^2.7.10",
52
- "@crawlee/http": "4.0.0-beta.87",
53
- "@crawlee/types": "4.0.0-beta.87",
54
- "@crawlee/utils": "4.0.0-beta.87",
52
+ "@crawlee/http": "4.0.0-beta.89",
53
+ "@crawlee/types": "4.0.0-beta.89",
54
+ "@crawlee/utils": "4.0.0-beta.89",
55
55
  "@types/jsdom": "^21.1.7",
56
56
  "cheerio": "^1.0.0",
57
57
  "jsdom": "^26.1.0",
@@ -65,5 +65,5 @@
65
65
  }
66
66
  }
67
67
  },
68
- "gitHead": "1b7604cd77b694460aac4448b4555444fa1b2bdb"
68
+ "gitHead": "9279941162eb4be0a9113f768b5bd79d27e66eba"
69
69
  }