Skip to content

Commit

Permalink
Bump github.com/rogpeppe/go-internal from 1.12.0 to 1.13.1
Browse files Browse the repository at this point in the history
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] <[email protected]>
  • Loading branch information
ericcornelissen and dependabot[bot] committed Sep 24, 2024
1 parent cd3ef0d commit be37f4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion internal/checksum/checksum.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit be37f4d

Please sign in to comment.