Skip to content

Commit

Permalink
chore: Replace ghodss/yaml with sigs.k8s.io/yaml
Browse files Browse the repository at this point in the history
This is a fork that is maintained by the kubernetes community.

https://github.com/kubernetes-sigs/yaml
Signed-off-by: Manuel Rüger <[email protected]>
  • Loading branch information
mrueg committed Aug 30, 2023
1 parent c7e9f05 commit 347dab2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require (
github.com/basgys/goxml2json v1.1.0
github.com/bufbuild/protocompile v0.5.1
github.com/cpuguy83/dockercfg v0.3.1
github.com/ghodss/yaml v1.0.0
github.com/go-akka/configuration v0.0.0-20200606091224-a002c0330665
github.com/go-ini/ini v1.67.0
github.com/google/go-cmp v0.5.9
Expand All @@ -36,6 +35,7 @@ require (
muzzammil.xyz/jsonc v1.0.0
olympos.io/encoding/edn v0.0.0-20201019073823-d3554ca0b0a3
oras.land/oras-go/v2 v2.2.1
sigs.k8s.io/yaml v1.3.0
)

require (
Expand All @@ -59,6 +59,7 @@ require (
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gobwas/glob v0.2.3 // indirect
Expand Down Expand Up @@ -123,5 +124,4 @@ require (
gopkg.in/ini.v1 v1.66.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
2 changes: 1 addition & 1 deletion parser/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"fmt"

"github.com/ghodss/yaml"
"sigs.k8s.io/yaml"
)

// Parser is a YAML parser.
Expand Down
2 changes: 1 addition & 1 deletion plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"syscall"

"github.com/ghodss/yaml"
"sigs/k8s.io/yaml"
)

const (
Expand Down

0 comments on commit 347dab2

Please sign in to comment.