Skip to content

Commit 1c9a71f

Browse files
xWTFroot
authored andcommitted
use xWTF/chardet instead of gogs/chardet
1 parent 5e10d4b commit 1c9a71f

File tree

15 files changed

+8
-11
lines changed

15 files changed

+8
-11
lines changed

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ require (
5050
github.com/doug-martin/goqu/v9 v9.18.0
5151
github.com/go-chi/httplog v0.2.1
5252
github.com/go-toast/toast v0.0.0-20190211030409-01e6764cf0a4
53-
github.com/gogs/chardet v0.0.0-20211120154057-b7413eaefb8f
5453
github.com/hashicorp/golang-lru v0.5.4
5554
github.com/kermieisinthehouse/gosx-notifier v0.1.1
5655
github.com/kermieisinthehouse/systray v1.2.4
@@ -59,6 +58,7 @@ require (
5958
github.com/vearutop/statigz v1.1.6
6059
github.com/vektah/dataloaden v0.3.0
6160
github.com/vektah/gqlparser/v2 v2.4.1
61+
github.com/xWTF/chardet v0.0.0-20230208095535-c780f2ac244e
6262
gopkg.in/guregu/null.v4 v4.0.0
6363
)
6464

@@ -109,6 +109,4 @@ require (
109109

110110
replace git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
111111

112-
replace github.com/gogs/chardet => github.com/xWTF/chardet v0.0.0-20230130095620-eedb297150c7
113-
114112
go 1.19

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,8 @@ github.com/vektah/gqlparser/v2 v2.4.1/go.mod h1:flJWIR04IMQPGz+BXLrORkrARBxv/rty
760760
github.com/vektra/mockery/v2 v2.10.0 h1:MiiQWxwdq7/ET6dCXLaJzSGEN17k758H7JHS9kOdiks=
761761
github.com/vektra/mockery/v2 v2.10.0/go.mod h1:m/WO2UzWzqgVX3nvqpRQq70I4Z7jbSCRhdmkgtp+Ab4=
762762
github.com/willf/bitset v1.1.9/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
763-
github.com/xWTF/chardet v0.0.0-20230130095620-eedb297150c7 h1:dg+xwwmT5K0/YoMpDxtxy8rhBqtaOcUMv/u+Si1KV9I=
764-
github.com/xWTF/chardet v0.0.0-20230130095620-eedb297150c7/go.mod h1:LZhJlr/6ri5Tqwrz7oQZrnykN4IKfV8LL5792KHRCzg=
763+
github.com/xWTF/chardet v0.0.0-20230208095535-c780f2ac244e h1:GruPsb+44XvYAzuAgJW1d1WHqmcI73L2XSjsbx/eJZw=
764+
github.com/xWTF/chardet v0.0.0-20230208095535-c780f2ac244e/go.mod h1:wA8kQ8WFipMciY9WcWzqQgZordm/P7l8IZdvx1crwmc=
765765
github.com/xanzy/go-gitlab v0.15.0/go.mod h1:8zdQa/ri1dfn8eS3Ir1SyfvOKlw7WBJ8DVThkpGiXrs=
766766
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
767767
github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs=

pkg/file/zip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"io/fs"
1010
"path/filepath"
1111

12-
"github.com/gogs/chardet"
1312
"github.com/stashapp/stash/pkg/logger"
13+
"github.com/xWTF/chardet"
1414

1515
"golang.org/x/net/html/charset"
1616
"golang.org/x/text/transform"
File renamed without changes.
File renamed without changes.
File renamed without changes.

vendor/github.com/gogs/chardet/README.md renamed to vendor/github.com/xWTF/chardet/README.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)