-
-
Notifications
You must be signed in to change notification settings - Fork 35.1k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.urlIssues and PRs related to the legacy built-in url module.Issues and PRs related to the legacy built-in url module.
Milestone
Description
This is breaking npm installs and should be fixed before 2.0.0.
Encountered in https://github.com/npm/normalize-git-url/blob/master/normalize-git-url.js
1.8.1
> parsed = url.parse("git+ssh://git@github.com:organization/repo.git#hashbrowns")
> parsed.hash = ''
> url.format(parsed)
'git+ssh://git@github.com/:organization/repo.git'2.0.0
> parsed = url.parse("git+ssh://git@github.com:organization/repo.git#hashbrowns")
> parsed.hash = ''
> url.format(parsed)
> 'git+ssh://git@github.com/:organization/repo.git#'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.urlIssues and PRs related to the legacy built-in url module.Issues and PRs related to the legacy built-in url module.