Socket
Socket
Sign inDemoInstall

url-parse

Package Overview
Dependencies
Maintainers
3
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.2 to 1.1.3

4

index.js

@@ -172,3 +172,3 @@ 'use strict';

//
url.origin = url.protocol && url.host ? url.protocol +'//'+ url.host : 'null';
url.origin = url.protocol && url.host && url.protocol !== 'file:' ? url.protocol +'//'+ url.host : 'null';
url.href = url.toString();

@@ -239,3 +239,3 @@ }

url.origin = url.protocol && url.host ? url.protocol +'//'+ url.host : 'null';
url.origin = url.protocol && url.host && url.protocol !== 'file:' ? url.protocol +'//'+ url.host : 'null';
url.href = url.toString();

@@ -242,0 +242,0 @@

{
"name": "url-parse",
"version": "1.1.2",
"version": "1.1.3",
"description": "Small footprint URL parser that works seamlessly across Node.js and browser environments",

@@ -5,0 +5,0 @@ "main": "index.js",

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