@crawlee/jsdom 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.
- package/internals/jsdom-crawler.d.ts +15 -15
- package/package.json +5 -5
|
@@ -71,16 +71,6 @@ export declare class JSDOMCrawler<ContextExtension = Dictionary<never>, Extended
|
|
|
71
71
|
* @internal
|
|
72
72
|
*/
|
|
73
73
|
protected static optionsShape: {
|
|
74
|
-
runScripts: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
-
hideInternalConsole: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
-
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
77
|
-
ignoreTlsErrors: z.ZodDefault<z.ZodBoolean>;
|
|
78
|
-
additionalMimeTypes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
79
|
-
suggestResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
80
|
-
forceResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
81
|
-
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
82
|
-
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
83
|
-
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
84
74
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
85
75
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
86
76
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -126,11 +116,6 @@ export declare class JSDOMCrawler<ContextExtension = Dictionary<never>, Extended
|
|
|
126
116
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
127
117
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
128
118
|
id: z.ZodOptional<z.ZodString>;
|
|
129
|
-
};
|
|
130
|
-
/** @internal */
|
|
131
|
-
protected static optionsSchema: z.ZodObject<{
|
|
132
|
-
runScripts: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
hideInternalConsole: z.ZodOptional<z.ZodBoolean>;
|
|
134
119
|
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
135
120
|
ignoreTlsErrors: z.ZodDefault<z.ZodBoolean>;
|
|
136
121
|
additionalMimeTypes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -139,6 +124,11 @@ export declare class JSDOMCrawler<ContextExtension = Dictionary<never>, Extended
|
|
|
139
124
|
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
140
125
|
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
141
126
|
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
127
|
+
runScripts: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
hideInternalConsole: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
};
|
|
130
|
+
/** @internal */
|
|
131
|
+
protected static optionsSchema: z.ZodObject<{
|
|
142
132
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
143
133
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
144
134
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -184,6 +174,16 @@ export declare class JSDOMCrawler<ContextExtension = Dictionary<never>, Extended
|
|
|
184
174
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
185
175
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
186
176
|
id: z.ZodOptional<z.ZodString>;
|
|
177
|
+
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
178
|
+
ignoreTlsErrors: z.ZodDefault<z.ZodBoolean>;
|
|
179
|
+
additionalMimeTypes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
180
|
+
suggestResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
181
|
+
forceResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
182
|
+
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
183
|
+
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
184
|
+
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
185
|
+
runScripts: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
hideInternalConsole: z.ZodOptional<z.ZodBoolean>;
|
|
187
187
|
}, z.core.$strict>;
|
|
188
188
|
constructor(options?: JSDOMCrawlerOptions<ContextExtension, ExtendedContext, any, any, Routes, StatisticStateExtension>);
|
|
189
189
|
protected buildContextPipeline(): ContextPipeline<CrawlingContext, JSDOMCrawlingContext>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/jsdom",
|
|
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"
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/timeout": "^0.4.4",
|
|
51
51
|
"@apify/utilities": "^2.7.10",
|
|
52
|
-
"@crawlee/http": "4.0.0-beta.
|
|
53
|
-
"@crawlee/types": "4.0.0-beta.
|
|
54
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
52
|
+
"@crawlee/http": "4.0.0-beta.142",
|
|
53
|
+
"@crawlee/types": "4.0.0-beta.142",
|
|
54
|
+
"@crawlee/utils": "4.0.0-beta.142",
|
|
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": "
|
|
68
|
+
"gitHead": "d40a48fcb78865bd622a05027103155ac08a227f"
|
|
69
69
|
}
|