Skip to content

Commit

Permalink
fix(ai-help): revert "chore(deps): bump unified from 10.1.2 to 11.0.4…
Browse files Browse the repository at this point in the history
… + remark-{gfm,parse,rehype} + rehype-{format,stringify} (#9896)" (#9978)

Revert "chore(deps): bump unified from 10.1.2 to 11.0.4 + remark-{gfm,parse,rehype} + rehype-{format,stringify} (#9896)"

This reverts commit ef5800a.
  • Loading branch information
LeoMcA authored Nov 8, 2023
1 parent a80a0d6 commit 58b53db
Show file tree
Hide file tree
Showing 3 changed files with 306 additions and 279 deletions.
1 change: 1 addition & 0 deletions markdown/m2h/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function makeProcessor(options: ProcessorOptions) {
const processor = unified()
.use(parse)
.use(gfm)
// @ts-expect-error Need to investigate why types don't seem to match.
.use(remarkRehype, {
handlers: localizedHandlers,
allowDangerousHtml: true,
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,19 @@
"react-markdown": "^8.0.7",
"react-modal": "^3.16.1",
"read-chunk": "^4.0.3",
"rehype-format": "^5.0.0",
"rehype-format": "^4.0.1",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"rehype-stringify": "^10.0.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"rehype-stringify": "^9.0.4",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0",
"sanitize-filename": "^1.6.3",
"send": "^0.18.0",
"source-map-support": "^0.5.21",
"sse.js": "^1.0.0",
"tempy": "^3.1.0",
"unified": "^11.0.4",
"unified": "^10.1.2",
"unist-builder": "^4.0.0",
"unist-util-visit": "^5.0.0",
"web-features": "^0.4.1",
Expand Down
Loading

0 comments on commit 58b53db

Please sign in to comment.