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

hono

Package Overview
Dependencies
Maintainers
1
Versions
342
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 4.2.6 to 4.2.7

3

dist/cjs/middleware/serve-static/index.js

@@ -34,4 +34,3 @@ "use strict";

}
const url = new URL(c.req.url);
let filename = options.path ?? decodeURI(url.pathname);
let filename = options.path ?? decodeURI(c.req.path);
filename = options.rewriteRequestPath ? options.rewriteRequestPath(filename) : filename;

@@ -38,0 +37,0 @@ const root = options.root;

@@ -12,4 +12,3 @@ // src/middleware/serve-static/index.ts

}
const url = new URL(c.req.url);
let filename = options.path ?? decodeURI(url.pathname);
let filename = options.path ?? decodeURI(c.req.path);
filename = options.rewriteRequestPath ? options.rewriteRequestPath(filename) : filename;

@@ -16,0 +15,0 @@ const root = options.root;

{
"name": "hono",
"version": "4.2.6",
"version": "4.2.7",
"description": "Ultrafast web framework for the Edges",

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

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