Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Replace deprecated Request library with Axios - #321

Open
ckortekaas wants to merge 5 commits into
bolderbrooklyn:masterfrom
Shorthand:master
Open

Replace deprecated Request library with Axios#321
ckortekaas wants to merge 5 commits into
bolderbrooklyn:masterfrom
Shorthand:master

Conversation

@ckortekaas

Copy link
Copy Markdown

Hey @jbhannah, in case you're happy for a PR to resolve the security issues in the old deprecated Request library, you might like this solution.

I also bumped a number of other libraries that had security CVEs.

I had to drop the timeout error test as it just didn't play well with Axios despite trying very hard with a number of different methods (including alternatives to Nock) and even trying alternatives to Axios. Timeout testing seems difficult to get working well, and from what I can tell, the existing test wasn't perfect either.

Thanks for your open-source work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant