Skip to content

Commit 25eccbf

Browse files
scopanother-rex
andauthored
chore(deps): switch from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 (#2453)
Due to reasons documented in https://github.com/yaml/go-yaml#project-status The latter is in use anyway, although at v4 rc at the moment. I have not checked if this one could be upgraded to it while it it. Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>
1 parent 4692ba1 commit 25eccbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ require (
3232
github.com/tidwall/pretty v1.2.1
3333
github.com/tidwall/sjson v1.2.5
3434
github.com/urfave/cli/v3 v3.6.1
35+
go.yaml.in/yaml/v3 v3.0.4
3536
go.yaml.in/yaml/v4 v4.0.0-rc.3
3637
golang.org/x/net v0.48.0
3738
golang.org/x/sync v0.19.0
@@ -41,7 +42,6 @@ require (
4142
google.golang.org/protobuf v1.36.11
4243
gopkg.in/dnaeon/go-vcr.v4 v4.0.6
4344
gopkg.in/ini.v1 v1.67.0
44-
gopkg.in/yaml.v3 v3.0.1
4545
osv.dev/bindings/go v0.0.0-20260107022749-f5c969937129
4646
)
4747

@@ -202,7 +202,6 @@ require (
202202
go.uber.org/multierr v1.11.0 // indirect
203203
go.uber.org/zap v1.17.0 // indirect
204204
go.yaml.in/yaml/v2 v2.4.2 // indirect
205-
go.yaml.in/yaml/v3 v3.0.4 // indirect
206205
golang.org/x/crypto v0.46.0 // indirect
207206
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc // indirect
208207
golang.org/x/mod v0.30.0 // indirect
@@ -216,6 +215,7 @@ require (
216215
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b // indirect
217216
google.golang.org/genproto/googleapis/rpc v0.0.0-20251213004720-97cd9d5aeac2 // indirect
218217
gopkg.in/warnings.v0 v0.1.2 // indirect
218+
gopkg.in/yaml.v3 v3.0.1 // indirect
219219
modernc.org/libc v1.66.3 // indirect
220220
modernc.org/mathutil v1.7.1 // indirect
221221
modernc.org/memory v1.11.0 // indirect

scripts/generate_mock_resolution_universe/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ import (
4141
"github.com/google/osv-scanner/v2/internal/resolution/util"
4242
"github.com/google/osv-scanner/v2/internal/version"
4343
"github.com/ossf/osv-schema/bindings/go/osvschema"
44+
"go.yaml.in/yaml/v3"
4445
"golang.org/x/sync/errgroup"
4546
"google.golang.org/protobuf/encoding/protojson"
46-
"gopkg.in/yaml.v3"
4747
"osv.dev/bindings/go/api"
4848
"osv.dev/bindings/go/osvdev"
4949
)

0 commit comments

Comments
 (0)