Comparing version 2.0.1 to 2.0.2
"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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
3502
3
44
1
0