Skip to content

Commit 18813e2

Browse files
authored
fix(deps): update module github.com/lestrrat-go/jwx/v2 to v3
1 parent fca870f commit 18813e2

File tree

7 files changed

+19
-22
lines changed

7 files changed

+19
-22
lines changed

descope/internal/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/descope/go-sdk/descope/internal/utils"
1414
"github.com/descope/go-sdk/descope/logger"
1515
"github.com/descope/go-sdk/descope/sdk"
16-
"github.com/lestrrat-go/jwx/v2/jwt"
16+
"github.com/lestrrat-go/jwx/v3/jwt"
1717
"golang.org/x/exp/slices"
1818
)
1919

descope/internal/auth/auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/descope/go-sdk/descope/internal/utils"
1717
"github.com/descope/go-sdk/descope/tests/helpers"
1818
"github.com/descope/go-sdk/descope/tests/mocks"
19-
"github.com/lestrrat-go/jwx/v2/jwt"
19+
"github.com/lestrrat-go/jwx/v3/jwt"
2020
"github.com/stretchr/testify/assert"
2121
"github.com/stretchr/testify/require"
2222
)

descope/internal/auth/jwt.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"github.com/descope/go-sdk/descope/api"
1010
"github.com/descope/go-sdk/descope/internal/utils"
1111
"github.com/descope/go-sdk/descope/logger"
12-
"github.com/lestrrat-go/jwx/v2/jwa"
13-
"github.com/lestrrat-go/jwx/v2/jwk"
14-
"github.com/lestrrat-go/jwx/v2/jws"
12+
"github.com/lestrrat-go/jwx/v3/jwa"
13+
"github.com/lestrrat-go/jwx/v3/jwk"
14+
"github.com/lestrrat-go/jwx/v3/jws"
1515
)
1616

1717
type Provider struct {

descope/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"time"
66

77
"github.com/descope/go-sdk/descope/logger"
8-
"github.com/lestrrat-go/jwx/v2/jwt"
8+
"github.com/lestrrat-go/jwx/v3/jwt"
99
"golang.org/x/exp/maps"
1010
)
1111

descope/types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/lestrrat-go/jwx/v2/jwt"
8+
"github.com/lestrrat-go/jwx/v3/jwt"
99
"github.com/stretchr/testify/assert"
1010
)
1111

go.mod

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.23.0
44

55
require (
66
github.com/google/uuid v1.6.0
7-
github.com/lestrrat-go/jwx/v2 v2.1.6
7+
github.com/lestrrat-go/jwx/v3 v3.0.3
88
github.com/stretchr/testify v1.10.0
99
golang.org/x/exp v0.0.0-20220921023135-46d9e7742f1e
1010
)
@@ -15,12 +15,11 @@ require (
1515
github.com/goccy/go-json v0.10.4 // indirect
1616
github.com/lestrrat-go/blackmagic v1.0.3 // indirect
1717
github.com/lestrrat-go/httpcc v1.0.1 // indirect
18-
github.com/lestrrat-go/httprc v1.0.6 // indirect
19-
github.com/lestrrat-go/iter v1.0.2 // indirect
18+
github.com/lestrrat-go/httprc/v3 v3.0.0 // indirect
2019
github.com/lestrrat-go/option v1.0.1 // indirect
2120
github.com/pmezard/go-difflib v1.0.0 // indirect
2221
github.com/segmentio/asm v1.2.0 // indirect
23-
golang.org/x/crypto v0.35.0 // indirect
24-
golang.org/x/sys v0.31.0 // indirect
22+
golang.org/x/crypto v0.38.0 // indirect
23+
golang.org/x/sys v0.33.0 // indirect
2524
gopkg.in/yaml.v3 v3.0.1 // indirect
2625
)

go.sum

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ github.com/lestrrat-go/blackmagic v1.0.3 h1:94HXkVLxkZO9vJI/w2u1T0DAoprShFd13xtn
1111
github.com/lestrrat-go/blackmagic v1.0.3/go.mod h1:6AWFyKNNj0zEXQYfTMPfZrAXUWUfTIZ5ECEUEJaijtw=
1212
github.com/lestrrat-go/httpcc v1.0.1 h1:ydWCStUeJLkpYyjLDHihupbn2tYmZ7m22BGkcvZZrIE=
1313
github.com/lestrrat-go/httpcc v1.0.1/go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E=
14-
github.com/lestrrat-go/httprc v1.0.6 h1:qgmgIRhpvBqexMJjA/PmwSvhNk679oqD1RbovdCGW8k=
15-
github.com/lestrrat-go/httprc v1.0.6/go.mod h1:mwwz3JMTPBjHUkkDv/IGJ39aALInZLrhBp0X7KGUZlo=
16-
github.com/lestrrat-go/iter v1.0.2 h1:gMXo1q4c2pHmC3dn8LzRhJfP1ceCbgSiT9lUydIzltI=
17-
github.com/lestrrat-go/iter v1.0.2/go.mod h1:Momfcq3AnRlRjI5b5O8/G5/BvpzrhoFTZcn06fEOPt4=
18-
github.com/lestrrat-go/jwx/v2 v2.1.6 h1:hxM1gfDILk/l5ylers6BX/Eq1m/pnxe9NBwW6lVfecA=
19-
github.com/lestrrat-go/jwx/v2 v2.1.6/go.mod h1:Y722kU5r/8mV7fYDifjug0r8FK8mZdw0K0GpJw/l8pU=
14+
github.com/lestrrat-go/httprc/v3 v3.0.0 h1:nZUx/zFg5uc2rhlu1L1DidGr5Sj02JbXvGSpnY4LMrc=
15+
github.com/lestrrat-go/httprc/v3 v3.0.0/go.mod h1:k2U1QIiyVqAKtkffbg+cUmsyiPGQsb9aAfNQiNFuQ9Q=
16+
github.com/lestrrat-go/jwx/v3 v3.0.3 h1:XTN07Guh/v6fYbuW61/cYl2IME5J/RlYJ1kOhBx1Lgk=
17+
github.com/lestrrat-go/jwx/v3 v3.0.3/go.mod h1:iZR1pkgz6Xu/IIfEGgZDvCE9Tq0BvgWRHWiuk10wmDA=
2018
github.com/lestrrat-go/option v1.0.1 h1:oAzP2fvZGQKWkvHa1/SAcFolBEca1oN+mQ7eooNBEYU=
2119
github.com/lestrrat-go/option v1.0.1/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I=
2220
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -28,12 +26,12 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
2826
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
2927
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
3028
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
31-
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
32-
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
29+
golang.org/x/crypto v0.38.0 h1:jt+WWG8IZlBnVbomuhg2Mdq0+BBQaHbtqHEFEigjUV8=
30+
golang.org/x/crypto v0.38.0/go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw=
3331
golang.org/x/exp v0.0.0-20220921023135-46d9e7742f1e h1:Ctm9yurWsg7aWwIpH9Bnap/IdSVxixymIb3MhiMEQQA=
3432
golang.org/x/exp v0.0.0-20220921023135-46d9e7742f1e/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
35-
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
36-
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
33+
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
34+
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
3735
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
3836
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
3937
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)