parse-github-url
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -28,2 +28,5 @@ /*! | ||
var obj = url.parse(str); | ||
if (typeof obj.path !== 'string' || !obj.path.length || typeof obj.pathname !== 'string' || !obj.pathname.length) { | ||
return null; | ||
} | ||
obj.path = trimSlash(obj.path); | ||
@@ -30,0 +33,0 @@ obj.pathname = trimSlash(obj.pathname); |
{ | ||
"name": "parse-github-url", | ||
"description": "Parse a github URL into an object.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://github.com/jonschlinkert/parse-github-url", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
14512
105