From 6efa16468a018c551d07f8d14d379cb137cf4921 Mon Sep 17 00:00:00 2001 From: randolphcyg Date: Tue, 21 Mar 2023 10:07:44 +0800 Subject: [PATCH] [FIX]upgrade dependency --- go.mod | 2 +- go.sum | 2 ++ tests/parser_test.go | 3 ++- tests/service_detect_test.go | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index dc6e32f..fb6f823 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/pkg/errors v0.9.1 - github.com/randolphcyg/cpe v1.0.2 + github.com/randolphcyg/cpe v1.0.3 github.com/stretchr/testify v1.8.2 ) diff --git a/go.sum b/go.sum index c5a063c..4e29ace 100644 --- a/go.sum +++ b/go.sum @@ -7,6 +7,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/randolphcyg/cpe v1.0.2 h1:Ci1Ez56mtVrPPbjtU/xeZiBHi0UXbFUGtVjWcxbuF8s= github.com/randolphcyg/cpe v1.0.2/go.mod h1:R+J264JmgNtHkgKkYS12TQNgp819+OnwFUJuZUkoyio= +github.com/randolphcyg/cpe v1.0.3 h1:Gy91SlIWvPPqIMF8gDq3tnhde6noO/AyKeeyLHp/tio= +github.com/randolphcyg/cpe v1.0.3/go.mod h1:R+J264JmgNtHkgKkYS12TQNgp819+OnwFUJuZUkoyio= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= diff --git a/tests/parser_test.go b/tests/parser_test.go index f58e53d..b6d13b5 100644 --- a/tests/parser_test.go +++ b/tests/parser_test.go @@ -6,8 +6,9 @@ import ( "os" "testing" - "github.com/randolphcyg/nmap-parser" "github.com/stretchr/testify/assert" + + "github.com/randolphcyg/nmap-parser" ) func TestHandleVersionInfo(t *testing.T) { diff --git a/tests/service_detect_test.go b/tests/service_detect_test.go index cfa5b72..ce78dbd 100644 --- a/tests/service_detect_test.go +++ b/tests/service_detect_test.go @@ -9,8 +9,9 @@ import ( "time" "github.com/pkg/errors" - parser "github.com/randolphcyg/nmap-parser" "github.com/stretchr/testify/assert" + + parser "github.com/randolphcyg/nmap-parser" ) var (