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.0.0 to 2.0.1

8

dist/main.js

@@ -54,3 +54,5 @@ /*

*/
function defaultParse(src, resolver, handlers // eslint-disable-line no-shadow
function defaultParse( // eslint-disable-line no-unused-vars
src, resolver, // eslint-disable-line no-shadow
handlers // eslint-disable-line no-shadow
) {

@@ -71,4 +73,2 @@ if (!resolver) {

exports.resolver = resolver;
exports.utils = utils;
// eslint-disable-line no-unused-vars
// eslint-disable-line no-shadow
exports.utils = utils;

@@ -36,2 +36,4 @@ /*

var _utilsResolveToValue2 = _interopRequireDefault(_utilsResolveToValue);
/**

@@ -42,4 +44,2 @@ * Given an AST, this function tries to find all object expressions that are

var _utilsResolveToValue2 = _interopRequireDefault(_utilsResolveToValue);
function findAllReactCreateClassCalls(ast, recast) {

@@ -46,0 +46,0 @@ var types = recast.types.namedTypes;

@@ -24,2 +24,4 @@ /*

var _getNameOrValue2 = _interopRequireDefault(_getNameOrValue);
/**

@@ -31,4 +33,2 @@ * In an ObjectExpression, the name of a property can either be an identifier

var _getNameOrValue2 = _interopRequireDefault(_getNameOrValue);
function getPropertyName(propertyPath) {

@@ -35,0 +35,0 @@ if (propertyPath.node.computed) {

@@ -51,3 +51,3 @@ /*

exports.getPropertName = _interopRequire(_getPropertyName);
exports.getPropertyName = _interopRequire(_getPropertyName);

@@ -54,0 +54,0 @@ var _getPropertyValuePath = require('./getPropertyValuePath');

@@ -24,2 +24,4 @@ /*

var _recast2 = _interopRequireDefault(_recast);
/**

@@ -29,4 +31,2 @@ * Prints the given path without leading or trailing comments.

var _recast2 = _interopRequireDefault(_recast);
function printValue(path) {

@@ -33,0 +33,0 @@ if (path.node.comments) {

{
"name": "react-docgen",
"version": "2.0.0",
"version": "2.0.1",
"description": "A CLI and toolkit to extract information from React components for documentation generation.",

@@ -32,3 +32,3 @@ "repository": {

"nomnom": "^1.8.1",
"recast": "^0.10.17"
"recast": "^0.10.31"
},

@@ -35,0 +35,0 @@ "devDependencies": {

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