BobbyWibowo / lolisafe

Blazing fast file uploader and awesome bunker written in node! 🚀
MIT License
329 stars 56 forks source link

fix(deps): update dependency rate-limiter-flexible to v3 #698

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rate-limiter-flexible ~2.4.1 -> ~3.0.0 age adoption passing confidence

Release Notes

animir/node-rate-limiter-flexible (rate-limiter-flexible) ### [`v3.0.0`](https://togithub.com/animir/node-rate-limiter-flexible/releases/tag/v3.0.0): Support of ioredis v4+ and redis v4+ [Compare Source](https://togithub.com/animir/node-rate-limiter-flexible/compare/e4e3a442cf18a01f85bbefe4a062ed13c4639d74...v3.0.0) I have a really great news! `rate-limiter-flexible` supports `ioredis` v4+ and `redis` v4+ now. We have been waiting for this moment for years. Thanks to [@​roggervalf](https://togithub.com/roggervalf). And one big thank you from me personally Since this is major release, there are BREAKING CHANGES: 1. `rate-limiter-flexible` works with `ioredis` package of any version (tested versions 2, 3, 4 and 5) by default now. If you want it to work with the latest `redis` package, you should set [useRedisPackage](https://togithub.com/animir/node-rate-limiter-flexible/wiki/Options#useredispackage) flag. If you use `redis` of version 3 or lower, you should stick to `rate-limiter-flexible` version 2. 2. deprecated options started with lowercased `inmemory` prefix are removed. You can use [inMemoryBlockOnConsumed](https://togithub.com/animir/node-rate-limiter-flexible/wiki/Options#inmemoryblockonconsumed) and [inMemoryBlockDuration](https://togithub.com/animir/node-rate-limiter-flexible/wiki/Options#inmemoryblockduration) instead. 3. deprecated `redis` option for `RateLimiterRedis` was removed. (Most likely you never heard about it, since it was deprecated years ago). You should use `storeClient` option instead. ### [`v2.4.2`](https://togithub.com/animir/node-rate-limiter-flexible/compare/v2.4.1...e4e3a442cf18a01f85bbefe4a062ed13c4639d74) [Compare Source](https://togithub.com/animir/node-rate-limiter-flexible/compare/v2.4.1...e4e3a442cf18a01f85bbefe4a062ed13c4639d74)

Configuration

📅 Schedule: Branch creation - "before 5am on saturday" in timezone Asia/Jakarta, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.