@crawlee/browser 4.0.0-beta.141 → 4.0.0-beta.143
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/internals/browser-crawler.d.ts +14 -14
- package/package.json +6 -6
|
@@ -258,17 +258,6 @@ export declare abstract class BrowserCrawler<Page extends CommonPage = CommonPag
|
|
|
258
258
|
* @internal
|
|
259
259
|
*/
|
|
260
260
|
protected static optionsShape: {
|
|
261
|
-
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
262
|
-
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
263
|
-
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
264
|
-
launchContext: z.ZodDefault<z.ZodCustom<Dictionary, Dictionary>>;
|
|
265
|
-
browserPool: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
266
|
-
browserPoolBuilder: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
267
|
-
remoteBrowser: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
268
|
-
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
269
|
-
proxyConfiguration: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
270
|
-
ignoreIframes: z.ZodDefault<z.ZodBoolean>;
|
|
271
|
-
ignoreShadowRoots: z.ZodDefault<z.ZodBoolean>;
|
|
272
261
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
273
262
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
274
263
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -313,9 +302,6 @@ export declare abstract class BrowserCrawler<Page extends CommonPage = CommonPag
|
|
|
313
302
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
314
303
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
315
304
|
id: z.ZodOptional<z.ZodString>;
|
|
316
|
-
};
|
|
317
|
-
/** @internal */
|
|
318
|
-
protected static optionsSchema: z.ZodObject<{
|
|
319
305
|
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
320
306
|
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
321
307
|
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
@@ -327,6 +313,9 @@ export declare abstract class BrowserCrawler<Page extends CommonPage = CommonPag
|
|
|
327
313
|
proxyConfiguration: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
328
314
|
ignoreIframes: z.ZodDefault<z.ZodBoolean>;
|
|
329
315
|
ignoreShadowRoots: z.ZodDefault<z.ZodBoolean>;
|
|
316
|
+
};
|
|
317
|
+
/** @internal */
|
|
318
|
+
protected static optionsSchema: z.ZodObject<{
|
|
330
319
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
331
320
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
332
321
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -371,6 +360,17 @@ export declare abstract class BrowserCrawler<Page extends CommonPage = CommonPag
|
|
|
371
360
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
372
361
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
373
362
|
id: z.ZodOptional<z.ZodString>;
|
|
363
|
+
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
364
|
+
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
365
|
+
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
366
|
+
launchContext: z.ZodDefault<z.ZodCustom<Dictionary, Dictionary>>;
|
|
367
|
+
browserPool: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
368
|
+
browserPoolBuilder: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
369
|
+
remoteBrowser: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
370
|
+
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
371
|
+
proxyConfiguration: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
372
|
+
ignoreIframes: z.ZodDefault<z.ZodBoolean>;
|
|
373
|
+
ignoreShadowRoots: z.ZodDefault<z.ZodBoolean>;
|
|
374
374
|
}, z.core.$strict>;
|
|
375
375
|
/**
|
|
376
376
|
* All `BrowserCrawler` parameters are passed via an options object.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/browser",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.143",
|
|
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"
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/timeout": "^0.4.4",
|
|
51
|
-
"@crawlee/basic": "4.0.0-beta.
|
|
52
|
-
"@crawlee/browser-pool": "4.0.0-beta.
|
|
53
|
-
"@crawlee/types": "4.0.0-beta.
|
|
54
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
51
|
+
"@crawlee/basic": "4.0.0-beta.143",
|
|
52
|
+
"@crawlee/browser-pool": "4.0.0-beta.143",
|
|
53
|
+
"@crawlee/types": "4.0.0-beta.143",
|
|
54
|
+
"@crawlee/utils": "4.0.0-beta.143",
|
|
55
55
|
"tslib": "^2.8.1",
|
|
56
56
|
"type-fest": "^4.41.0",
|
|
57
57
|
"zod": "^4.4.3"
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "d44b4c37b5acd824c2093542f878266feb6214ea"
|
|
79
79
|
}
|