Socket
Socket
Sign inDemoInstall

h3

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h3 - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

4

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc