crawlee 4.0.0-beta.99 → 4.0.0-rc.1
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/README.md +1 -1
- package/index.d.ts +0 -18
- package/index.js +0 -17
- package/package.json +14 -21
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Crawlee is available as the [`crawlee`](https://www.npmjs.com/package/crawlee) N
|
|
|
34
34
|
|
|
35
35
|
We recommend visiting the [Introduction tutorial](https://crawlee.dev/js/docs/introduction) in Crawlee documentation for more information.
|
|
36
36
|
|
|
37
|
-
> Crawlee requires **Node.js
|
|
37
|
+
> Crawlee requires **Node.js 22.13 or higher**.
|
|
38
38
|
|
|
39
39
|
### With Crawlee CLI
|
|
40
40
|
|
package/index.d.ts
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
import { enqueueLinks } from '@crawlee/core';
|
|
2
|
-
import { playwrightUtils } from '@crawlee/playwright';
|
|
3
|
-
import { puppeteerUtils } from '@crawlee/puppeteer';
|
|
4
|
-
import { downloadListOfUrls, parseOpenGraph, sleep, social } from '@crawlee/utils';
|
|
5
1
|
export * from '@crawlee/core';
|
|
6
2
|
export * from '@crawlee/utils';
|
|
7
3
|
export * from '@crawlee/basic';
|
|
8
4
|
export * from '@crawlee/browser';
|
|
9
5
|
export * from '@crawlee/http';
|
|
10
|
-
export * from '@crawlee/jsdom';
|
|
11
|
-
export * from '@crawlee/linkedom';
|
|
12
6
|
export * from '@crawlee/cheerio';
|
|
13
7
|
export * from '@crawlee/puppeteer';
|
|
14
8
|
export * from '@crawlee/playwright';
|
|
15
|
-
export * from '@crawlee/browser-pool';
|
|
16
9
|
export * from '@crawlee/fs-storage';
|
|
17
|
-
export declare const utils: {
|
|
18
|
-
puppeteer: typeof puppeteerUtils;
|
|
19
|
-
playwright: typeof playwrightUtils;
|
|
20
|
-
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
21
|
-
log: import("@apify/log").Log;
|
|
22
|
-
enqueueLinks: typeof enqueueLinks;
|
|
23
|
-
social: typeof social;
|
|
24
|
-
sleep: typeof sleep;
|
|
25
|
-
downloadListOfUrls: typeof downloadListOfUrls;
|
|
26
|
-
parseOpenGraph: typeof parseOpenGraph;
|
|
27
|
-
};
|
package/index.js
CHANGED
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
import { enqueueLinks, log } from '@crawlee/core';
|
|
2
|
-
import { playwrightUtils } from '@crawlee/playwright';
|
|
3
|
-
import { puppeteerUtils } from '@crawlee/puppeteer';
|
|
4
|
-
import { downloadListOfUrls, parseOpenGraph, sleep, social } from '@crawlee/utils';
|
|
5
1
|
export * from '@crawlee/core';
|
|
6
2
|
export * from '@crawlee/utils';
|
|
7
3
|
export * from '@crawlee/basic';
|
|
8
4
|
export * from '@crawlee/browser';
|
|
9
5
|
export * from '@crawlee/http';
|
|
10
|
-
export * from '@crawlee/jsdom';
|
|
11
|
-
export * from '@crawlee/linkedom';
|
|
12
6
|
export * from '@crawlee/cheerio';
|
|
13
7
|
export * from '@crawlee/puppeteer';
|
|
14
8
|
export * from '@crawlee/playwright';
|
|
15
|
-
export * from '@crawlee/browser-pool';
|
|
16
9
|
export * from '@crawlee/fs-storage';
|
|
17
|
-
export const utils = {
|
|
18
|
-
puppeteer: puppeteerUtils,
|
|
19
|
-
playwright: playwrightUtils,
|
|
20
|
-
log,
|
|
21
|
-
enqueueLinks,
|
|
22
|
-
social,
|
|
23
|
-
sleep,
|
|
24
|
-
downloadListOfUrls,
|
|
25
|
-
parseOpenGraph,
|
|
26
|
-
};
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crawlee",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
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
|
-
"node": ">=22.
|
|
6
|
+
"node": ">=22.13.0"
|
|
7
7
|
},
|
|
8
8
|
"bin": "./cli.js",
|
|
9
9
|
"type": "module",
|
|
@@ -48,32 +48,25 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@crawlee/basic": "4.0.0-
|
|
52
|
-
"@crawlee/browser": "4.0.0-
|
|
53
|
-
"@crawlee/
|
|
54
|
-
"@crawlee/
|
|
55
|
-
"@crawlee/
|
|
56
|
-
"@crawlee/
|
|
57
|
-
"@crawlee/
|
|
58
|
-
"@crawlee/
|
|
59
|
-
"@crawlee/
|
|
60
|
-
"@crawlee/
|
|
61
|
-
"@crawlee/
|
|
62
|
-
"@crawlee/playwright": "4.0.0-beta.99",
|
|
63
|
-
"@crawlee/puppeteer": "4.0.0-beta.99",
|
|
64
|
-
"@crawlee/utils": "4.0.0-beta.99",
|
|
51
|
+
"@crawlee/basic": "4.0.0-rc.1",
|
|
52
|
+
"@crawlee/browser": "4.0.0-rc.1",
|
|
53
|
+
"@crawlee/cheerio": "4.0.0-rc.1",
|
|
54
|
+
"@crawlee/cli": "4.0.0-rc.1",
|
|
55
|
+
"@crawlee/core": "4.0.0-rc.1",
|
|
56
|
+
"@crawlee/fs-storage": "4.0.0-rc.1",
|
|
57
|
+
"@crawlee/http": "4.0.0-rc.1",
|
|
58
|
+
"@crawlee/impit-client": "4.0.0-rc.1",
|
|
59
|
+
"@crawlee/playwright": "4.0.0-rc.1",
|
|
60
|
+
"@crawlee/puppeteer": "4.0.0-rc.1",
|
|
61
|
+
"@crawlee/utils": "4.0.0-rc.1",
|
|
65
62
|
"import-local": "^3.2.0",
|
|
66
63
|
"tslib": "^2.8.1"
|
|
67
64
|
},
|
|
68
65
|
"peerDependencies": {
|
|
69
|
-
"idcac-playwright": "*",
|
|
70
66
|
"playwright": "*",
|
|
71
67
|
"puppeteer": "*"
|
|
72
68
|
},
|
|
73
69
|
"peerDependenciesMeta": {
|
|
74
|
-
"idcac-playwright": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
70
|
"playwright": {
|
|
78
71
|
"optional": true
|
|
79
72
|
},
|
|
@@ -88,5 +81,5 @@
|
|
|
88
81
|
}
|
|
89
82
|
}
|
|
90
83
|
},
|
|
91
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "f354ca5e943bed1a5c657a1fce1974c053f9fff0"
|
|
92
85
|
}
|