I'm not sure why, but I needed this for escodegen-0.0.20. Please check.

I don't understand internals very well, but escodegen on my fresh install does not contain traverse function.