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

react-docgen

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-docgen - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

test.js

3

bin/react-docgen.js

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

4

dist/handlers/defaultPropsHandler.js

@@ -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": {

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