From db23bc614cf7418ef826248be5112d4dd69ec109 Mon Sep 17 00:00:00 2001 From: Rafael Fonseca Date: Wed, 6 Mar 2024 22:24:40 +0100 Subject: [PATCH] update vendor --- vendor/github.com/mgutz/ansi/README.md | 2 ++ vendor/github.com/mgutz/ansi/ansi.go | 8 +++++++- vendor/github.com/mgutz/ansi/doc.go | 1 + vendor/modules.txt | 4 ++-- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/mgutz/ansi/README.md b/vendor/github.com/mgutz/ansi/README.md index 8f8e20b7e4..05905abe27 100644 --- a/vendor/github.com/mgutz/ansi/README.md +++ b/vendor/github.com/mgutz/ansi/README.md @@ -34,6 +34,7 @@ Other examples ```go Color(s, "red") // red +Color(s, "red+d") // red dim Color(s, "red+b") // red bold Color(s, "red+B") // red blinking Color(s, "red+u") // red underline @@ -73,6 +74,7 @@ Foreground Attributes * B = Blink * b = bold * h = high intensity (bright) +* d = dim * i = inverse * s = strikethrough * u = underline diff --git a/vendor/github.com/mgutz/ansi/ansi.go b/vendor/github.com/mgutz/ansi/ansi.go index dc0413649e..9ab6979dea 100644 --- a/vendor/github.com/mgutz/ansi/ansi.go +++ b/vendor/github.com/mgutz/ansi/ansi.go @@ -24,9 +24,11 @@ const ( highIntensityBG = 100 start = "\033[" + normal = "0;" bold = "1;" - blink = "5;" + dim = "2;" underline = "4;" + blink = "5;" inverse = "7;" strikethrough = "9;" @@ -164,10 +166,14 @@ func colorCode(style string) *bytes.Buffer { buf.WriteString(start) base := normalIntensityFG + buf.WriteString(normal) // reset any previous style if len(fgStyle) > 0 { if strings.Contains(fgStyle, "b") { buf.WriteString(bold) } + if strings.Contains(fgStyle, "d") { + buf.WriteString(dim) + } if strings.Contains(fgStyle, "B") { buf.WriteString(blink) } diff --git a/vendor/github.com/mgutz/ansi/doc.go b/vendor/github.com/mgutz/ansi/doc.go index 43c217e11d..c93039b85f 100644 --- a/vendor/github.com/mgutz/ansi/doc.go +++ b/vendor/github.com/mgutz/ansi/doc.go @@ -58,6 +58,7 @@ Attributes B = Blink foreground u = underline foreground h = high intensity (bright) foreground, background + d = dim foreground i = inverse Wikipedia ANSI escape codes [Colors](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) diff --git a/vendor/modules.txt b/vendor/modules.txt index 4e10a6c0ed..18e8a5452c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -794,7 +794,7 @@ github.com/metal3-io/baremetal-operator/apis/metal3.io/v1alpha1/profile # github.com/metal3-io/baremetal-operator/pkg/hardwareutils v0.4.0 => github.com/openshift/baremetal-operator/pkg/hardwareutils v0.0.0-20231128154154-6736c9b9c6c8 ## explicit; go 1.20 github.com/metal3-io/baremetal-operator/pkg/hardwareutils/bmc -# github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b +# github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d ## explicit github.com/mgutz/ansi # github.com/microsoft/kiota-abstractions-go v0.14.0 @@ -9876,7 +9876,7 @@ sigs.k8s.io/cluster-api/util/conversion sigs.k8s.io/cluster-api/util/kubeconfig sigs.k8s.io/cluster-api/util/secret sigs.k8s.io/cluster-api/util/topology -# sigs.k8s.io/cluster-api-provider-aws/v2 v2.4.0 => sigs.k8s.io/cluster-api-provider-aws/v2 v2.4.0 +# sigs.k8s.io/cluster-api-provider-aws/v2 v2.4.1-0.20240306201835-baf8d59ff495 => sigs.k8s.io/cluster-api-provider-aws/v2 v2.4.0 ## explicit; go 1.21 sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta1 sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta2