OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.45k stars 948 forks source link

Update dependency rate-limiter-flexible to v5 #9029

Open renovate[bot] opened 6 days ago

renovate[bot] commented 6 days ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rate-limiter-flexible 4.0.1 -> 5.0.4 age adoption passing confidence

Release Notes

animir/node-rate-limiter-flexible (rate-limiter-flexible) ### [`v5.0.4`](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/v5.0.3...daa2b3721adcae34c2fa1747edefb4656ec48800) [Compare Source](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/v5.0.3...daa2b3721adcae34c2fa1747edefb4656ec48800) ### [`v5.0.3`](https://redirect.github.com/animir/node-rate-limiter-flexible/releases/tag/v5.0.3): Redis custom Lua script support [Compare Source](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/f672a5bed3e7f1f26bb4bfb678463b51ff688d63...v5.0.3) - RateLimiterRedis supports for `customIncrTtlLuaScript` option now. You can set custom Lua script as a string. It will be executed instead of built-in Lua script that is called on every `upsert`. See this [rejected when consume more than maximum points and multiply delay](https://redirect.github.com/animir/node-rate-limiter-flexible/blob/master/test/RateLimiterRedis.ioredis.test.js#L62) test for example. Thanks to [@​roggervalf](https://redirect.github.com/roggervalf) - Readme language fixes. Thanks to [@​DePasqualeOrg](https://redirect.github.com/DePasqualeOrg) 👍 ### [`v5.0.2`](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/694b687678e603911cdf6040f4c15a639500f794...f672a5bed3e7f1f26bb4bfb678463b51ff688d63) [Compare Source](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/694b687678e603911cdf6040f4c15a639500f794...f672a5bed3e7f1f26bb4bfb678463b51ff688d63) ### [`v5.0.1`](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/v5.0.0...694b687678e603911cdf6040f4c15a639500f794) [Compare Source](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/v5.0.0...694b687678e603911cdf6040f4c15a639500f794) ### [`v5.0.0`](https://redirect.github.com/animir/node-rate-limiter-flexible/releases/tag/v5.0.0): Prisma support [Compare Source](https://redirect.github.com/animir/node-rate-limiter-flexible/compare/v4.0.1...v5.0.0) #### What's Changed 1. Add `RateLimiterPrisma`. Read about it on [Wiki](https://redirect.github.com/animir/node-rate-limiter-flexible/wiki/Prisma). Prisma supports [PostgreSQL](https://www.prisma.io/docs/orm/overview/databases/postgresql), [MySQL](https://www.prisma.io/docs/orm/overview/databases/mysql), [SQLite](https://www.prisma.io/docs/orm/overview/databases/sqlite), [MongoDB](https://www.prisma.io/docs/orm/overview/databases/mongodb) and many other databases. Thank you [@​animir](https://redirect.github.com/animir) 2. Test environment and github actions got a number of improvements. Thank you [@​mroderick](https://redirect.github.com/mroderick) 3. BREAKING CHANGES: we dropped support for `Node.js 14` and all previous versions. **Full Changelog**: https://github.com/animir/node-rate-limiter-flexible/compare/v4.0.1...v5.0.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.28%. Comparing base (9cab8d4) to head (7cf21a1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #9029 +/- ## ======================================= Coverage 66.27% 66.28% ======================================= Files 597 597 Lines 61161 61161 Branches 6299 6301 +2 ======================================= + Hits 40534 40539 +5 + Misses 20627 20622 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.