hosted-git-info
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -80,3 +80,5 @@ "use strict" | ||
github: { | ||
"protocols": [ "git", "git+ssh", "git+https", "ssh", "https" ], | ||
// First two are insecure and generally shouldn't be used any more, but | ||
// they are still supported. | ||
"protocols": [ "git", "http", "git+ssh", "git+https", "ssh", "https" ], | ||
"domain": "github.com", | ||
@@ -83,0 +85,0 @@ "pathmatch": /^[/]([^/]+)[/]([^/]+?)(?:[.]git)?$/, |
{ | ||
"name": "hosted-git-info", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,4 +23,7 @@ "use strict" | ||
// github shorturls | ||
verify("111/222", "github-short") | ||
verify("111/222#branch", "github-short#branch", "branch") | ||
// insecure protocols | ||
verify("git://github.com/111/222", "git") | ||
@@ -31,2 +34,7 @@ verify("git://github.com/111/222.git", "git.git") | ||
verify("http://github.com/111/222", "http") | ||
verify("http://github.com/111/222.git", "http.git") | ||
verify("http://github.com/111/222#branch", "http#branch", "branch") | ||
verify("http://github.com/111/222.git#branch", "http.git#branch", "branch") | ||
require('./lib/standard-tests')(verify, "github.com", "github") | ||
@@ -33,0 +41,0 @@ |
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
17713
11
315