Comparing version 1.1.4 to 1.1.5
@@ -134,3 +134,3 @@ 'use strict'; | ||
// | ||
extracted = extractProtocol(address); | ||
extracted = extractProtocol(address || ''); | ||
relative = !extracted.protocol && !extracted.slashes; | ||
@@ -244,4 +244,4 @@ url.slashes = extracted.slashes || relative && location.slashes; | ||
var url = this; | ||
switch(part) { | ||
switch (part) { | ||
case 'query': | ||
@@ -299,3 +299,2 @@ if ('string' === typeof value && value.length) { | ||
url[part] = value; | ||
break; | ||
} | ||
@@ -302,0 +301,0 @@ |
{ | ||
"name": "url-parse", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Small footprint URL parser that works seamlessly across Node.js and browser environments", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
"istanbul": "0.4.x", | ||
"mocha": "3.0.x", | ||
"mocha": "3.1.x", | ||
"pre-commit": "1.1.x", | ||
@@ -43,0 +43,0 @@ "zuul": "3.11.x" |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
13766
4
346
1
0