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.9.4 to 0.9.5

5

dist/index.js

@@ -108,2 +108,3 @@ "use strict";

route(path, app) {
const pathForOpenAPI = path.replaceAll(/:([^\/]+)/g, "{$1}");
super.route(path, app);

@@ -120,3 +121,3 @@ if (!(app instanceof _OpenAPIHono)) {

...def.route,
path: (0, import_url.mergePath)(path, def.route.path)
path: (0, import_url.mergePath)(pathForOpenAPI, def.route.path)
});

@@ -126,3 +127,3 @@ case "webhook":

...def.webhook,
path: (0, import_url.mergePath)(path, def.webhook.path)
path: (0, import_url.mergePath)(pathForOpenAPI, def.webhook.path)
});

@@ -129,0 +130,0 @@ case "schema":

2

package.json
{
"name": "@hono/zod-openapi",
"version": "0.9.4",
"version": "0.9.5",
"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