@hono/node-server
Advanced tools
+3
-4
@@ -497,3 +497,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
| this.#body = body; | ||
| if (init instanceof Response$1) { | ||
| if (init instanceof GlobalResponse) { | ||
| const cachedGlobalResponse = init[responseCache]; | ||
@@ -504,6 +504,5 @@ if (cachedGlobalResponse) { | ||
| return; | ||
| } else { | ||
| this.#init = init.#init; | ||
| headers = new Headers(init.headers); | ||
| } | ||
| this.#init = init instanceof Response$1 ? init.#init : init; | ||
| headers = new Headers(init.headers); | ||
| } else this.#init = init; | ||
@@ -510,0 +509,0 @@ if (body == null || typeof body === "string" || typeof body?.getReader !== "undefined" || body instanceof Blob || body instanceof Uint8Array) this[cacheKey] = [ |
+3
-4
@@ -496,3 +496,3 @@ import { t as X_ALREADY_SENT } from "./constants-BLSFu_RU.mjs"; | ||
| this.#body = body; | ||
| if (init instanceof Response$1) { | ||
| if (init instanceof GlobalResponse) { | ||
| const cachedGlobalResponse = init[responseCache]; | ||
@@ -503,6 +503,5 @@ if (cachedGlobalResponse) { | ||
| return; | ||
| } else { | ||
| this.#init = init.#init; | ||
| headers = new Headers(init.headers); | ||
| } | ||
| this.#init = init instanceof Response$1 ? init.#init : init; | ||
| headers = new Headers(init.headers); | ||
| } else this.#init = init; | ||
@@ -509,0 +508,0 @@ if (body == null || typeof body === "string" || typeof body?.getReader !== "undefined" || body instanceof Blob || body instanceof Uint8Array) this[cacheKey] = [ |
+1
-3
| { | ||
| "name": "@hono/node-server", | ||
| "version": "2.0.11", | ||
| "version": "2.0.12", | ||
| "description": "Node.js Adapter for Hono", | ||
@@ -87,3 +87,2 @@ "main": "dist/index.mjs", | ||
| "@types/node": "^20.10.0", | ||
| "@types/supertest": "^2.0.12", | ||
| "@types/ws": "^8.18.1", | ||
@@ -96,3 +95,2 @@ "@whatwg-node/fetch": "^0.9.14", | ||
| "publint": "^0.3.18", | ||
| "supertest": "^7.2.2", | ||
| "tsdown": "^0.20.3", | ||
@@ -99,0 +97,0 @@ "typescript": "^5.3.2", |
13
-13.33%120353
-0.01%2800
-0.07%