felixge/node-require-like — pull request #2 by csausdev (2011-11-15 02:05:20+00:00)
Title: Fix to work with node > v0.4

Hi,

I've patched the code to not break when using a version of node that throws exceptions when require.paths is accessed. I haven't attempted anything fancier than just silently swallowing the exception.

Cheers,
Gareth.