Skip to content

Commit 94f4945

Browse files
committed
Update for changes in mdast-util-from-markdown
1 parent 5c31788 commit 94f4945

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/from-markdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ function close(token) {
3535
}
3636

3737
function value(token) {
38-
this.handlers.enter.data.call(this, token)
39-
this.handlers.exit.data.call(this, token)
38+
this.config.enter.data.call(this, token)
39+
this.config.exit.data.call(this, token)
4040
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"micromark-extension-frontmatter": "^0.2.0"
3737
},
3838
"devDependencies": {
39-
"mdast-util-from-markdown": "^0.2.0",
40-
"mdast-util-to-markdown": "^0.2.0",
39+
"mdast-util-from-markdown": "^0.5.0",
40+
"mdast-util-to-markdown": "^0.3.0",
4141
"nyc": "^15.0.0",
4242
"prettier": "^2.0.0",
4343
"remark-cli": "^8.0.0",

0 commit comments

Comments
 (0)