Skip to content

Commit

Permalink
upgrade jwt package to 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
avisab-cx committed Nov 10, 2024
1 parent b50326b commit 692d420
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/MakeNowJust/heredoc v1.0.0
github.com/bouk/monkey v1.0.0
github.com/checkmarxDev/gpt-wrapper v0.0.0-20230721160222-85da2fd1cc4c
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/golang-jwt/jwt/v5 v5.0.0
github.com/gomarkdown/markdown v0.0.0-20241102151059-6bc1ffdc6e8c
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/google/uuid v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5x
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE=
github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
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-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
Expand Down
2 changes: 1 addition & 1 deletion internal/wrappers/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

applicationErrors "github.com/checkmarx/ast-cli/internal/constants/errors"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt/v5"

Check failure on line 18 in internal/wrappers/client.go

View workflow job for this annotation

GitHub Actions / lint

import 'github.com/golang-jwt/jwt/v5' is not allowed from list 'main' (depguard)

Check failure on line 18 in internal/wrappers/client.go

View workflow job for this annotation

GitHub Actions / lint

import 'github.com/golang-jwt/jwt/v5' is not allowed from list 'main' (depguard)

"github.com/checkmarx/ast-cli/internal/logger"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion internal/wrappers/codebashing-http.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

commonParams "github.com/checkmarx/ast-cli/internal/params"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt/v5"

Check failure on line 11 in internal/wrappers/codebashing-http.go

View workflow job for this annotation

GitHub Actions / lint

import 'github.com/golang-jwt/jwt/v5' is not allowed from list 'main' (depguard)

Check failure on line 11 in internal/wrappers/codebashing-http.go

View workflow job for this annotation

GitHub Actions / lint

import 'github.com/golang-jwt/jwt/v5' is not allowed from list 'main' (depguard)
"github.com/pkg/errors"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/wrappers/jwt-helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

commonParams "github.com/checkmarx/ast-cli/internal/params"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt/v5"

Check failure on line 8 in internal/wrappers/jwt-helper.go

View workflow job for this annotation

GitHub Actions / lint

import 'github.com/golang-jwt/jwt/v5' is not allowed from list 'main' (depguard)

Check failure on line 8 in internal/wrappers/jwt-helper.go

View workflow job for this annotation

GitHub Actions / lint

import 'github.com/golang-jwt/jwt/v5' is not allowed from list 'main' (depguard)
"github.com/pkg/errors"
)

Expand Down

0 comments on commit 692d420

Please sign in to comment.