Skip to content

Commit

Permalink
fix(deps): update module gopkg.in/yaml.v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lunar-renovate committed Oct 2, 2023
1 parent 4ae6b67 commit 6ffd03c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/lunarway/shuttle/pkg/errors"
"github.com/lunarway/shuttle/pkg/templates"
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand All @@ -21,7 +21,6 @@ require (
github.com/otiai10/copy v1.12.0
golang.org/x/mod v0.12.0
golang.org/x/sync v0.3.0
gopkg.in/yaml.v2 v2.4.0
)

require (
Expand Down
3 changes: 1 addition & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
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.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion pkg/config/shuttleconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

shuttleerrors "github.com/lunarway/shuttle/pkg/errors"
"github.com/lunarway/shuttle/pkg/ui"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

// DynamicYaml are any yaml document
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/shuttleplan.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/lunarway/shuttle/pkg/errors"
"github.com/lunarway/shuttle/pkg/git"
"github.com/lunarway/shuttle/pkg/ui"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

// ShuttlePlanScript is a ShuttlePlan sub-element
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path"

"github.com/lunarway/shuttle/pkg/config"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

type ShuttleContext struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/templates/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"text/template"

sprig "github.com/Masterminds/sprig/v3"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

type KeyValuePair struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/templates/funcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

var (
Expand Down

0 comments on commit 6ffd03c

Please sign in to comment.