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

Update dependency csrf-csrf to v3.1.0 #1471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
csrf-csrf 3.0.6 -> 3.1.0 age adoption passing confidence

Release Notes

Psifi-Solutions/csrf-csrf (csrf-csrf)

v3.1.0

Compare Source

v3.0.8

Compare Source

v3.0.7

Compare Source

  • Marked >= 3.0.7 as security supported version
Features
  • support optional stateless association of token with session (710d2f6)

Added the getSessionIdentifier parameter to the csrf-csrf configuration. By providing the getSessionIdentifier callback, generated tokens will only be valid for the original session identifier they were generated for.

For example: (req) => req.session.id

The token will now be signed with the session id included, this means a generated CSRF token will only be valid for the session it was generated for. This also means that if you rotate your sessions (which you should) you will also need to generate a new CSRF token for the session after rotating it.

3.0.6 (2024-05-17)
  • No changes, just a bump to fix broken release
3.0.5 (2024-05-15)
Bug Fixes
  • ensure types are correctly exported (a07ff81)
3.0.4 (2024-04-03)
Features

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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency csrf-csrf to v3.0.7 Update dependency csrf-csrf to v3.0.8 Sep 23, 2024
@renovate renovate bot changed the title Update dependency csrf-csrf to v3.0.8 Update dependency csrf-csrf to v3.1.0 Nov 25, 2024
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.07%. Comparing base (3ba6cab) to head (a62ca38).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1471   +/-   ##
=======================================
  Coverage   85.07%   85.07%           
=======================================
  Files          26       26           
  Lines        3664     3664           
=======================================
  Hits         3117     3117           
  Misses        547      547           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

0 participants