Skip to content

Commit 60bafd2

Browse files
chore(deps): update module gopkg.in/yaml.v2 to v3 (#719)
* chore(deps): update module gopkg.in/yaml.v2 to v3 * fixup! chore(deps): update module gopkg.in/yaml.v2 to v3 --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
1 parent 2d66017 commit 60bafd2

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

api/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/gotify/server/v2/model"
1212
"github.com/gotify/server/v2/plugin"
1313
"github.com/gotify/server/v2/plugin/compat"
14-
"gopkg.in/yaml.v2"
14+
"gopkg.in/yaml.v3"
1515
)
1616

1717
// The PluginDatabase interface for encapsulating database access.

api/plugin_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/gotify/server/v2/test/testdb"
1919
"github.com/stretchr/testify/assert"
2020
"github.com/stretchr/testify/suite"
21-
"gopkg.in/yaml.v2"
21+
"gopkg.in/yaml.v3"
2222
)
2323

2424
func TestPluginSuite(t *testing.T) {

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/robfig/cron v1.2.0
1616
github.com/stretchr/testify v1.9.0
1717
golang.org/x/crypto v0.28.0
18-
gopkg.in/yaml.v2 v2.4.0
18+
gopkg.in/yaml.v3 v3.0.1
1919
)
2020

2121
require (
@@ -50,7 +50,6 @@ require (
5050
golang.org/x/sys v0.26.0 // indirect
5151
golang.org/x/text v0.19.0 // indirect
5252
google.golang.org/protobuf v1.34.1 // indirect
53-
gopkg.in/yaml.v3 v3.0.1 // indirect
5453
)
5554

5655
go 1.18

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN
150150
gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
151151
gopkg.in/go-playground/validator.v8 v8.18.2/go.mod h1:RX2a/7Ha8BgOhfk7j780h4/u/RRjR0eouCJSH80/M2Y=
152152
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
153-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
154-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
155153
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
156154
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
157155
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

plugin/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/gotify/server/v2/auth"
1919
"github.com/gotify/server/v2/model"
2020
"github.com/gotify/server/v2/plugin/compat"
21-
"gopkg.in/yaml.v2"
21+
"gopkg.in/yaml.v3"
2222
)
2323

2424
// The Database interface for encapsulating database access.

0 commit comments

Comments
 (0)