Skip to content

Commit 4ece259

Browse files
authored
chore: Bump go version and deps (#97)
1 parent 2068b95 commit 4ece259

File tree

5 files changed

+138
-349
lines changed

5 files changed

+138
-349
lines changed

cmd/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/VirusTotal/vt-cli/utils"
2626
vt "github.com/VirusTotal/vt-go"
2727
"github.com/briandowns/spinner"
28-
"github.com/cavaliercoder/grab"
28+
grab "github.com/cavaliergopher/grab/v3"
2929
"github.com/fatih/color"
3030
"github.com/spf13/cobra"
3131
"github.com/spf13/viper"

cmd/monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
"github.com/VirusTotal/vt-cli/utils"
2828
vt "github.com/VirusTotal/vt-go"
29-
"github.com/cavaliercoder/grab"
29+
grab "github.com/cavaliergopher/grab/v3"
3030
"github.com/fatih/color"
3131

3232
"github.com/spf13/cobra"

cmd/monitorpartner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
"github.com/VirusTotal/vt-cli/utils"
2424
vt "github.com/VirusTotal/vt-go"
25-
"github.com/cavaliercoder/grab"
25+
grab "github.com/cavaliergopher/grab/v3"
2626
"github.com/fatih/color"
2727

2828
"github.com/spf13/cobra"

go.mod

Lines changed: 42 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,53 @@
11
module github.com/VirusTotal/vt-cli
22

3-
go 1.14
3+
go 1.22.0
44

55
require (
6-
github.com/VirusTotal/vt-go v0.0.0-20230717142150-8431ff2cc00f
7-
github.com/briandowns/spinner v1.7.0
8-
github.com/cavaliercoder/grab v2.0.0+incompatible
9-
github.com/dustin/go-humanize v1.0.0
10-
github.com/fatih/color v1.7.0
6+
github.com/VirusTotal/vt-go v1.0.1
7+
github.com/briandowns/spinner v1.23.1
8+
github.com/cavaliergopher/grab/v3 v3.0.1
9+
github.com/dustin/go-humanize v1.0.1
10+
github.com/fatih/color v1.17.0
1111
github.com/gobwas/glob v0.2.3
1212
github.com/gosuri/uitable v0.0.4
1313
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
14-
github.com/mattn/go-isatty v0.0.10 // indirect
15-
github.com/mattn/go-runewidth v0.0.5 // indirect
1614
github.com/mitchellh/go-homedir v1.1.0
17-
github.com/pelletier/go-toml v1.6.0 // indirect
1815
github.com/plusvic/go-ansi v0.0.0-20180516115420-9879244c4340
19-
github.com/spf13/afero v1.2.2 // indirect
20-
github.com/spf13/cobra v1.1.3
21-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
16+
github.com/spf13/cobra v1.8.1
2217
github.com/spf13/pflag v1.0.5
23-
github.com/spf13/viper v1.7.1
24-
github.com/stretchr/testify v1.7.0
25-
golang.org/x/sync v0.0.0-20190423024810-112230192c58
26-
golang.org/x/sys v0.0.0-20220909162455-aba9fc2a8ff2 // indirect
18+
github.com/spf13/viper v1.19.0
19+
github.com/stretchr/testify v1.9.0
20+
golang.org/x/sync v0.6.0
21+
)
22+
23+
require (
24+
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
25+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
26+
github.com/fsnotify/fsnotify v1.7.0 // indirect
27+
github.com/hashicorp/hcl v1.0.0 // indirect
28+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
29+
github.com/magiconair/properties v1.8.7 // indirect
30+
github.com/mattn/go-colorable v0.1.13 // indirect
31+
github.com/mattn/go-isatty v0.0.20 // indirect
32+
github.com/mattn/go-runewidth v0.0.16 // indirect
33+
github.com/mitchellh/mapstructure v1.5.0 // indirect
34+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
35+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
36+
github.com/rivo/uniseg v0.2.0 // indirect
37+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
38+
github.com/sagikazarmark/locafero v0.4.0 // indirect
39+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
40+
github.com/sourcegraph/conc v0.3.0 // indirect
41+
github.com/spf13/afero v1.11.0 // indirect
42+
github.com/spf13/cast v1.6.0 // indirect
43+
github.com/subosito/gotenv v1.6.0 // indirect
44+
github.com/thedevsaddam/gojsonq/v2 v2.5.2 // indirect
45+
go.uber.org/atomic v1.9.0 // indirect
46+
go.uber.org/multierr v1.9.0 // indirect
47+
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
48+
golang.org/x/sys v0.18.0 // indirect
49+
golang.org/x/term v0.1.0 // indirect
50+
golang.org/x/text v0.14.0 // indirect
51+
gopkg.in/ini.v1 v1.67.0 // indirect
52+
gopkg.in/yaml.v3 v3.0.1 // indirect
2753
)

0 commit comments

Comments
 (0)