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

fix(deps): update dependency express-rate-limit to v6 #200

Merged
merged 1 commit into from
Oct 8, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 24, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
express-rate-limit 5.5.1 -> 6.6.0 age adoption passing confidence

Release Notes

nfriedly/express-rate-limit

v6.6.0

Compare Source

Added
  • Added shutdown method to the Store interface and the MemoryStore.

v6.5.2

Compare Source

Fixed
  • Fixed an issue with missing types in ESM monorepos.

v6.5.1

Compare Source

Added
  • The message option can now be a (sync/asynx) function that returns a value
    (#​311)
Changed
  • Updated all dependencies

Note: 6.5.0 was not released due to CI automation issues.

v6.4.0

Compare Source

Added
  • Adds Express 5 (5.0.0-beta.1) as a supported peer dependency (#​304)
Changed
  • Tests are now run on Node 12, 14, 16 and 18 on CI (#​305)
  • Updated all development dependencies (#​306)

v6.3.0

Compare Source

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

Compare Source

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

v6.2.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Changed

v6.0.2

Compare Source

Fixed
  • Ensure CommonJS projects can import the module.
Added
  • Add additional tests that test:
    • importing the library in js-cjs, js-esm, ts-cjs, ts-esm
      environments.
    • usage of the library with external stores (redis, mongo, memcached,
      precise).
Changed
  • Use esbuild to generate ESM and CJS output.
    This reduces the size of the built package from 138 kb to 13kb and build time
    to 4 ms! 🚀
  • Use dts-bundle-generator
    to generate a single Typescript declaration file.

v6.0.1

Compare Source

Fixed
  • Ensure CommonJS projects can import the module.

v6.0.0

Compare Source

Added
  • express 4.x as a peer dependency.
  • 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).

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 24, 2021
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch 3 times, most recently from 2891c1d to 636be3f Compare December 30, 2021 18:11
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch 2 times, most recently from bc6239f to ff5ce8c Compare January 6, 2022 14:28
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch 3 times, most recently from 51dc9a3 to 080edb3 Compare March 3, 2022 02:36
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch from 080edb3 to 119eb1c Compare April 24, 2022 16:58
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch from 119eb1c to 22aaaec Compare July 23, 2022 18:39
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch from 22aaaec to afd86e6 Compare August 24, 2022 20:54
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch from afd86e6 to 890f96c Compare September 4, 2022 21:33
@renovate renovate bot force-pushed the renovate_express-rate-limit-6.x branch from 890f96c to 6f92cd0 Compare October 8, 2022 15:49
@alxhotel alxhotel merged commit 34965bf into master Oct 8, 2022
@alxhotel alxhotel deleted the renovate_express-rate-limit-6.x branch October 8, 2022 15:51
alxhotel added a commit to OpenWebTorrent/mirror.openwebtorrent.com that referenced this pull request Oct 8, 2022
* fix(deps): update dependency semver to v7.3.8 (webtorrent#248)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): bump moment from 2.29.3 to 2.29.4 (webtorrent#242)

Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.29.3...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): update dependency rollbar to v2.25.2 (webtorrent#240)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): bump shell-quote from 1.7.2 to 1.7.3 (webtorrent#231)

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): update dependency express to v4.18.1 (webtorrent#227)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): bump semver-regex from 3.1.3 to 3.1.4 (webtorrent#230)

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits/v3.1.4)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): update dependency moment to v2.29.4 (webtorrent#239)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency moment to 2.29.4 [security] (webtorrent#243)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency body-parser to v1.20.1 (webtorrent#249)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency express-rate-limit to v6 (webtorrent#200)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): bump json-schema from 0.2.3 to 0.4.0 (webtorrent#246)

Bumps [json-schema](https://github.com/kriszyp/json-schema) from 0.2.3 to 0.4.0.
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](kriszyp/json-schema@v0.2.3...v0.4.0)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): update dependency stylus to v0.59.0 (webtorrent#190)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency husky to v8 (webtorrent#229)

* chore(deps): update dependency husky to v8

* Fix husky for v8

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex <alxmorais8@msn.com>

* Update badge (webtorrent#251)

Update README.md

* fix(deps): update dependency highlight.js to v11 (webtorrent#176)

* fix(deps): update dependency highlight.js to v11

* Fix styles + fix deprecated call

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex <alxmorais8@msn.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex <alxmorais8@msn.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant