New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@heroku-cli/command

Package Overview
Dependencies
Maintainers
21
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroku-cli/command - npm Package Compare versions

Comparing version 8.1.8 to 8.1.9

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="8.1.9"></a>
## [8.1.9](https://github.com/heroku/heroku-cli-command/compare/v8.1.8...v8.1.9) (2018-05-08)
### Bug Fixes
* sso logout ([102028a](https://github.com/heroku/heroku-cli-command/commit/102028a))
<a name="8.1.8"></a>

@@ -2,0 +10,0 @@ ## [8.1.8](https://github.com/heroku/heroku-cli-command/compare/v8.1.7...v8.1.8) (2018-05-08)

21

lib/login.js

@@ -46,2 +46,13 @@ "use strict";

let auth;
const logout = async () => {
if (previousEntry && previousEntry.password) {
try {
await this.logout(previousEntry.password);
delete previousEntry.password;
}
catch (err) {
cli_ux_1.default.warn(err);
}
}
};
switch (input) {

@@ -58,2 +69,3 @@ case 'b':

case 'sso':
await logout(); // for sso logout first
auth = await this.sso(previousEntry && previousEntry.org);

@@ -65,10 +77,3 @@ break;

await this.saveToken(auth);
if (previousEntry) {
try {
await this.logout(previousEntry.password);
}
catch (err) {
cli_ux_1.default.warn(err);
}
}
await logout();
}

@@ -75,0 +80,0 @@ catch (err) {

{
"name": "@heroku-cli/command",
"description": "base class for Heroku CLI commands",
"version": "8.1.8",
"version": "8.1.9",
"author": "Jeff Dickey @jdxcode",

@@ -22,7 +22,7 @@ "bugs": "https://github.com/heroku/heroku-cli-command/issues",

"@oclif/tslint": "^1.1.1",
"@types/ansi-styles": "^2.0.30",
"@types/ansi-styles": "^3.2.0",
"@types/chai": "^4.1.3",
"@types/mocha": "^5.2.0",
"@types/nock": "9.1.3",
"@types/node": "^10.0.4",
"@types/node": "^10.0.5",
"@types/opn": "^5.1.0",

@@ -29,0 +29,0 @@ "@types/proxyquire": "^1.3.28",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc