Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "big-dig", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Secure, re-connectable channel for bidirectional communication with a remote host.", | ||
@@ -14,3 +14,3 @@ "license": "BSD-3-Clause", | ||
"log4js": "1.1.1", | ||
"nuclide-commons": "0.1.10", | ||
"nuclide-commons": "0.1.11", | ||
"rimraf": "2.5.4", | ||
@@ -17,0 +17,0 @@ "rxjs": "5.3.1", |
@@ -204,2 +204,3 @@ 'use strict'; | ||
let agent = process.env.SSH_AUTH_SOCK; | ||
// flowlint-next-line sketchy-null-string:off | ||
if (!agent && /^win/.test(process.platform)) { | ||
@@ -450,6 +451,9 @@ // #100: On Windows, fall back to pageant. | ||
if (_this3._isSecure()) { | ||
// flowlint-next-line sketchy-null-string:off | ||
if (!_this3._remoteHost) { | ||
throw new Error('Invariant violation: "this._remoteHost"'); | ||
} | ||
// flowlint-next-line sketchy-null-number:off | ||
if (!_this3._remotePort) { | ||
@@ -472,2 +476,3 @@ throw new Error('Invariant violation: "this._remotePort"'); | ||
const localPort = _this3._getLocalPort(); | ||
// flowlint-next-line sketchy-null-number:off | ||
@@ -474,0 +479,0 @@ if (!localPort) { |
@@ -10,2 +10,3 @@ 'use strict'; | ||
const { env } = process; | ||
// flowlint-next-line sketchy-null-string:off | ||
const username = env.LOGNAME || env.USER || env.LNAME || env.USERNAME; | ||
@@ -12,0 +13,0 @@ |
@@ -15,3 +15,5 @@ 'use strict'; | ||
// flowlint-next-line sketchy-null-string:off | ||
const homeDir = process.env.HOME || process.env.USERPROFILE; | ||
// flowlint-next-line sketchy-null-string:off | ||
@@ -18,0 +20,0 @@ if (!homeDir) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
154215
1921
+ Addednuclide-commons@0.1.11(transitive)
- Removednuclide-commons@0.1.10(transitive)
Updatednuclide-commons@0.1.11