Socket
Socket
Sign inDemoInstall

rate-limit-redis

Package Overview
Dependencies
66
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

4.2.0

Diff

Changelog

Source

v4.2.0

Added

  • Export RedisStore as a named export.
wyattjoh
published 4.1.2 •

Changelog

Source

v4.1.2

Added

  • Enabled provenance statement generation, see https://github.com/express-rate-limit/express-rate-limit#406.
wyattjoh
published 4.1.1 •

Changelog

Source

v4.1.1

Fixed

  • store.get() returns 0 instead of NaN if there are no hits stored for the client.
wyattjoh
published 4.1.0 •

Changelog

Source

v4.1.0

Added

  • Added the store.get() function, to retrieve the hit count and reset time for a particular client.
wyattjoh
published 4.0.0 •

Changelog

Source

v4.0.0

Breaking

  • Dropped node v14 support.
  • Added support for express-rate-limit v7.

Changed

  • Use pkgroll to bundle library.
  • Bumped dependencies.
gamemaker1
published 3.1.0 •

Changelog

Source

v3.1.0

Changed

  • Retry the EVALSHA command if it fails the first time.
wyattjoh
published 3.0.2 •

Changelog

Source

v3.0.2

Changed

  • Added the types field to the export map in package.json.
wyattjoh
published 3.0.1 •

Changelog

Source

v3.0.1

Changed

  • Updated documentation related to ioredis integration.
wyattjoh
published 3.0.0 •

Changelog

Source

v3.0.0

Added

  • Added issue and PR templates.
  • The release action now publishes a GitHub release when a new tag is pushed with a built .tgz file so you can install the package from npm and GitHub.
  • [BREAKING] Added the sendCommand option to replace the client option
    • sendCommand is a function that takes the raw command as a string array and returns the numeric response from redis.
    • this makes the store compatible with all clients that have a public method to send raw commands to redis.
  • Added a changelog and a contributing guide.

Changed

  • Rewrote library and tests in Typescript.
  • Use esbuild to build both ES and CommonJS modules and use dts-bundle-generator to generate a single type declaration file.
  • Added express >= 4 and express-rate-limit >= 6 as peer dependencies.

Removed

  • [BREAKING] Removed the expiry option, as we now get that from the rate limiting middleware in the init method.
  • [BREAKING] Removed the client option, as it is now replaced by the sendCommand option
  • [BREAKING] Removed the passIfNotConnected option, as developers now need to handle connection using a client of their choice
wyattjoh
published 3.0.0-pre.0 •

23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc