Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

hono

Package Overview
Dependencies
Maintainers
1
Versions
412
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.11.8
to
4.11.9
+4
-8
dist/cjs/jsx/dom/render.js

@@ -211,10 +211,6 @@ "use strict";

const findInsertBefore = (node) => {
for (; ; node = node.tag === HONO_PORTAL_ELEMENT || !node.vC || !node.pP ? node.nN : node.vC[0]) {
if (!node) {
return null;
}
if (node.tag !== HONO_PORTAL_ELEMENT && node.e) {
return node.e;
}
while (node && (node.tag === HONO_PORTAL_ELEMENT || !node.e)) {
node = node.tag === HONO_PORTAL_ELEMENT || !node.vC?.[0] ? node.nN : node.vC[0];
}
return node?.e;
};

@@ -317,3 +313,3 @@ const removeNode = (node) => {

if (node.pP) {
delete node.pP;
node.pP = void 0;
}

@@ -320,0 +316,0 @@ if (callbacks.length) {

@@ -109,5 +109,7 @@ "use strict";

const queryIndex = url.indexOf("?", i);
const path = url.slice(start, queryIndex === -1 ? void 0 : queryIndex);
const hashIndex = url.indexOf("#", i);
const end = queryIndex === -1 ? hashIndex === -1 ? void 0 : hashIndex : hashIndex === -1 ? queryIndex : Math.min(queryIndex, hashIndex);
const path = url.slice(start, end);
return tryDecodeURI(path.includes("%25") ? path.replace(/%25/g, "%2525") : path);
} else if (charCode === 63) {
} else if (charCode === 63 || charCode === 35) {
break;

@@ -114,0 +116,0 @@ }

@@ -187,10 +187,6 @@ // src/jsx/dom/render.ts

var findInsertBefore = (node) => {
for (; ; node = node.tag === HONO_PORTAL_ELEMENT || !node.vC || !node.pP ? node.nN : node.vC[0]) {
if (!node) {
return null;
}
if (node.tag !== HONO_PORTAL_ELEMENT && node.e) {
return node.e;
}
while (node && (node.tag === HONO_PORTAL_ELEMENT || !node.e)) {
node = node.tag === HONO_PORTAL_ELEMENT || !node.vC?.[0] ? node.nN : node.vC[0];
}
return node?.e;
};

@@ -293,3 +289,3 @@ var removeNode = (node) => {

if (node.pP) {
delete node.pP;
node.pP = void 0;
}

@@ -296,0 +292,0 @@ if (callbacks.length) {

@@ -76,5 +76,7 @@ // src/utils/url.ts

const queryIndex = url.indexOf("?", i);
const path = url.slice(start, queryIndex === -1 ? void 0 : queryIndex);
const hashIndex = url.indexOf("#", i);
const end = queryIndex === -1 ? hashIndex === -1 ? void 0 : hashIndex : hashIndex === -1 ? queryIndex : Math.min(queryIndex, hashIndex);
const path = url.slice(start, end);
return tryDecodeURI(path.includes("%25") ? path.replace(/%25/g, "%2525") : path);
} else if (charCode === 63) {
} else if (charCode === 63 || charCode === 35) {
break;

@@ -81,0 +83,0 @@ }

{
"name": "hono",
"version": "4.11.8",
"version": "4.11.9",
"description": "Web framework built on Web Standards",

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