New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hono

Package Overview
Dependencies
Maintainers
1
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hono - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

8

dist/hono.d.ts

@@ -32,9 +32,17 @@ /// <reference types="@cloudflare/workers-types" />

get<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
get(path: string, handler: Handler<string>): Hono;
post<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
post(path: string, handler: Handler<string>): Hono;
put<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
put(path: string, handler: Handler<string>): Hono;
head<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
head(path: string, handler: Handler<string>): Hono;
delete<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
delete(path: string, handler: Handler<string>): Hono;
options<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
options(path: string, handler: Handler<string>): Hono;
patch<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
patch(path: string, handler: Handler<string>): Hono;
all<Path extends string>(path: Path, handler: Handler<ParamKeys<Path>>): Hono;
all(path: string, handler: Handler<string>): Hono;
route(path: string): Hono;

@@ -41,0 +49,0 @@ use(path: string, middleware: MiddlewareHandler): void;

2

package.json
{
"name": "hono",
"version": "0.5.3",
"version": "0.5.4",
"description": "[炎] Ultrafast web framework for Cloudflare Workers.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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