Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hono

Package Overview
Dependencies
Maintainers
1
Versions
344
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 3.12.11 to 3.12.12

17

dist/types/types.d.ts

@@ -383,3 +383,6 @@ import type { Context } from './context';

[K in Param]: string;
} : {};
} : never;
type FlattenIfIntersect<T> = T extends infer O ? {
[K in keyof O]: O[K];
} : never;
export type MergeSchemaPath<OrigSchema extends Schema, SubPath extends string> = {

@@ -392,7 +395,7 @@ [P in keyof OrigSchema as MergePath<SubPath, P & string>]: {

input: Input extends {
param: infer Params;
} ? {
param: Params & ExtractParams<SubPath>;
} : RemoveBlankRecord<ExtractParams<SubPath>> extends never ? Input : Input & {
param: infer _;
} ? ExtractParams<SubPath> extends never ? Input : FlattenIfIntersect<Input & {
param: ExtractParams<SubPath>;
}> : RemoveBlankRecord<ExtractParams<SubPath>> extends never ? Input : Input & {
param: ExtractParams<SubPath>;
};

@@ -403,3 +406,5 @@ output: Output;

};
export type AddParam<I, P extends string> = ParamKeys<P> extends never ? I : I & {
export type AddParam<I, P extends string> = ParamKeys<P> extends never ? I : I extends {
param: infer _;
} ? I : I & {
param: UnionToIntersection<ParamKeyToRecord<ParamKeys<P>>>;

@@ -406,0 +411,0 @@ };

{
"name": "hono",
"version": "3.12.11",
"version": "3.12.12",
"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