Socket
Socket
Sign inDemoInstall

koa-simple-ratelimit

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-simple-ratelimit - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

dist/index.d.ts

@@ -60,2 +60,2 @@ export declare type RatelimitExpires = (expires: number) => string;

*/
export declare function ratelimit(options: RatelimitOptions): (ctx: any, next: any) => Promise<any>;
export declare function ratelimit(options: RatelimitOptions): (...args: any[]) => Promise<any>;

@@ -6,3 +6,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable require-atomic-updates */
const debug_1 = __importDefault(require("debug"));

@@ -9,0 +8,0 @@ const ms_1 = __importDefault(require("ms"));

{
"name": "koa-simple-ratelimit",
"version": "4.0.0",
"version": "4.0.1",
"description": "Simple Rate limiter middleware for koa v2",

@@ -36,22 +36,22 @@ "repository": "scttcper/koa-simple-ratelimit",

"@types/debug": "4.1.5",
"@types/jest": "24.0.18",
"@types/koa": "2.0.49",
"@types/node": "12.7.5",
"@types/redis": "2.8.13",
"@types/jest": "25.1.1",
"@types/koa": "2.11.0",
"@types/node": "13.7.0",
"@types/redis": "2.8.14",
"@types/supertest": "2.0.8",
"@typescript-eslint/eslint-plugin": "2.3.0",
"@typescript-eslint/parser": "2.3.0",
"eslint": "6.4.0",
"eslint-config-xo-space": "0.21.0",
"eslint-config-xo-typescript": "0.18.0",
"eslint-plugin-import": "2.18.2",
"ioredis": "^4.14.1",
"jest": "24.9.0",
"jest-junit": "8.0.0",
"koa": "2.8.1",
"@typescript-eslint/eslint-plugin": "2.18.0",
"@typescript-eslint/parser": "2.18.0",
"eslint": "6.8.0",
"eslint-config-xo-space": "0.22.0",
"eslint-config-xo-typescript": "0.24.1",
"eslint-plugin-import": "2.20.0",
"ioredis": "4.14.1",
"jest": "25.1.0",
"jest-junit": "10.0.0",
"koa": "2.11.0",
"redis": "2.8.0",
"semantic-release": "15.13.24",
"semantic-release": "17.0.2",
"supertest": "4.0.2",
"ts-jest": "24.1.0",
"typescript": "3.6.3"
"ts-jest": "25.1.0",
"typescript": "3.7.5"
},

@@ -58,0 +58,0 @@ "jest": {

Sorry, the diff of this file is not supported yet

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