Skip to content

Commit 0705eca

Browse files
committed
Migrate to go.yaml.in/yaml/v3
1 parent ac32d72 commit 0705eca

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ require (
66
github.com/BurntSushi/toml v1.5.0
77
github.com/stretchr/testify v1.10.0
88
github.com/urfave/cli/v3 v3.1.1
9-
gopkg.in/yaml.v3 v3.0.1
9+
go.yaml.in/yaml/v3 v3.0.4
1010
)
1111

1212
require (
1313
github.com/davecgh/go-spew v1.1.1 // indirect
1414
github.com/pmezard/go-difflib v1.0.0 // indirect
15+
gopkg.in/yaml.v3 v3.0.1 // indirect
1516
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
88
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
99
github.com/urfave/cli/v3 v3.1.1 h1:bNnl8pFI5dxPOjeONvFCDFoECLQsceDG4ejahs4Jtxk=
1010
github.com/urfave/cli/v3 v3.1.1/go.mod h1:FJSKtM/9AiiTOJL4fJ6TbMUkxBXn7GO9guZqoZtpYpo=
11+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
12+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
1113
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1214
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1315
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

json/json_value_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package json
22

33
import (
44
altsrc "github.com/urfave/cli-altsrc/v3"
5-
"gopkg.in/yaml.v3"
5+
"go.yaml.in/yaml/v3"
66
)
77

88
// JSON is a helper function that wraps the YAML helper function

yaml/yaml_value_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package yaml
22

33
import (
44
altsrc "github.com/urfave/cli-altsrc/v3"
5-
"gopkg.in/yaml.v3"
5+
"go.yaml.in/yaml/v3"
66
)
77

88
// YAML is a helper function to encapsulate a number of

0 commit comments

Comments
 (0)