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.0.6 to 4.0.7

6

dist/cjs/jsx/dom/render.js

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

var import_hooks = require("../hooks");
var import__ = require(".");
var import_context2 = require("./context");
const eventAliasMap = {

@@ -301,3 +301,3 @@ Change: "Input",

} else if (!isNodeString(child) && nameSpaceContext) {
const ns = (0, import__.useContext)(nameSpaceContext);
const ns = (0, import_context.useContext)(nameSpaceContext);
if (ns) {

@@ -348,3 +348,3 @@ child.n = ns;

node.n = ns;
nameSpaceContext || (nameSpaceContext = (0, import__.createContext)(""));
nameSpaceContext || (nameSpaceContext = (0, import_context2.createContext)(""));
node.children = [

@@ -351,0 +351,0 @@ {

// src/jsx/dom/render.ts
import { DOM_RENDERER, DOM_ERROR_HANDLER, DOM_STASH } from "../constants.js";
import { globalContexts as globalJSXContexts } from "../context.js";
import { globalContexts as globalJSXContexts, useContext } from "../context.js";
import { STASH_EFFECT } from "../hooks/index.js";
import { useContext, createContext } from "./index.js";
import { createContext } from "./context.js";
var eventAliasMap = {

@@ -7,0 +7,0 @@ Change: "Input",

@@ -399,5 +399,9 @@ import type { Context } from './context';

} ? ExtractParams<SubPath> extends never ? Input : FlattenIfIntersect<Input & {
param: ExtractParams<SubPath>;
param: {
[K in keyof ExtractParams<SubPath> as K extends `${infer Prefix}{${infer _}}` ? Prefix : K]: string;
};
}> : RemoveBlankRecord<ExtractParams<SubPath>> extends never ? Input : Input & {
param: ExtractParams<SubPath>;
param: {
[K in keyof ExtractParams<SubPath> as K extends `${infer Prefix}{${infer _}}` ? Prefix : K]: string;
};
};

@@ -404,0 +408,0 @@ output: Output;

{
"name": "hono",
"version": "4.0.6",
"version": "4.0.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