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
adding missing readable stream dependency #12
Conversation
- although only used for node < 0.10, it still is required in the code - for node 0.8 it just breaks when trying to find that module
adding missing readable stream dependency
Thanks for merging this so quickly. Actually I just tried this version with my lib and found that somehow To try it do clone https://github.com/thlorenz/dockerify and do:
The tests will not finish, however in Any thoughts? |
I'm pretty sure your tests are hanging because of the bug I describe in thlorenz/dockerify#1 (you are piping the input stream asynchronously) |
Also I would certainly merge a PR that changes the module to just use the readable-stream dependency as you describe in your first comment! |
Ok, will get to that ASAP. |
oh that was my bad, seems i added it to the wrong section a few months back and hadn't used the module on v0.8 yet besides dev testing. |
He advised me earlier about this, but actually he just blogged about it too. |
After reading it again we might think about using '~1.0.0' instead of the one I pulled with. Either way should be fine though. |
@thlorenz thanks. the one thing that is painful is lack of isStream, like when wanting to wrap older streams that are passed to your streams2 module. |
@thlorenz We're using |
@mafintosh got it, all good then :) |
Actually @rvagg will tell you to always use readable stream to get the same stream interface regardless of your node version.
I can send another PR with that change if you so desire.
However this PR is most important since dependencies that are required (even if only in certain circumstances) need to be included. The saved disk space is not worth the headaches when running modules in different environments and see them breaking.