Skip to content

Commit ff69c3f

Browse files
committed
Update dev-dependencies
1 parent cd777ce commit ff69c3f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function toMdast(tree, options = {}) {
131131
* ignored.
132132
* So clean up.
133133
*
134-
* @type {import('unist-util-visit').Visitor<Text>}
134+
* @type {import('unist-util-visit/complex-types').BuildVisitor<MdastRoot, 'text'>}
135135
*/
136136
function ontext(node, index, parent) {
137137
/* c8 ignore next 3 */
@@ -142,7 +142,6 @@ export function toMdast(tree, options = {}) {
142142
const previous = parent.children[index - 1]
143143

144144
if (previous && previous.type === node.type) {
145-
// @ts-expect-error: Looks like a literal.
146145
previous.value += node.value
147146
parent.children.splice(index, 1)
148147

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"prettier": "^2.0.0",
6161
"rehype-parse": "^8.0.0",
6262
"remark-cli": "^10.0.0",
63-
"remark-gfm": "^2.0.0",
63+
"remark-gfm": "^3.0.0",
6464
"remark-parse": "^10.0.0",
6565
"remark-preset-wooorm": "^9.0.0",
6666
"remark-stringify": "^10.0.0",
@@ -71,7 +71,7 @@
7171
"unified": "^10.0.0",
7272
"unist-builder": "^3.0.0",
7373
"unist-util-remove-position": "^4.0.0",
74-
"xo": "^0.44.0"
74+
"xo": "^0.45.0"
7575
},
7676
"scripts": {
7777
"prepack": "npm run build && npm run format",

0 commit comments

Comments
 (0)