diff --git a/README.md b/README.md index b969727..692dce0 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ The `Version` and `RelaxedVersion` have the JSON un/marshaler implemented so the The `Version` and `RelaxedVersion` provides optimized `MarshalBinary`/`UnmarshalBinary` methods for binary encoding. -## Yaml parsable with `gopkg.in/yaml.v3` +## Yaml parsable with `go.yaml.in/yaml/v3` -The `Version` and `RelaxedVersion` have the YAML un/marshaler implemented so they can be YAML decoded/encoded with the excellent `gopkg.in/yaml.v3` library. +The `Version` and `RelaxedVersion` have the YAML un/marshaler implemented so they can be YAML decoded/encoded with the excellent `go.yaml.in/yaml/v3` library. ## SQL support diff --git a/go.mod b/go.mod index f2495ce..336e47c 100644 --- a/go.mod +++ b/go.mod @@ -3,11 +3,12 @@ module go.bug.st/relaxed-semver go 1.24 require ( - github.com/stretchr/testify v1.10.0 - gopkg.in/yaml.v3 v3.0.1 + github.com/stretchr/testify v1.11.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 713a0b4..4ff75af 100644 --- a/go.sum +++ b/go.sum @@ -4,6 +4,10 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +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/yaml.go b/yaml.go index 43a2df6..bc59230 100644 --- a/yaml.go +++ b/yaml.go @@ -7,7 +7,7 @@ package semver import ( - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) // MarshalYAML implements yaml.Marshaler diff --git a/yaml_test.go b/yaml_test.go index ada4b94..bdfb296 100644 --- a/yaml_test.go +++ b/yaml_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) func TestYAMLParseVersion(t *testing.T) {