diff --git a/go.mod b/go.mod index d4a4586..26a60a3 100644 --- a/go.mod +++ b/go.mod @@ -6,10 +6,11 @@ require ( github.com/BurntSushi/toml v1.5.0 github.com/stretchr/testify v1.10.0 github.com/urfave/cli/v3 v3.1.1 - gopkg.in/yaml.v3 v3.0.1 + go.yaml.in/yaml/v3 v3.0.4 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 6ce03f6..f402809 100644 --- a/go.sum +++ b/go.sum @@ -8,6 +8,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/urfave/cli/v3 v3.1.1 h1:bNnl8pFI5dxPOjeONvFCDFoECLQsceDG4ejahs4Jtxk= github.com/urfave/cli/v3 v3.1.1/go.mod h1:FJSKtM/9AiiTOJL4fJ6TbMUkxBXn7GO9guZqoZtpYpo= +go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= +go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/json/json_value_source.go b/json/json_value_source.go index a9ade72..9bc6767 100644 --- a/json/json_value_source.go +++ b/json/json_value_source.go @@ -2,7 +2,7 @@ package json import ( altsrc "github.com/urfave/cli-altsrc/v3" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) // JSON is a helper function that wraps the YAML helper function diff --git a/yaml/yaml_value_source.go b/yaml/yaml_value_source.go index 8099d5b..15648c4 100644 --- a/yaml/yaml_value_source.go +++ b/yaml/yaml_value_source.go @@ -2,7 +2,7 @@ package yaml import ( altsrc "github.com/urfave/cli-altsrc/v3" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) // YAML is a helper function to encapsulate a number of