Comparing version 4.0.2 to 4.0.3
"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) { | ||
var output = parseUrl(input); | ||
let output = parseUrl(input); | ||
output.token = ""; | ||
var splits = output.user.split(":"); | ||
let splits = output.user.split(":"); | ||
if (splits.length === 2) { | ||
@@ -50,6 +50,6 @@ if (splits[1] === "x-oauth-basic") { | ||
output.href = output.href.replace(/\/$/, ""); | ||
output.href = output.href.replace(/\/$/, "") | ||
return output; | ||
} | ||
module.exports = gitUp; | ||
module.exports = gitUp; |
{ | ||
"name": "git-up", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "A low level git url parser.", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
"is-ssh": "^1.3.0", | ||
"parse-url": "^5.0.0" | ||
"parse-url": "^5.0.7" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -210,4 +210,3 @@ <!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. --> | ||
- `@jamo/gatsby-telemetry` | ||
- `@hawkingnetwork/react-native-tab-view` | ||
- `miguelcostero-ng2-toasty` | ||
- `erxes-telemetry` | ||
- `front-end-styleguide-cli` | ||
@@ -220,5 +219,26 @@ - `front-end-styleguide-init` | ||
- `l2forlerna` | ||
- `erxes-telemetry` | ||
- `react-native-plugpag-wrapper` | ||
- `ship-release` | ||
- `react-native-pulsator-native` | ||
- `react-native-kakao-maps` | ||
- `@geeky-apo/react-native-advanced-clipboard` | ||
- `native-apple-login` | ||
- `native-google-login` | ||
- `@hemith/react-native-tnk` | ||
- `react-native-contact-list` | ||
- `@corelmax/react-native-my2c2p-sdk` | ||
- `react-native-responsive-size` | ||
- `react-native-test-module-hhh` | ||
- `react-native-is7` | ||
- `git-web` | ||
- `@buganto/client` | ||
- `@datalogic/react-native-datalogic-module` | ||
- `birken-react-native-community-image-editor` | ||
- `native-kakao-login` | ||
- `react-native-modal-progress-bar` | ||
- `@hawkingnetwork/react-native-tab-view` | ||
- `miguelcostero-ng2-toasty` | ||
- `drowl-base-theme-iconset` | ||
- `rn-custom-tabview` | ||
- `@ntt_app/react-native-custom-notification` | ||
@@ -225,0 +245,0 @@ |
Sorry, the diff of this file is not supported yet
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
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
9767
47
273
Updatedparse-url@^5.0.7