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.6 to 2.11.7

34

koa/index.d.ts

@@ -183,3 +183,3 @@ // Type definitions for Koa 2.11.0

* Check if the given `type(s)` is acceptable, returning
* the best match when true, otherwise `undefined`, in which
* the best match when true, otherwise `false`, in which
* case you should respond with 406 "Not Acceptable".

@@ -218,5 +218,5 @@ *

*/
accepts(): string[] | boolean;
accepts(...types: string[]): string | boolean;
accepts(types: string[]): string | boolean;
accepts(): string[];
accepts(...types: string[]): string | false;
accepts(types: string[]): string | false;

@@ -231,5 +231,5 @@ /**

*/
acceptsEncodings(): string[] | boolean;
acceptsEncodings(...encodings: string[]): string | boolean;
acceptsEncodings(encodings: string[]): string | boolean;
acceptsEncodings(): string[];
acceptsEncodings(...encodings: string[]): string | false;
acceptsEncodings(encodings: string[]): string | false;

@@ -244,5 +244,5 @@ /**

*/
acceptsCharsets(): string[] | boolean;
acceptsCharsets(...charsets: string[]): string | boolean;
acceptsCharsets(charsets: string[]): string | boolean;
acceptsCharsets(): string[];
acceptsCharsets(...charsets: string[]): string | false;
acceptsCharsets(charsets: string[]): string | false;

@@ -257,5 +257,5 @@ /**

*/
acceptsLanguages(): string[] | boolean;
acceptsLanguages(...langs: string[]): string | boolean;
acceptsLanguages(langs: string[]): string | boolean;
acceptsLanguages(): string[];
acceptsLanguages(...langs: string[]): string | false;
acceptsLanguages(langs: string[]): string | false;

@@ -284,4 +284,4 @@ /**

// is(): string | boolean;
is(...types: string[]): string | boolean;
is(types: string[]): string | boolean;
is(...types: string[]): string | false | null;
is(types: string[]): string | false | null;

@@ -602,4 +602,4 @@ /**

// is(): string;
is(...types: string[]): string;
is(types: string[]): string;
is(...types: string[]): string | false | null;
is(types: string[]): string | false | null;

@@ -606,0 +606,0 @@ /**

{
"name": "@types/koa",
"version": "2.11.6",
"version": "2.11.7",
"description": "TypeScript definitions for Koa",

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

},
"typesPublisherContentHash": "557190fbae4bd7927b9ac54a1ff3a370ea131d37defaacc6f8e5e03a4cd10e86",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "4c90abe96c5bf725e64dae0dff2488231d83ad1af3a5d83175c175373eeb238a",
"typeScriptVersion": "3.4"
}

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

### Additional Details
* Last updated: Tue, 20 Oct 2020 14:53:22 GMT
* Last updated: Wed, 27 Jan 2021 08:39:44 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/http-errors](https://npmjs.com/package/@types/http-errors), [@types/keygrip](https://npmjs.com/package/@types/keygrip), [@types/koa-compose](https://npmjs.com/package/@types/koa-compose), [@types/content-disposition](https://npmjs.com/package/@types/content-disposition), [@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