h3 0.7.4 → 0.7.5
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/index.d.ts +6 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,12 @@ interface H3Event {
|
|
|
10
10
|
context: Record<string, any>;
|
|
11
11
|
}
|
|
12
12
|
declare type CompatibilityEvent = H3Event | IncomingMessage;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
interface JSONObject {
|
|
14
|
+
[x: string]: JSONValue;
|
|
15
|
+
}
|
|
16
|
+
interface JSONArray extends Array<JSONValue> {
|
|
17
|
+
}
|
|
18
|
+
declare type JSONValue = string | number | boolean | JSONObject | JSONArray;
|
|
15
19
|
declare type _H3Response = void | JSONValue | Buffer;
|
|
16
20
|
declare type H3Response = _H3Response | Promise<_H3Response>;
|
|
17
21
|
interface EventHandler<T extends H3Response = H3Response> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "h3",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Tiny JavaScript Server",
|
|
5
5
|
"repository": "unjs/h3",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"connect": "latest",
|
|
36
36
|
"eslint": "latest",
|
|
37
37
|
"express": "latest",
|
|
38
|
-
"get-port": "^
|
|
38
|
+
"get-port": "^6.1.2",
|
|
39
39
|
"jiti": "latest",
|
|
40
40
|
"listhen": "latest",
|
|
41
41
|
"standard-version": "latest",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"unbuild": "latest",
|
|
45
45
|
"vitest": "latest"
|
|
46
46
|
},
|
|
47
|
-
"packageManager": "pnpm@6.32.
|
|
47
|
+
"packageManager": "pnpm@6.32.11",
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "unbuild",
|
|
50
50
|
"dev": "vitest",
|