h3 2.0.0-beta.2 → 2.0.0-beta.4
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/dist/_entries/bun.d.mts +2 -2
- package/dist/_entries/bun.mjs +3 -3
- package/dist/_entries/cloudflare.d.mts +2 -2
- package/dist/_entries/cloudflare.mjs +3 -3
- package/dist/_entries/deno.d.mts +2 -2
- package/dist/_entries/deno.mjs +3 -3
- package/dist/_entries/generic.d.mts +2 -2
- package/dist/_entries/generic.mjs +3 -3
- package/dist/_entries/node.d.mts +2 -2
- package/dist/_entries/node.mjs +3 -3
- package/dist/_entries/service-worker.d.mts +2 -2
- package/dist/_entries/service-worker.mjs +3 -3
- package/dist/h3.d.mts +89 -45
- package/dist/h3.mjs +631 -512
- package/package.json +19 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "h3",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.4",
|
|
4
4
|
"description": "Minimal H(TTP) framework built for high performance and portability.",
|
|
5
5
|
"homepage": "https://h3.dev",
|
|
6
6
|
"repository": "h3js/h3",
|
|
@@ -30,16 +30,15 @@
|
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
32
|
"bench:bun": "bun run ./test/bench/bench.ts",
|
|
33
|
-
"bench:node": "
|
|
33
|
+
"bench:node": "node --expose-gc --allow-natives-syntax ./test/bench/bench.ts",
|
|
34
34
|
"build": "obuild",
|
|
35
35
|
"dev": "vitest",
|
|
36
36
|
"lint": "eslint --cache . && prettier -c src test examples docs",
|
|
37
37
|
"lint:fix": "automd && eslint --cache . --fix && prettier -c src test examples docs -w",
|
|
38
|
-
"node-ts": "node --disable-warning=ExperimentalWarning --experimental-strip-types",
|
|
39
38
|
"play:bun": "bun ./test/fixture/bun.ts",
|
|
40
|
-
"play:node": "pnpm
|
|
41
|
-
"play:plain": "pnpm
|
|
42
|
-
"play:web": "pnpm
|
|
39
|
+
"play:node": "pnpm test/fixture/node.ts",
|
|
40
|
+
"play:plain": "pnpm test/fixture/plain.ts",
|
|
41
|
+
"play:web": "pnpm test/fixture/web.ts",
|
|
43
42
|
"release": "pnpm test && pnpm build && changelogen --release --prerelease --publish --publishTag beta && git push --follow-tags",
|
|
44
43
|
"test": "pnpm lint && pnpm test:types && vitest --run --coverage",
|
|
45
44
|
"test:types": "tsc --noEmit --skipLibCheck"
|
|
@@ -49,40 +48,40 @@
|
|
|
49
48
|
},
|
|
50
49
|
"dependencies": {
|
|
51
50
|
"cookie-es": "^2.0.0",
|
|
52
|
-
"fetchdts": "^0.1.
|
|
51
|
+
"fetchdts": "^0.1.6",
|
|
53
52
|
"rou3": "^0.7.3",
|
|
54
|
-
"srvx": "^0.8.
|
|
53
|
+
"srvx": "^0.8.7"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
56
|
"@mitata/counters": "^0.0.8",
|
|
58
57
|
"@types/connect": "^3.4.38",
|
|
59
58
|
"@types/express": "^5.0.3",
|
|
60
|
-
"@types/node": "^24.
|
|
61
|
-
"@types/react": "^19.1.
|
|
62
|
-
"@types/react-dom": "^19.1.
|
|
59
|
+
"@types/node": "^24.3.0",
|
|
60
|
+
"@types/react": "^19.1.11",
|
|
61
|
+
"@types/react-dom": "^19.1.8",
|
|
63
62
|
"@vitest/coverage-v8": "^3.2.4",
|
|
64
63
|
"automd": "^0.4.0",
|
|
65
64
|
"changelogen": "^0.6.2",
|
|
66
65
|
"connect": "^3.7.0",
|
|
67
66
|
"crossws": "^0.4.1",
|
|
68
|
-
"elysia": "^1.3.
|
|
69
|
-
"esbuild": "^0.25.
|
|
70
|
-
"eslint": "^9.
|
|
67
|
+
"elysia": "^1.3.20",
|
|
68
|
+
"esbuild": "^0.25.9",
|
|
69
|
+
"eslint": "^9.34.0",
|
|
71
70
|
"eslint-config-unjs": "^0.5.0",
|
|
72
71
|
"express": "^5.1.0",
|
|
73
72
|
"get-port-please": "^3.2.0",
|
|
74
|
-
"h3-nightly": "
|
|
73
|
+
"h3-nightly": "2.0.0-20250822-172024-c704b23",
|
|
75
74
|
"h3-v1": "npm:h3@^1.15.4",
|
|
76
|
-
"hono": "^4.
|
|
75
|
+
"hono": "^4.9.4",
|
|
77
76
|
"mitata": "^1.0.34",
|
|
78
77
|
"obuild": "^0.2.1",
|
|
79
78
|
"prettier": "^3.6.2",
|
|
80
79
|
"react": "^19.1.1",
|
|
81
80
|
"react-dom": "^19.1.1",
|
|
82
|
-
"typescript": "^5.
|
|
83
|
-
"vite": "^7.
|
|
81
|
+
"typescript": "^5.9.2",
|
|
82
|
+
"vite": "^7.1.3",
|
|
84
83
|
"vitest": "^3.2.4",
|
|
85
|
-
"zod": "^4.
|
|
84
|
+
"zod": "^4.1.3"
|
|
86
85
|
},
|
|
87
86
|
"peerDependencies": {
|
|
88
87
|
"crossws": "^0.4.1"
|
|
@@ -92,7 +91,7 @@
|
|
|
92
91
|
"optional": true
|
|
93
92
|
}
|
|
94
93
|
},
|
|
95
|
-
"packageManager": "pnpm@10.
|
|
94
|
+
"packageManager": "pnpm@10.15.0",
|
|
96
95
|
"engines": {
|
|
97
96
|
"node": ">=20.11.1"
|
|
98
97
|
}
|