From f29842f4ea2656dbf55baaa14e626f2764a91127 Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Wed, 17 Dec 2025 10:55:12 -0600 Subject: [PATCH] chore(deps): switch from deprecated yaml.v3 to equivalent yaml/v3 --- cmd/api.go | 2 +- go.mod | 3 +-- internal/register/register.go | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/api.go b/cmd/api.go index 9f32eff..251526c 100644 --- a/cmd/api.go +++ b/cmd/api.go @@ -8,7 +8,7 @@ import ( "github.com/equinix/cli/internal/api" "github.com/spf13/cobra" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) var method string diff --git a/go.mod b/go.mod index 9aad008..823fa24 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 github.com/spf13/viper v1.21.0 - gopkg.in/yaml.v3 v3.0.1 + go.yaml.in/yaml/v3 v3.0.4 ) require ( @@ -22,7 +22,6 @@ 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/oauth2 v0.26.0 // indirect golang.org/x/sys v0.29.0 // indirect golang.org/x/text v0.28.0 // indirect diff --git a/internal/register/register.go b/internal/register/register.go index 34c89a1..6da67d1 100644 --- a/internal/register/register.go +++ b/internal/register/register.go @@ -14,7 +14,7 @@ import ( "github.com/equinix/cli/internal/parser" "github.com/spf13/cobra" "github.com/spf13/pflag" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) // APIClientInterface represents any API client that can be used for command registration