heroku-cli-util
Advanced tools
Comparing version 5.4.8 to 5.4.9
@@ -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); |
{ | ||
"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", |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
685917
115
15639