1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00

chore(deps): bump github.com/jarcoal/httpmock from 1.2.0 to 1.3.0 (#3760)

Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock)
from 1.2.0 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jarcoal/httpmock/releases">github.com/jarcoal/httpmock's
releases</a>.</em></p>
<blockquote>
<h2>v1.3.0</h2>
<p>New features:</p>
<ul>
<li>new <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Matcher">matcher
feature</a>, allowing to create a <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder">Responder</a>
based on <a
href="https://pkg.go.dev/net/http#Request">net/http.Request</a> content
(header or body for example), so not only on method and URL as before.
See the following new registering functions &amp; methods:
<ul>
<li><a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#RegisterMatcherResponder">RegisterMatcherResponder</a>
&amp; <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#MockTransport.RegisterMatcherResponder">MockTransport.RegisterMatcherResponder</a>,</li>
<li><a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#RegisterRegexpMatcherResponder">RegisterRegexpMatcherResponder</a>
&amp; <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#MockTransport.RegisterRegexpMatcherResponder">MockTransport.RegisterRegexpMatcherResponder</a>,</li>
<li><a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#RegisterMatcherResponderWithQuery">RegisterMatcherResponderWithQuery</a>
&amp; <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#MockTransport.RegisterMatcherResponderWithQuery">MockTransport.RegisterMatcherResponderWithQuery</a>;</li>
</ul>
</li>
<li>add following <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder">Responder</a>
methods, allowing to easily add some headers to the returned <a
href="https://pkg.go.dev/net/http#Response">net/http.Response</a>
without the need to craft a <a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder">Responder</a>
by hand:
<ul>
<li><a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder.SetContentLength">SetContentLength</a>,</li>
<li><a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder.HeaderAdd">HeaderAdd</a>,</li>
<li><a
href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder.HeaderSet">HeaderSet</a>.</li>
</ul>
</li>
</ul>
<p>Miscellaneous:</p>
<ul>
<li>documentation now uses new go1.19 doc features;</li>
<li>go minimal version required is now 1.13;</li>
<li>CI tests using go1.20 &amp; golangci-lint v1.51.0.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e977d517e9"><code>e977d51</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/139">#139</a>
from jarcoal/go120</li>
<li><a
href="df3afac771"><code>df3afac</code></a>
ci: test with go1.20</li>
<li><a
href="837f061d50"><code>837f061</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/138">#138</a>
from jarcoal/headers</li>
<li><a
href="d4ab20c68d"><code>d4ab20c</code></a>
feat: add Responder.{SetContentLength,HeaderAdd,HeaderSet} methods</li>
<li><a
href="db50b7669d"><code>db50b76</code></a>
perf(matchers): simplify http.NoBody case</li>
<li><a
href="b9e83a2877"><code>b9e83a2</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/136">#136</a>
from jarcoal/matchers</li>
<li><a
href="f69cd5e7f9"><code>f69cd5e</code></a>
feat: introduce new matchers feature</li>
<li><a
href="a55e9610f3"><code>a55e961</code></a>
refactor: go1.13 required now, so drop go1.9 to go1.12 support</li>
<li><a
href="f6c487638c"><code>f6c4876</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/134">#134</a>
from jarcoal/go119</li>
<li><a
href="638f16c700"><code>638f16c</code></a>
docs: uses new go1.19 doc features</li>
<li>Additional commits viewable in <a
href="https://github.com/jarcoal/httpmock/compare/v1.2.0...v1.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/jarcoal/httpmock&package-manager=go_modules&previous-version=1.2.0&new-version=1.3.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 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-02-07 09:45:00 -03:00 committed by GitHub
parent addd7c4ceb
commit 503f13e632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

2
go.mod
View File

@ -30,7 +30,7 @@ require (
github.com/hashicorp/go-multierror v1.1.1
github.com/imdario/mergo v0.3.13
github.com/invopop/jsonschema v0.7.0
github.com/jarcoal/httpmock v1.2.0
github.com/jarcoal/httpmock v1.3.0
github.com/klauspost/pgzip v1.2.5
github.com/mattn/go-mastodon v0.0.6
github.com/mitchellh/go-homedir v1.1.0

6
go.sum
View File

@ -1940,8 +1940,8 @@ github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dv
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.3.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
github.com/jarcoal/httpmock v1.2.0 h1:gSvTxxFR/MEMfsGrvRbdfpRUMBStovlSRLw0Ep1bwwc=
github.com/jarcoal/httpmock v1.2.0/go.mod h1:oCoTsnAz4+UoOUIf5lJOWV2QQIW5UoeUI6aM2YnWAZk=
github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc=
github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b/go.mod h1:hQmNrgofl+IY/8L+n20H6E6PWBBTokdsv+q49j0QhsU=
@ -2172,7 +2172,7 @@ github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpe
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI=
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
github.com/maxatome/go-testdeep v1.11.0 h1:Tgh5efyCYyJFGUYiT0qxBSIDeXw0F5zSoatlou685kk=
github.com/maxatome/go-testdeep v1.12.0 h1:Ql7Go8Tg0C1D/uMMX59LAoYK7LffeJQ6X2T04nTH68g=
github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY=
github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0/go.mod h1:fJ0UAZc1fx3xZhU4eSHQDJ1ApFmTVhp5VTpV9tm2ogg=
github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc=