Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

express-rate-limit

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-rate-limit - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0

2

lib/express-rate-limit.js

@@ -46,3 +46,3 @@ 'use strict';

if (typeof options.store.incr !== 'function' || typeof options.store.resetKey !== 'function' ||
(options.skipFailedRequests && typeof options.store.decrease !== 'function')) {
(options.skipFailedRequests && typeof options.store.decrement !== 'function')) {
throw new Error('The store is not valid.');

@@ -49,0 +49,0 @@ }

{
"name": "express-rate-limit",
"version": "2.10.0",
"version": "2.11.0",
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nfriedly/express-rate-limit",

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