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

build(deps): bump fast-jwt from 2.2.3 to 3.0.0 #292

Merged
merged 1 commit into from
May 22, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2023

Bumps fast-jwt from 2.2.3 to 3.0.0.

Release notes

Sourced from fast-jwt's releases.

v3.0.0

Breaking changes

This change will only affect users who are passing a callback in the key property of createVerifier or createSigner.

Previously the first parameter would be only the header of the JWT:

createVerifier({
  key: async function (header) {
    console.log(header.alg, header.kid)
    return "key"
  },
})

Now the first parameter is the whole JWT object (Except for createSigner which doesn't have the signature option).

If your code was using the header before you can just destructure it from the object and it will maintain the same behavior:

createVerifier({
  key: async function ({ header, payload, signature }) {
    console.log(header.alg, header.kid)
    return "key"
  },
})

What's Changed

Full Changelog: nearform/fast-jwt@v2.2.3...v3.0.0

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)

Bumps [fast-jwt](https://github.com/nearform/fast-jwt) from 2.2.3 to 3.0.0.
- [Release notes](https://github.com/nearform/fast-jwt/releases)
- [Changelog](https://github.com/nearform/fast-jwt/blob/master/CHANGELOG.md)
- [Commits](nearform/fast-jwt@v2.2.3...v3.0.0)

---
updated-dependencies:
- dependency-name: fast-jwt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 22, 2023
@github-actions github-actions bot merged commit 01feea6 into master May 22, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/fast-jwt-3.0.0 branch May 22, 2023 22:01
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants