[BUG] Failed to parse git url (original) (raw)

Hi, I think the new version just breaks the git URL parser.

hosted-git-info/index.js

Line 112 in6f39e93

var whatwg = new url.URL(giturl)

Now it failed to handle dependency like this:
git+ssh://git@git.unlucky.com:RND/electron-tools/some-tool#2.0.1

Can you release a hotfix for this? It breaks a lot of things and hard to work around in projects.

node version: 12.0.0

@isaacs
@darcyclarke