Skip to content

Commit 48ec23f

Browse files
committed
Update dev-dependencies
1 parent 65d8ac2 commit 48ec23f

File tree

3 files changed

+29
-30
lines changed

3 files changed

+29
-30
lines changed

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@
4545
"micromark-util-character": "^2.0.0"
4646
},
4747
"devDependencies": {
48-
"@types/node": "^20.0.0",
49-
"c8": "^8.0.0",
50-
"hast-util-to-html": "^8.0.0",
48+
"@types/node": "^22.0.0",
49+
"c8": "^10.0.0",
50+
"hast-util-to-html": "^9.0.0",
5151
"mdast-util-from-markdown": "^2.0.0",
5252
"mdast-util-to-hast": "^13.0.0",
5353
"mdast-util-to-markdown": "^2.0.0",
5454
"micromark-extension-gfm-autolink-literal": "^2.0.0",
5555
"prettier": "^3.0.0",
56-
"remark-cli": "^11.0.0",
57-
"remark-preset-wooorm": "^9.0.0",
56+
"remark-cli": "^12.0.0",
57+
"remark-preset-wooorm": "^10.0.0",
5858
"type-coverage": "^2.0.0",
5959
"typescript": "^5.0.0",
60-
"xo": "^0.55.0"
60+
"xo": "^0.59.0"
6161
},
6262
"scripts": {
6363
"prepack": "npm run build && npm run format",

readme.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212

1313
## Contents
1414

15-
* [What is this?](#what-is-this)
16-
* [When to use this](#when-to-use-this)
17-
* [Install](#install)
18-
* [Use](#use)
19-
* [API](#api)
20-
* [`gfmAutolinkLiteralFromMarkdown()`](#gfmautolinkliteralfrommarkdown)
21-
* [`gfmAutolinkLiteralToMarkdown()`](#gfmautolinkliteraltomarkdown)
22-
* [HTML](#html)
23-
* [Syntax](#syntax)
24-
* [Syntax tree](#syntax-tree)
25-
* [Types](#types)
26-
* [Compatibility](#compatibility)
27-
* [Related](#related)
28-
* [Contribute](#contribute)
29-
* [License](#license)
15+
* [What is this?](#what-is-this)
16+
* [When to use this](#when-to-use-this)
17+
* [Install](#install)
18+
* [Use](#use)
19+
* [API](#api)
20+
* [`gfmAutolinkLiteralFromMarkdown()`](#gfmautolinkliteralfrommarkdown)
21+
* [`gfmAutolinkLiteralToMarkdown()`](#gfmautolinkliteraltomarkdown)
22+
* [HTML](#html)
23+
* [Syntax](#syntax)
24+
* [Syntax tree](#syntax-tree)
25+
* [Types](#types)
26+
* [Compatibility](#compatibility)
27+
* [Related](#related)
28+
* [Contribute](#contribute)
29+
* [License](#license)
3030

3131
## What is this?
3232

@@ -233,13 +233,13 @@ This utility works with `mdast-util-from-markdown` version 2+ and
233233

234234
## Related
235235

236-
* [`remarkjs/remark-gfm`][remark-gfm]
237-
— remark plugin to support GFM
238-
* [`syntax-tree/mdast-util-gfm`][mdast-util-gfm]
239-
— same but all of GFM (autolink literals, footnotes, strikethrough, tables,
240-
tasklists)
241-
* [`micromark/micromark-extension-gfm-autolink-literal`][extension]
242-
— micromark extension to parse GFM autolink literals
236+
* [`remarkjs/remark-gfm`][remark-gfm]
237+
— remark plugin to support GFM
238+
* [`syntax-tree/mdast-util-gfm`][mdast-util-gfm]
239+
— same but all of GFM (autolink literals, footnotes, strikethrough, tables,
240+
tasklists)
241+
* [`micromark/micromark-extension-gfm-autolink-literal`][extension]
242+
— micromark extension to parse GFM autolink literals
243243

244244
## Contribute
245245

test/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,9 @@ test('fixtures', async function (t) {
480480
const hast = toHast(mdast, {allowDangerousHtml: true})
481481
assert(hast && hast.type === 'root', 'expected root')
482482

483-
// @ts-expect-error: to do, remove when `to-html` is released.
484483
let actual = toHtml(hast, {
485484
allowDangerousHtml: true,
486-
entities: {useNamedReferences: true}
485+
characterReferences: {useNamedReferences: true}
487486
})
488487

489488
if (actual.charCodeAt(actual.length - 1) !== 10) {

0 commit comments

Comments
 (0)