Skip to content

Commit d144ad4

Browse files
authored
chore(deps): remove github.com/xi2/xz (#883)
1 parent 6b5e606 commit d144ad4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deb/deb_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/goreleaser/nfpm/v2/internal/sign"
2828
"github.com/klauspost/compress/zstd"
2929
"github.com/stretchr/testify/require"
30-
"github.com/xi2/xz"
30+
"github.com/ulikunitz/xz"
3131
)
3232

3333
// nolint: gochecknoglobals
@@ -1325,7 +1325,7 @@ func inflate(tb testing.TB, nameOrType string, data []byte) []byte {
13251325
inflateReadCloser, err = gzip.NewReader(dataReader)
13261326
require.NoError(tb, err)
13271327
case "xz":
1328-
r, err := xz.NewReader(dataReader, 0)
1328+
r, err := xz.NewReader(dataReader)
13291329
require.NoError(tb, err)
13301330
inflateReadCloser = io.NopCloser(r)
13311331
case "zst":

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ require (
2222
github.com/spf13/cobra v1.8.1
2323
github.com/stretchr/testify v1.9.0
2424
github.com/ulikunitz/xz v0.5.12
25-
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8
2625
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb
2726
gopkg.in/yaml.v3 v3.0.1
2827
)
@@ -68,6 +67,7 @@ require (
6867
github.com/spf13/pflag v1.0.5 // indirect
6968
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
7069
github.com/xanzy/ssh-agent v0.3.3 // indirect
70+
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
7171
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
7272
golang.org/x/crypto v0.23.0 // indirect
7373
golang.org/x/mod v0.14.0 // indirect

0 commit comments

Comments
 (0)