File tree 3 files changed +35
-9
lines changed
3 files changed +35
-9
lines changed Original file line number Diff line number Diff line change
1
+ # [ v8.1.0] ( https://github.com/coder-hxl/x-crawl/compare/v8.0.0...v8.1.0 ) (2023-09-01)
2
+
3
+ ### 🚀 Features
4
+
5
+ - Limit Node.JS versions to 16.0.0 and above.
6
+ - Expose the corresponding puppeteer version type.
7
+ - Reduce package size and support ESM and cjs by packaging output a CJS file.
8
+
9
+ ---
10
+
11
+ ### 🚀 特征
12
+
13
+ - 对 Node.JS 版本进行限制,只有 16.0.0 版本以上才能使用。
14
+ - 将对应的 puppeteer 版本类型暴露出来。
15
+ - 减少包体积,通过打包输出一个 cjs 文件支持 ESM 和 CJS 。
16
+
1
17
# [ v8.0.0] ( https://github.com/coder-hxl/x-crawl/compare/v7.1.3...v8.0.0 ) (2023-08-22)
2
18
3
19
### 🚨 Breaking Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"name" : " x-crawl" ,
4
- "version" : " 8.0 .0" ,
4
+ "version" : " 8.1 .0" ,
5
5
"author" : " coderHXL" ,
6
6
"description" : " x-crawl is a flexible Node.js multifunctional crawler library." ,
7
7
"license" : " MIT" ,
30
30
"test-crawlFile" : " jest test/environment/api/crawlFile.test.ts dev" ,
31
31
"prettier" : " prettier --write ."
32
32
},
33
+ "engines" : {
34
+ "node" : " >=16.0.0"
35
+ },
33
36
"dependencies" : {
34
37
"chalk" : " 4.1.2" ,
35
38
"https-proxy-agent" : " ^7.0.1" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " x-crawl" ,
3
- "version" : " 8.0 .0" ,
3
+ "version" : " 8.1 .0" ,
4
4
"author" : " coderHXL" ,
5
5
"description" : " x-crawl is a flexible Node.js multifunctional crawler library." ,
6
6
"license" : " MIT" ,
15
15
" flexible" ,
16
16
" multifunction"
17
17
],
18
- "main" : " dist/index.js" ,
19
- "types" : " dist/index.d.ts" ,
20
18
"homepage" : " https://github.com/coder-hxl/x-crawl/tree/main/publish" ,
21
19
"repository" : {
22
20
"type" : " git" ,
23
21
"url" : " https://github.com/coder-hxl/x-crawl"
24
22
},
25
- "scripts" : {},
23
+ "main" : " index.js" ,
24
+ "types" : " dist/x-crawl.d.ts" ,
26
25
"exports" : {
27
26
"." : {
28
- "import" : " ./dist/index.mjs" ,
29
- "require" : " ./dist/index.js"
27
+ "import" : {
28
+ "types" : " ./dist/index.d.mts" ,
29
+ "default" : " ./index.mjs"
30
+ },
31
+ "require" : {
32
+ "types" : " ./dist/index.d.ts" ,
33
+ "default" : " ./index.js"
34
+ }
30
35
}
31
36
},
37
+ "engines" : {
38
+ "node" : " >=16.0.0"
39
+ },
32
40
"dependencies" : {
33
41
"chalk" : " 4.1.2" ,
34
42
"https-proxy-agent" : " ^7.0.1" ,
35
43
"puppeteer" : " 21.1.0"
36
- },
37
- "devDependencies" : {}
44
+ }
38
45
}
You can’t perform that action at this time.
0 commit comments