npm/npm — pull request #4703 by yhpark (2014-02-17 16:38:20+00:00)
Title: Fix lifecycle to pass `Infinity` for config env value

The default value of depth config is Infinity and lifecycle.js was writing its value with JSON.stringify. Since JSON.stringify(Infinity) is "null", npm_config_depth env was set to "null", read as 0 within child process. This led depth to be read 0 within child process.