From 0f7c059ef7629a2e2abd6b25a6bc4c3f5cea7400 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 1 Sep 2024 13:57:16 -0700 Subject: [PATCH] Update deps to fix #241 --- backend/server/internal/database/db.go | 2 +- go.mod | 3 +-- go.sum | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/server/internal/database/db.go b/backend/server/internal/database/db.go index d33c623..e7c3a9e 100644 --- a/backend/server/internal/database/db.go +++ b/backend/server/internal/database/db.go @@ -10,7 +10,7 @@ import ( "github.com/ddworken/hishtory/shared" - "github.com/jackc/pgx/v4/stdlib" + "github.com/jackc/pgx/v5/stdlib" _ "github.com/lib/pq" "github.com/samber/lo" sqltrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/database/sql" diff --git a/go.mod b/go.mod index bcac89b..4b2882b 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,6 @@ require ( github.com/go-test/deep v1.1.1 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 - github.com/jackc/pgx/v4 v4.18.2 github.com/lib/pq v1.10.9 github.com/mattn/go-runewidth v0.0.16 github.com/muesli/termenv v0.15.2 @@ -29,7 +28,7 @@ require ( golang.org/x/term v0.23.0 gopkg.in/DataDog/dd-trace-go.v1 v1.67.0 gopkg.in/natefinch/lumberjack.v2 v2.2.1 - gorm.io/driver/postgres v1.4.6 + gorm.io/driver/postgres v1.5.9 gorm.io/driver/sqlite v1.5.6 gorm.io/gorm v1.25.11 gotest.tools/gotestsum v1.11.0 diff --git a/go.sum b/go.sum index 04ba866..2499c38 100644 --- a/go.sum +++ b/go.sum @@ -1976,6 +1976,8 @@ gorm.io/driver/postgres v1.3.1 h1:Pyv+gg1Gq1IgsLYytj/S2k7ebII3CzEdpqQkPOdH24g= gorm.io/driver/postgres v1.3.1/go.mod h1:WwvWOuR9unCLpGWCL6Y3JOeBWvbKi6JLhayiVclSZZU= gorm.io/driver/postgres v1.4.6 h1:1FPESNXqIKG5JmraaH2bfCVlMQ7paLoCreFxDtqzwdc= gorm.io/driver/postgres v1.4.6/go.mod h1:UJChCNLFKeBqQRE+HrkFUbKbq9idPXmTOk2u4Wok8S4= +gorm.io/driver/postgres v1.5.9 h1:DkegyItji119OlcaLjqN11kHoUgZ/j13E0jkJZgD6A8= +gorm.io/driver/postgres v1.5.9/go.mod h1:DX3GReXH+3FPWGrrgffdvCk3DQ1dwDPdmbenSkweRGI= gorm.io/driver/sqlite v1.3.6 h1:Fi8xNYCUplOqWiPa3/GuCeowRNBRGTf62DEmhMDHeQQ= gorm.io/driver/sqlite v1.3.6/go.mod h1:Sg1/pvnKtbQ7jLXxfZa+jSHvoX8hoZA8cn4xllOMTgE= gorm.io/driver/sqlite v1.5.6 h1:fO/X46qn5NUEEOZtnjJRWRzZMe8nqJiQ9E+0hi+hKQE=