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

react-docgen

Package Overview
Dependencies
Maintainers
2
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 7.0.1 to 7.0.2

4

dist/utils/getMemberExpressionValuePath.js

@@ -58,3 +58,5 @@ import { visitors } from '@babel/traverse';

const property = memberPath.get('property');
if ((!memberPath.node.computed || property.isLiteral()) &&
if ((!memberPath.node.computed ||
property.isStringLiteral() ||
property.isNumericLiteral()) &&
getNameOrValue(property) === state.memberName &&

@@ -61,0 +63,0 @@ toString(memberPath.get('object')) === state.localName) {

{
"name": "react-docgen",
"version": "7.0.1",
"version": "7.0.2",
"description": "A library 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