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
2022-02-24 15:10:21 -08:00
parent e7505c3e6b
commit 4a15de05aa
3 changed files with 11 additions and 79 deletions

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"