Skip to content

Commit 24f97ec

Browse files
committed
Update dev-dependencies
1 parent 3d42964 commit 24f97ec

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ function patch(state, nodes, offset) {
316316
const end =
317317
typeof start === 'number' ? start + toString(node).length : undefined
318318

319+
// @ts-expect-error: to do: fix this.
319320
node.position =
320321
start !== undefined && end !== undefined
321322
? {start: state.place.toPoint(start), end: state.place.toPoint(end)}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"vfile-location": "^4.0.0"
4545
},
4646
"devDependencies": {
47-
"@types/node": "^18.0.0",
48-
"c8": "^7.0.0",
47+
"@types/node": "^20.0.0",
48+
"c8": "^8.0.0",
4949
"is-hidden": "^2.0.0",
5050
"mdast-util-from-markdown": "^1.0.0",
5151
"mdast-util-frontmatter": "^1.0.0",
@@ -60,8 +60,8 @@
6060
"remark-preset-wooorm": "^9.0.0",
6161
"to-vfile": "^7.0.0",
6262
"type-coverage": "^2.0.0",
63-
"typescript": "^4.0.0",
64-
"xo": "^0.53.0"
63+
"typescript": "^5.0.0",
64+
"xo": "^0.54.0"
6565
},
6666
"scripts": {
6767
"prepack": "npm run build && npm run format",

0 commit comments

Comments
 (0)