rolling-rate-limiter
Advanced tools
Comparing version
{ | ||
"name": "rolling-rate-limiter", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"description": "Rate limiter that supports a rolling window, either in-memory or backed by Redis", | ||
@@ -45,17 +45,17 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/ioredis": "^4.19.2", | ||
"@types/jest": "^26.0.20", | ||
"@types/node": "^14.14.22", | ||
"@types/ioredis": "^4.26.0", | ||
"@types/jest": "^26.0.23", | ||
"@types/node": "^15.0.1", | ||
"@types/redis": "^2.8.28", | ||
"@types/uuid": "^8.3.0", | ||
"async": "~3.2.0", | ||
"eslint": "^7.18.0", | ||
"eslint": "^7.25.0", | ||
"eslint-config-peterkhayes": "^4.0.0", | ||
"ioredis": "^4.19.4", | ||
"ioredis": "^4.27.1", | ||
"jest": "^26.6.3", | ||
"lodash": "^4.17.20", | ||
"redis": "^3.0.2", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.3" | ||
"lodash": "^4.17.21", | ||
"redis": "^3.1.2", | ||
"ts-jest": "^26.5.5", | ||
"typescript": "^4.2.4" | ||
} | ||
} |
@@ -33,3 +33,3 @@ # Rolling Rate Limiter | ||
interval: 60000, // milliseconds | ||
maxInInterval: 10, | ||
maxInInterval: 5, | ||
}); | ||
@@ -36,0 +36,0 @@ |
Sorry, the diff of this file is not supported yet
120096
6.98%