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.6 to 1.1.7

3

index.js

@@ -292,3 +292,4 @@ 'use strict';

case 'pathname':
url.pathname = value.charAt(0) === '/' ? value : '/' + value;
url.pathname = value.length && value.charAt(0) !== '/' ? '/' + value : value;
break;

@@ -295,0 +296,0 @@

{
"name": "url-parse",
"version": "1.1.6",
"version": "1.1.7",
"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