andreypopp/dgraph — pull request #3 by terinjokes (2014-01-20 21:20:28+00:00)
Title: Fixes #2: Allow downstream modules to modify mod dependencies

Deeply clone the module before we emit it in case a downstream function
modifies the dependency list we'll later navigate.

If using dgraph in a browserify-like method, we'll encounter this issue
with insert-module-globals.