Skip to content

Commit faf7d1f

Browse files
wooormcbettalifeiscontent
committed
Rename internal method
Closes GH-29. Closes GH-30. Co-authored-by: Cristiano Betta <cristiano@betta.io> Co-authored-by: Aaron Reisman <aaron@lifeiscontent.net>
1 parent 4e47853 commit faf7d1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function plugin(options) {
1717

1818
function compiler(node, file) {
1919
var root = node && node.type && node.type === 'root'
20-
var hast = toHast(node, {allowDangerousHTML: !clean, handlers: handlers})
20+
var hast = toHast(node, {allowDangerousHtml: !clean, handlers: handlers})
2121
var result
2222

2323
if (file.extname) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"hast-util-sanitize": "^2.0.0",
3636
"hast-util-to-html": "^7.0.0",
37-
"mdast-util-to-hast": "^8.0.0",
37+
"mdast-util-to-hast": "^8.2.0",
3838
"xtend": "^4.0.1"
3939
},
4040
"devDependencies": {

0 commit comments

Comments
 (0)