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

@hono/zod-validator

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hono/zod-validator - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

5

dist/esm/index.d.ts

@@ -12,6 +12,3 @@ import type { Context, MiddlewareHandler, Env } from 'hono';

}, c: Context) => Response | Promise<Response> | void;
export declare const zValidator: <T extends z.ZodType<any, z.ZodTypeDef, any>, Type extends ValidationTypes, E extends Env, P extends string>(type: Type, schema: T, hook?: Hook<z.TypeOf<T>> | undefined) => MiddlewareHandler<E, P, {
type: Type;
data: z.TypeOf<T>;
}>;
export declare const zValidator: <T extends z.ZodType<any, z.ZodTypeDef, any>, Type extends ValidationTypes, E extends Env, P extends string>(type: Type, schema: T, hook?: Hook<z.TypeOf<T>> | undefined) => MiddlewareHandler<E, P, { [K in Type]: z.TypeOf<T>; }>;
export {};

9

package.json
{
"name": "@hono/zod-validator",
"version": "0.0.2",
"version": "0.0.3",
"description": "Validator middleware using Zod",

@@ -31,12 +31,9 @@ "main": "dist/cjs/index.js",

"peerDependencies": {
"hono": "^3.0.0-rc.3",
"hono": "^3.0.0-rc.9",
"zod": "^3.19.1"
},
"devDependencies": {
"hono": "3.0.0-rc.3",
"hono": "3.0.0-rc.9",
"zod": "3.19.1"
},
"dependencies": {
"hono": "3.0.0-rc.7"
}
}
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