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

@hattip/compose

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hattip/compose - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

14

dist/index.d.ts

@@ -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": {

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