From 3b74fcb88c34302d55c7423aa2ee85354eadc271 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 22 Mar 2024 10:38:22 +0530 Subject: [PATCH] switch to a maintained fork of imaging --- go.mod | 3 ++- go.sum | 2 ++ kittens/icat/native.go | 2 +- tools/utils/images/loading.go | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 54c42195f..14251c58b 100644 --- a/go.mod +++ b/go.mod @@ -6,11 +6,11 @@ require ( github.com/ALTree/bigfloat v0.2.0 github.com/alecthomas/chroma/v2 v2.13.0 github.com/bmatcuk/doublestar/v4 v4.6.1 - github.com/disintegration/imaging v1.6.2 github.com/dlclark/regexp2 v1.11.0 github.com/edwvee/exiffix v0.0.0-20240229113213-0dbb146775be github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 + github.com/kovidgoyal/imaging v0.0.0-20240322050321-d7a0df91ac63 github.com/seancfoley/ipaddress-go v1.5.5 github.com/shirou/gopsutil/v3 v3.24.2 github.com/zeebo/xxh3 v1.0.2 @@ -21,6 +21,7 @@ require ( ) require ( + github.com/disintegration/imaging v1.6.2 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a // indirect diff --git a/go.sum b/go.sum index e94395698..84384c47b 100644 --- a/go.sum +++ b/go.sum @@ -30,6 +30,8 @@ github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSo github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/kovidgoyal/imaging v0.0.0-20240322050321-d7a0df91ac63 h1:yAMlIPk4ogGbHWjoxx9sPoQtPGqNHLIgkr0HqZSO7L8= +github.com/kovidgoyal/imaging v0.0.0-20240322050321-d7a0df91ac63/go.mod h1:sHvcLOOVhJuto2IoNdPLEqnAUoL5ZfHEF0PpNH+882g= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a h1:N9zuLhTvBSRt0gWSiJswwQ2HqDmtX/ZCDJURnKUt1Ik= github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a/go.mod h1:JKx41uQRwqlTZabZc+kILPrO/3jlKnQ2Z8b7YiVw5cE= diff --git a/kittens/icat/native.go b/kittens/icat/native.go index 43aad067e..dfa103868 100644 --- a/kittens/icat/native.go +++ b/kittens/icat/native.go @@ -12,8 +12,8 @@ import ( "kitty/tools/utils/images" "kitty/tools/utils/shm" - "github.com/disintegration/imaging" "github.com/edwvee/exiffix" + "github.com/kovidgoyal/imaging" ) var _ = fmt.Print diff --git a/tools/utils/images/loading.go b/tools/utils/images/loading.go index ef6583160..ab59a3fce 100644 --- a/tools/utils/images/loading.go +++ b/tools/utils/images/loading.go @@ -21,8 +21,8 @@ import ( "kitty/tools/utils" "kitty/tools/utils/shm" - "github.com/disintegration/imaging" "github.com/edwvee/exiffix" + "github.com/kovidgoyal/imaging" "golang.org/x/exp/slices" )