babel-plugin-react-docgen
babel-plugin-react-docgen copied to clipboard
π Babel plugin to add react-docgen info into your code.
Hi! π This PR updates the version of lodash to fix https://github.com/advisories/GHSA-p6mc-m468-83gw. The tests seem to pass, let me know if you need anything else!
[email protected] is out and allows resolving of imported types/proptypes and has no breaking changes (https://github.com/reactjs/react-docgen/releases/tag/v6.0.0-alpha.0). We want to explore this in https://github.com/eirslett/storybook-builder-vite/pull/167 any chance of releasing this dependency bump as...
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) Commits c6bdaca Version 2.6.4 8870da9 Update built files 4df6754 update changelog 8f7f903...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@βChALkeR). Fix boolean schemas with strictKeywords...
The `actualNameHandler.js` still refers to the BSD+FB patent grant licence although the latest version of the file that was based on (in react-docgen) is now licensed as MIT. Inclusion of...
Whenever I use `React.createRef` in code it breaks and does not add `__docgenInfo` to component. It could be related to this plugin or react-docgen itself?
Would you please take a look at this thread? https://github.com/storybooks/addon-smart-knobs/issues/37#issuecomment-448671770
When working on the last PR, I noticed that the `test/fixtures` file names were not as clear as I would like. For example, the test source files are named `actual.js`....
Use webpack.config ```javascript use: { loader: 'babel-loader', options: { presets: ['env', 'react'], plugins: [ 'transform-class-properties', 'react-docgen' ] } } ``` ```javascript class Doc extends PureComponent { static defaultProps = {...