substack/insert-module-globals — pull request #2 by dominictarr (2013-02-25 06:15:50+00:00)
Title: do not resume until module-deps has ended.

If the dest resumed, through passed that upstream, which sent data through the stream.

this is only a quick hack, so I've left in a fast failing error.

mixing a stream into the current stream like you where doing here was not an intended usecase of through. To do this properly, you need a incoming buffer.

I am happy to help with this, but am super busy right now!