inspect-property
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -13,3 +13,3 @@ 'use strict'; | ||
constructor: { | ||
name: property && property.constructor.name, | ||
name: property && property.constructor && property.constructor.name, | ||
ref: property && property.constructor | ||
@@ -33,3 +33,3 @@ } | ||
forEachProperty(propertyInspection.properties, (value, key) => { | ||
propertyInspection.properties[key] = !inspectProperties ? value : inspectProperty(value, null, { inspectFunction, inspectProperties: false }); | ||
propertyInspection.properties[key] = value === undefined || value === null || !inspectProperties ? value : inspectProperty(value, null, { inspectFunction, inspectProperties: false }); | ||
}); | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "inspect-property", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Inspects a Property and returns useful informations about it (e.g. nested properties, function inspection, property descriptor, value, type, constructor)", | ||
@@ -5,0 +5,0 @@ "main": "lib/inspect-property.js", |
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
11802