Socket
Socket
Sign inDemoInstall

rate-limit-redis

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rate-limit-redis - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

2

dist/index.d.ts

@@ -122,2 +122,2 @@ import { Store, Options as Options$1, ClientRateLimitInfo, IncrementResponse } from 'express-rate-limit';

export { Options, RedisReply, SendCommandFn, RedisStore as default };
export { Options, RedisReply, RedisStore, SendCommandFn, RedisStore as default };
{
"name": "rate-limit-redis",
"version": "4.1.2",
"version": "4.2.0",
"description": "A Redis store for the `express-rate-limit` middleware",

@@ -5,0 +5,0 @@ "author": {

@@ -50,3 +50,3 @@ # <div align="center"> `rate-limit-redis` </div>

**This package requires you to use Node 14 or above.**
**This package requires you to use Node 16 or above.**

@@ -57,3 +57,3 @@ Import it in a CommonJS project (`type: commonjs` or no `type` field in

```ts
const RedisStore = require('rate-limit-redis')
const { RedisStore } = require('rate-limit-redis')
```

@@ -64,3 +64,3 @@

```ts
import RedisStore from 'rate-limit-redis'
import { RedisStore } from 'rate-limit-redis'
```

@@ -73,4 +73,4 @@

```ts
import rateLimit from 'express-rate-limit'
import RedisStore from 'rate-limit-redis'
import { rateLimit } from 'express-rate-limit'
import { RedisStore } from 'rate-limit-redis'
import { createClient } from 'redis'

@@ -104,4 +104,4 @@

```ts
import rateLimit from 'express-rate-limit'
import RedisStore from 'rate-limit-redis'
import { rateLimit } from 'express-rate-limit'
import { RedisStore } from 'rate-limit-redis'
import RedisClient from 'ioredis'

@@ -108,0 +108,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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