Skip to content

Commit

Permalink
fix(deps): update module gopkg.in/yaml.v2 to v3 (#5114)
Browse files Browse the repository at this point in the history
* fix(deps): update module gopkg.in/yaml.v2 to v3

* Migrate yaml.v2 to yaml.v3

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ivan Nikiforov <[email protected]>
  • Loading branch information
renovate[bot] and Ivan Nikiforov authored Jan 23, 2025
1 parent 9820893 commit e898372
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ require (
google.golang.org/api v0.169.0
gopkg.in/ini.v1 v1.67.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
helm.sh/helm/v3 v3.14.4
mvdan.cc/xurls/v2 v2.4.0
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
Expand Down Expand Up @@ -260,7 +261,6 @@ require (
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.29.0 // indirect
k8s.io/apimachinery v0.29.0 // indirect
k8s.io/cli-runtime v0.29.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion pkg/codeql/github_repo_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/go-git/go-git/v5/plumbing/transport"
"github.com/go-git/go-git/v5/plumbing/transport/http"
"github.com/go-git/go-git/v5/storage/memory"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

type GitUploader interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubernetes/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/SAP/jenkins-library/pkg/command"
piperhttp "github.com/SAP/jenkins-library/pkg/http"
"github.com/SAP/jenkins-library/pkg/piperutils"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/SAP/jenkins-library/pkg/log"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/yaml/yamlUtil.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"github.com/SAP/jenkins-library/pkg/log"
"github.com/SAP/jenkins-library/pkg/piperutils"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
"io"
"os"
"reflect"
Expand Down

0 comments on commit e898372

Please sign in to comment.