Skip to content
Myr

chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 (#2336)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The original gopkg.in/yaml.v3 was marked unmaintained (April 2025). go.yaml.in/yaml/v3 is now maintained by the official YAML organization and is a drop-in replacement with an identical API.

authored by Davanum Srinivas · committed by GitHub · parent 346d408 · Browse files · 3 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Diff stats

3 files+4 added−4 removed

  • other:+4 added−4 removed

3 files+4 added−4 removed

modified:doc/yaml_docs.go+1 added-1 removed
22 unmodified lines
23 "strings"2425 "github.com/spf13/cobra"26 "github.com/spf13/pflag"27 "gopkg.in/yaml.v3"27 "go.yaml.in/yaml/v3"28)2930type cmdOption struct {31 Name string
144 unmodified lines
modified:go.mod+1 added-1 removed
4 unmodified lines
5require (6 github.com/cpuguy83/go-md2man/v2 v2.0.67 github.com/inconshreveable/mousetrap v1.1.08 github.com/spf13/pflag v1.0.99 gopkg.in/yaml.v3 v3.0.19 go.yaml.in/yaml/v3 v3.0.410)
modified:go.sum+2 added-2 removed
4 unmodified lines
5github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=6github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=7github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=8github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=9go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=10go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=11gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=12gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=11gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=12gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=