From 0dcf10d6587775b53ccbeddaa54c49f7a3bbead8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 24 Mar 2026 22:55:15 +0200 Subject: [PATCH] chore(deps): switch from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The latter is a maintained fork of the unmaintained former. Ref https://github.com/yaml/go-yaml#project-status Signed-off-by: Ville Skyttä --- go.mod | 4 ++-- summarize_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 372e0aa..05a076f 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/spf13/pflag v1.0.10 github.com/spf13/viper v1.21.0 github.com/stretchr/testify v1.11.1 - gopkg.in/yaml.v3 v3.0.1 + go.yaml.in/yaml/v3 v3.0.4 ) require ( @@ -29,7 +29,7 @@ require ( github.com/spf13/afero v1.15.0 // indirect github.com/spf13/cast v1.10.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect - go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/sys v0.31.0 // indirect golang.org/x/text v0.28.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/summarize_test.go b/summarize_test.go index 5fffe80..bf33f99 100644 --- a/summarize_test.go +++ b/summarize_test.go @@ -11,7 +11,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" "github.com/anchore/go-homedir" "github.com/anchore/go-logger/adapter/discard"