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.11.0 to 2.11.1

18

koa/index.d.ts

@@ -281,6 +281,7 @@ // Type definitions for Koa 2.11.0

/**
* Return request header.
* Return request header. If the header is not set, will return an empty
* string.
*
* The `Referrer` header field is special-cased,
* both `Referrer` and `Referer` are interchangeable.
* The `Referrer` header field is special-cased, both `Referrer` and
* `Referer` are interchangeable.
*

@@ -296,3 +297,3 @@ * Examples:

* this.get('Something');
* // => undefined
* // => ''
*/

@@ -620,4 +621,8 @@ get(field: string): string;

/**
* Return response header.
* Return response header. If the header is not set, will return an empty
* string.
*
* The `Referrer` header field is special-cased, both `Referrer` and
* `Referer` are interchangeable.
*
* Examples:

@@ -630,2 +635,5 @@ *

* // => "text/plain"
*
* this.get('Something');
* // => ''
*/

@@ -632,0 +640,0 @@ get(field: string): string;

{
"name": "@types/koa",
"version": "2.11.0",
"version": "2.11.1",
"description": "TypeScript definitions for Koa",

@@ -49,4 +49,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "1f2408703c474edf99275a4b4f3662990b6e2a1f14ab34dbaa389510796d57ea",
"typesPublisherContentHash": "8c854fd425872d488229ef44971eb47ce8962cad4f13b99f2092d83f7fdb2277",
"typeScriptVersion": "2.8"
}

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

### Additional Details
* Last updated: Wed, 27 Nov 2019 00:12:14 GMT
* Last updated: Tue, 11 Feb 2020 16:48:52 GMT
* Dependencies: [@types/accepts](https://npmjs.com/package/@types/accepts), [@types/cookies](https://npmjs.com/package/@types/cookies), [@types/http-assert](https://npmjs.com/package/@types/http-assert), [@types/keygrip](https://npmjs.com/package/@types/keygrip), [@types/koa-compose](https://npmjs.com/package/@types/koa-compose), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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