Skip to content

Commit

Permalink
Bump dependencies (#153)
Browse files Browse the repository at this point in the history
* Bump dependencies

* Fix gosec warning
  • Loading branch information
SaaldjorMike committed Mar 13, 2024
1 parent bd4f8a8 commit 03c41ac
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 489 deletions.
6 changes: 2 additions & 4 deletions api/httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ func NewHttpTransport(config Config) *http.Transport {
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,

// #nosec G402
TLSClientConfig: &tls.Config{
InsecureSkipVerify: config.Insecure,
InsecureSkipVerify: config.Insecure, // #nosec G402
},
}
}
Expand All @@ -57,10 +56,9 @@ func NewHttpTransport(config Config) *http.Transport {
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,

// #nosec G402
TLSClientConfig: &tls.Config{
RootCAs: caCertPool,
InsecureSkipVerify: config.Insecure,
InsecureSkipVerify: config.Insecure, // #nosec G402
},
}
}
Expand Down
23 changes: 11 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,31 @@ require (
github.com/olekukonko/tablewriter v0.0.1
github.com/skratchdot/open-golang v0.0.0-20190402232053-79abb63cd66e
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.17.0
golang.org/x/sync v0.3.0
golang.org/x/sys v0.13.0
github.com/spf13/viper v1.18.2
golang.org/x/sync v0.5.0
golang.org/x/sys v0.18.0
golang.org/x/term v0.13.0
gopkg.in/yaml.v2 v2.2.8
)

require (
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-runewidth v0.0.6 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/sagikazarmark/locafero v0.3.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/text v0.13.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
Expand Down
Loading

0 comments on commit 03c41ac

Please sign in to comment.