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

pretty-print

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-print - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

index.js

@@ -38,3 +38,3 @@ var _ = require('lodash');

if (util.isArray(data[key])){
if (util.isArray(data[key]) && data[key].length > 0){
var blankKey = key.replace(/./gi, ' '); // used for spacing

@@ -125,2 +125,2 @@ var blankPaddedKey = addPadding(blankKey, maxKeyLen);

return _.isObject(data) && !_.isArray(data);
}
}
{
"name": "pretty-print",
"version": "0.4.0",
"version": "0.4.1",
"description": "Print formatted data to the the command line",

@@ -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