Skip to content

Commit

Permalink
Merge pull request #1854 from target/dependabot/npm_and_yarn/remark-g…
Browse files Browse the repository at this point in the history
…fm-2.0.0
  • Loading branch information
dctalbot authored Oct 28, 2021
2 parents 29444cc + 8b3c416 commit d8940c7
Show file tree
Hide file tree
Showing 3 changed files with 661 additions and 335 deletions.
6 changes: 3 additions & 3 deletions web/src/app/util/Markdown.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import ReactMarkdown from 'react-markdown'
import { safeURL } from './safeURL'
import gfm from 'remark-gfm'
import remarkGfm from 'remark-gfm'
import { makeStyles } from '@material-ui/core'
import { safeURL } from './safeURL'

const useStyles = makeStyles({
markdown: {
Expand Down Expand Up @@ -51,7 +51,7 @@ export default function Markdown(props) {
return (
<ReactMarkdown
className={classes.markdown}
plugins={[gfm]}
remarkPlugins={[remarkGfm]}
allowElement={(element) => {
if (
element.tagName === 'a' &&
Expand Down
4 changes: 2 additions & 2 deletions web/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
"react-dom": "17.0.2",
"react-ga": "3.3.0",
"react-infinite-scroll-component": "6.1.0",
"react-markdown": "6.0.2",
"react-markdown": "7.1.0",
"react-redux": "7.2.4",
"react-router-dom": "5.3.0",
"react-transition-group": "4.4.2",
"redux-thunk": "2.3.0",
"remark-gfm": "1.0.0",
"remark-gfm": "3.0.0",
"reselect": "4.1.1",
"strict-loader": "1.2.0"
},
Expand Down
Loading

0 comments on commit d8940c7

Please sign in to comment.