Bump react-markdown from 4.3.1 to 5.0.3 (#374)

* Bump react-markdown from 4.3.1 to 5.0.3

Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 4.3.1 to 5.0.3.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/v4.3.1...5.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

* add github style md parser

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kalle (Sendou) <38327916+Sendouc@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2021-04-07 12:00:58 +03:00
committed by GitHub
parent 40befe5ee1
commit cdad7d9598
3 changed files with 727 additions and 273 deletions

View File

@@ -21,6 +21,7 @@ import {
import { useMyTheme } from "hooks/common";
import ReactMarkdown from "react-markdown";
import reactStringReplace from "react-string-replace";
import gfm from "remark-gfm";
import MyLink from "./MyLink";
interface MarkdownProps {
@@ -211,6 +212,7 @@ const Markdown: React.FC<MarkdownProps> = ({
source={value.replace(/\n/g, " \n")}
renderers={ChakraUIRenderer()}
disallowedTypes={allowAll ? [] : ["imageReference", "image"]}
plugins={[gfm]}
/>
);
};

995
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -55,11 +55,12 @@
"react-hotkeys-hook": "^3.3.0",
"react-icons": "^4.2.0",
"react-infinite-scroller": "^1.2.4",
"react-markdown": "^4.3.1",
"react-markdown": "^5.0.3",
"react-query": "^3.13.4",
"react-select": "^4.3.0",
"react-string-replace": "^0.4.4",
"recharts": "^2.0.9",
"remark-gfm": "^1.0.0",
"superjson": "^1.7.3",
"swr": "^0.5.5",
"ts-trueskill": "^3.2.0",