Download Latest Version Wrappers don_t require points and duration options source code.tar.gz (705.3 kB)
Email in envelope

Get an email when there's a new version of node-rate-limiter-flexible

Home / v11.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md < 5 hours ago 1.0 kB
Wrappers don_t require points and duration options source code.tar.gz < 5 hours ago 705.3 kB
Wrappers don_t require points and duration options source code.zip < 5 hours ago 765.6 kB
Totals: 3 Items   1.5 MB 0

What's Changed

  • [#356] fix do not require points and duration options in wrappers by @animir in https://github.com/animir/node-rate-limiter-flexible/pull/357
  • RateLimiterCompatibleAbstract lightweight base class for custom wrappers Added a minimal abstract class that defines the core interface (consume, get, set, delete, penalty, reward, block, getKey) without requiring the full RateLimiterAbstract implementation. This makes it easy to build custom wrappers that work seamlessly with RateLimiterUnion, RLWrapperTimeouts, and insurance limiters.
  • Fixed RateLimiterStoreAbstract.set() incorrectly calling _block instead of _set
  • Fixed key parsing when keyPrefix is empty

[BREAKING CHANGES] RLWrapperBlackAndWhite now extends RateLimiterCompatibleAbstract, and all union/wrapper/insurance classes accept both abstract types via a new isRateLimiterCompatible helper.

:timer_clock:

Full Changelog: https://github.com/animir/node-rate-limiter-flexible/compare/v10.0.1...v11.0.0

Source: README.md, updated 2026-04-03