From: Cyril Brulebois Date: Wed, 15 Feb 2023 10:03:10 +0000 (+0000) Subject: r3labs-diff-versions X-Git-Tag: archive/raspbian/1.4.2-3+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=01dbd6ef7f0474edb5de7bc6efc10ef3c7884747;p=crowdsec.git r3labs-diff-versions Gbp-Pq: Name 0008-r3labs-diff-versions.patch --- diff --git a/go.mod b/go.mod index a1c4ed1..0fb8fcf 100644 --- a/go.mod +++ b/go.mod @@ -50,7 +50,7 @@ require ( github.com/prometheus/client_golang v1.11.0 github.com/prometheus/client_model v0.2.0 github.com/prometheus/prom2json v1.3.0 - github.com/r3labs/diff/v2 v2.14.1 + github.com/r3labs/diff/v3 v3.0.0 github.com/sirupsen/logrus v1.8.1 github.com/spf13/cobra v1.5.0 github.com/stretchr/testify v1.8.0 diff --git a/pkg/hubtest/parser_assert.go b/pkg/hubtest/parser_assert.go index 766f47e..40897c5 100644 --- a/pkg/hubtest/parser_assert.go +++ b/pkg/hubtest/parser_assert.go @@ -17,7 +17,7 @@ import ( "github.com/enescakir/emoji" "github.com/fatih/color" "github.com/pkg/errors" - diff "github.com/r3labs/diff/v2" + diff "github.com/r3labs/diff/v3" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" )