machinepack-util
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -39,7 +39,9 @@ module.exports = { | ||
var util = require('util'); | ||
var isError = require('lodash.iserror'); | ||
var isObject = require('lodash.isobject'); | ||
if (util.isError(inputs.value)) { | ||
if (isError(inputs.value)) { | ||
return exits.success(util.inspect(inputs.value.stack)); | ||
} | ||
if (util.isObject(inputs.value)) { | ||
if (isObject(inputs.value)) { | ||
return exits.success(util.inspect(inputs.value, {depth: null})); | ||
@@ -46,0 +48,0 @@ } |
{ | ||
"name": "machinepack-util", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Miscellaneous utilities for everyday tasks with arrays, dictionaries, strings, etc.", | ||
@@ -23,2 +23,4 @@ "scripts": { | ||
"lodash": "3.10.1", | ||
"lodash.iserror": "3.1.1", | ||
"lodash.isobject": "3.0.2", | ||
"machine": "~12.1.0", | ||
@@ -25,0 +27,0 @@ "object-hash": "0.5.0" |
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
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
10008
238
6
+ Addedlodash.iserror@3.1.1
+ Addedlodash.isobject@3.0.2
+ Addedlodash.iserror@3.1.1(transitive)
+ Addedlodash.isobject@3.0.2(transitive)