From be37f4daf934a190f7ae7b848842a7cca3140aef Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Tue, 24 Sep 2024 09:21:13 +0200 Subject: [PATCH] Bump github.com/rogpeppe/go-internal from 1.12.0 to 1.13.1 Upgrade github.com/rogpeppe/go-internal to the latest version. This deprecates github.com/rogpeppe/go-internal/dirhash in favor of golang.org/x/mod/sumdb/dirhash (as pointed out by staticcheck) so its use is replaced here too. Co-authored-by: dependabot[bot] --- go.mod | 4 ++-- go.sum | 4 ++-- internal/checksum/checksum.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 672d0e7..c5a0006 100644 --- a/go.mod +++ b/go.mod @@ -22,12 +22,13 @@ require ( github.com/nishanths/exhaustive v0.12.0 github.com/polyfloyd/go-errorlint v1.5.0 github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e - github.com/rogpeppe/go-internal v1.12.0 + github.com/rogpeppe/go-internal v1.13.1 github.com/tetafro/godot v1.4.16 github.com/tomarrell/wrapcheck/v2 v2.9.0 github.com/ultraware/whitespace v0.1.0 gitlab.com/bosi/decorder v0.4.1 go.uber.org/nilaway v0.0.0-20240216175439-fb8b98c43554 + golang.org/x/mod v0.21.0 golang.org/x/tools v0.25.0 golang.org/x/vuln v1.1.1 gopkg.in/yaml.v2 v2.4.0 @@ -97,7 +98,6 @@ require ( golang.org/x/crypto v0.27.0 // indirect golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect golang.org/x/exp/typeparams v0.0.0-20240213143201-ec583247a57a // indirect - golang.org/x/mod v0.21.0 // indirect golang.org/x/net v0.29.0 // indirect golang.org/x/sync v0.8.0 // indirect golang.org/x/sys v0.25.0 // indirect diff --git a/go.sum b/go.sum index 5104f7f..a990a72 100644 --- a/go.sum +++ b/go.sum @@ -177,8 +177,8 @@ github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4l github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e h1:eTWZyPUnHcuGRDiryS/l2I7FfKjbU3IBx3IjqHPxuKU= github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e/go.mod h1:80FQABjoFzZ2M5uEa6FUaJYEmqU2UOKojlFVak1UAwI= -github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= +github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= +github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= diff --git a/internal/checksum/checksum.go b/internal/checksum/checksum.go index aa8c940..40c088f 100644 --- a/internal/checksum/checksum.go +++ b/internal/checksum/checksum.go @@ -17,7 +17,7 @@ package checksum import ( "fmt" - "github.com/rogpeppe/go-internal/dirhash" + "golang.org/x/mod/sumdb/dirhash" ) // Algo represents a cryptographic hash algorithm.