diff --git a/app/react/package.json b/app/react/package.json index f638439b178c..a4736b87c715 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -33,7 +33,7 @@ "@storybook/theming": "5.0.5", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", - "babel-plugin-react-docgen": "^2.0.2", + "babel-plugin-react-docgen": "^3.0.0", "babel-preset-react-app": "^7.0.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/yarn.lock b/yarn.lock index 7a427082904e..b873a0776cc3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -493,7 +493,7 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.3", "@babel/parser@^7.1.6", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3": +"@babel/parser@^7.0.0", "@babel/parser@^7.1.6", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3": version "7.2.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.2.3.tgz#32f5df65744b70888d17872ec106b02434ba1489" @@ -3337,6 +3337,11 @@ ast-types@0.11.7: version "0.11.7" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.7.tgz#f318bf44e339db6a320be0009ded64ec1471f46c" +ast-types@0.12.2: + version "0.12.2" + resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.12.2.tgz#341656049ee328ac03fc805c156b49ebab1e4462" + integrity sha512-8c83xDLJM/dLDyXNLiR6afRRm4dPKN6KAnKqytRK3DBJul9lA+atxdQkNDkSVPdTqea5HiRq3lnnOIZ0MBpvdg== + ast-types@0.9.6: version "0.9.6" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.6.tgz#102c9e9e9005d3e7e3829bf0c4fa24ee862ee9b9" @@ -3924,12 +3929,13 @@ babel-plugin-named-asset-import@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.0.tgz#3289ec622d19cd1cc84df8d784b41f1b048bd524" -babel-plugin-react-docgen@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-2.0.2.tgz#3307e27414c370365710576b7fadbcaf8984d862" +babel-plugin-react-docgen@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-3.0.0.tgz#f060ef73da5be8e9af6aeae96d3aa21b184ec654" + integrity sha512-5dXIAYTQrPQDb7O+HX2ISGvfoDbxYKIksfrdm4h9RJRTYsKGEep3B9tZPFJJFDkjPbuNoOsPb2sN+jhJGr2SsA== dependencies: - lodash "^4.17.10" - react-docgen "^3.0.0" + lodash "^4.17.11" + react-docgen "^4.1.0" recast "^0.14.7" babel-plugin-react-transform@^3.0.0: @@ -7618,12 +7624,19 @@ doctrine@1.5.0: esutils "^2.0.2" isarray "^1.0.0" -doctrine@^2.0.0, doctrine@^2.1.0: +doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" dependencies: esutils "^2.0.2" +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + dom-converter@~0.2: version "0.2.0" resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" @@ -17207,17 +17220,18 @@ react-docgen-typescript@^1.9.0: version "1.12.3" resolved "https://registry.yarnpkg.com/react-docgen-typescript/-/react-docgen-typescript-1.12.3.tgz#fe62a5ce82e93573e316366e53adfe8273121c70" -react-docgen@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-3.0.0.tgz#79c6e1b1870480c3c2bc1a65bede0577a11c38cd" +react-docgen@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-4.1.0.tgz#218887feba5b2c36af337879a27e74bda90ed7cb" + integrity sha512-yoGY45tD4yPGmnOlJr4mjU6LTYRO1OEny9ZtK8LjnFMqr2M/uRuH88vPba7743oVDFuVNH5bnN2bh6eQX3qXjA== dependencies: - "@babel/parser" "^7.1.3" + "@babel/core" "^7.0.0" "@babel/runtime" "^7.0.0" async "^2.1.4" commander "^2.19.0" - doctrine "^2.0.0" + doctrine "^3.0.0" node-dir "^0.1.10" - recast "^0.16.0" + recast "^0.17.3" react-dom@^16.8.1: version "16.8.1" @@ -17823,7 +17837,7 @@ recast@^0.14.7: private "~0.1.5" source-map "~0.6.1" -recast@^0.16.0, recast@^0.16.1: +recast@^0.16.1: version "0.16.2" resolved "https://registry.yarnpkg.com/recast/-/recast-0.16.2.tgz#3796ebad5fe49ed85473b479cd6df554ad725dc2" dependencies: @@ -17832,6 +17846,16 @@ recast@^0.16.0, recast@^0.16.1: private "~0.1.5" source-map "~0.6.1" +recast@^0.17.3: + version "0.17.4" + resolved "https://registry.yarnpkg.com/recast/-/recast-0.17.4.tgz#b67f8abbfd4a1d8841485f03f41f2ccf2e051d88" + integrity sha512-94mbtFr2e4XoleJVCQQ138gK7xT2IScq25+thwEzNWd/hjOXQd6ejFiztgZZGVSByoV7/k3pLBXO3RK1BvJsIw== + dependencies: + ast-types "0.12.2" + esprima "~4.0.0" + private "^0.1.8" + source-map "~0.6.1" + rechoir@^0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"