substack/node-browserify — pull request #261 by jden (2012-12-28 01:06:53+00:00)
Title: return cached instance when requiring aliased module

previously, if, for example, aliasing `jquery` to `jquary-browserify`, `require('jquery')` would always return a new instance of `jquery-browserify`, which is not how node's `require` works. This patch properly returns the same instance for aliased modules.