🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@types/koa-router

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-router - npm Package Compare versions

Comparing version
7.4.2
to
7.4.3
+13
-13
koa-router/index.d.ts

@@ -27,12 +27,12 @@ // Type definitions for koa-router 7.4

*/
prefix?: string;
prefix?: string | undefined;
/**
* Methods which should be supported by the router.
*/
methods?: string[];
routerPath?: string;
methods?: string[] | undefined;
routerPath?: string | undefined;
/**
* Whether or not routing should be case-sensitive.
*/
sensitive?: boolean;
sensitive?: boolean | undefined;
/**

@@ -44,3 +44,3 @@ * Whether or not routes should matched strictly.

*/
strict?: boolean;
strict?: boolean | undefined;
}

@@ -86,11 +86,11 @@

*/
throw?: boolean;
throw?: boolean | undefined;
/**
* throw the returned value in place of the default NotImplemented error
*/
notImplemented?: () => any;
notImplemented?: (() => any) | undefined;
/**
* throw the returned value in place of the default MethodNotAllowed error
*/
methodNotAllowed?: () => any;
methodNotAllowed?: (() => any) | undefined;
}

@@ -100,7 +100,7 @@

name: string;
sensitive?: boolean;
strict?: boolean;
end?: boolean;
prefix?: string;
ignoreCaptures?: boolean;
sensitive?: boolean | undefined;
strict?: boolean | undefined;
end?: boolean | undefined;
prefix?: string | undefined;
ignoreCaptures?: boolean | undefined;
}

@@ -107,0 +107,0 @@

{
"name": "@types/koa-router",
"version": "7.4.2",
"version": "7.4.3",
"description": "TypeScript definitions for koa-router",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-router",
"license": "MIT",

@@ -54,4 +55,4 @@ "contributors": [

},
"typesPublisherContentHash": "e49a84527df1aa36d74d8868133e3f5a64bee975d7a3d8775f45f8164b682d2f",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "ec3ac7134d1a613c54c18c54b58e5964ba60533cbc9e23c7866c16872e151a2b",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Thu, 15 Apr 2021 01:31:15 GMT
* Last updated: Tue, 06 Jul 2021 22:02:38 GMT
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa)

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