Open adiktofsugar opened 5 years ago
appveyor failing because npm@latest doesn't support node 9, apparently travis is failing because it couldn't find a .staging folder
Definitely seems like issues with not maintaining CI, but I'm guessing nothing else is ever getting in since no one uses this module now. Oh well.
Fixes: #70 (I think)
If the content-length header is empty,
size
gets set tofalse
, which is sent in as thehighWaterMark
option tothrough2
, which is passed toreadable-stream
, which eventually raises an error saying "false is not a valid value" or something similar, but only on version 3.x, which is whatnpm
uses (even though this project doesn't).I did write a test for this, but could never get it to trigger because it's caused by some sort of dependency mismatch that happens in npm but not in this repo, so I removed the test. Even when I installed readable-stream@3.x, it didn't trigger, because
through2
is the only dependency that requiresreadable-stream
, which is not the case innpm
. When I updated justthrough2
'sreadable-stream
version, I got a different error entirely, so I'm not sure if this weird dependency thing is the only issue, but I do know we're not supposed to passhighWaterMark: false
, so this should still be a valid fix.