kevva / download

Download and extract files
MIT License
1.28k stars 200 forks source link

Update got dependency to avoid deprecation warning #186

Open pbvahlst opened 4 years ago

pbvahlst commented 4 years ago

using node 12.9 I get af deprecation warning:

[DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

Which seems to be related to an old version of the "got" module. Could the dependency be updated?

und3rs commented 4 years ago

Same issue.

I thinks it is related to timeout in options. After adding timeout value in options, the warning is occured in my case.

jeffski commented 3 years ago

Posted a similar ticket just now. I don't think streaming is working with the version of got used by download. V11, the latest version handles streams correctly.

FeelyChau commented 3 years ago

@und3rs @pbvahlst Have a look #212