Update dependency axios-mock-adapter to v2 - #4695
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
November 10, 2025 13:54
e197b8e to
32877ff
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
November 11, 2025 23:25
362dad0 to
f511080
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
November 18, 2025 09:51
f511080 to
693bc9b
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
November 19, 2025 12:11
693bc9b to
3647393
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
December 3, 2025 15:09
3647393 to
323b53c
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
December 4, 2025 16:33
323b53c to
7343c27
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
December 31, 2025 19:33
7343c27 to
39e6c67
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
January 9, 2026 09:40
39e6c67 to
3959233
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
January 23, 2026 16:21
7fa4f9b to
ce70ece
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
February 2, 2026 15:23
ce70ece to
06bcb78
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
February 4, 2026 20:32
06bcb78 to
d091909
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
February 5, 2026 14:04
d091909 to
44f3312
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
March 11, 2026 17:27
eb44347 to
86664d8
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
March 13, 2026 10:59
86664d8 to
170690e
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
March 27, 2026 16:30
1ff316a to
b6298c1
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
April 1, 2026 16:15
b6298c1 to
5070d2c
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
April 8, 2026 16:27
5070d2c to
db68845
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
May 9, 2026 09:08
db68845 to
3dc9b46
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
May 18, 2026 10:59
18db0b6 to
3f715d4
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
May 28, 2026 14:17
3f715d4 to
2606579
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
June 1, 2026 11:23
2606579 to
deb31ae
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
2 times, most recently
from
June 11, 2026 17:46
fdbc053 to
0f6acb4
Compare
renovate
Bot
force-pushed
the
renovate/axios-mock-adapter-2.x
branch
from
July 8, 2026 17:26
0f6acb4 to
41e453e
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.0.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: (in timezone Europe/London)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.