You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 10.0.0 dependency bump, axios-cookiejar-support was left at ^1.0.1 when the latest is 2.0.4. Why wasn't this updated in line with the others? Well...
but it turns out axios-cookiejar-support doesn't like our use of custom http/https agents. In fact it refuses to run when they are supplied. Error [axios-cookiejar-support does not support for use with other http(s).Agent.].
I think another feasible option would be to remove additional cookie-handling dependencies altogether from nano or to make it optional. Instead, nano could expose its axios - instance and allow to overwrite/ wrap it, as needed.
May also be worth considering reducing reliance on axios altogether, especially now that the fetch api has landed in node 18. A few years down the road and nano could be a very thin, practically dependency-free library. 🙂
In the 10.0.0 dependency bump, axios-cookiejar-support was left at
^1.0.1
when the latest is2.0.4
. Why wasn't this updated in line with the others? Well...axios-cookiejar-support
has changed - this is not a big deal. Usage is https://github.com/3846masa/axios-cookiejar-support#usageaxios-cookiejar-support
doesn't like our use of custom http/https agents. In fact it refuses to run when they are supplied.Error [axios-cookiejar-support does not support for use with other http(s).Agent.].
Others have spotted this and the developer's advise is here 3846masa/axios-cookiejar-support#431. In short:
axios-cookiejar-support
axios-cookiejar-support
Doing it this way may also eliminate this bug at the same time: #264.
This seems like it's worth a try, but didn't want to hold up v10 (any more than it was) while fiddling with it.
The text was updated successfully, but these errors were encountered: