chore(deps): update dependency axios-mock-adapter to v2 - #852
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency axios-mock-adapter to v2#852renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
January 28, 2026 18:46
23a3d5e to
89b029c
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
February 13, 2026 22:16
71506bd to
49c9128
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
April 22, 2026 16:33
651d2e7 to
3b97ffa
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
April 29, 2026 21:13
3b97ffa to
9e8d687
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
May 15, 2026 15:01
9e8d687 to
55e733f
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
June 17, 2026 18:22
6340e5c to
b78a1e5
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
July 13, 2026 15:39
b78a1e5 to
ad76e2b
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
July 13, 2026 15:53
ad76e2b to
5c39100
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.22.0→2.1.0Release Notes
ctimmerm/axios-mock-adapter (axios-mock-adapter)
v2.1.0Compare Source
v2.0.0Compare Source
Breaking Changes 💥
Drop node versions lower than v18 (#390)
Change the parameters of the methods to align it to the one of axios. (#387)
The last parameter must be a config object with
{params, headers}instead of just the headers.If you've always only used two parameters, you won't have to change anything.
Methods with data param:
mock.onPost(url, data, headers)>mock.onPost(url, data, {params, headers})mock.onPut(url, data, headers)>mock.onPost(url, data, {params, headers})mock.onPatch(url, data, headers)>mock.onPatch(url, data, {params, headers})mock.onAny(url, data, headers)>mock.onAny(url, {data, params, headers})Methods without data param:
mock.onGet(url, {params}, headers)>mock.onGet(url, {params, headers})mock.onDelete(url, {params}, headers)>mock.onDelete(url, {params, headers})mock.onHead(url, {params}, headers)>mock.onHead(url, {params, headers})mock.onOptions(url, {params}, headers)>mock.onOptions(url, {params, headers})An error is reported if one accidentally passes the headers directly instead of `{headers: {}}.
e.g.
Error: Invalid config property Header-test provided to onPatch. Config: {"Header-test":"test-header"}Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.