Skip to content

Commit 67c6929

Browse files
committed
feat(core): replace whatwg-mimetypes with native node:utils
1 parent 237708c commit 67c6929

File tree

8 files changed

+911
-1267
lines changed

8 files changed

+911
-1267
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
"license": "BSD-3-Clause",
88
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
99
"devDependencies": {
10-
"@biomejs/biome": "2.1.3",
11-
"@commitlint/cli": "^19.8.1",
12-
"@commitlint/config-conventional": "^19.8.1",
13-
"@tsconfig/node22": "^22.0.2",
14-
"@types/node": "^24.2.1",
10+
"@biomejs/biome": "2.3.12",
11+
"@commitlint/cli": "^20.3.1",
12+
"@commitlint/config-conventional": "^20.3.1",
13+
"@tsconfig/node22": "^22.0.5",
14+
"@types/node": "^24.10.9",
1515
"c8": "^10.1.3",
16-
"lefthook": "^1.12.3",
17-
"tsx": "^4.20.4",
18-
"typedoc": "^0.28.10",
19-
"typedoc-plugin-markdown": "^4.8.1",
20-
"typedoc-plugin-mdn-links": "^5.0.8",
16+
"lefthook": "^2.0.15",
17+
"tsx": "^4.21.0",
18+
"typedoc": "^0.28.16",
19+
"typedoc-plugin-markdown": "^4.9.0",
20+
"typedoc-plugin-mdn-links": "^5.1.0",
2121
"typedoc-vitepress-theme": "^1.1.2",
22-
"typescript": "^5.9.2"
22+
"typescript": "^5.9.3"
2323
},
2424
"scripts": {
2525
"build": "pnpm -r build",

packages/core/package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,13 @@
187187
}
188188
},
189189
"dependencies": {
190-
"@standard-schema/spec": "^1.0.0",
191-
"find-my-way": "^9.3.0",
192-
"nested-search-params": "^1.0.0",
193-
"ts-pattern": "^5.8.0",
194-
"whatwg-mimetype": "^4.0.0"
190+
"@standard-schema/spec": "^1.1.0",
191+
"find-my-way": "^9.4.0",
192+
"nested-search-params": "^1.0.1",
193+
"ts-pattern": "^5.9.0"
195194
},
196195
"devDependencies": {
197-
"@types/whatwg-mimetype": "^3.0.2",
198-
"node-mock-http": "^1.0.3",
199-
"zod": "^4.1.12"
196+
"node-mock-http": "^1.0.4",
197+
"zod": "^4.3.6"
200198
}
201199
}

packages/core/src/extract/json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import consumers from "node:stream/consumers";
2+
import { MIMEType } from "node:util";
23
import type { StandardSchemaV1 } from "@standard-schema/spec";
3-
import MIMEType from "whatwg-mimetype";
44
import { type HeaderMap, type HttpRequest, StatusCode } from "../http/index.js";
55
import { ClientError } from "../util/index.js";
66
import { ValidationError } from "./error.js";

packages/docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"cytoscape": "^3.33.1",
88
"cytoscape-cose-bilkent": "^4.1.0",
99
"dayjs": "^1.11.19",
10-
"mermaid": "^11.12.1",
10+
"mermaid": "^11.12.2",
1111
"vitepress": "2.0.0-alpha.12",
12-
"vitepress-plugin-group-icons": "^1.6.5",
13-
"vitepress-plugin-llms": "^1.8.1",
12+
"vitepress-plugin-group-icons": "^1.7.1",
13+
"vitepress-plugin-llms": "^1.10.0",
1414
"vitepress-plugin-mermaid": "^2.0.17",
15-
"vue": "^3.5.22"
15+
"vue": "^3.5.27"
1616
},
1717
"scripts": {
1818
"start": "vitepress dev",

packages/examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
},
1515
"dependencies": {
1616
"@taxum/core": "workspace:*",
17-
"zod": "^4.0.14"
17+
"zod": "^4.3.6"
1818
}
1919
}

packages/fs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"dependencies": {
3939
"@taxum/core": "workspace:*",
40-
"mime": "^4.0.7",
40+
"mime": "^4.1.0",
4141
"range-parser": "^1.2.1"
4242
},
4343
"devDependencies": {

packages/jwt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@taxum/core": "workspace:*"
4040
},
4141
"devDependencies": {
42-
"jose": "^6.0.12"
42+
"jose": "^6.1.3"
4343
},
4444
"peerDependencies": {
4545
"jose": "^6.0.12"

0 commit comments

Comments
 (0)