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

@types/koa

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa - npm Package Compare versions

Comparing version 2.0.48 to 2.0.49

7

koa/index.d.ts

@@ -689,3 +689,3 @@ // Type definitions for Koa 2.x

type ParameterizedContext<StateT = any, CustomT = {}> = BaseContext & {
interface ExtendableContext extends BaseContext {
app: Application;

@@ -699,3 +699,2 @@ request: Request;

accept: accepts.Accepts;
state: StateT;
/**

@@ -705,2 +704,6 @@ * To bypass Koa's built-in response handling, you may explicitly set `ctx.respond = false;`

respond?: boolean;
}
type ParameterizedContext<StateT = any, CustomT = {}> = ExtendableContext & {
state: StateT;
} & CustomT;

@@ -707,0 +710,0 @@

{
"name": "@types/koa",
"version": "2.0.48",
"version": "2.0.49",
"description": "TypeScript definitions for Koa",

@@ -27,3 +27,4 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/koa"
},

@@ -39,4 +40,4 @@ "scripts": {},

},
"typesPublisherContentHash": "4e42b1f8788df94b78f945a8453180d4f8606de73f9c60e52dcce84ad6c99f7a",
"typesPublisherContentHash": "043118a44898277a7fb6c2516338d3b4c6a49ecdaf0933b747ef35225c3fab5b",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 31 Dec 2018 18:46:29 GMT
* Last updated: Mon, 01 Jul 2019 19:56:15 GMT
* Dependencies: @types/accepts, @types/cookies, @types/http-assert, @types/keygrip, @types/koa-compose, @types/node

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

# Credits
These definitions were written by DavidCai1993 <https://github.com/DavidCai1993>, jKey Lu <https://github.com/jkeylu>, Brice Bernard <https://github.com/brikou>.
These definitions were written by DavidCai1993 <https://github.com/DavidCai1993>, jKey Lu <https://github.com/jkeylu>, and Brice Bernard <https://github.com/brikou>.
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