Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.6.0 to 5.6.1

14

lib/console.js

@@ -7,2 +7,8 @@ 'use strict';

function concatArguments(args) {
return Array.prototype.map.call(args, function(arg) {
return arg + '';
}).join(' ');
}
/**

@@ -15,3 +21,3 @@ * log is a wrapper for console.log() but can be mocked

if (mocking) {
cli.stdout += Array.prototype.slice.call(arguments, 0).join() + '\n';
cli.stdout += concatArguments(arguments) + '\n';
} else {

@@ -29,3 +35,3 @@ console.log.apply(null, arguments);

if (mocking) {
cli.stdout += Array.prototype.slice.call(arguments, 0).join();
cli.stdout += concatArguments(arguments);
} else {

@@ -50,3 +56,3 @@ process.stdout.write.apply(process.stdout, arguments);

if (mocking) {
cli.stderr += Array.prototype.slice.call(arguments, 0).join() + '\n';
cli.stderr += concatArguments(arguments) + '\n';
} else {

@@ -64,3 +70,3 @@ console.error.apply(null, arguments);

if (mocking) {
cli.stderr += Array.prototype.slice.call(arguments, 0).join();
cli.stderr += concatArguments(arguments);
} else {

@@ -67,0 +73,0 @@ process.stderr.write.apply(process.stderr, arguments);

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

let colDefaults = {
format: value => value.toString(),
format: value => value ? value.toString() : '',
width: 0,

@@ -24,0 +24,0 @@ label: function() { return this.key.toString(); },

{
"name": "heroku-cli-util",
"version": "5.6.0",
"version": "5.6.1",
"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