Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump express-rate-limit from 5.1.1 to 6.3.0 #383

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2022

Bumps express-rate-limit from 5.1.1 to 6.3.0.

Release notes

Sourced from express-rate-limit's releases.

v6.3.0

Changed

  • Changes the build target to es2019 so that ESBuild outputs code that can run with Node 12.
  • Changes the minimum required Node version to 12.9.0.

v6.2.1

Fixed

  • Use the default value for an option when undefined is passed to the rate limiter.

v6.2.0

Added

  • 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').

v6.0.5

Fixed

  • Use named imports for ExpressJS types so users do not need to enable the esModuleInterop flag in their Typescript compiler configuration.

v6.0.4

Fixed

  • Upload the built package as a .tgz to GitHub releases.

Changed

  • Add main and module fields to package.json. This helps tools such as ESLint that do not yet support the exports field.
  • Bumped the minimum node.js version in package-lock.json to match package.json

v6.0.3

Changed

... (truncated)

Changelog

Sourced from express-rate-limit's changelog.

6.3.0

Changed

  • Changes the build target to es2019 so that ESBuild outputs code that can run with Node 12.
  • Changes the minimum required Node version to 12.9.0.

6.2.1

Fixed

  • Use the default value for an option when undefined is passed to the rate limiter.

6.2.0

Added

  • 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.

6.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').

6.0.5

Fixed

  • Use named imports for ExpressJS types so users do not need to enable the esModuleInterop flag in their Typescript compiler configuration.

6.0.4

Fixed

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added automerge dependencies Pull requests that update a dependency file labels Apr 17, 2022
@codecov
Copy link

codecov bot commented Apr 17, 2022

Codecov Report

Merging #383 (4182af9) into master (ebc9493) will increase coverage by 54.84%.
The diff coverage is n/a.

❗ Current head 4182af9 differs from pull request most recent head 791b1df. Consider uploading reports for the commit 791b1df to get more accurate results

@@             Coverage Diff             @@
##           master     #383       +/-   ##
===========================================
+ Coverage   27.44%   82.29%   +54.84%     
===========================================
  Files          22       30        +8     
  Lines         929     1169      +240     
===========================================
+ Hits          255      962      +707     
+ Misses        674      207      -467     
Impacted Files Coverage Δ
lib/route/login/index.js 84.00% <0.00%> (ø)
lib/route/settings/index.js 98.21% <0.00%> (ø)
lib/util/password.js 83.33% <0.00%> (ø)
lib/util/username.js 100.00% <0.00%> (ø)
lib/route/logout/index.js 100.00% <0.00%> (ø)
lib/route/register/index.js 90.62% <0.00%> (ø)
lib/route/check/index.js 100.00% <0.00%> (ø)
lib/route/comment/index.js 97.05% <0.00%> (ø)
lib/middleware/rate-limit.js 63.63% <0.00%> (+3.03%) ⬆️
lib/server.js 67.21% <0.00%> (+19.67%) ⬆️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ebc9493...791b1df. Read the comment docs.

Bumps [express-rate-limit](https://github.com/nfriedly/express-rate-limit) from 5.1.1 to 6.3.0.
- [Release notes](https://github.com/nfriedly/express-rate-limit/releases)
- [Changelog](https://github.com/nfriedly/express-rate-limit/blob/master/changelog.md)
- [Commits](express-rate-limit/express-rate-limit@v5.1.1...v6.3.0)

---
updated-dependencies:
- dependency-name: express-rate-limit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/express-rate-limit-6.3.0 branch from 4182af9 to 791b1df Compare April 17, 2022 17:48
@kodiakhq kodiakhq bot merged commit 399936e into master Apr 17, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/express-rate-limit-6.3.0 branch April 17, 2022 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants