@crawlee/puppeteer 4.0.0-beta.141 → 4.0.0-beta.142
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.
|
@@ -125,18 +125,6 @@ export declare class PuppeteerCrawler<ContextExtension = Dictionary<never>, Exte
|
|
|
125
125
|
* @internal
|
|
126
126
|
*/
|
|
127
127
|
protected static optionsShape: {
|
|
128
|
-
headless: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
129
|
-
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
130
|
-
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
131
|
-
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
132
|
-
launchContext: z.ZodDefault<z.ZodCustom<Dictionary, Dictionary>>;
|
|
133
|
-
browserPool: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
134
|
-
browserPoolBuilder: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
135
|
-
remoteBrowser: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
136
|
-
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
137
|
-
proxyConfiguration: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
138
|
-
ignoreIframes: z.ZodDefault<z.ZodBoolean>;
|
|
139
|
-
ignoreShadowRoots: z.ZodDefault<z.ZodBoolean>;
|
|
140
128
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
141
129
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
142
130
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -181,10 +169,6 @@ export declare class PuppeteerCrawler<ContextExtension = Dictionary<never>, Exte
|
|
|
181
169
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
182
170
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
183
171
|
id: z.ZodOptional<z.ZodString>;
|
|
184
|
-
};
|
|
185
|
-
/** @internal */
|
|
186
|
-
protected static optionsSchema: z.ZodObject<{
|
|
187
|
-
headless: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
188
172
|
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
189
173
|
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
190
174
|
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
@@ -196,6 +180,10 @@ export declare class PuppeteerCrawler<ContextExtension = Dictionary<never>, Exte
|
|
|
196
180
|
proxyConfiguration: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
197
181
|
ignoreIframes: z.ZodDefault<z.ZodBoolean>;
|
|
198
182
|
ignoreShadowRoots: z.ZodDefault<z.ZodBoolean>;
|
|
183
|
+
headless: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
184
|
+
};
|
|
185
|
+
/** @internal */
|
|
186
|
+
protected static optionsSchema: z.ZodObject<{
|
|
199
187
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
200
188
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
201
189
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -240,6 +228,18 @@ export declare class PuppeteerCrawler<ContextExtension = Dictionary<never>, Exte
|
|
|
240
228
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
241
229
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
242
230
|
id: z.ZodOptional<z.ZodString>;
|
|
231
|
+
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
232
|
+
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
233
|
+
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
234
|
+
launchContext: z.ZodDefault<z.ZodCustom<Dictionary, Dictionary>>;
|
|
235
|
+
browserPool: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
236
|
+
browserPoolBuilder: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
237
|
+
remoteBrowser: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
238
|
+
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
239
|
+
proxyConfiguration: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
240
|
+
ignoreIframes: z.ZodDefault<z.ZodBoolean>;
|
|
241
|
+
ignoreShadowRoots: z.ZodDefault<z.ZodBoolean>;
|
|
242
|
+
headless: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
243
243
|
}, z.core.$strict>;
|
|
244
244
|
/**
|
|
245
245
|
* All `PuppeteerCrawler` parameters are passed via an options object.
|
|
@@ -72,8 +72,6 @@ export declare class PuppeteerLauncher extends BrowserLauncher<PuppeteerPlugin,
|
|
|
72
72
|
* @internal
|
|
73
73
|
*/
|
|
74
74
|
protected static optionsShape: {
|
|
75
|
-
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
76
|
-
launcher: z.ZodOptional<z.ZodCustom<import("@crawlee/types").Dictionary, import("@crawlee/types").Dictionary>>;
|
|
77
75
|
proxyUrl: z.ZodOptional<z.ZodURL>;
|
|
78
76
|
useChrome: z.ZodOptional<z.ZodBoolean>;
|
|
79
77
|
useIncognitoPages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -83,11 +81,11 @@ export declare class PuppeteerLauncher extends BrowserLauncher<PuppeteerPlugin,
|
|
|
83
81
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
84
82
|
launchOptions: z.ZodOptional<z.ZodCustom<import("@crawlee/types").Dictionary, import("@crawlee/types").Dictionary>>;
|
|
85
83
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
84
|
+
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
85
|
+
launcher: z.ZodOptional<z.ZodCustom<import("@crawlee/types").Dictionary, import("@crawlee/types").Dictionary>>;
|
|
86
86
|
};
|
|
87
87
|
/** @internal */
|
|
88
88
|
protected static optionsSchema: z.ZodObject<{
|
|
89
|
-
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
90
|
-
launcher: z.ZodOptional<z.ZodCustom<import("@crawlee/types").Dictionary, import("@crawlee/types").Dictionary>>;
|
|
91
89
|
proxyUrl: z.ZodOptional<z.ZodURL>;
|
|
92
90
|
useChrome: z.ZodOptional<z.ZodBoolean>;
|
|
93
91
|
useIncognitoPages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -97,6 +95,8 @@ export declare class PuppeteerLauncher extends BrowserLauncher<PuppeteerPlugin,
|
|
|
97
95
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
98
96
|
launchOptions: z.ZodOptional<z.ZodCustom<import("@crawlee/types").Dictionary, import("@crawlee/types").Dictionary>>;
|
|
99
97
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
98
|
+
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
99
|
+
launcher: z.ZodOptional<z.ZodCustom<import("@crawlee/types").Dictionary, import("@crawlee/types").Dictionary>>;
|
|
100
100
|
}, z.core.$strict>;
|
|
101
101
|
/**
|
|
102
102
|
* All `PuppeteerLauncher` parameters are passed via an launchContext object.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/puppeteer",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.142",
|
|
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,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/datastructures": "^2.0.3",
|
|
51
|
-
"@crawlee/browser": "4.0.0-beta.
|
|
52
|
-
"@crawlee/browser-pool": "4.0.0-beta.
|
|
53
|
-
"@crawlee/core": "4.0.0-beta.
|
|
54
|
-
"@crawlee/types": "4.0.0-beta.
|
|
55
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
51
|
+
"@crawlee/browser": "4.0.0-beta.142",
|
|
52
|
+
"@crawlee/browser-pool": "4.0.0-beta.142",
|
|
53
|
+
"@crawlee/core": "4.0.0-beta.142",
|
|
54
|
+
"@crawlee/types": "4.0.0-beta.142",
|
|
55
|
+
"@crawlee/utils": "4.0.0-beta.142",
|
|
56
56
|
"cheerio": "^1.0.0",
|
|
57
57
|
"devtools-protocol": "*",
|
|
58
58
|
"jquery": "^3.7.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "d40a48fcb78865bd622a05027103155ac08a227f"
|
|
82
82
|
}
|