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

git-up

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-up - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

12

lib/index.js
"use strict";
// Dependencies
const parseUrl = require("parse-url")
, isSsh = require("is-ssh")
;
var parseUrl = require("parse-url"),
isSsh = require("is-ssh");
/**

@@ -29,6 +29,6 @@ * gitUp

function gitUp(input) {
let output = parseUrl(input);
var output = parseUrl(input);
output.token = "";
let splits = output.user.split(":");
var splits = output.user.split(":");
if (splits.length === 2) {

@@ -53,2 +53,2 @@ if (splits[1] === "x-oauth-basic") {

module.exports = gitUp;
module.exports = gitUp;
{
"name": "git-up",
"version": "2.0.1",
"version": "2.0.2",
"description": "A low level git url parser.",

@@ -44,2 +44,3 @@ "main": "lib/index.js",

"menu/",
"scripts/",
"cli.js",

@@ -46,0 +47,0 @@ "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