diff --git a/go.mod b/go.mod index 56b27eea..f1642a94 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/goss-org/goss go 1.25.12 require ( + dario.cat/mergo v1.0.2 github.com/Masterminds/sprig/v3 v3.3.0 github.com/achanda/go-sysctl v0.0.0-20160222034550-6be7678c45d2 github.com/blang/semver/v4 v4.0.0 @@ -23,13 +24,12 @@ require ( github.com/stretchr/testify v1.11.1 github.com/tidwall/gjson v1.19.0 github.com/urfave/cli/v3 v3.10.1 + go.yaml.in/yaml/v3 v3.0.5 golang.org/x/sys v0.47.0 - gopkg.in/yaml.v3 v3.0.1 gotest.tools/v3 v3.5.1 ) require ( - dario.cat/mergo v1.0.2 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.5.0 // indirect github.com/beorn7/perks v1.0.1 // indirect @@ -49,7 +49,6 @@ require ( github.com/spf13/cast v1.10.0 // indirect github.com/tidwall/match v1.2.0 // indirect github.com/tidwall/pretty v1.2.1 // indirect - go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/crypto v0.54.0 // indirect golang.org/x/mod v0.38.0 // indirect golang.org/x/net v0.57.0 // indirect @@ -57,4 +56,5 @@ require ( golang.org/x/text v0.40.0 // indirect golang.org/x/tools v0.48.0 // indirect google.golang.org/protobuf v1.36.11 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index bb754219..791149b4 100644 --- a/go.sum +++ b/go.sum @@ -94,8 +94,8 @@ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= -go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= -go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/crypto v0.54.0 h1:YLIA59K4fiNzHzjnZt2tUJQjQtUWfWbeHBqKtk3eScw= golang.org/x/crypto v0.54.0/go.mod h1:KWL8ny2AZdGR2cWmzeHrp2azQPGogOv+HeQaVEXC2dk= golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= diff --git a/store.go b/store.go index 6997465d..57f46ca5 100644 --- a/store.go +++ b/store.go @@ -13,7 +13,7 @@ import ( "sync" "dario.cat/mergo" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" "github.com/goss-org/goss/resource" "github.com/goss-org/goss/util"