bendrucker/stream-to-promise

Upgrade bluebird or be more permissive

Marsup opened this issue · 4 comments

Hi,

The bluebird version you are using is quite old and is actually "leaking" (probably intentional) a global __BluebirdErrorTypes__. Could you at least upgrade it or consider being more permissive about it ?

Thanks.

For sure — updated to ^2.3.0 in 78f8674 and releasing as v1.0.0. Almost did '>= 1' but held off. I'm a fan of Hapi's convention of rapid major releases with breaking changes. Even though promisify is unlikely to change I figure it's best to stick to semver and bump the dependency as appropriate.

Since stream-to-array already returns a promise, you don't even need promisify.

Oh but you're still using 1.0 on this dependency as well.

Updating to 2.0 in #5