Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 3, 2021
1 parent 79c4c12 commit a883c96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import control from 'unified-message-control'
import marker from 'mdast-comment-marker'
import unifiedMessageControl from 'unified-message-control'
import {commentMarker} from 'mdast-comment-marker'

var test = [
'html', // Comments are `html` nodes in mdast.
'comment' // In MDX, comments have their own node.
]

export default function remarkMessageControl(options) {
return control(Object.assign({marker, test}, options))
return unifiedMessageControl(
Object.assign({marker: commentMarker, test}, options)
)
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"index.js"
],
"dependencies": {
"mdast-comment-marker": "^1.0.0",
"unified-message-control": "^3.0.0"
"mdast-comment-marker": "^2.0.0",
"unified-message-control": "^4.0.0"
},
"devDependencies": {
"c8": "^7.0.0",
Expand Down

0 comments on commit a883c96

Please sign in to comment.