mishoo/UglifyJS2 — pull request #20 by ricknpc (2012-10-19 18:42:48+00:00)
Title: Windows Support - Workaround for hiding warning without writing to /dev/null

In reference to [Issue #9](https://github.com/mishoo/UglifyJS2/issues/9)

The hack was to hide the warning by caching (and then restoring) process.stderr, temporarily replacing it with a FS stream to /dev/null, which errors out on Windows.

This commit changes that to cache (and then restore) process.stderr.write, temporarily replacing it with a do-nothing function, avoiding the issue.

This does not fix the issue with reading from /dev/stdin when called without an input file.