-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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://[email protected]:organization/repo.git#hashbrowns")
> parsed.hash = ''
> url.format(parsed)
'git+ssh://[email protected]/:organization/repo.git'
2.0.0
> parsed = url.parse("git+ssh://[email protected]:organization/repo.git#hashbrowns")
> parsed.hash = ''
> url.format(parsed)
> 'git+ssh://[email protected]/:organization/repo.git#'
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.