Socket
Socket
Sign inDemoInstall

heroku-cli-util

Package Overview
Dependencies
Maintainers
2
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-cli-util - npm Package Compare versions

Comparing version 5.4.8 to 5.4.9

lib/yubikey.js

1

index.js

@@ -14,2 +14,3 @@ 'use strict';

exports.console = console;
exports.yubikey = require('./lib/yubikey');
exports.prompt = prompt.prompt;

@@ -16,0 +17,0 @@ exports.confirmApp = prompt.confirmApp;

@@ -62,4 +62,9 @@ 'use strict';

if (err && err.body && err.body.id === 'two_factor') {
cli.yubikey.enable();
cli.prompt('Two-factor code', {mask: true})
.then(function (secondFactor) {
cli.yubikey.disable();
return secondFactor;
})
.then(function (secondFactor) {
if (options.preauth) {

@@ -66,0 +71,0 @@ return cli.preauth(context.app, heroku(context), secondFactor);

2

package.json
{
"name": "heroku-cli-util",
"version": "5.4.8",
"version": "5.4.9",
"description": "Set of helpful CLI utilities",

@@ -5,0 +5,0 @@ "main": "index.js",

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