diff --git a/core/gatsby-theme-docz/package.json b/core/gatsby-theme-docz/package.json index 47ffa73fb..3df1a53d5 100644 --- a/core/gatsby-theme-docz/package.json +++ b/core/gatsby-theme-docz/package.json @@ -37,11 +37,12 @@ "gatsby-source-filesystem": "^2.1.35", "lodash": "^4.17.14", "mdx-utils": "^0.2.0", + "prism-react-renderer": "^1.0.2", "prop-types": "^15.7.2", "re-resizable": "^6.1.0", "react-feather": "^2.0.3", "react-helmet-async": "^1.0.4", - "react-live": "^2.1.2", + "react-live": "^2.2.1", "rehype-docz": "^2.1.0", "rehype-slug": "^2.0.3", "remark-docz": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index 4ac5b2e0d..299d5e1b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15411,6 +15411,11 @@ prism-react-renderer@^0.1.0: resolved "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-0.1.6.tgz#c9216baa234fab1c234209fcdaf0cd23a01c50a9" integrity sha512-uZJn5wrygCH0ZMue+2JRd0qJharrmpxa6/uK7deKgvCtJFFE+VsyvJ49LS8/ATt0mlAJS6vFQTDvhXBEXsda+A== +prism-react-renderer@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.0.2.tgz#3bb9a6a42f76fc049b03266298c7068fdd4b7ea9" + integrity sha512-0++pJyRfu4v2OxI/Us/5RLui9ESDkTiLkVCtKuPZYdpB8UQWJpnJQhPrWab053XtsKW3oM0sD69uJ6N9exm1Ag== + private@^0.1.6, private@^0.1.8: version "0.1.8" resolved "https://registry.npmjs.org/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -15870,10 +15875,10 @@ react-lifecycles-compat@^3.0.4: resolved "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== -react-live@^2.1.2: - version "2.2.0" - resolved "https://registry.npmjs.org/react-live/-/react-live-2.2.0.tgz#538dfb34c614dcdda98845716372129adf59fdef" - integrity sha512-Ebbqz2hJGdC0OisXk1XbJ5gb3M3xn7ZdaheisVVFCbivM901Pixy12k1tqBTLoMYjlY2wGAGwgDBTE63Lqaweg== +react-live@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-live/-/react-live-2.2.1.tgz#32a7732ba28bc1e252da28c312a47e27711bd98b" + integrity sha512-J97Fk0it6DFgEneGX2DbxugVy3++nb1fGUy3TcehQZcvfRI6ssnbrXyDE94xCUT0zJMC48tX1wT6GEaK+lDYsA== dependencies: buble "0.19.6" core-js "^2.4.1" @@ -15881,7 +15886,7 @@ react-live@^2.1.2: dom-iterator "^1.0.0" prism-react-renderer "^0.1.0" prop-types "^15.5.8" - react-simple-code-editor "^0.9.0" + react-simple-code-editor "^0.10.0" unescape "^0.2.0" react-reconciler@^0.20.0: @@ -15894,10 +15899,10 @@ react-reconciler@^0.20.0: prop-types "^15.6.2" scheduler "^0.13.6" -react-simple-code-editor@^0.9.0: - version "0.9.10" - resolved "https://registry.npmjs.org/react-simple-code-editor/-/react-simple-code-editor-0.9.10.tgz#1ab5ea7215687ed918c6d0dae90736cf01890905" - integrity sha512-80LJwRQS7Wi9Ugh/e6FRHWdcg4oQOpMBDFxyDpORILffrHdV3EIQ1IeX5x7488r05iFgLbVDV4nQ1LRKjgCm0g== +react-simple-code-editor@^0.10.0: + version "0.10.0" + resolved "https://registry.npmjs.org/react-simple-code-editor/-/react-simple-code-editor-0.10.0.tgz#73e7ac550a928069715482aeb33ccba36efe2373" + integrity sha512-bL5W5mAxSW6+cLwqqVWY47Silqgy2DKDTR4hDBrLrUqC5BXc29YVx17l2IZk5v36VcDEq1Bszu2oHm1qBwKqBA== react@^16.8.0, react@^16.8.4, react@^16.8.6: version "16.9.0"