Skip to content

Commit f11d046

Browse files
authoredJan 28, 2022
chore(repository): v0.2.5 maintenance (#100)
* chore(go): update dependencies. * chore(go): update tools. * chore(go): deduplicate libraries. * style(license): apply license banner. * chore(legal): update notice. * doc(changelog): update changelog.
1 parent 80837d4 commit f11d046

File tree

14 files changed

+887
-534
lines changed

14 files changed

+887
-534
lines changed
 

‎CHANGELOG.md

+25-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
## 0.2.5
1+
## 0.2.6
22

33
## Not released yet
44

5+
## 0.2.5
6+
7+
## 2022-01-28
8+
59
FEATURES:
610

711
* api/proto:
812
* `BundlePatch` : `PatchOperation` object supports `replaceKeys` used to replace a key in the secret data
913
* cmd/to:
10-
* `github-actions`secret exporter has been implemented to export all the filtered secret of a bundle as GitHub Repository Secrets.
14+
* `github-actions` secret exporter has been implemented to export all the filtered secret of a bundle as GitHub Repository Secrets.
1115
* template/engine [#95](https://github.com/elastic/harp/pull/95)
1216
* `parseJwt` to parse JWT without signature validation
1317
* `verifyJwt` to parse a JWT with signature validation
@@ -17,10 +21,28 @@ FEATURES:
1721
* `parsePemCertificateRequest`to decode a PEM content as a certificate request
1822
* `toTLSA` to generate a TLSA-DANE fingerprint from a given certificate
1923

20-
DIST:
24+
CHANGES:
25+
26+
* sdk/dep: [#100](https://github.com/elastic/harp/pull/100)
27+
* github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee
28+
* github.com/gosimple/slug v1.12.0
29+
* github.com/hashicorp/consul/api v1.12.0
30+
* github.com/hashicorp/vault/api v1.30.1
31+
* github.com/magefile/mage v1.12.1
32+
* github.com/spf13/afero v1.8.0
33+
* github.com/spf13/cobra v1.3.0
34+
* github.com/spf13/viper v1.10.1
35+
* go.step.sm/crypto v0.15.0
36+
* go.uber.org/zap v1.20.0
37+
* golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
38+
* golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
39+
* golang.org/x/sys v0.0.0-20211210111614-af8b64212486
40+
* google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350
41+
* google.golang.org/grpc v1.44.0
2142

2243
* sdk/tools:
2344
* Replace `go-header` dependency by `github.com/denis-tingaikin/go-header` to prevent a possible identity spoofing. [#96](https://github.com/elastic/harp/pull/96)
45+
* github.com/golangci/golangci-lint v1.44.0
2446

2547
## 0.2.4
2648

‎NOTICE.txt

+404-208
Large diffs are not rendered by default.

‎build/mage/docker/release.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"text/template"
2626
"time"
2727

28-
"github.com/blang/semver/v4"
28+
semver "github.com/Masterminds/semver/v3"
2929
"github.com/magefile/mage/mg"
3030
"github.com/magefile/mage/sh"
3131
exec "golang.org/x/sys/execabs"
@@ -138,7 +138,7 @@ func Release(cmd *artifact.Command) func() error {
138138

139139
// Extract release
140140
release := os.Getenv("RELEASE")
141-
relVer, err := semver.Parse(release)
141+
relVer, err := semver.StrictNewVersion(release)
142142
if err != nil {
143143
return fmt.Errorf("invalid semver syntax for release: %w", err)
144144
}

‎cmd/harp/internal/cmd/cso_parse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func runCSOParse(cmd *cobra.Command, args []string) {
5757
defer cancel()
5858

5959
// Validate and pack secret path first
60-
s, err := csov1.Pack(csoParsePath, nil)
60+
s, err := csov1.Pack(csoParsePath)
6161
if err != nil {
6262
log.For(ctx).Fatal("unable to validate given path as a compliant CSO path", zap.Error(err), zap.String("path", csoParsePath))
6363
}

‎docs/dependencies.asciidoc

+31-31
Large diffs are not rendered by default.

‎go.mod

+25-28
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require github.com/gogo/protobuf v1.3.2 // indirect
88
// GHSA
99
require (
1010
github.com/opencontainers/image-spec v1.0.2 // indirect
11-
github.com/opencontainers/runc v1.0.3 // indirect
11+
github.com/opencontainers/runc v1.1.0 // indirect
1212
)
1313

1414
require (
@@ -18,13 +18,12 @@ require (
1818
github.com/alessio/shellescape v1.4.1
1919
github.com/awnumar/memguard v0.22.2
2020
github.com/basgys/goxml2json v1.1.0
21-
github.com/blang/semver/v4 v4.0.0
2221
github.com/cloudflare/tableflip v1.2.2
2322
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
2423
github.com/dchest/uniuri v0.0.0-20200228104902-7aecb25e1fe5
2524
github.com/fatih/color v1.13.0
2625
github.com/fatih/structs v1.1.0
27-
github.com/fernet/fernet-go v0.0.0-20191111064656-eff2850e6001
26+
github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee
2827
github.com/go-akka/configuration v0.0.0-20200606091224-a002c0330665
2928
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
3029
github.com/go-zookeeper/zk v1.0.2
@@ -37,16 +36,16 @@ require (
3736
github.com/google/go-github/v42 v42.0.0
3837
github.com/google/gofuzz v1.2.0
3938
github.com/google/gops v0.3.22
40-
github.com/gosimple/slug v1.11.2
41-
github.com/hashicorp/consul/api v1.11.0
39+
github.com/gosimple/slug v1.12.0
40+
github.com/hashicorp/consul/api v1.12.0
4241
github.com/hashicorp/go-cleanhttp v0.5.2
4342
github.com/hashicorp/hcl v1.0.0
4443
github.com/hashicorp/hcl/v2 v2.11.1
45-
github.com/hashicorp/vault/api v1.3.0
44+
github.com/hashicorp/vault/api v1.3.1
4645
github.com/iancoleman/strcase v0.2.0
4746
github.com/imdario/mergo v0.3.12
4847
github.com/jmespath/go-jmespath v0.4.0
49-
github.com/magefile/mage v1.11.0
48+
github.com/magefile/mage v1.12.1
5049
github.com/mcuadros/go-defaults v1.2.0
5150
github.com/miscreant/miscreant.go v0.0.0-20200214223636-26d376326b75
5251
github.com/oklog/run v1.1.0
@@ -56,23 +55,22 @@ require (
5655
github.com/sethvargo/go-diceware v0.2.1
5756
github.com/sethvargo/go-password v0.2.0
5857
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
59-
github.com/spf13/afero v1.6.0
60-
github.com/spf13/cobra v1.2.1
61-
github.com/spf13/viper v1.9.0
58+
github.com/spf13/afero v1.8.0
59+
github.com/spf13/cobra v1.3.0
60+
github.com/spf13/viper v1.10.1
6261
github.com/stretchr/testify v1.7.0
63-
github.com/ugorji/go/codec v1.2.6
6462
github.com/zclconf/go-cty v1.10.0
6563
gitlab.com/NebulousLabs/merkletree v0.0.0-20200118113624-07fbf710afc4
6664
go.etcd.io/etcd/client/v3 v3.5.1
67-
go.step.sm/crypto v0.13.0
68-
go.uber.org/zap v1.19.1
69-
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871
70-
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
65+
go.step.sm/crypto v0.15.0
66+
go.uber.org/zap v1.20.0
67+
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
68+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
7169
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
72-
golang.org/x/sys v0.0.0-20210915083310-ed5796bab164
70+
golang.org/x/sys v0.0.0-20211210111614-af8b64212486
7371
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
74-
google.golang.org/genproto v0.0.0-20211207154714-918901c715cf
75-
google.golang.org/grpc v1.42.0
72+
google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350
73+
google.golang.org/grpc v1.44.0
7674
google.golang.org/protobuf v1.27.1
7775
gopkg.in/square/go-jose.v2 v2.6.0
7876
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
@@ -88,7 +86,7 @@ require (
8886
github.com/agext/levenshtein v1.2.1 // indirect
8987
github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e // indirect
9088
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
91-
github.com/armon/go-metrics v0.3.9 // indirect
89+
github.com/armon/go-metrics v0.3.10 // indirect
9290
github.com/armon/go-radix v1.0.0 // indirect
9391
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 // indirect
9492
github.com/awnumar/memcall v0.0.0-20191004114545-73db50fd9f80 // indirect
@@ -98,7 +96,7 @@ require (
9896
github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6 // indirect
9997
github.com/coreos/go-semver v0.3.0 // indirect
10098
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
101-
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
99+
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
102100
github.com/davecgh/go-spew v1.1.1 // indirect
103101
github.com/docker/cli v20.10.11+incompatible // indirect
104102
github.com/docker/docker v20.10.7+incompatible // indirect
@@ -110,7 +108,7 @@ require (
110108
github.com/google/uuid v1.3.0 // indirect
111109
github.com/gosimple/unidecode v1.0.1 // indirect
112110
github.com/hashicorp/errwrap v1.1.0 // indirect
113-
github.com/hashicorp/go-hclog v0.16.2 // indirect
111+
github.com/hashicorp/go-hclog v1.0.0 // indirect
114112
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
115113
github.com/hashicorp/go-multierror v1.1.1 // indirect
116114
github.com/hashicorp/go-plugin v1.4.3 // indirect
@@ -123,28 +121,27 @@ require (
123121
github.com/hashicorp/go-uuid v1.0.2 // indirect
124122
github.com/hashicorp/go-version v1.2.0 // indirect
125123
github.com/hashicorp/golang-lru v0.5.4 // indirect
126-
github.com/hashicorp/serf v0.9.5 // indirect
124+
github.com/hashicorp/serf v0.9.6 // indirect
127125
github.com/hashicorp/vault/sdk v0.3.0 // indirect
128126
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
129127
github.com/huandu/xstrings v1.3.2 // indirect
130128
github.com/inconshreveable/mousetrap v1.0.0 // indirect
131129
github.com/magiconair/properties v1.8.5 // indirect
132-
github.com/mattn/go-colorable v0.1.9 // indirect
130+
github.com/mattn/go-colorable v0.1.12 // indirect
133131
github.com/mattn/go-isatty v0.0.14 // indirect
134132
github.com/mitchellh/copystructure v1.2.0 // indirect
135133
github.com/mitchellh/go-homedir v1.1.0 // indirect
136134
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
137135
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
138-
github.com/mitchellh/mapstructure v1.4.2 // indirect
136+
github.com/mitchellh/mapstructure v1.4.3 // indirect
139137
github.com/mitchellh/reflectwalk v1.0.2 // indirect
140138
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect
141139
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
142140
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
143141
github.com/pmezard/go-difflib v1.0.0 // indirect
144-
github.com/russross/blackfriday/v2 v2.0.1 // indirect
142+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
145143
github.com/ryanuber/go-glob v1.0.0 // indirect
146144
github.com/shopspring/decimal v1.2.0 // indirect
147-
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
148145
github.com/sirupsen/logrus v1.8.1 // indirect
149146
github.com/spf13/cast v1.4.1 // indirect
150147
github.com/spf13/jwalterweatherman v1.1.0 // indirect
@@ -158,11 +155,11 @@ require (
158155
go.etcd.io/etcd/client/pkg/v3 v3.5.1 // indirect
159156
go.uber.org/atomic v1.9.0 // indirect
160157
go.uber.org/multierr v1.6.0 // indirect
161-
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
158+
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
162159
golang.org/x/text v0.3.7 // indirect
163160
golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 // indirect
164161
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
165162
google.golang.org/appengine v1.6.7 // indirect
166-
gopkg.in/ini.v1 v1.63.2 // indirect
163+
gopkg.in/ini.v1 v1.66.2 // indirect
167164
gopkg.in/yaml.v2 v2.4.0 // indirect
168165
)

‎go.sum

+131-82
Large diffs are not rendered by default.

‎pkg/cso/v1/pack.go

+2-18
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,15 @@ import (
2121
"fmt"
2222
"strings"
2323

24-
"github.com/ugorji/go/codec"
25-
2624
csov1 "github.com/elastic/harp/api/gen/go/cso/v1"
2725
)
2826

29-
var msgPackHandler = func() codec.Handle { h := &codec.MsgpackHandle{}; h.WriteExt = true; return h }
30-
3127
type ringPacker func([]string) *csov1.Secret
3228

3329
var packMap = map[string]ringPacker{ringMeta: packMeta, ringInfra: packInfra, ringPlatform: packPlatform, ringProduct: packProduct, ringApp: packApplication, ringArtifact: packArtifact}
3430

35-
// Pack a secret path and value to a protobuf object.
36-
func Pack(secretPath string, value interface{}) (*csov1.Secret, error) {
31+
// Pack a secret path to a protobuf object.
32+
func Pack(secretPath string) (*csov1.Secret, error) {
3733
// Validate secret path first
3834
if err := Validate(secretPath); err != nil {
3935
return nil, fmt.Errorf("unable to pack cso secret: %w", err)
@@ -54,18 +50,6 @@ func Pack(secretPath string, value interface{}) (*csov1.Secret, error) {
5450
// Call ring packer
5551
res := rp(parts)
5652

57-
// Pack the value
58-
var payload []byte
59-
if err := codec.NewEncoderBytes(&payload, msgPackHandler()).Encode(value); err != nil {
60-
return nil, fmt.Errorf("unable to pack secret value: %w", err)
61-
}
62-
63-
// Add the msgpack encoded value to the protobuf
64-
res.Value = &csov1.Value{
65-
Type: fmt.Sprintf("%T", value),
66-
Body: payload,
67-
}
68-
6953
// No error
7054
return res, nil
7155
}

‎pkg/cso/v1/pack_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func TestCso_Pack(t *testing.T) {
188188
}
189189
for _, tC := range testCases {
190190
t.Run(tC.desc, func(t *testing.T) {
191-
got, err := Pack(tC.path, tC.value)
191+
got, err := Pack(tC.path)
192192
if (err != nil) != tC.wantErr {
193193
t.Errorf("error: got %v, but not error expected", err)
194194
}

‎pkg/cso/v1/validator.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222
"strings"
2323

24-
semver "github.com/blang/semver/v4"
24+
semver "github.com/Masterminds/semver/v3"
2525
validation "github.com/go-ozzo/ozzo-validation/v4"
2626
"github.com/go-ozzo/ozzo-validation/v4/is"
2727

@@ -425,7 +425,7 @@ func validateSemVer(version string) error {
425425
version = strings.TrimPrefix(strings.TrimSpace(strings.ToLower(version)), "v")
426426

427427
// check version as a semver compliant version
428-
_, err := semver.Make(version)
428+
_, err := semver.NewVersion(version)
429429
if err != nil {
430430
return fmt.Errorf("version '%s' has not a valid semver syntax: %w", version, err)
431431
}

‎pkg/kv/consul/mock/client_mock.go

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pkg/vault/logical/logical.mock.go

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tools/go.mod

+43-38
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/fatih/color v1.13.0
1313
github.com/frapposelli/wwhrd v0.4.0
1414
github.com/golang/mock v1.6.0
15-
github.com/golangci/golangci-lint v1.43.0
15+
github.com/golangci/golangci-lint v1.44.0
1616
github.com/google/wire v0.5.0
1717
github.com/magefile/mage v1.12.1
1818
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0
@@ -25,24 +25,25 @@ require (
2525
4d63.com/gochecknoglobals v0.1.0 // indirect
2626
github.com/Antonboom/errname v0.1.5 // indirect
2727
github.com/Antonboom/nilnil v0.1.0 // indirect
28-
github.com/BurntSushi/toml v0.4.1 // indirect
28+
github.com/BurntSushi/toml v1.0.0 // indirect
2929
github.com/CycloneDX/cyclonedx-go v0.4.0 // indirect
3030
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
3131
github.com/Masterminds/semver v1.5.0 // indirect
3232
github.com/Microsoft/go-winio v0.4.16 // indirect
33-
github.com/OpenPeeDeeP/depguard v1.0.1 // indirect
33+
github.com/OpenPeeDeeP/depguard v1.1.0 // indirect
3434
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
3535
github.com/acomagu/bufpipe v1.0.3 // indirect
3636
github.com/alexkohler/prealloc v1.0.0 // indirect
37-
github.com/ashanbrown/forbidigo v1.2.0 // indirect
38-
github.com/ashanbrown/makezero v0.0.0-20210520155254-b6261585ddde // indirect
37+
github.com/ashanbrown/forbidigo v1.3.0 // indirect
38+
github.com/ashanbrown/makezero v1.1.0 // indirect
3939
github.com/beorn7/perks v1.0.1 // indirect
4040
github.com/bkielbasa/cyclop v1.2.0 // indirect
41-
github.com/blizzy78/varnamelen v0.3.0 // indirect
41+
github.com/blizzy78/varnamelen v0.5.0 // indirect
4242
github.com/bombsimon/wsl/v3 v3.3.0 // indirect
43-
github.com/breml/bidichk v0.1.1 // indirect
43+
github.com/breml/bidichk v0.2.1 // indirect
44+
github.com/breml/errchkjson v0.2.1 // indirect
4445
github.com/butuzov/ireturn v0.1.1 // indirect
45-
github.com/cespare/xxhash/v2 v2.1.1 // indirect
46+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
4647
github.com/charithe/durationcheck v0.0.9 // indirect
4748
github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af // indirect
4849
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -52,12 +53,12 @@ require (
5253
github.com/ekzhu/minhash-lsh v0.0.0-20171225071031-5c06ee8586a1 // indirect
5354
github.com/emicklei/dot v0.15.0 // indirect
5455
github.com/emirpasic/gods v1.12.0 // indirect
55-
github.com/esimonov/ifshort v1.0.3 // indirect
56+
github.com/esimonov/ifshort v1.0.4 // indirect
5657
github.com/ettle/strcase v0.1.1 // indirect
5758
github.com/fatih/structtag v1.2.0 // indirect
5859
github.com/fsnotify/fsnotify v1.5.1 // indirect
59-
github.com/fzipp/gocyclo v0.3.1 // indirect
60-
github.com/go-critic/go-critic v0.6.1 // indirect
60+
github.com/fzipp/gocyclo v0.4.0 // indirect
61+
github.com/go-critic/go-critic v0.6.2 // indirect
6162
github.com/go-enry/go-license-detector/v4 v4.3.0 // indirect
6263
github.com/go-git/gcfg v1.5.0 // indirect
6364
github.com/go-git/go-billy/v5 v5.3.1 // indirect
@@ -87,10 +88,10 @@ require (
8788
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
8889
github.com/google/subcommands v1.0.1 // indirect
8990
github.com/google/uuid v1.3.0 // indirect
90-
github.com/gordonklaus/ineffassign v0.0.0-20210225214923-2e10b2664254 // indirect
91+
github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect
9192
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
9293
github.com/gostaticanalysis/comment v1.4.2 // indirect
93-
github.com/gostaticanalysis/forcetypeassert v0.0.0-20200621232751-01d4955beaa5 // indirect
94+
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
9495
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
9596
github.com/hashicorp/errwrap v1.0.0 // indirect
9697
github.com/hashicorp/go-multierror v1.1.1 // indirect
@@ -105,99 +106,103 @@ require (
105106
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
106107
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
107108
github.com/jonboulle/clockwork v0.2.2 // indirect
108-
github.com/julz/importas v0.0.0-20210419104244-841f0c0fe66d // indirect
109+
github.com/julz/importas v0.1.0 // indirect
109110
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
110111
github.com/kisielk/errcheck v1.6.0 // indirect
111112
github.com/kisielk/gotool v1.0.0 // indirect
112-
github.com/kulti/thelper v0.4.0 // indirect
113+
github.com/kulti/thelper v0.5.0 // indirect
113114
github.com/kunwardeep/paralleltest v1.0.3 // indirect
114115
github.com/kyoh86/exportloopref v0.1.8 // indirect
115116
github.com/ldez/gomoddirectives v0.2.2 // indirect
116-
github.com/ldez/tagliatelle v0.2.0 // indirect
117+
github.com/ldez/tagliatelle v0.3.0 // indirect
118+
github.com/leonklingele/grouper v1.1.0 // indirect
117119
github.com/magiconair/properties v1.8.5 // indirect
118120
github.com/maratori/testpackage v1.0.1 // indirect
119121
github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // indirect
120-
github.com/mattn/go-colorable v0.1.11 // indirect
122+
github.com/mattn/go-colorable v0.1.12 // indirect
121123
github.com/mattn/go-isatty v0.0.14 // indirect
122124
github.com/mattn/go-runewidth v0.0.9 // indirect
123125
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
124126
github.com/mbilski/exhaustivestruct v1.2.0 // indirect
125127
github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 // indirect
126-
github.com/mgechev/revive v1.1.2 // indirect
128+
github.com/mgechev/revive v1.1.3 // indirect
127129
github.com/mitchellh/go-homedir v1.1.0 // indirect
128-
github.com/mitchellh/mapstructure v1.4.2 // indirect
130+
github.com/mitchellh/mapstructure v1.4.3 // indirect
129131
github.com/montanaflynn/stats v0.0.0-20151014174947-eeaced052adb // indirect
130132
github.com/moricho/tparallel v0.2.1 // indirect
131133
github.com/nakabonne/nestif v0.3.1 // indirect
132134
github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect
133-
github.com/nishanths/exhaustive v0.2.3 // indirect
135+
github.com/nishanths/exhaustive v0.7.11 // indirect
134136
github.com/nishanths/predeclared v0.2.1 // indirect
135137
github.com/olekukonko/tablewriter v0.0.5 // indirect
136138
github.com/pelletier/go-toml v1.9.4 // indirect
137139
github.com/peterbourgon/ff/v3 v3.1.0 // indirect
138140
github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d // indirect
139141
github.com/pkg/errors v0.9.1 // indirect
140142
github.com/pmezard/go-difflib v1.0.0 // indirect
141-
github.com/polyfloyd/go-errorlint v0.0.0-20210722154253-910bb7978349 // indirect
143+
github.com/polyfloyd/go-errorlint v0.0.0-20211125173453-6d6d39c5bb8b // indirect
142144
github.com/prometheus/client_golang v1.7.1 // indirect
143145
github.com/prometheus/client_model v0.2.0 // indirect
144146
github.com/prometheus/common v0.10.0 // indirect
145147
github.com/prometheus/procfs v0.6.0 // indirect
146-
github.com/quasilyte/go-ruleguard v0.3.13 // indirect
148+
github.com/quasilyte/go-ruleguard v0.3.15 // indirect
149+
github.com/quasilyte/gogrep v0.0.0-20220103110004-ffaa07af02e3 // indirect
147150
github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95 // indirect
148151
github.com/rs/zerolog v1.26.0 // indirect
149-
github.com/russross/blackfriday/v2 v2.0.1 // indirect
152+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
150153
github.com/ryancurrah/gomodguard v1.2.3 // indirect
151154
github.com/ryanrolds/sqlclosecheck v0.3.0 // indirect
152155
github.com/sanposhiho/wastedassign/v2 v2.0.6 // indirect
153-
github.com/securego/gosec/v2 v2.9.1 // indirect
156+
github.com/securego/gosec/v2 v2.9.6 // indirect
154157
github.com/sergi/go-diff v1.1.0 // indirect
155158
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
156159
github.com/shogo82148/go-shuffle v0.0.0-20170808115208-59829097ff3b // indirect
157-
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
158160
github.com/sirupsen/logrus v1.8.1 // indirect
161+
github.com/sivchari/containedctx v1.0.1 // indirect
159162
github.com/sivchari/tenv v1.4.7 // indirect
160163
github.com/sonatard/noctx v0.0.1 // indirect
161164
github.com/sourcegraph/go-diff v0.6.1 // indirect
162165
github.com/spf13/afero v1.6.0 // indirect
163166
github.com/spf13/cast v1.4.1 // indirect
164-
github.com/spf13/cobra v1.2.1 // indirect
167+
github.com/spf13/cobra v1.3.0 // indirect
165168
github.com/spf13/jwalterweatherman v1.1.0 // indirect
166169
github.com/spf13/pflag v1.0.5 // indirect
167-
github.com/spf13/viper v1.9.0 // indirect
170+
github.com/spf13/viper v1.10.1 // indirect
168171
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
169172
github.com/stretchr/objx v0.1.1 // indirect
170173
github.com/stretchr/testify v1.7.0 // indirect
171174
github.com/subosito/gotenv v1.2.0 // indirect
172175
github.com/sylvia7788/contextcheck v1.0.4 // indirect
173-
github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b // indirect
176+
github.com/tdakkota/asciicheck v0.1.1 // indirect
174177
github.com/tetafro/godot v1.4.11 // indirect
175-
github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94 // indirect
178+
github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144 // indirect
176179
github.com/tomarrell/wrapcheck/v2 v2.4.0 // indirect
177-
github.com/tommy-muehle/go-mnd/v2 v2.4.0 // indirect
180+
github.com/tommy-muehle/go-mnd/v2 v2.5.0 // indirect
178181
github.com/ultraware/funlen v0.0.3 // indirect
179182
github.com/ultraware/whitespace v0.0.4 // indirect
180183
github.com/uudashr/gocognit v1.0.5 // indirect
181184
github.com/xanzy/ssh-agent v0.3.0 // indirect
182-
github.com/yeya24/promlinter v0.1.0 // indirect
183-
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
185+
github.com/yagipy/maintidx v1.0.0 // indirect
186+
github.com/yeya24/promlinter v0.1.1-0.20210918184747-d757024714a1 // indirect
187+
gitlab.com/bosi/decorder v0.2.1 // indirect
188+
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce // indirect
184189
golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5 // indirect
185190
golang.org/x/mod v0.5.1 // indirect
186-
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
191+
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
187192
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
188-
golang.org/x/sys v0.0.0-20211213223007-03aa0b5f6827 // indirect
193+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
189194
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect
190195
golang.org/x/text v0.3.7 // indirect
191-
golang.org/x/tools v0.1.8 // indirect
196+
golang.org/x/tools v0.1.9-0.20211228192929-ee1ca4ffc4da // indirect
192197
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
193198
gonum.org/v1/gonum v0.7.0 // indirect
194-
gopkg.in/ini.v1 v1.63.2 // indirect
199+
gopkg.in/ini.v1 v1.66.2 // indirect
195200
gopkg.in/neurosnap/sentences.v1 v1.0.6 // indirect
196201
gopkg.in/warnings.v0 v0.1.2 // indirect
197202
gopkg.in/yaml.v2 v2.4.0 // indirect
198203
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
199-
honnef.co/go/tools v0.2.1 // indirect
204+
honnef.co/go/tools v0.2.2 // indirect
200205
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect
201206
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
202-
mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7 // indirect
207+
mvdan.cc/unparam v0.0.0-20211214103731-d0ef000c54e5 // indirect
203208
)

‎tools/go.sum

+186-120
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.