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 4.0.3 to 5.0.0

node_modules/chalk/index.js

3

index.js

@@ -16,4 +16,3 @@ 'use strict';

exports.command = require('./lib/command');
exports.config = require('./lib/config');
exports.color = require('./lib/color');
exports.color = require('chalk');
exports.action = require('./lib/action');

@@ -20,0 +19,0 @@ exports.extend = require('./lib/extend');

@@ -13,4 +13,4 @@ 'use strict';

token: context.auth ? context.auth.password : null,
host: cli.config.api_host,
rejectUnauthorized: !cli.config.api_host.endsWith('herokudev.com'),
host: context.apiHost,
rejectUnauthorized: !context.apiHost.endsWith('herokudev.com'),
};

@@ -37,6 +37,3 @@ if (context.secondFactor) {

setupHttpProxy();
if (!context.supportsColor) {
// TODO: parse the ini file in heroku-cli
cli.color.enabled = false;
}
cli.color.enabled = context.supportsColor;
let logPath = context.herokuDir ? context.herokuDir+'/error.log' : null;

@@ -43,0 +40,0 @@ let handleErr = cli.errorHandler({logPath: logPath, debug: context.debug});

@@ -63,3 +63,3 @@ 'use strict';

return function handleErr(err) {
if (cli.config.raiseErrors) { throw err; }
if (cli.raiseErrors) { throw err; }
options = options || {};

@@ -66,0 +66,0 @@ if (err !== '') { error(err); }

{
"name": "heroku-cli-util",
"version": "4.0.3",
"version": "5.0.0",
"description": "Set of helpful CLI utilities",

@@ -32,3 +32,9 @@ "main": "index.js",

"ini": "^1.3.3"
}
},
"bundledDependencies": [
"chalk",
"co",
"heroku-client",
"ini"
]
}
'use strict';
global.cli = require('..');
cli.mockConsole();
cli.config.raiseErrors = true;
cli.raiseErrors = true;
let chai = require('chai');
chai.should();
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