Skip to content

Commit b6eea26

Browse files
authored
chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 (#1437)
Signed-off-by: weidongkl <[email protected]>
1 parent 41f28e2 commit b6eea26

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ require (
1111
github.com/onsi/gomega v1.38.2
1212
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
1313
github.com/stretchr/testify v1.11.1
14+
go.yaml.in/yaml/v3 v3.0.4
1415
golang.org/x/crypto v0.45.0
1516
golang.org/x/text v0.31.0
1617
golang.org/x/tools v0.39.0
1718
google.golang.org/genai v1.37.0
18-
gopkg.in/yaml.v3 v3.0.1
1919
)
2020

2121
require (
@@ -46,14 +46,14 @@ require (
4646
go.opentelemetry.io/otel v1.37.0 // indirect
4747
go.opentelemetry.io/otel/metric v1.37.0 // indirect
4848
go.opentelemetry.io/otel/trace v1.37.0 // indirect
49-
go.yaml.in/yaml/v3 v3.0.4 // indirect
5049
golang.org/x/mod v0.30.0 // indirect
5150
golang.org/x/net v0.47.0 // indirect
5251
golang.org/x/sync v0.18.0 // indirect
5352
golang.org/x/sys v0.38.0 // indirect
5453
google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c // indirect
5554
google.golang.org/grpc v1.75.0 // indirect
5655
google.golang.org/protobuf v1.36.8 // indirect
56+
gopkg.in/yaml.v3 v3.0.1 // indirect
5757
)
5858

5959
go 1.24.0

report/formatter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
. "github.com/onsi/ginkgo/v2"
1010
. "github.com/onsi/gomega"
11-
"gopkg.in/yaml.v3"
11+
"go.yaml.in/yaml/v3"
1212

1313
"github.com/securego/gosec/v2"
1414
"github.com/securego/gosec/v2/cwe"

report/yaml/writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package yaml
33
import (
44
"io"
55

6-
"gopkg.in/yaml.v3"
6+
"go.yaml.in/yaml/v3"
77

88
"github.com/securego/gosec/v2"
99
)

0 commit comments

Comments
 (0)