Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hono

Package Overview
Dependencies
Maintainers
1
Versions
343
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.5 to 0.5.6

dist/middleware/graphql-server/graphql-server.d.ts

2

dist/context.d.ts

@@ -15,3 +15,3 @@ /// <reference types="@cloudflare/workers-types" />

render: (template: string, params?: object, options?: object) => Promise<Response>;
notFound: () => Response;
notFound: () => Response | Promise<Response>;
constructor(req: Request<RequestParamKeyType>, opts?: {

@@ -18,0 +18,0 @@ res: Response;

@@ -15,3 +15,3 @@ /// <reference types="@cloudflare/workers-types" />

export declare type MiddlewareHandler = (c: Context, next: Function) => Promise<void>;
export declare type NotFoundHandler = (c: Context) => Response;
export declare type NotFoundHandler = (c: Context) => Response | Promise<Response>;
export declare type ErrorHandler = (err: Error, c: Context) => Response;

@@ -18,0 +18,0 @@ declare type ParamKeyName<NameWithPattern> = NameWithPattern extends `${infer Name}{${infer _Pattern}` ? Name : NameWithPattern;

{
"name": "hono",
"version": "0.5.5",
"version": "0.5.6",
"description": "[炎] Ultrafast web framework for Cloudflare Workers.",

@@ -24,2 +24,3 @@ "main": "dist/index.js",

"./etag": "./dist/middleware/etag/etag.js",
"./graphql-server": "./dist/middleware/graphql-server/graphql-server.js",
"./logger": "./dist/middleware/logger/logger.js",

@@ -49,2 +50,5 @@ "./mustache": "./dist/middleware/mustache/mustache.js",

],
"graphql-server": [
"./dist/middleware/graphql-server/graphql-server.d.ts"
],
"logger": [

@@ -107,2 +111,3 @@ "./dist/middleware/logger/logger.d.ts"

"form-data": "^4.0.0",
"graphql": "^16.3.0",
"jest": "^27.4.5",

@@ -109,0 +114,0 @@ "jest-environment-miniflare": "^2.0.0",

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