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

@hono/zod-openapi

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hono/zod-openapi - npm Package Compare versions

Comparing version 0.16.2 to 0.16.3

6

dist/index.d.ts

@@ -5,3 +5,3 @@ import * as openapi3_ts_oas31 from 'openapi3-ts/oas31';

export { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi';
import { MiddlewareHandler, TypedResponse, Env, Context, Input, Handler, Schema, Hono, ToSchema, ValidationTargets } from 'hono';
import { MiddlewareHandler, TypedResponse, Env, ValidationTargets, Context, Input, Handler, Schema, Hono, ToSchema } from 'hono';
import { MergePath, MergeSchemaPath } from 'hono/types';

@@ -76,2 +76,4 @@ import { JSONParsed, RemoveBlankRecord } from 'hono/utils/types';

type Hook<T, E extends Env, P extends string, R> = (result: {
target: keyof ValidationTargets;
} & ({
success: true;

@@ -82,3 +84,3 @@ data: T;

error: ZodError;
}, c: Context<E, P>) => R;
}), c: Context<E, P>) => R;
type ConvertPathType<T extends string> = T extends `${infer Start}/{${infer Param}}${infer Rest}` ? `${Start}/:${Param}${ConvertPathType<Rest>}` : T;

@@ -85,0 +87,0 @@ type OpenAPIHonoOptions<E extends Env> = {

{
"name": "@hono/zod-openapi",
"version": "0.16.2",
"version": "0.16.3",
"description": "A wrapper class of Hono which supports OpenAPI.",

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

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