fix(deps): update dependency express-rate-limit to v8 #1365
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.2.0->^8.0.0Release Notes
express-rate-limit/express-rate-limit (express-rate-limit)
v8.2.1Compare Source
You can view the changelog here.
v8.2.0Compare Source
You can view the changelog here.
v8.1.0Compare Source
You can view the changelog here.
v8.0.1Compare Source
You can view the changelog here.
v8.0.0Compare Source
You can view the changelog here.
v7.5.1Compare Source
Changed
standardHeadersfromstringto just the supported values via a TypeScriptconstassertion (#506)You can view the full changelog here.
v7.5.0Compare Source
Added
RateLimitheader according to the eighth draft of the IETF RateLimit header specificiation. Enable by settingstandardHeaders: 'draft-8'.identifieroption, used as the name for the quota policy in thedraft-8headers.headersDraftVersionvalidation check to identifies cases where an unsupported version string is passed to thestandardHeadersoption.You can view the full changelog here.
v7.4.1Compare Source
Fixed
passOnStoreErrorreturn after callingnext()rather than continuing execution.You can view the full changelog here.
v7.4.0Compare Source
Added
passOnStoreErroroption to allow a way to "fail open" in the event of a backend error.You can view the full changelog here.
v7.3.1Compare Source
Fixed
creationStackvalidation check when a storewith
localKeysset to false is used.creationStackcheck.You can view the full changelog here.
v7.3.0Compare Source
Added
unsharedStorevalidation check that identifies cases where asingle store instance is shared across multiple limiters.
You can view the full changelog here.
v7.2.0Compare Source
Added
creationStackvalidation check that looks for instances createdin a request handler.
You can view the full changelog here.
v7.1.5Compare Source
Fixed
asyncrequestWasSuccessfulmethods to work as documented.You can view the full changelog here.
v7.1.4Compare Source
Fixed
Bun.
You can view the full changelog here.
v7.1.3Compare Source
Changed
#415)
You can view the full changelog here.
v7.1.2Compare Source
Changed
documentation website.
You can view the full changelog here.
v7.1.1Compare Source
Misc
You can view the full changelog here.
v7.1.0Compare Source
Changed
getKeymethod is now always defined. If the store does not have therequired
getmethod,getKeywill throw an error explaining this.You can view the full changelog here.
v7.0.2Compare Source
Added
cluster-memory-storeto the readme and made a couple of other minorclarifications.
You can view the full changelog here.
v7.0.1Compare Source
Added
rate-limit-postgresqlto thestoreslist in the readme.You can view the full changelog here.
v7.0.0Compare Source
Breaking
maxis set to 0:max: 0was treated as a 'disable' flag and would allow all requests through.req.rateLimit.currenttoreq.rateLimit.used.currentis now a hidden getter that will return theusedvalue, but it will not appear when iterating over the keys or callingJSON.stringify().express-rate-limitnow targetses2022in TypeScript/ESBuild.dts-bundle-generatorfrom v7 to v8.Deprecated
draft_polli_ratelimit_headersoption (it was deprecated in v6).standardHeaders: 'draft-6'instead.onLimitReachedoption (it was deprecated in v6).handleroption.Changed
MemoryStorenow uses precise, per-user reset times rather than a global window that resets all users at once.limitconfiguration option is now prefered tomax.maxis still supported. The change was made to better align with terminology used in the IETF standard drafts.Added
validateconfig option can now be an object with keys to enable or disable specific validation checks. For more information, see this.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.