react-docgen
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -65,2 +65,5 @@ #!/usr/bin/env node | ||
process.stderr.write(msg + '\n'); | ||
if (msg instanceof Error) { | ||
process.stderr.write(msg.stack + '\n'); | ||
} | ||
} | ||
@@ -67,0 +70,0 @@ |
@@ -88,3 +88,5 @@ /* | ||
if (types.ObjectExpression.check(defaultPropsPath.node)) { | ||
defaultPropsPath.get('properties').each(function (propertyPath) { | ||
defaultPropsPath.get('properties').filter(function (propertyPath) { | ||
return types.Property.check(propertyPath.node); | ||
}).forEach(function (propertyPath) { | ||
var propDescriptor = documentation.getPropDescriptor((0, _utilsGetPropertyName2['default'])(propertyPath)); | ||
@@ -91,0 +93,0 @@ var defaultValue = getDefaultValue(propertyPath.get('value')); |
{ | ||
"name": "react-docgen", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A CLI and toolkit to extract information from React components for documentation generation.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
99313
52
2298