diff --git a/go.mod b/go.mod index f9f12196..f53b6179 100644 --- a/go.mod +++ b/go.mod @@ -6,14 +6,13 @@ require ( github.com/agnivade/levenshtein v1.1.1 github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 github.com/stretchr/testify v1.9.0 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/sergi/go-diff v1.3.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) retract ( diff --git a/go.sum b/go.sum index 8cfddb3b..55a89b79 100644 --- a/go.sum +++ b/go.sum @@ -26,7 +26,6 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/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= diff --git a/parser/testrunner/runner.go b/parser/testrunner/runner.go index 24ec5994..b9a2046f 100644 --- a/parser/testrunner/runner.go +++ b/parser/testrunner/runner.go @@ -8,7 +8,7 @@ import ( "github.com/andreyvit/diff" "github.com/vektah/gqlparser/v2/gqlerror" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) type Features map[string][]Spec diff --git a/validator/imported_test.go b/validator/imported_test.go index d5f255f5..56736ad7 100644 --- a/validator/imported_test.go +++ b/validator/imported_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast"