Skip to content

Commit 65d8ac2

Browse files
committed
Update dev-dependencies
1 parent 8eaf9d1 commit 65d8ac2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@
4949
"c8": "^8.0.0",
5050
"hast-util-to-html": "^8.0.0",
5151
"mdast-util-from-markdown": "^2.0.0",
52-
"mdast-util-to-hast": "^12.0.0",
52+
"mdast-util-to-hast": "^13.0.0",
5353
"mdast-util-to-markdown": "^2.0.0",
5454
"micromark-extension-gfm-autolink-literal": "^2.0.0",
55-
"prettier": "^2.0.0",
55+
"prettier": "^3.0.0",
5656
"remark-cli": "^11.0.0",
5757
"remark-preset-wooorm": "^9.0.0",
5858
"type-coverage": "^2.0.0",
5959
"typescript": "^5.0.0",
60-
"xo": "^0.54.0"
60+
"xo": "^0.55.0"
6161
},
6262
"scripts": {
6363
"prepack": "npm run build && npm run format",
6464
"build": "tsc --build --clean && tsc --build && type-coverage",
65-
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
65+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
6666
"test-api-prod": "node --conditions production test/index.js",
6767
"test-api-dev": "node --conditions development test/index.js",
6868
"test-api": "npm run test-api-dev && npm run test-api-prod",
@@ -99,6 +99,7 @@
9999
],
100100
"prettier": true,
101101
"rules": {
102+
"unicorn/prefer-at": "off",
102103
"unicorn/prefer-code-point": "off"
103104
}
104105
}

test/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,10 @@ test('fixtures', async function (t) {
477477
mdastExtensions: [gfmAutolinkLiteralFromMarkdown()]
478478
})
479479

480-
// @ts-expect-error: to do, remove when `to-hast` is released.
481480
const hast = toHast(mdast, {allowDangerousHtml: true})
482481
assert(hast && hast.type === 'root', 'expected root')
483482

483+
// @ts-expect-error: to do, remove when `to-html` is released.
484484
let actual = toHtml(hast, {
485485
allowDangerousHtml: true,
486486
entities: {useNamedReferences: true}

0 commit comments

Comments
 (0)