Socket
Socket
Sign inDemoInstall

@types/koa-compose

Package Overview
Dependencies
18
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.4 to 3.2.5

4

koa-compose/index.d.ts

@@ -53,6 +53,6 @@ // Type definitions for koa-compose 3.2

declare namespace compose {
type Middleware<T> = (context: T, next: () => Promise<any>) => any;
type ComposedMiddleware<T> = (context: T, next?: () => Promise<any>) => Promise<void>;
type Middleware<T> = (context: T, next: Koa.Next) => any;
type ComposedMiddleware<T> = (context: T, next?: Koa.Next) => Promise<void>;
}
export = compose;
{
"name": "@types/koa-compose",
"version": "3.2.4",
"version": "3.2.5",
"description": "TypeScript definitions for koa-compose",

@@ -19,3 +19,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -30,4 +30,4 @@ "type": "git",

},
"typesPublisherContentHash": "8d74a321fa3388eacb4ffb320518f9d5902a418c3765ed7d617e85cda2179c58",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "a5fb98541fe6f08d4799ff1ca630573727c2aaf2ecaeabcdef672cde7eb1c72d",
"typeScriptVersion": "2.8"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for koa-compose ( https://github.com/koajs/compose ).
This package contains type definitions for koa-compose (https://github.com/koajs/compose).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Wed, 22 May 2019 16:20:02 GMT
* Last updated: Thu, 07 Nov 2019 17:55:21 GMT
* Dependencies: @types/koa

@@ -18,2 +18,2 @@ * Global values: none

# Credits
These definitions were written by jKey Lu <https://github.com/jkeylu>, Anton Astashov <https://github.com/astashov>.
These definitions were written by jKey Lu <https://github.com/jkeylu>, and Anton Astashov <https://github.com/astashov>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc