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.8 to 4.2.9

11

dist/cjs/context.js

@@ -173,10 +173,7 @@ "use strict";

this.#res.headers.forEach((v, k) => {
if (k === "set-cookie" && this.#res) {
const cookies = this.#res.headers.getSetCookie();
for (const cookie of cookies) {
this.#headers?.append("set-cookie", cookie);
}
return;
if (k === "set-cookie") {
this.#headers?.append(k, v);
} else {
this.#headers?.set(k, v);
}
this.#headers?.set(k, v);
});

@@ -183,0 +180,0 @@ setHeaders(this.#headers, this.#preparedHeaders);

@@ -150,10 +150,7 @@ // src/context.ts

this.#res.headers.forEach((v, k) => {
if (k === "set-cookie" && this.#res) {
const cookies = this.#res.headers.getSetCookie();
for (const cookie of cookies) {
this.#headers?.append("set-cookie", cookie);
}
return;
if (k === "set-cookie") {
this.#headers?.append(k, v);
} else {
this.#headers?.set(k, v);
}
this.#headers?.set(k, v);
});

@@ -160,0 +157,0 @@ setHeaders(this.#headers, this.#preparedHeaders);

{
"name": "hono",
"version": "4.2.8",
"version": "4.2.9",
"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