-
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
Use res.getHeaders()
to avoid deprecation warning
#1503
Conversation
res.getHeaders()
to avoid depr-warningres.getHeaders()
to avoid deprecation warning
This isn't the only place where _headers is referenced, just look down a few lines in the file you changed. See my comments on the linked issue for more details. ETA: I misunderstood how the local |
Also: on L509 and L522, I think the |
Do we need tests added? |
Rebased to build on Node 12. Added |
Is there anything what I can do to help merge that PR? |
hi all 👋 thanks for all the work in pulling this together and maintaining this lib over the years 🙏🙇 fwiw, this is blocking formal i'd be happy to pitch in w/ additional fixes and / or testing as you see fit 👍 |
v5.1.2 is released to npm and everything should be fine with latest versions of Node now 🎉 If you find any further deprecation warnings in the future please let me know! npm install superagent@latest or with yarn: yarn add superagent@latest https://github.com/visionmedia/superagent/releases/tag/v5.1.2 |
See #1502