infinitered / apisauce

Axios + standardized errors + request/response transforms.
MIT License
2.78k stars 184 forks source link

fix: Upgrades axios to 1.4.0 and fixes Node v17+ ipv6 issue in tests #311

Closed jamonholmgren closed 1 year ago

jamonholmgren commented 1 year ago

Fixes #307 (axios was not fully upgraded on 3.0.0 as planned).

Also fixed an issue when using nodejs v17+ as the http.createServer function uses ipv6 by default and didn't listen on 127.0.0.1 as previous nodes did.

Note: while this is technically a breaking change, the break was supposed to happen in 3.0.0, so we will release this as 3.0.1 and deprecate 3.0.0.

infinitered-circleci commented 1 year ago

:tada: This PR is included in version 3.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: