npm rate-limiter-flexible 2.3.0
MongoDB client v4 fix, delete and new method to delete all inMemory Blocked keys

latest releases: 5.0.3, 5.0.2, 5.0.1...
2 years ago
  • replace replaceOne with findOneAndUpdate to fix a bug related to absent ops attribute in MongoDB client v4+. Thank you @vdiez
  • delete method on any store limiter deletes inMemoryBlocked key if it is there. Thank you @evan361425
  • new deleteInMemoryBlockedAll method added to clean up all blocked keys at once. Thank you @evan361425 again :-)
  • @evan361425 also added tests to cover new lines 🥇

Don't miss a new rate-limiter-flexible release

NewReleases is sending notifications on new releases.