Skip to content

Commit

Permalink
chore(deps): remove github.com/xi2/xz
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Nov 18, 2024
1 parent 6b5e606 commit 411974a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deb/deb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/goreleaser/nfpm/v2/internal/sign"
"github.com/klauspost/compress/zstd"
"github.com/stretchr/testify/require"
"github.com/xi2/xz"
"github.com/ulikunitz/xz"
)

// nolint: gochecknoglobals
Expand Down Expand Up @@ -1325,7 +1325,7 @@ func inflate(tb testing.TB, nameOrType string, data []byte) []byte {
inflateReadCloser, err = gzip.NewReader(dataReader)
require.NoError(tb, err)
case "xz":
r, err := xz.NewReader(dataReader, 0)
r, err := xz.NewReader(dataReader)
require.NoError(tb, err)
inflateReadCloser = io.NopCloser(r)
case "zst":
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ require (
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
github.com/ulikunitz/xz v0.5.12
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb
gopkg.in/yaml.v3 v3.0.1
)
Expand Down Expand Up @@ -68,6 +67,7 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/mod v0.14.0 // indirect
Expand Down

0 comments on commit 411974a

Please sign in to comment.