Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to Axios 0.25 #437

Merged
merged 7 commits into from Feb 4, 2022

Conversation

ballpointcarrot
Copy link
Contributor

@ballpointcarrot ballpointcarrot commented Jan 3, 2022

Builds off of #436; leaving as draft until that's applied.

Changes the mocking library for axios from moxios to axios-mock-adapter, as moxios doesn't seem to behave with newer versions of axios. With that change applied, we can then update axios itself to 0.24.

dependabot bot and others added 4 commits November 21, 2021 17:00
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.24.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.21.1...v0.24.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
axios v0.21.2 [removes the charset from JSON Content-Type
headers](axios/axios#2154). This adjusts the
tests to compensate for that change.
use 'axios-mock-adapter' over 'moxios' due to library changes that cause
incompatibilites with new versions of axios (over 0.21).
@ballpointcarrot ballpointcarrot marked this pull request as ready for review January 11, 2022 23:38
@jamesmbourne jamesmbourne changed the title Axios 0.24 chore: upgrade to Axios 0.24 Feb 4, 2022
@jamesmbourne jamesmbourne changed the title chore: upgrade to Axios 0.24 chore: upgrade to Axios 0.25 Feb 4, 2022
@jamesmbourne
Copy link
Owner

@all-contributors add @ballpointcarrot for test

@allcontributors
Copy link
Contributor

@jamesmbourne

I've put up a pull request to add @ballpointcarrot! 🎉

@jamesmbourne jamesmbourne merged commit 9ae8eb6 into jamesmbourne:main Feb 4, 2022
@jamesmbourne
Copy link
Owner

Thanks very much for this @ballpointcarrot! I've gone ahead and bumped this up to axios@0.25.0 and fixed some type mismatches.

@github-actions
Copy link

github-actions bot commented Feb 4, 2022

🎉 This PR is included in version 2.4.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ballpointcarrot ballpointcarrot deleted the axios-0.24 branch February 5, 2022 04:07
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.

None yet

2 participants