From 8fe47a93c993df249a601022f9538dbbc0f13ec4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 03:34:53 +0200 Subject: [PATCH] build(deps): bump github.com/lasiar/canonicalheader from 1.0.6 to 1.1.1 (#4715) Co-authored-by: Fernandez Ludovic --- go.mod | 2 +- go.sum | 4 ++-- pkg/golinters/canonicalheader/testdata/canonicalheader.go | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 36dbb5abb0d4..9a7442aa04b7 100644 --- a/go.mod +++ b/go.mod @@ -65,7 +65,7 @@ require ( github.com/kulti/thelper v0.6.3 github.com/kunwardeep/paralleltest v1.0.10 github.com/kyoh86/exportloopref v0.1.11 - github.com/lasiar/canonicalheader v1.0.6 + github.com/lasiar/canonicalheader v1.1.1 github.com/ldez/gomoddirectives v0.2.4 github.com/ldez/tagliatelle v0.5.0 github.com/leonklingele/grouper v1.1.2 diff --git a/go.sum b/go.sum index 930a18bfe4a9..7e95eece7146 100644 --- a/go.sum +++ b/go.sum @@ -343,8 +343,8 @@ github.com/kunwardeep/paralleltest v1.0.10 h1:wrodoaKYzS2mdNVnc4/w31YaXFtsc21PCT github.com/kunwardeep/paralleltest v1.0.10/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ= github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA= -github.com/lasiar/canonicalheader v1.0.6 h1:LJiiZ/MzkqibXOL2v+J8+WZM21pM0ivrBY/jbm9f5fo= -github.com/lasiar/canonicalheader v1.0.6/go.mod h1:GfXTLQb3O1qF5qcSTyXTnfNUggUNyzbkOSpzZ0dpUJo= +github.com/lasiar/canonicalheader v1.1.1 h1:wC+dY9ZfiqiPwAexUApFush/csSPXeIi4QqyxXmng8I= +github.com/lasiar/canonicalheader v1.1.1/go.mod h1:cXkb3Dlk6XXy+8MVQnF23CYKWlyA7kfQhSw2CcZtZb0= github.com/ldez/gomoddirectives v0.2.4 h1:j3YjBIjEBbqZ0NKtBNzr8rtMHTOrLPeiwTkfUJZ3alg= github.com/ldez/gomoddirectives v0.2.4/go.mod h1:oWu9i62VcQDYp9EQ0ONTfqLNh+mDLWWDO+SO0qSQw5g= github.com/ldez/tagliatelle v0.5.0 h1:epgfuYt9v0CG3fms0pEgIMNPuFf/LpPIfjk4kyqSioo= diff --git a/pkg/golinters/canonicalheader/testdata/canonicalheader.go b/pkg/golinters/canonicalheader/testdata/canonicalheader.go index 07e149522cbe..7a58395083d6 100644 --- a/pkg/golinters/canonicalheader/testdata/canonicalheader.go +++ b/pkg/golinters/canonicalheader/testdata/canonicalheader.go @@ -12,6 +12,8 @@ func canonicalheader() { v.Del("Test-HEader") // want `non-canonical header "Test-HEader", instead use: "Test-Header"` v.Values("Test-HEader") // want `non-canonical header "Test-HEader", instead use: "Test-Header"` + v.Values("Sec-WebSocket-Accept") + v.Set("Test-Header", "value") v.Add("Test-Header", "value") v.Del("Test-Header")