Skip to content

Commit

Permalink
build(deps): bump go.uber.org/mock from 0.4.0 to 0.5.0 (#4718)
Browse files Browse the repository at this point in the history
Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.4.0 to
0.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/uber/mock/releases">go.uber.org/mock's
releases</a>.</em></p>
<blockquote>
<h2>v0.5.0</h2>
<h2>0.5.0 (15 Oct 2024)</h2>
<h3>Added</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/153">#153</a>[]: Add
<code>--write_command_comment</code> flag to specify whether to include
<code>Generated by this command</code> comment.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/191">#191</a>[]: Add
<code>--build_constraint</code> flag to add <code>//go:build</code>
directives
to generated mocks</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/214">#214</a>[]: Add
gob mode to support custom package loading techniques in place
of --exec_only</li>
</ul>
<h3>Changed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/181">#181</a>[]: Made
mockgen faster by changing flags passed to <code>go list</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/183">#183</a>[]: Made
<code>Cond</code> matcher generic.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/204">#204</a>[]:
Removed <code>ISGOMOCK()</code> from generated mocks.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/207">#207</a>[]:
Deprecated reflect mode and replaced it with the new package mode.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/144">#144</a>[]: Fix
a deadlock that can happen when mocking an interface that
matches <code>fmt.Stringer</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/168">#168</a>[]: Fix
an issue where the &quot;generated by&quot; comment was being included
in the package comment of generated mocks.</li>
</ul>
<p><a href="https://redirect.github.com/uber/mock/issues/144">#144</a>:
<a
href="https://redirect.github.com/uber-go/mock/pull/144">uber-go/mock#144</a>
<a href="https://redirect.github.com/uber/mock/issues/153">#153</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/153">uber-go/mock#153</a>
<a href="https://redirect.github.com/uber/mock/issues/168">#168</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/168">uber-go/mock#168</a>
<a href="https://redirect.github.com/uber/mock/issues/181">#181</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/181">uber-go/mock#181</a>
<a href="https://redirect.github.com/uber/mock/issues/183">#183</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/183">uber-go/mock#183</a>
<a href="https://redirect.github.com/uber/mock/issues/191">#191</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/191">uber-go/mock#191</a>
<a href="https://redirect.github.com/uber/mock/issues/204">#204</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/204">uber-go/mock#204</a>
<a href="https://redirect.github.com/uber/mock/issues/207">#207</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/207">uber-go/mock#207</a>
<a href="https://redirect.github.com/uber/mock/issues/214">#214</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/214">uber-go/mock#214</a></p>
<p>Thanks to <a
href="https://github.com/tulzke"><code>@​tulzke</code></a> <a
href="https://github.com/JacobOaks"><code>@​JacobOaks</code></a> <a
href="https://github.com/ARR4N"><code>@​ARR4N</code></a> <a
href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>
<a href="https://github.com/sywhang"><code>@​sywhang</code></a> <a
href="https://github.com/fasmat"><code>@​fasmat</code></a>
<a href="https://github.com/eyasy1217"><code>@​eyasy1217</code></a> <a
href="https://github.com/ghouscht"><code>@​ghouscht</code></a> <a
href="https://github.com/tie"><code>@​tie</code></a> <a
href="https://github.com/Neo2308"><code>@​Neo2308</code></a> <a
href="https://github.com/carson-brill"><code>@​carson-brill</code></a>
<a href="https://github.com/alexandear"><code>@​alexandear</code></a> <a
href="https://github.com/sodul"><code>@​sodul</code></a>
<a href="https://github.com/nbgraham"><code>@​nbgraham</code></a> for
their contributions this release.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber-go/mock/blob/main/CHANGELOG.md">go.uber.org/mock's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.0 (15 Oct 2024)</h2>
<h3>Added</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/153">#153</a>[]: Add
<code>--write_command_comment</code> flag to specify whether to include
<code>Generated by this command</code> comment.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/191">#191</a>[]: Add
<code>--build_constraint</code> flag to add <code>//go:build</code>
directives
to generated mocks</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/214">#214</a>[]: Add
gob mode to support custom package loading techniques in place
of --exec_only</li>
</ul>
<h3>Changed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/181">#181</a>[]: Made
mockgen faster by changing flags passed to <code>go list</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/183">#183</a>[]: Made
<code>Cond</code> matcher generic.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/204">#204</a>[]:
Removed <code>ISGOMOCK()</code> from generated mocks.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/207">#207</a>[]:
Deprecated reflect mode and replaced it with the new package mode.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/144">#144</a>[]: Fix
a deadlock that can happen when mocking an interface that
matches <code>fmt.Stringer</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/168">#168</a>[]: Fix
an issue where the &quot;generated by&quot; comment was being included
in the package comment of generated mocks.</li>
</ul>
<p><a href="https://redirect.github.com/uber/mock/issues/144">#144</a>:
<a
href="https://redirect.github.com/uber-go/mock/pull/144">uber-go/mock#144</a>
<a href="https://redirect.github.com/uber/mock/issues/153">#153</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/153">uber-go/mock#153</a>
<a href="https://redirect.github.com/uber/mock/issues/168">#168</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/168">uber-go/mock#168</a>
<a href="https://redirect.github.com/uber/mock/issues/181">#181</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/181">uber-go/mock#181</a>
<a href="https://redirect.github.com/uber/mock/issues/183">#183</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/183">uber-go/mock#183</a>
<a href="https://redirect.github.com/uber/mock/issues/191">#191</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/191">uber-go/mock#191</a>
<a href="https://redirect.github.com/uber/mock/issues/204">#204</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/204">uber-go/mock#204</a>
<a href="https://redirect.github.com/uber/mock/issues/207">#207</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/207">uber-go/mock#207</a>
<a href="https://redirect.github.com/uber/mock/issues/214">#214</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/214">uber-go/mock#214</a></p>
<p>Thanks to <a
href="https://github.com/tulzke"><code>@​tulzke</code></a> <a
href="https://github.com/JacobOaks"><code>@​JacobOaks</code></a> <a
href="https://github.com/ARR4N"><code>@​ARR4N</code></a> <a
href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>
<a href="https://github.com/sywhang"><code>@​sywhang</code></a> <a
href="https://github.com/fasmat"><code>@​fasmat</code></a>
<a href="https://github.com/eyasy1217"><code>@​eyasy1217</code></a> <a
href="https://github.com/ghouscht"><code>@​ghouscht</code></a> <a
href="https://github.com/tie"><code>@​tie</code></a> <a
href="https://github.com/Neo2308"><code>@​Neo2308</code></a> <a
href="https://github.com/carson-brill"><code>@​carson-brill</code></a>
<a href="https://github.com/alexandear"><code>@​alexandear</code></a> <a
href="https://github.com/sodul"><code>@​sodul</code></a>
<a href="https://github.com/nbgraham"><code>@​nbgraham</code></a> for
their contributions this release.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/uber-go/mock/commit/a9c44d91ce00ef09603d3822452a4f9c8fefd278"><code>a9c44d9</code></a>
Release v0.5.0 (<a
href="https://redirect.github.com/uber/mock/issues/213">#213</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/d164a16861edcd88acf38b438ebba14f1853946b"><code>d164a16</code></a>
Add gob mode to support custom package loading techniques in place of
`--exec...</li>
<li><a
href="https://github.com/uber-go/mock/commit/d01ed306381618062d86af3645bc64920c13bfb0"><code>d01ed30</code></a>
deprecated reflect mode has been replaced with package mode (<a
href="https://redirect.github.com/uber/mock/issues/207">#207</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/6d5eb71bc5999757992687d51f5954befa471bad"><code>6d5eb71</code></a>
Regenerate generated mocks (<a
href="https://redirect.github.com/uber/mock/issues/206">#206</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/8adc9deb79a7b336b9a3232066bd22baa5ed7ec7"><code>8adc9de</code></a>
feat: <code>mockgen</code> flag <code>--build_constraint</code> to add
<code>//go:build</code> directives (<a
href="https://redirect.github.com/uber/mock/issues/191">#191</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/c50d83cecc89ff6caadcd7747b9c6bf9ddda9d58"><code>c50d83c</code></a>
Support Go 1.22 and Go 1.23 (<a
href="https://redirect.github.com/uber/mock/issues/203">#203</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/33ccc990781d28f8a296efe486196597d915792e"><code>33ccc99</code></a>
Avoid stringer-related deadlocks without adding ISGOMOCK (<a
href="https://redirect.github.com/uber/mock/issues/204">#204</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/60372e3e888c1a43656b5b495fabf1ba95fc2d6e"><code>60372e3</code></a>
chore: gofumpt -w . (<a
href="https://redirect.github.com/uber/mock/issues/202">#202</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/70a5e8c8f892fdd0f2381df782079f7da9fd1962"><code>70a5e8c</code></a>
Clarify documentation on Finish (<a
href="https://redirect.github.com/uber/mock/issues/194">#194</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/ec32d996cb2940d7e701c9edffa920057c759d6a"><code>ec32d99</code></a>
Bump goreleaser/goreleaser-action from 4 to 6 (<a
href="https://redirect.github.com/uber/mock/issues/182">#182</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uber/mock/compare/v0.4.0...v0.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.uber.org/mock&package-manager=go_modules&previous-version=0.4.0&new-version=0.5.0)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 26, 2024
1 parent 06834f6 commit a294c3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.31.0
go.opentelemetry.io/otel/trace v1.32.0
go.ptx.dk/multierrgroup v0.0.3
go.uber.org/mock v0.4.0
go.uber.org/mock v0.5.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.28.0
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a
Expand Down Expand Up @@ -146,7 +146,7 @@ require (
github.com/valyala/fasttemplate v1.2.2 // indirect
github.com/yashtewari/glob-intersection v0.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/mod v0.18.0 // indirect
gonum.org/v1/gonum v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
Expand Down Expand Up @@ -269,7 +269,7 @@ require (
golang.org/x/term v0.25.0
golang.org/x/text v0.20.0 // indirect
golang.org/x/time v0.7.0
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
golang.org/x/tools v0.22.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1
Expand Down
10 changes: 6 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1311,8 +1311,8 @@ go.uber.org/fx v1.20.1/go.mod h1:iSYNbHf2y55acNCwCXKx7LbWb5WG1Bnue5RDXz1OREg=
go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU=
go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM=
go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
Expand Down Expand Up @@ -1413,8 +1413,9 @@ golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
Expand Down Expand Up @@ -1755,8 +1756,9 @@ golang.org/x/tools v0.10.0/go.mod h1:UJwyiVBsOA2uwvK/e5OY3GTpDUJriEd+/YlqAwLPmyM
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg=
golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA=
golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down

0 comments on commit a294c3c

Please sign in to comment.