Skip to content

Commit

Permalink
fix yaml pkg vulnerability
Browse files Browse the repository at this point in the history
Signed-off-by: Fahed DORGAA <fahed.dorgaa@gmail.com>
  • Loading branch information
fahedouch committed Jul 25, 2022
1 parent b5cdd8a commit 81095fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ require (
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
gotest.tools/v3 v3.3.0
)

Expand Down Expand Up @@ -174,7 +174,7 @@ require (
google.golang.org/grpc v1.47.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
lukechampine.com/blake3 v1.1.6 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/composer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

"github.com/compose-spec/compose-go/types"
"github.com/opencontainers/go-digest"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

type ConfigOptions struct {
Expand Down

0 comments on commit 81095fb

Please sign in to comment.