neilenns / vatsim-plan-verifier

Verifies flight plans for vatsim flights
MIT License
2 stars 0 forks source link

Update dependency axios-mock-adapter to v2 #1322

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
axios-mock-adapter ^1.21.5 -> ^2.0.0 age adoption passing confidence

Release Notes

ctimmerm/axios-mock-adapter (axios-mock-adapter) ### [`v2.0.0`](https://togithub.com/ctimmerm/axios-mock-adapter/releases/tag/v2.0.0) [Compare Source](https://togithub.com/ctimmerm/axios-mock-adapter/compare/v1.22.0...v2.0.0) ##### Breaking Changes šŸ’„ - Drop node versions lower than v18 ([https://github.com/ctimmerm/axios-mock-adapter/pull/390](https://togithub.com/ctimmerm/axios-mock-adapter/pull/390)) - Change the parameters of the methods to align it to the one of axios. ([https://github.com/ctimmerm/axios-mock-adapter/pull/387](https://togithub.com/ctimmerm/axios-mock-adapter/pull/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 - "before 4am on Monday" (UTC), Automerge - "before 4am on Monday" (UTC).

šŸš¦ 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.

cloudflare-workers-and-pages[bot] commented 3 months ago

Deploying vatsim-plan-verifier with  Cloudflare Pages  Cloudflare Pages

Latest commit: 208927d
Status: āœ…  Deploy successful!
Preview URL: https://09efa8d7.vatsim-plan-verifier.pages.dev
Branch Preview URL: https://renovate-axios-mock-adapter.vatsim-plan-verifier.pages.dev

View logs