Skip to content

Commit 8724d50

Browse files
authored
Remove duplicate github.com/golang-jwt/jwt dependency (#3930)
Our codebase currently uses v3, v4, and v5 versions of the `github.com/golang-jwt/jwt` dependency. To maintain consistency, we should standardize on using only the latest v5 version. Signed-off-by: Eng Zer Jun <[email protected]>
1 parent 6f1e918 commit 8724d50

File tree

5 files changed

+11
-55
lines changed

5 files changed

+11
-55
lines changed

go.mod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ require (
5353
github.com/go-redis/redis v6.15.9+incompatible
5454
github.com/go-sql-driver/mysql v1.8.1
5555
github.com/gobwas/glob v0.2.3
56-
github.com/golang-jwt/jwt v3.2.2+incompatible
57-
github.com/golang-jwt/jwt/v4 v4.5.1
5856
github.com/golang-jwt/jwt/v5 v5.2.1
5957
github.com/google/go-cmp v0.6.0
6058
github.com/google/go-containerregistry v0.20.3
@@ -133,6 +131,7 @@ require (
133131
filippo.io/edwards25519 v1.1.0 // indirect
134132
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
135133
github.com/99designs/keyring v1.2.2 // indirect
134+
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
136135
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
137136
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
138137
github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2 // indirect
@@ -165,7 +164,6 @@ require (
165164
github.com/charmbracelet/x/windows v0.1.0 // indirect
166165
github.com/cloudflare/circl v1.3.8 // indirect
167166
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
168-
github.com/containerd/containerd v1.7.18 // indirect
169167
github.com/containerd/log v0.1.0 // indirect
170168
github.com/containerd/platforms v0.2.1 // indirect
171169
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
@@ -193,6 +191,7 @@ require (
193191
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
194192
github.com/felixge/httpsnoop v1.0.4 // indirect
195193
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
194+
github.com/fsnotify/fsnotify v1.6.0 // indirect
196195
github.com/go-asn1-ber/asn1-ber v1.5.7 // indirect
197196
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
198197
github.com/go-git/go-billy/v5 v5.6.2 // indirect
@@ -203,6 +202,7 @@ require (
203202
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
204203
github.com/gofrs/flock v0.12.1 // indirect
205204
github.com/gogo/protobuf v1.3.2 // indirect
205+
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
206206
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
207207
github.com/golang-sql/sqlexp v0.1.0 // indirect
208208
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
@@ -300,6 +300,7 @@ require (
300300
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect
301301
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
302302
go.opentelemetry.io/otel v1.33.0 // indirect
303+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
303304
go.opentelemetry.io/otel/metric v1.33.0 // indirect
304305
go.opentelemetry.io/otel/sdk v1.33.0 // indirect
305306
go.opentelemetry.io/otel/sdk/metric v1.29.0 // indirect

0 commit comments

Comments
 (0)