Skip to content

Commit 58b53db

Browse files
authored
fix(ai-help): revert "chore(deps): bump unified from 10.1.2 to 11.0.4 + 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.
1 parent a80a0d6 commit 58b53db

File tree

3 files changed

+306
-279
lines changed

3 files changed

+306
-279
lines changed

Diff for: markdown/m2h/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function makeProcessor(options: ProcessorOptions) {
1818
const processor = unified()
1919
.use(parse)
2020
.use(gfm)
21+
// @ts-expect-error Need to investigate why types don't seem to match.
2122
.use(remarkRehype, {
2223
handlers: localizedHandlers,
2324
allowDangerousHtml: true,

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,19 @@
122122
"react-markdown": "^8.0.7",
123123
"react-modal": "^3.16.1",
124124
"read-chunk": "^4.0.3",
125-
"rehype-format": "^5.0.0",
125+
"rehype-format": "^4.0.1",
126126
"rehype-raw": "^7.0.0",
127127
"rehype-sanitize": "^6.0.0",
128-
"rehype-stringify": "^10.0.0",
129-
"remark-gfm": "^4.0.0",
130-
"remark-parse": "^11.0.0",
131-
"remark-rehype": "^11.0.0",
128+
"rehype-stringify": "^9.0.4",
129+
"remark-gfm": "^3.0.1",
130+
"remark-parse": "^10.0.2",
131+
"remark-rehype": "^10.1.0",
132132
"sanitize-filename": "^1.6.3",
133133
"send": "^0.18.0",
134134
"source-map-support": "^0.5.21",
135135
"sse.js": "^1.0.0",
136136
"tempy": "^3.1.0",
137-
"unified": "^11.0.4",
137+
"unified": "^10.1.2",
138138
"unist-builder": "^4.0.0",
139139
"unist-util-visit": "^5.0.0",
140140
"web-features": "^0.4.1",

0 commit comments

Comments
 (0)