Socket
Socket
Sign inDemoInstall

url-parse

Package Overview
Dependencies
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

url-parse - npm Package Compare versions

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

8

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc