-
Notifications
You must be signed in to change notification settings - Fork 762
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
Superagent downgrading #558
Conversation
@gjohnson What do you think about that? 🤓 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this is really the only path forward. My bad on not catching this last go around. In the next-release we should make sure we use a tag in npm or something so it's flagged as unstable.
@rimiti I'll let you merge and release. We'll discuss a path forward on slack. |
it should have been tagged as v4.0.0-alpha.1 but we can rewrite the past. |
Thank all of you. At least this was published on a major/breaking version anyway. Could be worse. :) |
FWIW, I believe the actual root cause of the problem is in superagent and should be already fixed by my pull request ladjs/superagent#1468. Once a new version of superagent is released, we should be good to use |
any news on upgrading this? |
Checked out |
I'll try to pre-release a version today. |
Hello,
To quickly unblock the situation, I propose to downgrade the superagent version.
Details of this PR:
Related issues:
Current investigation:
The line causing this promise issue in superagent: https://github.com/visionmedia/superagent/blob/master/lib/request-base.js#L245
If this line is commented, supertest works fine with superagent v4.
Note: I am very busy to investigate for now, if anyone has time to work on a new pull request (regarding the safe update of superagent), it would be great. Otherwise I will do it as soon as I have time;