From eca3f46d20af3ee5685c745d650aaf51b0c78e45 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Wed, 6 Nov 2024 17:10:10 +0100 Subject: [PATCH] chore(deps): update module logrusorgru/aurora to v4 (major) (#29) github.com/logrusorgru/aurora changed the license from the WTFPL to the Unlicense due to pkg.go.dev restrictions. Refs https://github.com/logrusorgru/aurora/commit/304bc2c7ed50ec832069fe4a88f35c4bc128eb45 --- .bouncer.yaml | 1 + go.mod | 2 +- go.sum | 4 ++-- runtime/ci/evaluator.go | 2 +- runtime/ci/rule.go | 2 +- utils/format.go | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.bouncer.yaml b/.bouncer.yaml index 9ee31212..659945a4 100644 --- a/.bouncer.yaml +++ b/.bouncer.yaml @@ -5,6 +5,7 @@ permit: - MPL.* - ISC - WTFPL + - Unlicense ignore-packages: # crypto/internal/boring is released under the openSSL license as a part of the Golang Standard Library diff --git a/go.mod b/go.mod index 342629a0..ad868454 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/dustin/go-humanize v1.0.1 github.com/fatih/color v1.18.0 github.com/google/uuid v1.6.0 - github.com/logrusorgru/aurora v0.0.0-20190803045625-94edacc10f9b + github.com/logrusorgru/aurora/v4 v4.0.0 github.com/lunixbochs/vtclean v1.0.0 github.com/mitchellh/go-homedir v1.1.0 github.com/phayes/permbits v0.0.0-20190612203442-39d7c581d2ee diff --git a/go.sum b/go.sum index 34051c19..febcb175 100644 --- a/go.sum +++ b/go.sum @@ -71,8 +71,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/logrusorgru/aurora v0.0.0-20190803045625-94edacc10f9b h1:PMbSa9CgaiQR9NLlUTwKi+7aeLl3GG5JX5ERJxfQ3IE= -github.com/logrusorgru/aurora v0.0.0-20190803045625-94edacc10f9b/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= +github.com/logrusorgru/aurora/v4 v4.0.0 h1:sRjfPpun/63iADiSvGGjgA1cAYegEWMPCJdUpJYn9JA= +github.com/logrusorgru/aurora/v4 v4.0.0/go.mod h1:lP0iIa2nrnT/qoFXcOZSrZQpJ1o6n2CUf/hyHi2Q4ZQ= github.com/lucasb-eyer/go-colorful v1.0.3 h1:QIbQXiugsb+q10B+MI+7DI1oQLdmnep86tWFlaaUAac= github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lunixbochs/vtclean v1.0.0 h1:xu2sLAri4lGiovBDQKxl5mrXyESr3gUr5m5SM5+LVb8= diff --git a/runtime/ci/evaluator.go b/runtime/ci/evaluator.go index 152bb21b..c48f6e6e 100644 --- a/runtime/ci/evaluator.go +++ b/runtime/ci/evaluator.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/dustin/go-humanize" - "github.com/logrusorgru/aurora" + "github.com/logrusorgru/aurora/v4" "github.com/spf13/viper" "github.com/wagoodman/dive/dive/image" diff --git a/runtime/ci/rule.go b/runtime/ci/rule.go index 84ccedea..f9e348d7 100644 --- a/runtime/ci/rule.go +++ b/runtime/ci/rule.go @@ -5,7 +5,7 @@ import ( "strconv" "github.com/dustin/go-humanize" - "github.com/logrusorgru/aurora" + "github.com/logrusorgru/aurora/v4" "github.com/spf13/viper" "github.com/wagoodman/dive/dive/image" diff --git a/utils/format.go b/utils/format.go index cabdbc1f..4b1fd31f 100644 --- a/utils/format.go +++ b/utils/format.go @@ -3,7 +3,7 @@ package utils import ( "strings" - "github.com/logrusorgru/aurora" + "github.com/logrusorgru/aurora/v4" ) func TitleFormat(s string) string {