From: Cyril Brulebois Date: Fri, 14 Jul 2023 18:54:27 +0000 (+0100) Subject: r3labs-diff-versions X-Git-Tag: archive/raspbian/1.4.6-7+rpi1^2^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=74b608d606e1ddbc330885214534db614bfc968c;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" )