Comparing version 5.0.0 to 6.0.0
@@ -29,15 +29,13 @@ "use strict"; | ||
function gitUp(input) { | ||
if (input.includes("token")) debugger; | ||
var output = parseUrl(input); | ||
output.token = ""; | ||
var splits = output.user.split(":"); | ||
if (splits.length === 2) { | ||
if (splits[1] === "x-oauth-basic") { | ||
output.token = splits[0]; | ||
} else if (splits[0] === "x-token-auth") { | ||
output.token = splits[1]; | ||
} | ||
if (output.password === "x-oauth-basic") { | ||
output.token = output.user; | ||
} else if (output.user === "x-token-auth") { | ||
output.token = output.password; | ||
} | ||
if (isSsh(output.protocols) || isSsh(input)) { | ||
if (isSsh(output.protocols) || output.protocols.length === 0 && isSsh(input)) { | ||
output.protocol = "ssh"; | ||
@@ -48,2 +46,3 @@ } else if (output.protocols.length) { | ||
output.protocol = "file"; | ||
output.protocols = ["file"]; | ||
} | ||
@@ -50,0 +49,0 @@ |
{ | ||
"name": "git-up", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"description": "A low level git url parser.", | ||
@@ -30,4 +30,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"is-ssh": "^1.3.0", | ||
"parse-url": "^6.0.0" | ||
"is-ssh": "^1.4.0", | ||
"parse-url": "^7.0.2" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -210,34 +210,69 @@ <!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. --> | ||
- `@jamo/gatsby-telemetry` | ||
- `@enkeledi/react-native-week-month-date-picker` | ||
- `erxes-telemetry` | ||
- `front-end-styleguide-cli` | ||
- `front-end-styleguide-init` | ||
- `codelofts-git-url-parse` | ||
- `hubgit` | ||
- `gb-notifications` | ||
- `@apardellass/react-native-audio-stream` | ||
- `l2forlerna` | ||
- `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` | ||
- `@astrojs/telemetry` | ||
- `@hemith/react-native-tnk` | ||
- `miguelcostero-ng2-toasty` | ||
- `native-kakao-login` | ||
- `npm_one_1_2_3` | ||
- `react-native-biometric-authenticate` | ||
- `react-native-arunmeena1987` | ||
- `react-native-contact-list` | ||
- `react-native-payu-payment-testing` | ||
- `react-native-is7` | ||
- `react-native-my-first-try-arun-ramya` | ||
- `react-native-kakao-maps` | ||
- `react-native-ytximkit` | ||
- `rn-adyen-dropin` | ||
- `@positionex/position-sdk` | ||
- `@corelmax/react-native-my2c2p-sdk` | ||
- `@felipesimmi/react-native-datalogic-module` | ||
- `@hawkingnetwork/react-native-tab-view` | ||
- `react-native-cplus` | ||
- `npm_qwerty` | ||
- `native-apple-login` | ||
- `drowl-base-theme-iconset` | ||
- `react-native-arunjeyam1987` | ||
- `react-native-bubble-chart` | ||
- `react-native-flyy` | ||
- `@apardellass/react-native-audio-stream` | ||
- `@geeky-apo/react-native-advanced-clipboard` | ||
- `@saad27/react-native-bottom-tab-tour` | ||
- `candlelabssdk` | ||
- `codelofts-git-url-parse` | ||
- `generator-bootstrap-boilerplate-template` | ||
- `react-feedback-sdk` | ||
- `npm_one_12_34_1_` | ||
- `npm_one_2_2` | ||
- `react-native-responsive-size` | ||
- `react-native-test-module-hhh` | ||
- `react-native-is7` | ||
- `react-native-sayhello-module` | ||
- `react-native-dsphoto-module` | ||
- `payutesting` | ||
- `@con-test/react-native-concent-common` | ||
- `birken-react-native-community-image-editor` | ||
- `git-web` | ||
- `luojia-cli-dev` | ||
- `reac-native-arun-ramya-test` | ||
- `react-native-transtracker-library` | ||
- `react-native-pulsator-native` | ||
- `react-native-arun-ramya-test` | ||
- `react-native-arunramya151` | ||
- `react-native-plugpag-wrapper` | ||
- `@screeb/react-native` | ||
- `ship-release` | ||
- `@buganto/client` | ||
- `@datalogic/react-native-datalogic-module` | ||
- `birken-react-native-community-image-editor` | ||
- `native-kakao-login` | ||
- `angularvezba` | ||
- `astra-ufo-sdk` | ||
- `react-native-syan-photo-picker` | ||
- `@wecraftapps/react-native-use-keyboard` | ||
- `l2forlerna` | ||
- `native-google-login` | ||
- `raact-native-arunramya151` | ||
- `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` | ||
- `react-native-test-module-hhh` | ||
- `react-native-badge-control` | ||
- `react-native-jsi-device-info` | ||
- `front-end-styleguide-cli` | ||
- `front-end-styleguide-init` | ||
- `hubgit` | ||
@@ -244,0 +279,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
10847
308
44
+ Addedparse-path@5.0.0(transitive)
+ Addedparse-url@7.0.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedfilter-obj@1.1.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedobject-inspect@1.13.2(transitive)
- Removedparse-path@4.0.4(transitive)
- Removedparse-url@6.0.5(transitive)
- Removedprotocols@1.4.8(transitive)
- Removedqs@6.13.0(transitive)
- Removedquery-string@6.14.1(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedsplit-on-first@1.1.0(transitive)
- Removedstrict-uri-encode@2.0.0(transitive)
Updatedis-ssh@^1.4.0
Updatedparse-url@^7.0.2