Skip to content

Update dependency axios-mock-adapter to v2 - #4695

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/axios-mock-adapter-2.x
Open

Update dependency axios-mock-adapter to v2#4695
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/axios-mock-adapter-2.x

Conversation

@renovate

@renovate renovate Bot commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
axios-mock-adapter ^1.22.0^2.0.0 age confidence

Release Notes

ctimmerm/axios-mock-adapter (axios-mock-adapter)

v2.1.0

Compare Source

  • Migrate to modern js #​393
    • ♻️ Migrate internal handler to an object
    • ♻️ Migrate to ES2022
    • ♻️ Migrate to Class
    • ♻️ Migrate to async/await
    • 🎁 Migrate handlers and history to a flat array. That way one only needs to check the history array to see all requests. The verbs on the array are still exposed, so there's no downside.
    • 🎁 Add MockResponse types

v2.0.0

Compare 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)

  • Branch creation
    • "after 7am and before 11am every weekday"
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Oct 23, 2025
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from e197b8e to 32877ff Compare November 10, 2025 13:54
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch 2 times, most recently from 362dad0 to f511080 Compare November 11, 2025 23:25
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from f511080 to 693bc9b Compare November 18, 2025 09:51
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 693bc9b to 3647393 Compare November 19, 2025 12:11
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 3647393 to 323b53c Compare December 3, 2025 15:09
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 323b53c to 7343c27 Compare December 4, 2025 16:33
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 7343c27 to 39e6c67 Compare December 31, 2025 19:33
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 39e6c67 to 3959233 Compare January 9, 2026 09:40
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch 2 times, most recently from 7fa4f9b to ce70ece Compare January 23, 2026 16:21
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from ce70ece to 06bcb78 Compare February 2, 2026 15:23
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 06bcb78 to d091909 Compare February 4, 2026 20:32
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from d091909 to 44f3312 Compare February 5, 2026 14:04
@renovate
renovate Bot requested a review from danH-test March 5, 2026 14:55
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch 2 times, most recently from eb44347 to 86664d8 Compare March 11, 2026 17:27
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 86664d8 to 170690e Compare March 13, 2026 10:59
@renovate renovate Bot changed the title Update dependency axios-mock-adapter to v2 fix(deps): update dependency axios-mock-adapter to v2 Mar 20, 2026
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch 2 times, most recently from 1ff316a to b6298c1 Compare March 27, 2026 16:30
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from b6298c1 to 5070d2c Compare April 1, 2026 16:15
@renovate renovate Bot changed the title fix(deps): update dependency axios-mock-adapter to v2 Update dependency axios-mock-adapter to v2 Apr 8, 2026
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 5070d2c to db68845 Compare April 8, 2026 16:27
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from db68845 to 3dc9b46 Compare May 9, 2026 09:08
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch 2 times, most recently from 18db0b6 to 3f715d4 Compare May 18, 2026 10:59
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 3f715d4 to 2606579 Compare May 28, 2026 14:17
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 2606579 to deb31ae Compare June 1, 2026 11:23
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch 2 times, most recently from fdbc053 to 0f6acb4 Compare June 11, 2026 17:46
@renovate
renovate Bot force-pushed the renovate/axios-mock-adapter-2.x branch from 0f6acb4 to 41e453e Compare July 8, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants