react-docgen
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
98288
0
Updatedrecast@^0.10.31