@types/koa-ratelimit
Advanced tools
Comparing version 4.2.4 to 5.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for koa-ratelimit 4.2 | ||
// Type definitions for koa-ratelimit 5.0 | ||
// Project: https://github.com/koajs/ratelimit#readme | ||
@@ -6,6 +6,5 @@ // Definitions by: Ben Watkins <https://github.com/OutdatedVersion> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
// TypeScript Version: 4.2 | ||
import { Middleware, Context } from "koa"; | ||
import { RedisClient } from "redis"; | ||
import { Redis } from "ioredis"; | ||
@@ -42,3 +41,3 @@ | ||
*/ | ||
db: Redis | RedisClient | Map<any, any>; | ||
db: Redis | Map<any, any>; | ||
@@ -45,0 +44,0 @@ /** |
{ | ||
"name": "@types/koa-ratelimit", | ||
"version": "4.2.4", | ||
"version": "5.0.0", | ||
"description": "TypeScript definitions for koa-ratelimit", | ||
@@ -28,8 +28,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-ratelimit", | ||
"dependencies": { | ||
"@types/ioredis": "*", | ||
"@types/koa": "*", | ||
"@types/redis": "^2.8.0" | ||
"ioredis": "^5.2.3" | ||
}, | ||
"typesPublisherContentHash": "98a8fc14340fd85b83c501a635208ca5edb6fa7b02f705dcfe5125e07e829b74", | ||
"typeScriptVersion": "3.8" | ||
"typesPublisherContentHash": "e8844de4470ee208b217cb0b133473d640aaea21176240898604f24c07ebf72b", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 09 Dec 2021 09:01:23 GMT | ||
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa), [@types/redis](https://npmjs.com/package/@types/redis), [@types/ioredis](https://npmjs.com/package/@types/ioredis) | ||
* Last updated: Wed, 26 Oct 2022 22:32:56 GMT | ||
* Dependencies: [@types/ioredis](https://npmjs.com/package/@types/ioredis), [@types/koa](https://npmjs.com/package/@types/koa) | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
2
5798
78
+ Addedioredis@^5.2.3
- Removed@types/ioredis@*
- Removed@types/redis@^2.8.0
- Removed@types/ioredis@5.0.0(transitive)
- Removed@types/redis@2.8.32(transitive)