git-url-parse
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -52,4 +52,6 @@ "use strict"; | ||
urlInfo.name = urlInfo.pathname.substring(1).replace(/\.git$/, ""); | ||
urlInfo.owner = urlInfo.user; | ||
// Note: Some hosting services (e.g. Visual Studio Team Services) allow whitespace characters | ||
// in the repository and owner names so we decode the URL pieces to get the correct result | ||
urlInfo.name = decodeURIComponent(urlInfo.pathname.substring(1).replace(/\.git$/, "")); | ||
urlInfo.owner = decodeURIComponent(urlInfo.user); | ||
urlInfo.git_suffix = false; | ||
@@ -56,0 +58,0 @@ |
{ | ||
"name": "git-url-parse", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "A high level git url parser for common git providers.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21621
142