Bump go.uber.org/mock from 0.3.0 to 0.4.0 (#1089)

Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.3.0 to
0.4.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.4.0</h2>
<h2>0.4.0 (20 Dec 2023)</h2>
<h3>Added</h3>
<ul>
<li><a href="https://redirect.github.com/uber/mock/issues/63">#63</a>[]:
<code>AnyOf</code> matcher for values that satisfy at least one
matcher.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/114">#114</a>[]:
<code>Regex</code> matcher.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/uber/mock/issues/93">#93</a>[]:
Ignore interfaces that contain type constraints.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/101">#101</a>[]: Fix
race condition on Controller.Satisfied.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/121">#121</a>[]: Fix
paths for windows.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/127">#127</a>[]:
Propogate -mock_names to Recorder and ReturnCall types.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/132">#132</a>[]:
Sanitize &quot;any&quot; package names.</li>
</ul>
<p><a href="https://redirect.github.com/uber/mock/issues/63">#63</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/63">uber-go/mock#63</a>
<a href="https://redirect.github.com/uber/mock/issues/93">#93</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/93">uber-go/mock#93</a>
<a href="https://redirect.github.com/uber/mock/issues/101">#101</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/101">uber-go/mock#101</a>
<a href="https://redirect.github.com/uber/mock/issues/114">#114</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/114">uber-go/mock#114</a>
<a href="https://redirect.github.com/uber/mock/issues/121">#121</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/121">uber-go/mock#121</a>
<a href="https://redirect.github.com/uber/mock/issues/127">#127</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/127">uber-go/mock#127</a>
<a href="https://redirect.github.com/uber/mock/issues/132">#132</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/132">uber-go/mock#132</a></p>
<p>Thanks to <a
href="https://github.com/favonia"><code>@​favonia</code></a> <a
href="https://github.com/hoonmin"><code>@​hoonmin</code></a> <a
href="https://github.com/pshopper"><code>@​pshopper</code></a> <a
href="https://github.com/davidharrigan"><code>@​davidharrigan</code></a>
<a href="https://github.com/dlsniper"><code>@​dlsniper</code></a> <a
href="https://github.com/merrett010"><code>@​merrett010</code></a>
<a href="https://github.com/craig65535"><code>@​craig65535</code></a> <a
href="https://github.com/chemidy"><code>@​chemidy</code></a> <a
href="https://github.com/tulzke"><code>@​tulzke</code></a> <a
href="https://github.com/UnAfraid"><code>@​UnAfraid</code></a> <a
href="https://github.com/JacobOaks"><code>@​JacobOaks</code></a> <a
href="https://github.com/sywhang"><code>@​sywhang</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.4.0 (20 Dec 2023)</h2>
<h3>Added</h3>
<ul>
<li><a href="https://redirect.github.com/uber/mock/issues/63">#63</a>[]:
<code>AnyOf</code> matcher for values that satisfy at least one
matcher.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/114">#114</a>[]:
<code>Regex</code> matcher.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/uber/mock/issues/93">#93</a>[]:
Ignore interfaces that contain type constraints.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/101">#101</a>[]: Fix
race condition on Controller.Satisfied.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/121">#121</a>[]: Fix
paths for windows.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/127">#127</a>[]:
Propogate -mock_names to Recorder and ReturnCall types.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/132">#132</a>[]:
Sanitize &quot;any&quot; package names.</li>
</ul>
<p><a href="https://redirect.github.com/uber/mock/issues/63">#63</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/63">uber-go/mock#63</a>
<a href="https://redirect.github.com/uber/mock/issues/93">#93</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/93">uber-go/mock#93</a>
<a href="https://redirect.github.com/uber/mock/issues/101">#101</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/101">uber-go/mock#101</a>
<a href="https://redirect.github.com/uber/mock/issues/114">#114</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/114">uber-go/mock#114</a>
<a href="https://redirect.github.com/uber/mock/issues/121">#121</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/121">uber-go/mock#121</a>
<a href="https://redirect.github.com/uber/mock/issues/127">#127</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/127">uber-go/mock#127</a>
<a href="https://redirect.github.com/uber/mock/issues/132">#132</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/132">uber-go/mock#132</a></p>
<p>Thanks to <a
href="https://github.com/favonia"><code>@​favonia</code></a> <a
href="https://github.com/hoonmin"><code>@​hoonmin</code></a> <a
href="https://github.com/pshopper"><code>@​pshopper</code></a> <a
href="https://github.com/davidharrigan"><code>@​davidharrigan</code></a>
<a href="https://github.com/dlsniper"><code>@​dlsniper</code></a> <a
href="https://github.com/merrett010"><code>@​merrett010</code></a>
<a href="https://github.com/craig65535"><code>@​craig65535</code></a> <a
href="https://github.com/chemidy"><code>@​chemidy</code></a> <a
href="https://github.com/tulzke"><code>@​tulzke</code></a> <a
href="https://github.com/UnAfraid"><code>@​UnAfraid</code></a> <a
href="https://github.com/JacobOaks"><code>@​JacobOaks</code></a> <a
href="https://github.com/sywhang"><code>@​sywhang</code></a> for their
contributions this release.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="74a29c6e6c"><code>74a29c6</code></a>
Release v0.4.0 (<a
href="https://redirect.github.com/uber/mock/issues/131">#131</a>)</li>
<li><a
href="37f6db3f59"><code>37f6db3</code></a>
mockgen: Sanitize the &quot;any&quot; package name (<a
href="https://redirect.github.com/uber/mock/issues/132">#132</a>)</li>
<li><a
href="6dd8fe543e"><code>6dd8fe5</code></a>
Fixed -mockNames not propagating to Recorder and ReturnCall types (<a
href="https://redirect.github.com/uber/mock/issues/127">#127</a>)</li>
<li><a
href="7bf3d91b89"><code>7bf3d91</code></a>
added a description of the exclude_interfaces flag to the README (<a
href="https://redirect.github.com/uber/mock/issues/123">#123</a>)</li>
<li><a
href="5b48f95960"><code>5b48f95</code></a>
MockGen header comment: trim .exe suffix on Windows (<a
href="https://redirect.github.com/uber/mock/issues/119">#119</a>)</li>
<li><a
href="857e269dd5"><code>857e269</code></a>
Update model.go (<a
href="https://redirect.github.com/uber/mock/issues/115">#115</a>)</li>
<li><a
href="7fb6390728"><code>7fb6390</code></a>
Use path.Join for expected package paths (<a
href="https://redirect.github.com/uber/mock/issues/121">#121</a>)</li>
<li><a
href="94a7ac3403"><code>94a7ac3</code></a>
feat: add Regex() matcher (<a
href="https://redirect.github.com/uber/mock/issues/114">#114</a>)</li>
<li><a
href="b23394047e"><code>b233940</code></a>
Fix 111: Package comments are now split correctly from the rest of the
commen...</li>
<li><a
href="892b665398"><code>892b665</code></a>
fix: race condition on Controller.Satisfied (<a
href="https://redirect.github.com/uber/mock/issues/101">#101</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uber/mock/compare/v0.3.0...v0.4.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.3.0&new-version=0.4.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-12-27 16:46:36 +01:00 committed by GitHub
parent c6a2ce6ea8
commit 0c850ddab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -31,7 +31,7 @@ require (
) )
require ( require (
go.uber.org/mock v0.3.0 go.uber.org/mock v0.4.0
gopkg.in/yaml.v3 v3.0.1 gopkg.in/yaml.v3 v3.0.1
) )

4
go.sum generated
View File

@ -154,8 +154,8 @@ github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA
github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
go.uber.org/mock v0.3.0 h1:3mUxI1No2/60yUYax92Pt8eNOEecx2D3lcXZh2NEZJo= go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
go.uber.org/mock v0.3.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=