Avoid calling require('url').resolve(undefined, ...). It breaks in node.js >= 0.10.
Release 1.5.7.