You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better Typescript support (the library was rewritten in Typescript).
Export the package as both ESM and CJS.
Publish the built package (.tgz file) on GitHub releases as well as the npm
registry.
Issue and PR templates.
A contributing guide.
Changed
Rename the draft_polli_ratelimit_headers option to standardHeaders.
Rename the headers option to legacyHeaders.
Retry-After header is now sent if either legacyHeaders or
standardHeaders is set.
Allow keyGenerator to be an async function/return a promise.
Change the way custom stores are defined.
Add the init method for stores to set themselves up using options passed
to the middleware.
Rename the incr method to increment.
Allow the increment, decrement, resetKey and resetAll methods to
return a promise.
Old stores will automatically be promisified and used.
The package can now only be used with NodeJS version 12.9.0 or greater.
The onLimitReached configuration option is now deprecated. Replace it with a
custom handler that checks the number of hits.
Removed
Remove the deprecated limiter.resetIp method (use the limiter.resetKey
method instead).
Remove the deprecated options delayMs, delayAfter (the delay functionality
was moved to the
express-slow-down package)
and global (use a key generator that returns a constant value).
Better Typescript support (the library was rewritten in Typescript).
Export the package as both ESM and CJS.
Publish the built package (.tgz file) on GitHub releases as well as the npm
registry.
Issue and PR templates.
A contributing guide.
Changed
Rename the draft_polli_ratelimit_headers option to standardHeaders.
Rename the headers option to legacyHeaders.
Retry-After header is now sent if either legacyHeaders or
standardHeaders is set.
Allow keyGenerator to be an async function/return a promise.
Change the way custom stores are defined.
Add the init method for stores to set themselves up using options passed
to the middleware.
Rename the incr method to increment.
Allow the increment, decrement, resetKey and resetAll methods to
return a promise.
Old stores will automatically be promisified and used.
The package can now only be used with NodeJS version 12.9.0 or greater.
The onLimitReached configuration option is now deprecated. Replace it with a
custom handler that checks the number of hits.
Removed
Remove the deprecated limiter.resetIp method (use the limiter.resetKey
method instead).
Remove the deprecated options delayMs, delayAfter (the delay functionality
was moved to the
express-slow-down package)
and global (use a key generator that returns a constant value).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency file
0 participants
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.
Bumps express-rate-limit from 5.3.0 to 6.0.1.
Release notes
Sourced from express-rate-limit's releases.
Changelog
Sourced from express-rate-limit's changelog.
... (truncated)
Commits
b160f006.0.176a4213fix: allow cjs modules to use this packagee9a06dcdocs: addkeyGeneratoris allowed to be async note to changelogf6014e4typo fix81346badisable flakey test6f90be2Remove docs for deprecated onLimitReached method00f38ffCall out onLimitReached deprecation4786948Merge pull request #263 from gamemaker1/opiniated-improvements4d64399style: use named import forprocess.platformb576907test: disable server hang test on macosDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)