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

hono

Package Overview
Dependencies
Maintainers
1
Versions
337
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.4.12 to 4.4.13

2

dist/types/helper/factory/index.d.ts

@@ -76,3 +76,3 @@ /**

} | undefined) => Factory<E, P>;
export declare const createMiddleware: <E extends Env = any, P extends string = any, I extends Input = {}>(middleware: MiddlewareHandler<E, P, I>) => MiddlewareHandler<E, P, I>;
export declare const createMiddleware: <E extends Env = any, P extends string = string, I extends Input = {}>(middleware: MiddlewareHandler<E, P, I>) => MiddlewareHandler<E, P, I>;
export {};

@@ -497,3 +497,3 @@ /**

rowspan?: number | undefined;
scope?: string | undefined;
scope?: 'row' | 'col' | 'rowgroup' | 'colgroup' | string | undefined;
abbr?: string | undefined;

@@ -500,0 +500,0 @@ }

@@ -456,3 +456,3 @@ /**

type ChangePathOfSchema<S extends Schema, Path extends string> = keyof S extends never ? {
[K in Path]: never;
[K in Path]: {};
} : {

@@ -516,5 +516,7 @@ [K in keyof S as Path]: S[K];

type MergeTypedResponse<T> = T extends Promise<infer T2> ? T2 extends TypedResponse ? T2 : TypedResponse : T extends TypedResponse ? T : TypedResponse;
export type ValidationTargets = {
export type FormValue = string | Blob;
export type ParsedFormValue = string | File;
export type ValidationTargets<T extends FormValue = ParsedFormValue> = {
json: any;
form: Record<string, string | File>;
form: Record<string, T | T[]>;
query: Record<string, string | string[]>;

@@ -521,0 +523,0 @@ param: Record<string, string> | Record<string, string | undefined>;

@@ -26,6 +26,6 @@ /**

*/
export type UnOfficalStatusCode = -1;
export type UnOfficalStatusCode = UnofficialStatusCode;
/**
* If you want to use an unofficial status, use `UnofficialStatusCode`.
*/
export type StatusCode = InfoStatusCode | SuccessStatusCode | RedirectStatusCode | ClientErrorStatusCode | ServerErrorStatusCode | UnofficialStatusCode | UnOfficalStatusCode;
export type StatusCode = InfoStatusCode | SuccessStatusCode | RedirectStatusCode | ClientErrorStatusCode | ServerErrorStatusCode | UnofficialStatusCode;
{
"name": "hono",
"version": "4.4.12",
"version": "4.4.13",
"description": "Web framework built on Web Standards",

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

"copy:package.cjs.json": "cp ./package.cjs.json ./dist/cjs/package.json && cp ./package.cjs.json ./dist/types/package.json ",
"build": "rimraf dist && tsx ./build.ts && bun run copy:package.cjs.json",
"build": "rimraf dist && bun ./build.ts && bun run copy:package.cjs.json",
"postbuild": "publint",
"watch": "rimraf dist && tsx ./build.ts --watch && bun run copy:package.cjs.json",
"watch": "rimraf dist && bun ./build.ts --watch && bun run copy:package.cjs.json",
"coverage": "vitest --run --coverage",

@@ -593,3 +593,2 @@ "prerelease": "bun test:deno && bun run build",

"supertest": "^6.3.3",
"tsx": "^4.7.0",
"typescript": "^5.3.3",

@@ -596,0 +595,0 @@ "vite-plugin-fastly-js-compute": "^0.4.2",

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