Skip to content

Commit 92c33a0

Browse files
authored
chore: revert upgrade of github.com/mikefarah/yq/v4 (#1710)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it #### Which issue(s) this PR is related to <!-- Usage: `Related to #<issue number>`, or `Related to (paste link of issue)`. --> Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
1 parent d69e966 commit 92c33a0

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

api/utils/subst/subst.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/mandelsoft/goutils/errors"
99
"github.com/mandelsoft/vfs/pkg/vfs"
1010
"github.com/mikefarah/yq/v4/pkg/yqlib"
11-
"go.yaml.in/yaml/v4"
11+
"go.yaml.in/yaml/v3"
1212

1313
"ocm.software/ocm/api/utils"
1414
"ocm.software/ocm/api/utils/runtime"

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ require (
4747
github.com/mandelsoft/spiff v1.7.0-beta-7
4848
github.com/mandelsoft/vfs v0.4.4
4949
github.com/marstr/guid v1.1.0
50-
github.com/mikefarah/yq/v4 v4.49.1
50+
github.com/mikefarah/yq/v4 v4.48.1
5151
github.com/mitchellh/copystructure v1.2.0
5252
github.com/mittwald/go-helm-client v0.12.19
5353
github.com/moby/locker v1.0.1
@@ -72,7 +72,7 @@ require (
7272
github.com/tonglil/buflogr v1.1.1
7373
github.com/ulikunitz/xz v0.5.15
7474
github.com/xeipuuv/gojsonschema v1.2.0
75-
go.yaml.in/yaml/v4 v4.0.0-rc.3
75+
go.yaml.in/yaml/v3 v3.0.4
7676
golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546
7777
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
7878
golang.org/x/net v0.47.0
@@ -522,7 +522,6 @@ require (
522522
go.uber.org/multierr v1.11.0 // indirect
523523
go.uber.org/zap v1.27.0 // indirect
524524
go.yaml.in/yaml/v2 v2.4.3 // indirect
525-
go.yaml.in/yaml/v3 v3.0.4 // indirect
526525
golang.org/x/crypto v0.45.0 // indirect
527526
golang.org/x/exp/typeparams v0.0.0-20250620022241-b7579e27df2b // indirect
528527
golang.org/x/mod v0.30.0 // indirect

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,8 +1699,8 @@ github.com/miekg/dns v1.1.61 h1:nLxbwF3XxhwVSm8g9Dghm9MHPaUZuqhPiGL+675ZmEs=
16991699
github.com/miekg/dns v1.1.61/go.mod h1:mnAarhS3nWaW+NVP2wTkYVIZyHNJ098SJZUki3eykwQ=
17001700
github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU=
17011701
github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
1702-
github.com/mikefarah/yq/v4 v4.49.1 h1:eHiNue/Sp7Kk2IZZDhjLWWDjjN4TsShndF0z+OxI6QM=
1703-
github.com/mikefarah/yq/v4 v4.49.1/go.mod h1:iHgYxHyqA6VqQfre+TocMnqnk7e2+pNzAHusH8y95Wk=
1702+
github.com/mikefarah/yq/v4 v4.48.1 h1:xfw9oDxur6z+friOtMAuzSvQ9LPLb0LRDsl1e36DGCo=
1703+
github.com/mikefarah/yq/v4 v4.48.1/go.mod h1:NbCTmYAY+KjwCZemVDqLxSAeZKjXFK04lgIiSx13tD0=
17041704
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY=
17051705
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE=
17061706
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
@@ -2207,8 +2207,6 @@ go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0=
22072207
go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8=
22082208
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
22092209
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
2210-
go.yaml.in/yaml/v4 v4.0.0-rc.3 h1:3h1fjsh1CTAPjW7q/EMe+C8shx5d8ctzZTrLcs/j8Go=
2211-
go.yaml.in/yaml/v4 v4.0.0-rc.3/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0=
22122210
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
22132211
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
22142212
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=

0 commit comments

Comments
 (0)