Skip to content

Commit 7a8cb0e

Browse files
committed
Update mdast-util-to-hast
1 parent bdeeee5 commit 7a8cb0e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

index.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ function plugin(options) {
1616

1717
function compiler(node, file) {
1818
var root = node && node.type && node.type === 'root'
19-
var hast = toHast(node, {
20-
allowDangerousHtml: !clean,
21-
handlers: handlers,
22-
commonmark: true
23-
})
19+
var hast = toHast(node, {allowDangerousHtml: !clean, handlers: handlers})
2420
var result
2521

2622
if (file.extname) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"dependencies": {
3737
"hast-util-sanitize": "^3.0.0",
3838
"hast-util-to-html": "^7.0.0",
39-
"mdast-util-to-hast": "^9.0.0"
39+
"mdast-util-to-hast": "^10.0.0"
4040
},
4141
"devDependencies": {
4242
"browserify": "^16.0.0",

0 commit comments

Comments
 (0)