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

hono

Package Overview
Dependencies
Maintainers
1
Versions
343
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 1.4.3 to 1.4.4

1

dist/index.d.ts

@@ -0,1 +1,2 @@

/// <reference path="request.d.ts" />
export { Hono } from './hono';

@@ -2,0 +3,0 @@ export type { Handler, Next } from './hono';

"use strict";
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="./request.ts" /> Import "declare global" for the Request interface.
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +5,0 @@ exports.Context = exports.Hono = void 0;

4

dist/middleware/jwt/index.js

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

ctx.res = new Response('Unauthorized', {
status: 400,
status: 401,
headers: {

@@ -24,3 +24,3 @@ 'WWW-Authenticate': `Bearer realm="${ctx.req.url}",error="invalid_request",error_description="no authorization included in request"`,

ctx.res = new Response('Unauthorized', {
status: 400,
status: 401,
headers: {

@@ -27,0 +27,0 @@ 'WWW-Authenticate': `Bearer realm="${ctx.req.url}",error="invalid_request",error_description="no authorization included in request"`,

{
"name": "hono",
"version": "1.4.3",
"version": "1.4.4",
"description": "Ultrafast web framework for Cloudflare Workers.",

@@ -5,0 +5,0 @@ "main": "dist/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