From eff9b1e0eb0a7e51eaffb10ba206b40105b5d791 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 10 Aug 2023 19:10:57 +0200 Subject: [PATCH] go(deps): use gopkg.in/yaml.v3 --- go.mod | 3 ++- go.sum | 1 + modules/localbreach/breach.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 2fb6be3..7405b71 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( golang.org/x/crypto v0.11.0 golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b golang.org/x/time v0.3.0 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -51,6 +51,7 @@ require ( golang.org/x/sys v0.10.0 // indirect golang.org/x/text v0.11.0 // indirect golang.org/x/tools v0.11.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect lukechampine.com/uint128 v1.3.0 // indirect modernc.org/cc/v3 v3.41.0 // indirect modernc.org/ccgo/v3 v3.16.14 // indirect diff --git a/go.sum b/go.sum index 218aa62..90d8cff 100644 --- a/go.sum +++ b/go.sum @@ -169,6 +169,7 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= lukechampine.com/uint128 v1.3.0 h1:cDdUVfRwDUDovz610ABgFD17nXD4/uDgVHl2sC3+sbo= lukechampine.com/uint128 v1.3.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= modernc.org/cc/v3 v3.41.0 h1:QoR1Sn3YWlmA1T4vLaKZfawdVtSiGx8H+cEojbC7v1Q= diff --git a/modules/localbreach/breach.go b/modules/localbreach/breach.go index 8e15663..a7c5826 100644 --- a/modules/localbreach/breach.go +++ b/modules/localbreach/breach.go @@ -9,7 +9,7 @@ import ( "os" "time" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) type BreachDataSchema struct {