diff --git a/terminus-community-color-schemes/package.json b/terminus-community-color-schemes/package.json index d575c56d..ea9aaf2e 100644 --- a/terminus-community-color-schemes/package.json +++ b/terminus-community-color-schemes/package.json @@ -1,6 +1,6 @@ { "name": "terminus-community-color-schemes", - "version": "1.0.93-nightly.0", + "version": "1.0.98-nightly.0", "description": "Community color schemes for Terminus", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-core/package.json b/terminus-core/package.json index 52b81d4c..52323e28 100644 --- a/terminus-core/package.json +++ b/terminus-core/package.json @@ -1,6 +1,6 @@ { "name": "terminus-core", - "version": "1.0.93-nightly.0", + "version": "1.0.98-nightly.0", "description": "Terminus core", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-core/src/tabContextMenu.ts b/terminus-core/src/tabContextMenu.ts index 9708a198..bce875b4 100644 --- a/terminus-core/src/tabContextMenu.ts +++ b/terminus-core/src/tabContextMenu.ts @@ -78,7 +78,7 @@ export class CommonOptionsContextMenu extends TabContextMenuItemProvider { return [ { label: 'Rename', - click: () => this.zone.run(() => tabHeader && tabHeader.showRenameTabModal()), + click: () => this.zone.run(() => tabHeader?.showRenameTabModal()), }, { label: 'Duplicate', diff --git a/terminus-plugin-manager/package.json b/terminus-plugin-manager/package.json index 96118cd9..875e49f7 100644 --- a/terminus-plugin-manager/package.json +++ b/terminus-plugin-manager/package.json @@ -1,6 +1,6 @@ { "name": "terminus-plugin-manager", - "version": "1.0.93-nightly.0", + "version": "1.0.98-nightly.0", "description": "Terminus' plugin manager", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-settings/package.json b/terminus-settings/package.json index 53fc9f34..5aa38616 100644 --- a/terminus-settings/package.json +++ b/terminus-settings/package.json @@ -1,6 +1,6 @@ { "name": "terminus-settings", - "version": "1.0.93-nightly.0", + "version": "1.0.98-nightly.0", "description": "Terminus terminal settings page", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-ssh/package.json b/terminus-ssh/package.json index c1a08d82..79f5ab22 100644 --- a/terminus-ssh/package.json +++ b/terminus-ssh/package.json @@ -1,6 +1,6 @@ { "name": "terminus-ssh", - "version": "1.0.93-nightly.0", + "version": "1.0.98-nightly.0", "description": "SSH connection manager for Terminus", "keywords": [ "terminus-builtin-plugin" @@ -20,7 +20,8 @@ "@types/node": "12.7.3", "@types/ssh2": "^0.5.35", "ssh2": "^0.8.2", - "ssh2-streams": "^0.4.2" + "ssh2-streams": "^0.4.2", + "terminus-terminal": "^1.0.98-nightly.0" }, "peerDependencies": { "@angular/common": "^7", diff --git a/terminus-ssh/src/components/editConnectionModal.component.ts b/terminus-ssh/src/components/editConnectionModal.component.ts index 92ce237b..5e9245cc 100644 --- a/terminus-ssh/src/components/editConnectionModal.component.ts +++ b/terminus-ssh/src/components/editConnectionModal.component.ts @@ -66,7 +66,7 @@ export class EditConnectionModalComponent { modal.componentInstance.password = true try { const result = await modal.result - if (result && result.value) { + if (result?.value) { this.passwordStorage.savePassword(this.connection, result.value) this.hasSavedPassword = true } diff --git a/terminus-ssh/src/services/ssh.service.ts b/terminus-ssh/src/services/ssh.service.ts index 86f10d28..2212e304 100644 --- a/terminus-ssh/src/services/ssh.service.ts +++ b/terminus-ssh/src/services/ssh.service.ts @@ -209,7 +209,7 @@ export class SSHService { if (result.remember) { savedPassword = result.value } - return result.value + return await result.value } return '' } catch (_) { diff --git a/terminus-ssh/yarn.lock b/terminus-ssh/yarn.lock index 1e489480..a71e3c01 100644 --- a/terminus-ssh/yarn.lock +++ b/terminus-ssh/yarn.lock @@ -67,6 +67,11 @@ streamsearch@~0.1.2: resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a" integrity sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo= +terminus-terminal@^1.0.98-nightly.0: + version "1.0.98-nightly.0" + resolved "https://registry.yarnpkg.com/terminus-terminal/-/terminus-terminal-1.0.98-nightly.0.tgz#10df71b0a81adf76a076fb21a91c859dd2f8bef7" + integrity sha512-JLxkeoQkORcfe6cRW6BJF5ZPSbvKA8IWUAb7fzBONVmNfRKj2Mq/uYPy76UXsdmb9F1n+rYIg+DShNp57asMKA== + tweetnacl@^0.14.3: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" diff --git a/terminus-terminal/package.json b/terminus-terminal/package.json index b345565e..de586ce5 100644 --- a/terminus-terminal/package.json +++ b/terminus-terminal/package.json @@ -1,6 +1,6 @@ { "name": "terminus-terminal", - "version": "1.0.93-nightly.0", + "version": "1.0.98-nightly.0", "description": "Terminus' terminal emulation core", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-terminal/src/api/baseTerminalTab.component.ts b/terminus-terminal/src/api/baseTerminalTab.component.ts index dea2b9bc..b1de2a31 100644 --- a/terminus-terminal/src/api/baseTerminalTab.component.ts +++ b/terminus-terminal/src/api/baseTerminalTab.component.ts @@ -22,8 +22,8 @@ export interface ToastrServiceProxy { * A class to base your custom terminal tabs on */ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit, OnDestroy { - static template = require('../components/baseTerminalTab.component.pug') - static styles = [require('../components/terminalTab.component.scss')] + static template = require('../components/baseTerminalTab.component.pug') + static styles = [require('../components/terminalTab.component.scss')] static animations: AnimationTriggerMetadata[] = [trigger('slideInOut', [ transition(':enter', [ style({ transform: 'translateY(-25%)' }),