From d2e6698cb92be3bca75cc7f0ed907ee95c199a83 Mon Sep 17 00:00:00 2001 From: Aleks Petrov Date: Wed, 8 Jul 2026 21:58:57 +0200 Subject: [PATCH] chore(deps): gopkg.in/yaml.v3 -> go.yaml.in/yaml/v3 gopkg.in/yaml.v3 is archived/unmaintained; go.yaml.in/yaml/v3 is the YAML-org-maintained drop-in fork. Same API, import path change only. --- go.mod | 2 +- go.sum | 1 + internal/config/config.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 12b5376..1a01c2e 100644 --- a/go.mod +++ b/go.mod @@ -8,8 +8,8 @@ require ( github.com/prometheus/client_golang v1.23.2 github.com/prometheus/common v0.66.1 github.com/spf13/cobra v1.10.2 + go.yaml.in/yaml/v3 v3.0.4 golang.org/x/term v0.44.0 - gopkg.in/yaml.v3 v3.0.1 ) require ( diff --git a/go.sum b/go.sum index c4c23bd..e8bf66d 100644 --- a/go.sum +++ b/go.sum @@ -87,6 +87,7 @@ github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavM github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM= go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI= go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU= +go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561 h1:MDc5xs78ZrZr3HMQugiXOAkSZtfTpbJLDr/lwfgO53E= golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= diff --git a/internal/config/config.go b/internal/config/config.go index ce57662..59161cd 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) // WidgetType enumerates the renderable widget kinds.