Export the MemoryStore, so it can now be imported as a named import
(import { MemoryStore } from 'express-rate-limit').
Fixed
Deprecate the onLimitReached option (this was supposed to be deprecated in
v6.0.0 itself); developers should use a custom handler function that checks if
the rate limit has been exceeded instead.
v6.1.0
Added
Added a named export rateLimit in case the default import does not work.
Fixed
Added a named export default, so Typescript CommonJS developers can default-import the library (import rateLimit from 'express-rate-limit').
Export the MemoryStore, so it can now be imported as a named import
(import { MemoryStore } from 'express-rate-limit').
Fixed
Deprecate the onLimitReached option (this was supposed to be deprecated in
v6.0.0 itself); developers should use a custom handler function that checks if
the rate limit has been exceeded instead.
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)
Bumps express-rate-limit from 6.0.5 to 6.2.0.
Release notes
Sourced from express-rate-limit's releases.
Changelog
Sourced from express-rate-limit's changelog.
Commits
a8dc1f7
6.2.098d7762
docs: update changelog for v6.2.0c2c0780
chore(deps): bump dependencies506f8ff
feat: add named export for memory store (#292)79a593f
fix: deprecateonLimitReached
, reword documentation (#288)9db7df0
docs: re-order sections of the readme7adc756
6.1.009a2293
docs: update the changelog for 6.0.1d2a5af2
fix: export as named exportsdefault
andrateLimit
(#285)bcb373c
meta: soft link all external tests to the project folder (#283)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)