-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[feat] Switch to undici
(PR welcome)
#1763
Comments
undici
undici
(PR welcome)
This would be a major semver bump and large rewrite. |
👍 for this! Looking at the dependency graph: https://npmgraph.js.org/[email protected] it would be nice to replace them with undici or NodeJS FormData stuff. |
yeah it would be amazing to have all functionality of superagent (e.g. retrys) on top of undici |
Could you maybe create a new brach? i would expect there to be kind of many breaking changes...
.on('request', function () {
this.xhr.responseType = 'arraybuffer';
}) it's going to be a I could expect blob/files could be used on the backend as well along with FormData to solve this problem then another approch would be to import or we would have to read the files content sync and create a Blob in memory... |
@jimmywarting this all sounds amazing. we just gave you collab access to the entire @ladjs org. |
We'd like to switch to use undici instead of
http
andhttps
packages. The performance difference is staggering and it would makesuperagent
one of the only userland wrappers that use it under the hood.The text was updated successfully, but these errors were encountered: