Skip to content

Commit 6ffd03c

Browse files
fix(deps): update module gopkg.in/yaml.v2 to v3
1 parent 4ae6b67 commit 6ffd03c

8 files changed

Lines changed: 8 additions & 10 deletions

File tree

cmd/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"strings"
66

7-
"gopkg.in/yaml.v2"
7+
"gopkg.in/yaml.v3"
88

99
"github.com/lunarway/shuttle/pkg/errors"
1010
"github.com/lunarway/shuttle/pkg/templates"

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/spf13/cobra v1.7.0
1313
github.com/stretchr/testify v1.8.4
1414
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
15-
gopkg.in/yaml.v3 v3.0.1 // indirect
15+
gopkg.in/yaml.v3 v3.0.1
1616
)
1717

1818
require (
@@ -21,7 +21,6 @@ require (
2121
github.com/otiai10/copy v1.12.0
2222
golang.org/x/mod v0.12.0
2323
golang.org/x/sync v0.3.0
24-
gopkg.in/yaml.v2 v2.4.0
2524
)
2625

2726
require (

go.sum

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
9494
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
9595
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
9696
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
97+
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
9798
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
98-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
99-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
10099
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
101100
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

pkg/config/shuttleconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
shuttleerrors "github.com/lunarway/shuttle/pkg/errors"
1111
"github.com/lunarway/shuttle/pkg/ui"
12-
"gopkg.in/yaml.v2"
12+
"gopkg.in/yaml.v3"
1313
)
1414

1515
// DynamicYaml are any yaml document

pkg/config/shuttleplan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/lunarway/shuttle/pkg/errors"
1313
"github.com/lunarway/shuttle/pkg/git"
1414
"github.com/lunarway/shuttle/pkg/ui"
15-
"gopkg.in/yaml.v2"
15+
"gopkg.in/yaml.v3"
1616
)
1717

1818
// ShuttlePlanScript is a ShuttlePlan sub-element

pkg/sdk/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"path"
77

88
"github.com/lunarway/shuttle/pkg/config"
9-
"gopkg.in/yaml.v2"
9+
"gopkg.in/yaml.v3"
1010
)
1111

1212
type ShuttleContext struct {

pkg/templates/funcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"text/template"
1010

1111
sprig "github.com/Masterminds/sprig/v3"
12-
yaml "gopkg.in/yaml.v2"
12+
yaml "gopkg.in/yaml.v3"
1313
)
1414

1515
type KeyValuePair struct {

pkg/templates/funcs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66

77
"github.com/stretchr/testify/assert"
8-
"gopkg.in/yaml.v2"
8+
"gopkg.in/yaml.v3"
99
)
1010

1111
var (

0 commit comments

Comments
 (0)