Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit b68cdfe

Browse files
committed
Update dev-dependencies
1 parent 29f7326 commit b68cdfe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"prettier": "^2.0.0",
6161
"react": "^17.0.0",
6262
"react-dom": "^17.0.0",
63-
"rehype": "^11.0.0",
63+
"rehype": "^12.0.0",
6464
"remark-cli": "^9.0.0",
6565
"remark-preset-wooorm": "^8.0.0",
6666
"rimraf": "^3.0.0",

test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import h from 'hyperscript'
1212
import {h as v} from 'virtual-dom'
1313
// @ts-expect-error: hush
1414
import vs from 'virtual-dom/virtual-hyperscript/svg.js'
15-
import rehype from 'rehype'
15+
import {rehype} from 'rehype'
1616
// @ts-expect-error: hush
1717
import vToString from 'vdom-to-html'
1818
import {createElement as r} from 'react'
@@ -805,7 +805,6 @@ test('hast-to-hyperscript', (t) => {
805805
* @returns {HastRoot}
806806
*/
807807
function html(doc) {
808-
// @ts-expect-error it’s a root!
809808
return processor.parse(doc)
810809
}
811810

0 commit comments

Comments
 (0)