thatcher/env-js — pull request #44 by eatstoomuchjam (2011-11-17 16:35:43+00:00)
Title: Preliminary support for node v0.5.x and above

Node v0.5.x and above removed support for the require_paths statement and prefer that it be done using the NODE_PATH environment variable. In addition, the "sys" namespace has been deprecated in favor of the "util" namespace. My changes should be backward-compatible to 0.4.x.
I haven't done any regression testing to confirm that other things work correctly with these patches in place, but at the very least node.js 0.5.x and 0.6.x will run without errors or warnings.