build: update go-pretty v6 [skip ci]

In this commit we update go-pretty to use the latest v6 version of the
library. The existing version we used had a reported vulnerability.
Updating to this newest version also helped to shrink our set of
indirect dependencies.

In the future we can use
https://github.com/lightningnetwork/lnd/pull/5870 to detect/flag these
issues automatically.

Fixes #6293
This commit is contained in:
Olaoluwa Osuntokun committed 2022-03-01 15:02:23 -08:00
1 parent e7505c3e6b
commit 4a15de05aa
3 files changed
+11 -79

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@ import (
"time"
"github.com/btcsuite/btcutil"
"github.com/jedib0t/go-pretty/table"
"github.com/jedib0t/go-pretty/text"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/lightninglabs/protobuf-hex-display/jsonpb"
"github.com/lightningnetwork/lnd/chainreg"
"github.com/lightningnetwork/lnd/lnrpc"