Skip to content

Commit 786d91a

Browse files
authored
chore(deps): replace golang/snappy with klauspost/compress/snappy (#762)
The github.com/golang/snappy repository was archived and is no longer maintained. klauspost/compress provides a drop-in replacement, which is actively maintained, and the klauspost/compress module is already an existing dependency. ### Rationale for this change ### What changes are included in this PR? ### Are these changes tested? ### Are there any user-facing changes? Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent a6c0a5e commit 786d91a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ require (
2424
github.com/cespare/xxhash/v2 v2.3.0
2525
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
2626
github.com/goccy/go-json v0.10.6
27-
github.com/golang/snappy v1.0.0
2827
github.com/google/flatbuffers v25.12.19+incompatible
2928
github.com/google/uuid v1.6.0
3029
github.com/hamba/avro/v2 v2.31.0
@@ -66,6 +65,7 @@ require (
6665
github.com/dustin/go-humanize v1.0.1 // indirect
6766
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
6867
github.com/goccy/go-yaml v1.17.1 // indirect
68+
github.com/golang/snappy v1.0.0 // indirect
6969
github.com/gookit/color v1.6.0 // indirect
7070
github.com/json-iterator/go v1.1.12 // indirect
7171
github.com/kr/text v0.2.0 // indirect

parquet/compress/snappy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package compress
1919
import (
2020
"io"
2121

22-
"github.com/golang/snappy"
22+
"github.com/klauspost/compress/snappy"
2323
)
2424

2525
type snappyCodec struct{}

0 commit comments

Comments
 (0)