Socket
Socket
Sign inDemoInstall

heroku-cli-util

Package Overview
Dependencies
Maintainers
27
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 6.1.0 to 6.1.1

.nyc_output/29ac898e198069db294e4a1b85bf079a.json

8

lib/prompt.js

@@ -84,3 +84,9 @@ 'use strict'

let isTTY = process.env.TERM !== 'dumb' && process.stdin.isTTY
if (isTTY && (options.mask || options.hide)) return promptMasked(options)
if (options.mask || options.hide) {
if (!isTTY) {
return Promise.reject(`CLI needs to prompt for ${options.name || options.prompt} but stdin is not a tty.`)
}
return promptMasked(options)
}
return new Promise(function (resolve) {

@@ -87,0 +93,0 @@ process.stdin.setEncoding('utf8')

2

package.json
{
"name": "heroku-cli-util",
"description": "Set of helpful CLI utilities",
"version": "6.1.0",
"version": "6.1.1",
"author": "Jeff Dickey (@dickeyxxx)",

@@ -6,0 +6,0 @@ "bugs": {

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