@types/koa
Advanced tools
Comparing version 2.11.0 to 2.11.1
@@ -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 |
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
23526
663