Comparing version 1.1.7 to 1.1.8
10
index.js
@@ -163,3 +163,3 @@ 'use strict'; | ||
} | ||
} else if (index = parse.exec(address)) { | ||
} else if ((index = parse.exec(address))) { | ||
url[key] = index[1]; | ||
@@ -242,3 +242,3 @@ address = address.slice(0, index.index); | ||
*/ | ||
URL.prototype.set = function set(part, value, fn) { | ||
function set(part, value, fn) { | ||
var url = this; | ||
@@ -324,3 +324,3 @@ | ||
*/ | ||
URL.prototype.toString = function toString(stringify) { | ||
function toString(stringify) { | ||
if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify; | ||
@@ -350,4 +350,6 @@ | ||
return result; | ||
}; | ||
} | ||
URL.prototype = { set: set, toString: toString }; | ||
// | ||
@@ -354,0 +356,0 @@ // Expose the URL parser and some additional properties that might be useful for |
{ | ||
"name": "url-parse", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Small footprint URL parser that works seamlessly across Node.js and browser environments", | ||
@@ -38,8 +38,8 @@ "main": "index.js", | ||
"assume": "1.4.x", | ||
"browserify": "13.1.x", | ||
"browserify": "~14.1.0", | ||
"istanbul": "0.4.x", | ||
"mocha": "3.1.x", | ||
"pre-commit": "1.1.x", | ||
"mocha": "~3.2.0", | ||
"pre-commit": "~1.2.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
347
13793
4
1
0