Comparing version 0.8.2 to 0.8.3
@@ -19,3 +19,3 @@ import { IncomingMessage, ServerResponse, OutgoingMessage } from 'http'; | ||
declare type NodePromisifiedHandler = (req: IncomingMessage, res: ServerResponse) => Promise<any>; | ||
declare type NodeMiddleware = (req: IncomingMessage, res: ServerResponse, next?: (err?: Error) => any) => any; | ||
declare type NodeMiddleware = (req: IncomingMessage, res: ServerResponse, next: (err?: Error) => any) => any; | ||
declare const defineNodeListener: (handler: NodeListener) => NodeListener; | ||
@@ -163,3 +163,3 @@ declare const defineNodeMiddleware: (middleware: NodeMiddleware) => NodeMiddleware; | ||
*/ | ||
declare function readRawBody(event: H3Event, encoding?: Encoding): Encoding extends false ? Buffer : Promise<string | Buffer>; | ||
declare function readRawBody(event: H3Event, encoding?: Encoding): Encoding extends false ? Buffer : Promise<string | Buffer | undefined>; | ||
/** @deprecated Use `h3.readRawBody` */ | ||
@@ -166,0 +166,0 @@ declare const useRawBody: typeof readRawBody; |
{ | ||
"name": "h3", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Tiny JavaScript Server", | ||
@@ -48,3 +48,3 @@ "repository": "unjs/h3", | ||
}, | ||
"packageManager": "pnpm@7.13.4", | ||
"packageManager": "pnpm@7.13.5", | ||
"scripts": { | ||
@@ -51,0 +51,0 @@ "build": "unbuild", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67284
1771