Skip to content

Commit 5525b0d

Browse files
committed
Update dev-dependencies
1 parent 9cdeed2 commit 5525b0d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

lib/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export function excerpt(tree, options) {
8585

8686
while (++index < node.children.length && !found) {
8787
const child = node.children[index]
88-
// @ts-expect-error: children in JSX are transformed to `hast`.
8988
const result = preorder(child)
9089
// @ts-expect-error: assume content model matches.
9190
if (result) children.push(result)

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@
3838
"hast-util-truncate": "^1.0.0"
3939
},
4040
"devDependencies": {
41-
"@types/node": "^18.0.0",
42-
"c8": "^7.0.0",
41+
"@types/node": "^20.0.0",
42+
"c8": "^8.0.0",
4343
"hast-util-select": "^5.0.0",
4444
"hastscript": "^7.0.0",
4545
"mdast-util-from-markdown": "^1.0.0",
4646
"mdast-util-mdx": "^2.0.0",
4747
"mdast-util-to-hast": "^12.0.0",
4848
"micromark-extension-mdxjs": "^1.0.0",
49-
"prettier": "^2.0.0",
49+
"prettier": "^3.0.0",
5050
"remark-cli": "^11.0.0",
5151
"remark-preset-wooorm": "^9.0.0",
5252
"type-coverage": "^2.0.0",
53-
"typescript": "^4.0.0",
53+
"typescript": "^5.0.0",
5454
"unist-builder": "^3.0.0",
5555
"unist-util-remove-position": "^4.0.0",
56-
"xo": "^0.53.0"
56+
"xo": "^0.55.0"
5757
},
5858
"scripts": {
5959
"prepack": "npm run build && npm run format",
6060
"build": "tsc --build --clean && tsc --build && type-coverage",
61-
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
61+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
6262
"test-api": "node --conditions development test.js",
6363
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
6464
"test": "npm run build && npm run format && npm run test-coverage"

0 commit comments

Comments
 (0)