On Mon, Mar 31, 2014 at 9:26 AM, Jamie Nguyen <[email protected]> wrote: > Just wanted to note that npm(readable-stream) comes in: > - a 1.0.x branch which is the 'stream' module from Node 0.10 core > - a 1.1.x branch which is the 'stream' module from Node 0.11 core > > There are three modules so far that I've packaged that depend on > readable stream 1.1.x. Fortunately, IIRC all tests still passed after > patching them to use the 'stream' module from Node 0.10 core. I imagine > patching in this way might cause problems for some modules though?
It should work in all cases. There might be a performance impact if they accidentally trigger the backwards compatibility behavior which is not present in 0.11: http://stackoverflow.com/a/21549237 As long as the application using them still works okay it shouldn't be a problem. Likely modules depending on this just want to use new streams fanciness without explicitly caring whether they get the Streams2 backward compatibility behavior or not. That being said, readable-stream 1.1.x is packagable in Fedora as far as bundling issues are concerned, if it were to become necessary. (Though it looks like there are other issues with the package besides that. :-( ) There's plenty of precedent from the Python and Perl worlds for shipping userspace modules that provide new functionality not yet available in the standard library of the version of the language runtime provided by Fedora. -T.C. _______________________________________________ nodejs mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/nodejs
