Skip to content

Commit 97b393e

Browse files
authored
chore: Replace ghodss/yaml with sigs.k8s.io/yaml (#858)
This is a fork that is maintained by the kubernetes community. https://github.com/kubernetes-sigs/yaml Signed-off-by: Manuel Rüger <manuel@rueg.eu>
1 parent a6b1eea commit 97b393e

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

.golangci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ linter-settings:
55
linters:
66
disable-all: true
77
enable:
8-
- deadcode
98
- errcheck
109
- goconst
1110
- gofmt
@@ -20,10 +19,8 @@ linters:
2019
- predeclared
2120
- revive
2221
- staticcheck
23-
- structcheck
2422
- typecheck
2523
- unconvert
2624
- unparam
2725
- unused
28-
- varcheck
2926
- wastedassign

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ require (
1010
github.com/basgys/goxml2json v1.1.0
1111
github.com/bufbuild/protocompile v0.5.1
1212
github.com/cpuguy83/dockercfg v0.3.1
13-
github.com/ghodss/yaml v1.0.0
1413
github.com/go-akka/configuration v0.0.0-20200606091224-a002c0330665
1514
github.com/go-ini/ini v1.67.0
1615
github.com/google/go-cmp v0.5.9
@@ -36,6 +35,7 @@ require (
3635
muzzammil.xyz/jsonc v1.0.0
3736
olympos.io/encoding/edn v0.0.0-20201019073823-d3554ca0b0a3
3837
oras.land/oras-go/v2 v2.3.0
38+
sigs.k8s.io/yaml v1.3.0
3939
)
4040

4141
require (
@@ -125,5 +125,4 @@ require (
125125
gopkg.in/ini.v1 v1.66.2 // indirect
126126
gopkg.in/yaml.v2 v2.4.0 // indirect
127127
gopkg.in/yaml.v3 v3.0.1 // indirect
128-
sigs.k8s.io/yaml v1.3.0 // indirect
129128
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ github.com/foxcpp/go-mockdns v1.0.0 h1:7jBqxd3WDWwi/6WhDvacvH1XsN3rOLXyHM1uhvIx6
309309
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
310310
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
311311
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
312-
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
313312
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
314313
github.com/go-akka/configuration v0.0.0-20200606091224-a002c0330665 h1:Iz3aEheYgn+//VX7VisgCmF/wW3BMtXCLbvHV4jMQJA=
315314
github.com/go-akka/configuration v0.0.0-20200606091224-a002c0330665/go.mod h1:19bUnum2ZAeftfwwLZ/wRe7idyfoW2MfmXO464Hrfbw=

parser/yaml/yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"fmt"
66

7-
"github.com/ghodss/yaml"
7+
"sigs.k8s.io/yaml"
88
)
99

1010
// Parser is a YAML parser.

plugin/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"syscall"
1212

13-
"github.com/ghodss/yaml"
13+
"sigs.k8s.io/yaml"
1414
)
1515

1616
const (

0 commit comments

Comments
 (0)