Skip to content

Commit 4968853

Browse files
committed
chore: move cheerio to optional dependencies
1 parent c1a99eb commit 4968853

File tree

6 files changed

+69
-78
lines changed

6 files changed

+69
-78
lines changed

bun.lock

Lines changed: 65 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@
7979
"build": "tsup"
8080
},
8181
"dependencies": {
82-
"cheerio": "^1.0.0",
83-
"undici": "^7.7.0"
82+
"undici": "^7.8.0"
8483
},
8584
"optionalDependencies": {
86-
"@tauri-apps/plugin-http": "~2"
85+
"@tauri-apps/plugin-http": "~2.4.3",
86+
"cheerio": "^1.0.0"
8787
},
8888
"devDependencies": {
89-
"@types/bun": "^1.2.9",
89+
"@types/bun": "^1.2.10",
9090
"@vexcited/eslint-config": "^0.1.1",
9191
"eslint": "^9.25.1",
9292
"jiti": "^2.4.2",

src/index.bun.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ export * from "./form";
55
export { HeaderKeys, HeaderMap } from "./headers";
66
export { HttpRequest } from "./request";
77
export { HttpResponse } from "./response";
8-
export type { CheerioAPI } from "cheerio";
98

109
export const send = factory(fetcher);

src/index.node.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ export * from "./form";
55
export { HeaderKeys, HeaderMap } from "./headers";
66
export { HttpRequest } from "./request";
77
export { HttpResponse } from "./response";
8-
export type { CheerioAPI } from "cheerio";
98

109
export const send = factory(fetcher);

src/index.react-native.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ export * from "./form";
55
export { HeaderKeys, HeaderMap } from "./headers";
66
export { HttpRequest } from "./request";
77
export { HttpResponse } from "./response";
8-
export type { CheerioAPI } from "cheerio";
98

109
export const send = factory(fetcher);

src/index.tauri.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ export * from "./form";
55
export { HeaderKeys, HeaderMap } from "./headers";
66
export { HttpRequest } from "./request";
77
export { HttpResponse } from "./response";
8-
export type { CheerioAPI } from "cheerio";
98

109
export const send = factory(fetcher);

0 commit comments

Comments
 (0)