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.
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.