⬆️ Bump github.com/golang-jwt/jwt/v5 from 5.0.0 to 5.1.0 in /src (#4627)

Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.0.0 to 5.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golang-jwt/jwt/releases">github.com/golang-jwt/jwt/v5's releases</a>.</em></p>
<blockquote>
<h2>v5.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Using jwt's native <code>ErrInvalidType</code> instead of <code>json.UnsupportedTypeError</code> by <a href="https://github.com/oxisto"><code>@​oxisto</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/316">golang-jwt/jwt#316</a></li>
<li>Fix typos in comments and test names by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/317">golang-jwt/jwt#317</a></li>
<li>Format: add whitespaces, remove empty lines by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/319">golang-jwt/jwt#319</a></li>
<li>Refactor example: use io.ReadAll instead of io.Copy by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/320">golang-jwt/jwt#320</a></li>
<li>Refactor code by using switch instead of if-else by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/318">golang-jwt/jwt#318</a></li>
<li>A quick way to validate token string by <a href="https://github.com/dcalsky"><code>@​dcalsky</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/302">golang-jwt/jwt#302</a></li>
<li>Refactor: remove unnecessary []byte conversion to string by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/330">golang-jwt/jwt#330</a></li>
<li>Refactor: compare strings with strings.EqualFold by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/329">golang-jwt/jwt#329</a></li>
<li>Avoid use of json.NewDecoder by <a href="https://github.com/craigpastro"><code>@​craigpastro</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/313">golang-jwt/jwt#313</a></li>
<li>Update ParseUnverified godoc by <a href="https://github.com/duhaesbaert"><code>@​duhaesbaert</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/341">golang-jwt/jwt#341</a></li>
<li>Update ci workflows (add go1.21) by <a href="https://github.com/mfridman"><code>@​mfridman</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/345">golang-jwt/jwt#345</a></li>
<li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/346">golang-jwt/jwt#346</a></li>
<li>Key rotation with VerificationKeySet by <a href="https://github.com/mfridman"><code>@​mfridman</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/344">golang-jwt/jwt#344</a></li>
<li>Add explicit ClaimsValidator implementation check for custom claims by <a href="https://github.com/epelc"><code>@​epelc</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/343">golang-jwt/jwt#343</a></li>
<li>feat: allow making exp claim required by <a href="https://github.com/tareksha"><code>@​tareksha</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/351">golang-jwt/jwt#351</a></li>
<li>Add error handling to examples by <a href="https://github.com/craigpastro"><code>@​craigpastro</code></a> in <a href="https://redirect.github.com/golang-jwt/jwt/pull/312">golang-jwt/jwt#312</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/alexandear"><code>@​alexandear</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/317">golang-jwt/jwt#317</a></li>
<li><a href="https://github.com/dcalsky"><code>@​dcalsky</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/302">golang-jwt/jwt#302</a></li>
<li><a href="https://github.com/craigpastro"><code>@​craigpastro</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/313">golang-jwt/jwt#313</a></li>
<li><a href="https://github.com/duhaesbaert"><code>@​duhaesbaert</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/341">golang-jwt/jwt#341</a></li>
<li><a href="https://github.com/epelc"><code>@​epelc</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/343">golang-jwt/jwt#343</a></li>
<li><a href="https://github.com/tareksha"><code>@​tareksha</code></a> made their first contribution in <a href="https://redirect.github.com/golang-jwt/jwt/pull/351">golang-jwt/jwt#351</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0">https://github.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c776b83291"><code>c776b83</code></a> Add error handling to examples (<a href="https://redirect.github.com/golang-jwt/jwt/issues/312">#312</a>)</li>
<li><a href="908d356713"><code>908d356</code></a> feat: allow making exp claim required (<a href="https://redirect.github.com/golang-jwt/jwt/issues/351">#351</a>)</li>
<li><a href="0cb4fa15e3"><code>0cb4fa1</code></a> docs: fix comment in KeyFunc</li>
<li><a href="c80de55abe"><code>c80de55</code></a> Add explicit ClaimsValidator implementation check for custom claims (<a href="https://redirect.github.com/golang-jwt/jwt/issues/343">#343</a>)</li>
<li><a href="1e76606719"><code>1e76606</code></a> Key rotation with VerificationKeySet (<a href="https://redirect.github.com/golang-jwt/jwt/issues/344">#344</a>)</li>
<li><a href="1691aa9e6f"><code>1691aa9</code></a> Bump actions/checkout from 3 to 4 (<a href="https://redirect.github.com/golang-jwt/jwt/issues/346">#346</a>)</li>
<li><a href="27ff2f3868"><code>27ff2f3</code></a> Update ci workflows (add go1.21) (<a href="https://redirect.github.com/golang-jwt/jwt/issues/345">#345</a>)</li>
<li><a href="6879d2cf1f"><code>6879d2c</code></a> Update ParseUnverified godoc (<a href="https://redirect.github.com/golang-jwt/jwt/issues/341">#341</a>)</li>
<li><a href="78e25d6b09"><code>78e25d6</code></a> Avoid use of json.NewDecoder (<a href="https://redirect.github.com/golang-jwt/jwt/issues/313">#313</a>)</li>
<li><a href="8aa5d6cef8"><code>8aa5d6c</code></a> Refactor to use strings.EqualFold (<a href="https://redirect.github.com/golang-jwt/jwt/issues/329">#329</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golang-jwt/jwt/v5&package-manager=go_modules&previous-version=5.0.0&new-version=5.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)


</details>
This commit is contained in:
dependabot[bot] 2023-11-13 21:17:35 +00:00 committed by GitHub
parent 664711777e
commit 4df0d28ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ require (
github.com/armon/go-metrics v0.4.1 github.com/armon/go-metrics v0.4.1
github.com/aws/aws-xray-sdk-go v1.8.2 github.com/aws/aws-xray-sdk-go v1.8.2
github.com/cenkalti/backoff/v4 v4.2.1 github.com/cenkalti/backoff/v4 v4.2.1
github.com/golang-jwt/jwt/v5 v5.0.0 github.com/golang-jwt/jwt/v5 v5.1.0
github.com/google/uuid v1.4.0 github.com/google/uuid v1.4.0
github.com/h2non/gock v1.2.0 github.com/h2non/gock v1.2.0
github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056 github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056

View File

@ -141,8 +141,8 @@ github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14j
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg=
github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= github.com/golang-jwt/jwt/v5 v5.1.0 h1:UGKbA/IPjtS6zLcdB7i5TyACMgSbOTiR8qzXgw8HWQU=
github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang-jwt/jwt/v5 v5.1.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=