Comparing version 4.0.6 to 4.0.7
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
700839
19273