Skip to content

Commit

Permalink
build(deps): bump honnef.co/go/tools from 0.4.5 to 0.4.6 in /tools (#140
Browse files Browse the repository at this point in the history
)

Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools) from
0.4.5 to 0.4.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dominikh/go-tools/releases">honnef.co/go/tools's
releases</a>.</em></p>
<blockquote>
<h2>Staticcheck 2023.1.6 (v0.4.6)</h2>
<p>This release fixes the following bugs:</p>
<ul>
<li>A crash when using the upcoming Go 1.22 (<a
href="https://staticcheck.io/issues/1442">issue 1442</a>)</li>
<li>A false positive in <a
href="https://staticcheck.io/docs/checks/#SA9005">SA9005</a> when
embedding basic types (<a
href="https://staticcheck.io/issues/1443">issue 1443</a>)</li>
</ul>
<h2>Staticcheck 2023.1.5 (v0.4.5)</h2>
<p>This release fixes the following bug:</p>
<ul>
<li>A crash involving methods named <code>_</code></li>
</ul>
<h2>Staticcheck 2023.1.4 (v0.4.4)</h2>
<p>This release adds support for <strong>Go 1.21</strong> and fixes the
following bugs:</p>
<ul>
<li>Three crashes when encountering unnecessarily parenthesized
statements (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1393">#1393</a>,
<a
href="https://redirect.github.com/dominikh/go-tools/issues/1400">#1400</a>)</li>
<li>Unnecessarily high memory usage when analyzing composite literals
such as <code>[]int{1&lt;&lt;31: 1}</code> (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1393">#1393</a>)</li>
<li>A false positive in <a
href="https://staticcheck.dev/docs/checks/#S1011">S1011</a> when
appending to a dynamic left-hand side (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1399">#1399</a>)</li>
<li>A crash involving generics (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1410">#1410</a>)</li>
<li>A false positive in <a
href="https://staticcheck.dev/docs/checks/#SA9001">SA9001</a> involving
control flow statements (<a
href="https://redirect.github.com/dominikh/go-tools/issues/488">#488</a>)</li>
<li>A false positive in <a
href="https://staticcheck.dev/docs/checks/#ST1003">ST1003</a>,
complaining about the names of fuzz functions (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1420">#1420</a>)</li>
</ul>
<h2>Staticcheck 2023.1.3 (v0.4.3)</h2>
<p>This release fixes the following bugs:</p>
<ul>
<li>A crash when embedding type aliases of unnamed types (<a
href="https://staticcheck.io/issues/1361">issue 1361</a>)</li>
<li>A false positive in U1000, claiming that type aliases are unused (<a
href="https://staticcheck.io/issues/1365">issue 1365</a>)</li>
<li>A bug in the binary formatter that prevented correct merging
behavior for some checks (<a
href="https://staticcheck.io/issues/1372">issue 1372</a>)</li>
</ul>
<h2>Staticcheck 2023.1.2 (v0.4.2)</h2>
<p>This release fixes a bug that prevented the <code>binary</code>
formatter from working (<a
href="https://staticcheck.io/issues/1370">issue 1370</a>).</p>
<h2>Staticcheck 2023.1.1 (v0.4.1)</h2>
<p>This release fixes a crash, a false positive in U1000 (<a
href="https://staticcheck.io/issues/1360">issue 1360</a>) and improves
the way deprecated API is flagged (<a
href="https://staticcheck.io/issues/1318">issue 1318</a>).</p>
<p>When targeting a Go version that is older than the version that
deprecated an API, <a
href="https://staticcheck.io/docs/checks/#SA1019">SA1019</a> will no
longer flag the use even if there is already an alternative available in
the targeted Go version.</p>
<p>For example, <code>math/rand.Seed</code> has been deprecated in Go
1.20, but an alternative has existed since Go 1.0. In the past, we would
flag uses of <code>Seed</code> even if targeting e.g. Go 1.19, to
encourage better forwards compatibility. This can lead to unnecessary
churn, however, because the correct change may depend on the Go version
in use. For example, for <code>Seed</code> before Go 1.20, the
alternative is to use a separate instance of
<code>math/rand.Rand</code>, whereas in Go 1.20, a possible alternative
is to simply drop the call to <code>Seed</code>.</p>
<h2>Staticcheck 2023.1 (v0.4.0)</h2>
<p>Staticcheck 2023.1 adds support for Go 1.20, brings minor
improvements to various checks, and replaces U1000 with a new
implementation.</p>
<p>The following checks have been improved:</p>
<ul>
<li>The wording of <a
href="https://staticcheck.io/docs/checks/#S1001">S1001</a> has been made
clearer for cases involving arrays. Furthermore, it no longer suggests
using copy when the function has been shadowed.</li>
<li><a href="https://staticcheck.io/docs/checks/#S1011">S1011</a> now
recognizes index-based loops (<a
href="https://staticcheck.io/issues/881">issue 881</a>).</li>
<li><a href="https://staticcheck.io/docs/checks/#SA1019">SA1019</a> no
longer flags tests (internal or external) that use deprecated API from
the package under test (<a
href="https://staticcheck.io/issues/1285">issue 1285</a>). Furthermore,
entire declaration groups (such as groups of constants) can now be
marked as deprecated (<a href="https://staticcheck.io/issues/1313">issue
1313</a>).</li>
<li><a href="https://staticcheck.io/docs/checks/#SA4017">SA4017</a> now
detects more functions, including those in the time package (<a
href="https://staticcheck.io/issues/1353">issue 1353</a>). Additionally,
its wording has been made clearer.</li>
<li><a href="https://staticcheck.io/docs/checks/#SA5010">SA5010</a> no
longer gets confused by type assertions involving generic types (<a
href="https://staticcheck.io/issues/1354">issue 1354</a>).</li>
<li><a href="https://staticcheck.io/docs/checks/#ST1005">ST1005</a> no
longer flags errors that start with alpha-numeric acronyms such as
P384.</li>
<li>Improvements to our intermediate representation may allow various
checks to find more problems.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dominikh/go-tools/commit/f57fec247eddf41c04774af84b91e41dd78a3173"><code>f57fec2</code></a>
Version 2023.1.6 (v0.4.6)</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/a36643ede2e4d962c7058dbfc5cf6cd515a949dc"><code>a36643e</code></a>
website: go mod tidy</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/fd8f26e997b26625c4534646694e05f059585be2"><code>fd8f26e</code></a>
website: add 2023.1.6 release notes</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/7e20d40c0d159831c6973a7fae83567be9c2bbdf"><code>7e20d40</code></a>
go/types/typeutil: when flattening, don't ignore embedded types that
aren't s...</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/0aaa8fab6437e87b113f67501b21057291729012"><code>0aaa8fa</code></a>
Update dependency on golang.org/x/tools</li>
<li>See full diff in <a
href="https://github.com/dominikh/go-tools/compare/v0.4.5...v0.4.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=honnef.co/go/tools&package-manager=go_modules&previous-version=0.4.5&new-version=0.4.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 18, 2023
1 parent d9f55dd commit 9a01723
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ go 1.18
require (
github.com/stretchr/testify v1.8.4
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
honnef.co/go/tools v0.4.5
honnef.co/go/tools v0.4.6
)

require (
github.com/BurntSushi/toml v1.2.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/tools v0.9.4-0.20230601214343-86c93e8732cc // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/tools v0.12.1-0.20230825192346-2191a27a6dc5 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
18 changes: 9 additions & 9 deletions tools/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a/go.mod h1:AbB0pIl
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug=
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.9.4-0.20230601214343-86c93e8732cc h1:mqZawFxUzsv+YVwGQO30cZegeV/YD6dAwsdGxi0tQQg=
golang.org/x/tools v0.9.4-0.20230601214343-86c93e8732cc/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
golang.org/x/tools v0.12.1-0.20230825192346-2191a27a6dc5 h1:Vk4mysSz+GqQK2eqgWbo4zEO89wkeAjJiFIr9bpqa8k=
golang.org/x/tools v0.12.1-0.20230825192346-2191a27a6dc5/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.4.5 h1:YGD4H+SuIOOqsyoLOpZDWcieM28W47/zRO7f+9V3nvo=
honnef.co/go/tools v0.4.5/go.mod h1:GUV+uIBCLpdf0/v6UhHHG/yzI/z6qPskBeQCjcNB96k=
honnef.co/go/tools v0.4.6 h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8=
honnef.co/go/tools v0.4.6/go.mod h1:+rnGS1THNh8zMwnd2oVOTL9QF6vmfyG6ZXBULae2uc0=

0 comments on commit 9a01723

Please sign in to comment.