Skip to content

Commit

Permalink
deps: update react-docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Jan 6, 2025
1 parent 41eb438 commit f9a4e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function render (code) {
let text = '| Name | Type | Default | Description |\n' +
'|:-----|:-----|:-----|:-----|\n'

const componentInfo = parse(code)
const [componentInfo] = parse(code)

Object.keys(componentInfo.props).forEach((key) => {
const prop = componentInfo.props[key]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"doctrine": "^3.0.0",
"react-docgen": "^5.3.0"
"react-docgen": "^7.1.0"
},
"devDependencies": {
"@u-wave/react-youtube": "0.7.1",
Expand Down

0 comments on commit f9a4e68

Please sign in to comment.