New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.9.6 to 0.9.7

2

dist/index.js

@@ -151,3 +151,3 @@ "use strict";

basePath(path) {
return new _OpenAPIHono(super.basePath(path));
return new _OpenAPIHono({ ...super.basePath(path), defaultHook: this.defaultHook });
}

@@ -154,0 +154,0 @@ };

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

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

"devDependencies": {
"@cloudflare/workers-types": "^4.20240117.0",
"hono": "^3.11.7",

@@ -49,2 +50,3 @@ "jest": "^29.7.0",

"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.0.1",

@@ -55,3 +57,3 @@ "zod": "^3.22.1"

"@asteasolutions/zod-to-openapi": "^5.5.0",
"@hono/zod-validator": "^0.1.11"
"@hono/zod-validator": "0.1.11"
},

@@ -58,0 +60,0 @@ "engines": {

@@ -56,3 +56,3 @@ # Zod OpenAPI Hono

> `UserSchema` schema will be registered as `"#/components/schemas/User"` refs in the OpenAPI document.
> If you want to register the schema as referenced components, use `.opanapi()` method.
> If you want to register the schema as referenced components, use `.openapi()` method.

@@ -59,0 +59,0 @@ Next, create a route:

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