$ node
> url.resolveObject('http://example.com:81', 'http://example.com:82');
Url {
protocol: 'http:',
slashes: true,
auth: null,
host: 'example.com:82',
port: '81',
hostname: 'example.com',
hash: null,
search: null,
query: null,
pathname: '/',
path: '/',
href: 'http://example.com:82/' }
>
host: 'example.com:82',
port: '81',
url.resolveObjectgenerates inconsistentportandhostvalue when modifying port:Where
portandhostunexpectedly contain conflicting information: