From 6d4ebfeba92b6bdb807661ae5fd53f34a5dcafc6 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Thu, 11 Jun 2020 22:37:02 +0900 Subject: [PATCH] use mdx-js v2 --- next-env.d.ts | 7 -- package.json | 2 +- pages/todo.tsx | 8 +- styles/MainTheme.tsx | 6 +- yarn.lock | 223 +++++++++++++++++++++++++++++++------------ 5 files changed, 170 insertions(+), 76 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index 9739e18..7b7aa2c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,9 +1,2 @@ /// /// -declare module "@mdx-js/react" { - const MDXContext: React.Context; - const MDXProvider: React.FC<{ - components: any; - childlen?: ReactNode; - }>; -} diff --git a/package.json b/package.json index acb1477..75d8649 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "@material-ui/core": "~4", "@material-ui/icons": "~4", "@material-ui/styles": "~4", - "@mdx-js/loader": "~1", + "@mdx-js/loader": "~2", "@next/mdx": "~9", "next": "~9", "react": "~16", diff --git a/pages/todo.tsx b/pages/todo.tsx index 48ec06c..db3a28d 100644 --- a/pages/todo.tsx +++ b/pages/todo.tsx @@ -32,7 +32,7 @@ function reducer(state: State, action: Action) { } export default () => { - const components = React.useContext(MDXContext); + const { components } = React.useContext(MDXContext); const [state, dispatch] = React.useReducer(reducer, initialState); const onSubmit = React.useCallback( (event: FormEvent) => { @@ -50,9 +50,9 @@ export default () => { [dispatch] ); - const H1 = components.h1 || "h1"; - const Ul = components.ul || "ul"; - const Li = components.li || "li"; + const H1 = components?.h1 ?? "h1"; + const Ul = components?.ul ?? "ul"; + const Li = components?.li ?? "li"; return ( <> diff --git a/styles/MainTheme.tsx b/styles/MainTheme.tsx index e093da9..67d6cb8 100644 --- a/styles/MainTheme.tsx +++ b/styles/MainTheme.tsx @@ -5,7 +5,7 @@ import Typography from "@material-ui/core/Typography"; import MuiLink from "@material-ui/core/Link"; import Box from "@material-ui/core/Box"; import Container from "@material-ui/core/Container"; -import { MDXProvider } from "@mdx-js/react"; +import { MDXProvider, ComponentDictionary } from "@mdx-js/react"; import React from "react"; import Head from "next/head"; import Link from "next/link"; @@ -34,9 +34,7 @@ export const theme = createMuiTheme({ }, }); -export const components: { - [key in keyof HTMLElementTagNameMap]?: React.FC; -} = { +export const components: ComponentDictionary = { h1: (props) => ( <> diff --git a/yarn.lock b/yarn.lock index b8541c7..fbb31d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -89,6 +89,28 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@7.9.0": + version "7.9.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e" + integrity sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w== + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.9.0" + "@babel/helper-module-transforms" "^7.9.0" + "@babel/helpers" "^7.9.0" + "@babel/parser" "^7.9.0" + "@babel/template" "^7.8.6" + "@babel/traverse" "^7.9.0" + "@babel/types" "^7.9.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/core@7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" @@ -121,6 +143,16 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/generator@^7.9.0": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9" + integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA== + dependencies: + "@babel/types" "^7.10.2" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.1.tgz#f6d08acc6f70bbd59b436262553fb2e259a1a268" @@ -327,7 +359,7 @@ "@babel/traverse" "^7.10.1" "@babel/types" "^7.10.1" -"@babel/helpers@^7.7.4", "@babel/helpers@^7.9.6": +"@babel/helpers@^7.7.4", "@babel/helpers@^7.9.0", "@babel/helpers@^7.9.6": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw== @@ -350,6 +382,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.1.tgz#2e142c27ca58aa2c7b119d09269b702c8bbad28c" integrity sha512-AUTksaz3FqugBkbTZ1i+lDLG5qy8hIzCaAxEtttU6C0BtZZU9pkNZtWSVAht4EW9kl46YBiyTGMp9xTTGqViNg== +"@babel/parser@^7.9.0": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0" + integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ== + "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.1.tgz#6911af5ba2e615c4ff3c497fe2f47b35bf6d7e55" @@ -415,6 +452,15 @@ "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-numeric-separator" "^7.10.1" +"@babel/plugin-proposal-object-rest-spread@7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116" + integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/plugin-proposal-object-rest-spread@7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" @@ -998,7 +1044,7 @@ "@babel/parser" "^7.10.1" "@babel/types" "^7.10.1" -"@babel/traverse@^7.10.1", "@babel/traverse@^7.7.4", "@babel/traverse@^7.9.6": +"@babel/traverse@^7.10.1", "@babel/traverse@^7.7.4", "@babel/traverse@^7.9.0", "@babel/traverse@^7.9.6": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ== @@ -1040,6 +1086,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.10.2", "@babel/types@^7.9.0": + version "7.10.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d" + integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng== + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@emotion/hash@^0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413" @@ -1116,49 +1171,50 @@ prop-types "^15.7.2" react-is "^16.8.0" -"@mdx-js/loader@~1": - version "1.6.5" - resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.6.5.tgz#f2826c79f18cbc6b502dd5722d7e7101e5658dbb" - integrity sha512-KAryT4UgOu+RVLMH0yZkmV1MQXSb/T8allsq5YZe5XFkOPHD341Po4tPlOddr6hpQKkHyZtDN70YNBxP4dVX6w== +"@mdx-js/loader@~2": + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-2.0.0-next.1.tgz#ac7d97f7ab4b45ada8a7507bed72a48b54f54739" + integrity sha512-QZeaBIb9usq4VciIiZ3Ew1ExXmMzD9db5fuWeRlruBkKHMVzW1/CgKPjhSVYrim3diWPd0dSZBTrz9thzdJzJQ== dependencies: - "@mdx-js/mdx" "^1.6.5" - "@mdx-js/react" "^1.6.5" + "@mdx-js/mdx" "^2.0.0-next.1" + "@mdx-js/react" "^2.0.0-next.1" loader-utils "2.0.0" -"@mdx-js/mdx@^1.6.5": - version "1.6.5" - resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.5.tgz#4e00ca5d38d678c6070d73819bb696e4030e2662" - integrity sha512-DC13eeEM0Dv9OD+UVhyB69BlV29d2eoAmfiR/XdgNl4R7YmRNEPGRD3QvGUdRUDxYdJBHauMz5ZIV507cNXXaA== +"@mdx-js/mdx@^2.0.0-next.1": + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.0.0-next.1.tgz#efe00662f6b57ec1bac651518d61c2fe75abff5a" + integrity sha512-rD0BOGx0sUg4rVc2uTK9sRK6FoAoIClVISJhKVYv1ivm3UAsQKElJM21qU+TixmoI8dnrIR0AmzgDWQYukKYVg== dependencies: "@babel/core" "7.9.6" "@babel/plugin-syntax-jsx" "7.8.3" "@babel/plugin-syntax-object-rest-spread" "7.8.3" - "@mdx-js/util" "^1.6.5" - babel-plugin-apply-mdx-type-prop "^1.6.5" - babel-plugin-extract-import-names "^1.6.5" + "@mdx-js/util" "^2.0.0-next.1" + babel-plugin-apply-mdx-type-prop "^2.0.0-next.1" + babel-plugin-extract-import-names "^2.0.0-next.1" camelcase-css "2.0.1" detab "2.0.3" + hast-to-hyperscript "8.1.0" hast-util-raw "5.0.2" lodash.uniq "4.5.0" mdast-util-to-hast "9.1.0" remark-footnotes "1.0.0" - remark-mdx "^1.6.5" - remark-parse "8.0.2" + remark-mdx "^2.0.0-next.1" + remark-mdxjs "^2.0.0-next.1" + remark-parse "8.0.1" remark-squeeze-paragraphs "4.0.0" - style-to-object "0.3.0" unified "9.0.0" unist-builder "2.0.3" unist-util-visit "2.0.2" -"@mdx-js/react@^1.6.5": - version "1.6.5" - resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.5.tgz#70380f25209b62ef69349b7eef09fad7e1103824" - integrity sha512-y1Yu9baw3KokFrs7g5RxHpJNSU4e1zk/5bAJX94yVATglG5HyAL0lYMySU8YzebXNE+fJJMCx9CuiQHy2ezoew== +"@mdx-js/react@^2.0.0-next.1": + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.0.0-next.1.tgz#0274d3424fe6540a237037bd2ededd0b7688ed2d" + integrity sha512-nnv4tGcfmSttIj5FoGuMB9d5q9LyYEo+dRdmb0y6GBr3TiVFNruHLBtsAQkOiztIejMuoOcRZSCMZTmsF2SbXA== -"@mdx-js/util@^1.6.5": - version "1.6.5" - resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.5.tgz#d3bf891748dcf49a148a4591ef6c16caae4b32ed" - integrity sha512-ljr9hGQYW3kZY1NmQbmSe4yXvgq3KDRt0FMBOB5OaDWqi4X2WzEsp6SZ02KmVrieNW1cjWlj13pgvcf0towZPw== +"@mdx-js/util@^2.0.0-next.1": + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-2.0.0-next.1.tgz#b17a046ed5cb1b13e75b29740504ec53a7e0b016" + integrity sha512-F36kWTFdFXrbNIsM77dhVwYZsZonUIKHkYyYgnuw1NWskBfEn1ET5B5Z5mm58ckKNf7SimchnxR9sKCCtH38WA== "@next/mdx@~9": version "9.4.4" @@ -1581,13 +1637,13 @@ babel-code-frame@^6.22.0: esutils "^2.0.2" js-tokens "^3.0.2" -babel-plugin-apply-mdx-type-prop@^1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.5.tgz#61f6e16e3ee9d09660d510723199de743cd516f4" - integrity sha512-Bs2hv/bYFTJyhBqvsWOsceFyPXAhVM1gvwF8fIm6GeXYTQV+sY+qRR5TClamgr3OEsD8ZApmw+kxJSHgJggVyw== +babel-plugin-apply-mdx-type-prop@^2.0.0-next.1: + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-2.0.0-next.1.tgz#50cb0a379c09a9d816fb1f2ca800a8f07999808c" + integrity sha512-OLYeU1e8XC2pmnJis45veX7/3DkSmhsB7G9A5c3r0L6jo5axh/Zfc4G2yXU5If4GcGKt2Z9mwbtP1DpWWXOBBA== dependencies: "@babel/helper-plugin-utils" "7.8.3" - "@mdx-js/util" "^1.6.5" + "@mdx-js/util" "^2.0.0-next.1" babel-plugin-dynamic-import-node@^2.3.3: version "2.3.3" @@ -1596,10 +1652,10 @@ babel-plugin-dynamic-import-node@^2.3.3: dependencies: object.assign "^4.1.0" -babel-plugin-extract-import-names@^1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.5.tgz#b5b2639a9bbe880f2433736f1ca35c0a08d8518a" - integrity sha512-rrNoCZ1DHMdy3vuihvkuO2AjE2DVFrI78e61W7eVsgpNTbG0KO1UESQwXMTlS3v1PMnlEJjdvoteRAkatEkWFQ== +babel-plugin-extract-import-names@^2.0.0-next.1: + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-2.0.0-next.1.tgz#53a73739808de05bca9c301862e69f9ddd656a69" + integrity sha512-m2kXFXRYW9JXTyON7XDxpDn9LYAiBoZaBphjoyge0Yle3UHX6A32YlR23VCK6K5EARBts6uulCD60e1QZ1Z6aw== dependencies: "@babel/helper-plugin-utils" "7.8.3" @@ -1964,6 +2020,11 @@ chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" +character-entities-html4@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-1.1.4.tgz#0e64b0a3753ddbf1fdc044c5fd01d0199a02e125" + integrity sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g== + character-entities-legacy@^1.0.0: version "1.1.4" resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" @@ -3145,6 +3206,18 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hast-to-hyperscript@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/hast-to-hyperscript/-/hast-to-hyperscript-8.1.0.tgz#3b6dcff946e10f99a2d08eef443bfec248529866" + integrity sha512-NGZO5WbTxzmtMWT3wgfwCAvAofNuWovWFJ2HX0sp1xsUMafDktrijaUuR/dBFpQ0eo4nsXEE3pz17WVvYYXK4Q== + dependencies: + comma-separated-tokens "^1.0.0" + property-information "^5.0.0" + space-separated-tokens "^1.0.0" + style-to-object "^0.3.0" + unist-util-is "^4.0.0" + web-namespaces "^1.0.0" + hast-to-hyperscript@^7.0.0: version "7.0.4" resolved "https://registry.yarnpkg.com/hast-to-hyperscript/-/hast-to-hyperscript-7.0.4.tgz#7c4c037d9a8ea19b0a3fdb676a26448ad922353d" @@ -3373,7 +3446,7 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-alphabetical@1.0.4, is-alphabetical@^1.0.0: +is-alphabetical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== @@ -3456,7 +3529,7 @@ is-date-object@^1.0.1: resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e" integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g== -is-decimal@^1.0.0: +is-decimal@^1.0.0, is-decimal@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== @@ -4036,6 +4109,11 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + mini-css-extract-plugin@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.8.0.tgz#81d41ec4fe58c713a96ad7c723cdb2d0bd4d70e1" @@ -5312,24 +5390,31 @@ remark-footnotes@1.0.0: resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-1.0.0.tgz#9c7a97f9a89397858a50033373020b1ea2aad011" integrity sha512-X9Ncj4cj3/CIvLI2Z9IobHtVi8FVdUrdJkCNaL9kdX8ohfsi18DXHsCVd/A7ssARBdccdDb5ODnt62WuEWaM/g== -remark-mdx@^1.6.5: - version "1.6.5" - resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.6.5.tgz#a268b18fe8dbe23f2b7c8cf572264c7c0398e0d1" - integrity sha512-zItwP3xcVQAEPJTHseFh+KZEyJ31+pbVJMOMzognqTuZ2zfzIR4Xrg0BAx6eo+paV4fHne/5vi2ugWtCeOaBRA== +remark-mdx@^2.0.0-next.1: + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-2.0.0-next.1.tgz#c7f4335e63bf53d1ec4a9f42b37ca362b90fe8dd" + integrity sha512-ExwMd143dihz4CGw69fyfS2r+pS2vPsRrUxTWHem8T3unDezHcR3AwBJVgT8X7Y+e/gsM3ntgU5G4XmnFi9pSw== dependencies: - "@babel/core" "7.9.6" - "@babel/helper-plugin-utils" "7.8.3" - "@babel/plugin-proposal-object-rest-spread" "7.9.6" - "@babel/plugin-syntax-jsx" "7.8.3" - "@mdx-js/util" "^1.6.5" - is-alphabetical "1.0.4" - remark-parse "8.0.2" - unified "9.0.0" + parse-entities "^2.0.0" + stringify-entities "^3.0.0" + strip-indent "^3.0.0" + unist-util-stringify-position "^2.0.0" -remark-parse@8.0.2: - version "8.0.2" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.2.tgz#5999bc0b9c2e3edc038800a64ff103d0890b318b" - integrity sha512-eMI6kMRjsAGpMXXBAywJwiwAse+KNpmt+BK55Oofy4KvBZEqUDj6mWbGLJZrujoPIPPxDXzn3T9baRlpsm2jnQ== +remark-mdxjs@^2.0.0-next.1: + version "2.0.0-next.1" + resolved "https://registry.yarnpkg.com/remark-mdxjs/-/remark-mdxjs-2.0.0-next.1.tgz#c56abfa60cfd74f4c61b1140a0c9783203929090" + integrity sha512-Xq+M5q389lcbp7VxvNxp+mQs91K0VHDLOZrPbhqngppmH5dyYutS2UUWhAT1pE8l+hAvNWYby4NeJK8ab9kKPg== + dependencies: + "@babel/core" "7.9.0" + "@babel/helper-plugin-utils" "7.8.3" + "@babel/plugin-proposal-object-rest-spread" "7.9.5" + "@babel/plugin-syntax-jsx" "7.8.3" + "@mdx-js/util" "^2.0.0-next.1" + +remark-parse@8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.1.tgz#7fc95d8f2b58fc6791cffb54803c763eb3756743" + integrity sha512-Ye/5W57tdQZWsfkuVyRq9SUWRgECHnDsMuyUMzdSKpTbNPkZeGtoYfsrkeSi4+Xyl0mhcPPddHITXPcCPHrl3w== dependencies: ccount "^1.0.0" collapse-white-space "^1.0.2" @@ -5866,6 +5951,17 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" +stringify-entities@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-3.0.1.tgz#32154b91286ab0869ab2c07696223bd23b6dbfc0" + integrity sha512-Lsk3ISA2++eJYqBMPKcr/8eby1I6L0gP0NlxF8Zja6c05yr/yCYyb2c9PwXjd08Ib3If1vn1rbs1H5ZtVuOfvQ== + dependencies: + character-entities-html4 "^1.0.0" + character-entities-legacy "^1.0.0" + is-alphanumerical "^1.0.0" + is-decimal "^1.0.2" + is-hexadecimal "^1.0.0" + strip-ansi@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" @@ -5885,6 +5981,13 @@ strip-bom@^3.0.0: resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + style-loader@1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.2.1.tgz#c5cbbfbf1170d076cfdd86e0109c5bba114baa1a" @@ -5893,13 +5996,6 @@ style-loader@1.2.1: loader-utils "^2.0.0" schema-utils "^2.6.6" -style-to-object@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.3.0.tgz#b1b790d205991cc783801967214979ee19a76e46" - integrity sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA== - dependencies: - inline-style-parser "0.1.1" - style-to-object@^0.2.1: version "0.2.3" resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.2.3.tgz#afcf42bc03846b1e311880c55632a26ad2780bcb" @@ -5907,6 +6003,13 @@ style-to-object@^0.2.1: dependencies: inline-style-parser "0.1.1" +style-to-object@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.3.0.tgz#b1b790d205991cc783801967214979ee19a76e46" + integrity sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA== + dependencies: + inline-style-parser "0.1.1" + styled-jsx@3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.3.0.tgz#32335c1a3ecfc923ba4f9c056eeb3d4699006b09"