Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-url-parse

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-url-parse - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

6

lib/index.js

@@ -52,4 +52,6 @@ "use strict";

urlInfo.name = urlInfo.pathname.substring(1).replace(/\.git$/, "");
urlInfo.owner = urlInfo.user;
// Note: Some hosting services (e.g. Visual Studio Team Services) allow whitespace characters
// in the repository and owner names so we decode the URL pieces to get the correct result
urlInfo.name = decodeURIComponent(urlInfo.pathname.substring(1).replace(/\.git$/, ""));
urlInfo.owner = decodeURIComponent(urlInfo.user);
urlInfo.git_suffix = false;

@@ -56,0 +58,0 @@

{
"name": "git-url-parse",
"version": "8.0.0",
"version": "8.0.1",
"description": "A high level git url parser for common git providers.",

@@ -5,0 +5,0 @@ "main": "lib/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