@hattip/compose
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -26,9 +26,9 @@ import { AdapterRequestContext, HattipHandler } from '@hattip/core'; | ||
} | ||
declare type ResponseLike = Response | ResponseConvertible; | ||
declare type MaybeRespone = ResponseLike | void; | ||
declare type MaybeAsyncResponse = MaybeRespone | Promise<MaybeRespone>; | ||
declare type RequestHandler = (context: RequestContext) => MaybeAsyncResponse; | ||
declare type MaybeRequestHandler = false | null | undefined | RequestHandler; | ||
declare type RequestHandlerStack = MaybeRequestHandler | RequestHandlerStack[]; | ||
declare type PartialHandler = (context: RequestContext) => Response | void | Promise<Response | void>; | ||
type ResponseLike = Response | ResponseConvertible; | ||
type MaybeRespone = ResponseLike | void; | ||
type MaybeAsyncResponse = MaybeRespone | Promise<MaybeRespone>; | ||
type RequestHandler = (context: RequestContext) => MaybeAsyncResponse; | ||
type MaybeRequestHandler = false | null | undefined | RequestHandler; | ||
type RequestHandlerStack = MaybeRequestHandler | RequestHandlerStack[]; | ||
type PartialHandler = (context: RequestContext) => Response | void | Promise<Response | void>; | ||
declare function composePartial(handlers: RequestHandlerStack[], next?: () => Promise<Response>): PartialHandler; | ||
@@ -35,0 +35,0 @@ declare function compose(...handlers: RequestHandlerStack[]): HattipHandler; |
{ | ||
"name": "@hattip/compose", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"type": "module", | ||
@@ -12,12 +12,12 @@ "description": "Middleware system for HatTip", | ||
"dependencies": { | ||
"@hattip/core": "0.0.24" | ||
"@hattip/core": "0.0.25" | ||
}, | ||
"devDependencies": { | ||
"@cyco130/eslint-config": "^2.1.2", | ||
"eslint": "^8.26.0", | ||
"node-fetch": "^3.2.10", | ||
"publint": "^0.1.1", | ||
"tsup": "^6.3.0", | ||
"typescript": "^4.8.4", | ||
"vitest": "^0.24.3" | ||
"eslint": "^8.32.0", | ||
"node-fetch": "^3.3.0", | ||
"publint": "^0.1.8", | ||
"tsup": "^6.5.0", | ||
"typescript": "^4.9.4", | ||
"vitest": "^0.27.1" | ||
}, | ||
@@ -24,0 +24,0 @@ "scripts": { |
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
8659
+ Added@hattip/core@0.0.25(transitive)
- Removed@hattip/core@0.0.24(transitive)
Updated@hattip/core@0.0.25