Skip to content

Commit 5bc2bd2

Browse files
committed
Update dev-dependencies
1 parent 6e651ee commit 5bc2bd2

File tree

2 files changed

+88
-88
lines changed

2 files changed

+88
-88
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@
4747
"mdast-util-to-markdown": "^2.0.0"
4848
},
4949
"devDependencies": {
50-
"@types/node": "^20.0.0",
51-
"c8": "^8.0.0",
50+
"@types/node": "^22.0.0",
51+
"c8": "^10.0.0",
5252
"github-slugger": "^2.0.0",
5353
"hast-util-to-html": "^9.0.0",
5454
"mdast-util-to-hast": "^13.0.0",
5555
"micromark-extension-gfm": "^3.0.0",
5656
"prettier": "^3.0.0",
57-
"remark-cli": "^11.0.0",
58-
"remark-preset-wooorm": "^9.0.0",
57+
"remark-cli": "^12.0.0",
58+
"remark-preset-wooorm": "^11.0.0",
5959
"type-coverage": "^2.0.0",
6060
"typescript": "^5.0.0",
61-
"undici": "^5.0.0",
62-
"xo": "^0.55.0"
61+
"undici": "^7.0.0",
62+
"xo": "^0.60.0"
6363
},
6464
"scripts": {
6565
"crawl": "node --conditions development script/crawl-tests.js",

readme.md

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ footnotes, strikethrough, tables, tasklists).
1313

1414
## Contents
1515

16-
* [What is this?](#what-is-this)
17-
* [When to use this](#when-to-use-this)
18-
* [Install](#install)
19-
* [Use](#use)
20-
* [API](#api)
21-
* [`gfmFromMarkdown()`](#gfmfrommarkdown)
22-
* [`gfmToMarkdown(options?)`](#gfmtomarkdownoptions)
23-
* [`Options`](#options)
24-
* [HTML](#html)
25-
* [Syntax](#syntax)
26-
* [Syntax tree](#syntax-tree)
27-
* [Types](#types)
28-
* [Compatibility](#compatibility)
29-
* [Related](#related)
30-
* [Contribute](#contribute)
31-
* [License](#license)
16+
* [What is this?](#what-is-this)
17+
* [When to use this](#when-to-use-this)
18+
* [Install](#install)
19+
* [Use](#use)
20+
* [API](#api)
21+
* [`gfmFromMarkdown()`](#gfmfrommarkdown)
22+
* [`gfmToMarkdown(options?)`](#gfmtomarkdownoptions)
23+
* [`Options`](#options)
24+
* [HTML](#html)
25+
* [Syntax](#syntax)
26+
* [Syntax tree](#syntax-tree)
27+
* [Types](#types)
28+
* [Compatibility](#compatibility)
29+
* [Related](#related)
30+
* [Contribute](#contribute)
31+
* [License](#license)
3232

3333
## What is this?
3434

@@ -60,16 +60,16 @@ with [`micromark-extension-gfm`][extension].
6060

6161
Instead of this package, you can also use the extensions separately:
6262

63-
* [`mdast-util-gfm-autolink-literal`](https://github.com/syntax-tree/mdast-util-gfm-autolink-literal)
64-
— support GFM autolink literals
65-
* [`mdast-util-gfm-footnote`](https://github.com/syntax-tree/mdast-util-gfm-footnote)
66-
— support GFM footnotes
67-
* [`mdast-util-gfm-strikethrough`](https://github.com/syntax-tree/mdast-util-gfm-strikethrough)
68-
— support GFM strikethrough
69-
* [`mdast-util-gfm-table`](https://github.com/syntax-tree/mdast-util-gfm-table)
70-
— support GFM tables
71-
* [`mdast-util-gfm-task-list-item`](https://github.com/syntax-tree/mdast-util-gfm-task-list-item)
72-
— support GFM tasklists
63+
* [`mdast-util-gfm-autolink-literal`](https://github.com/syntax-tree/mdast-util-gfm-autolink-literal)
64+
— support GFM autolink literals
65+
* [`mdast-util-gfm-footnote`](https://github.com/syntax-tree/mdast-util-gfm-footnote)
66+
— support GFM footnotes
67+
* [`mdast-util-gfm-strikethrough`](https://github.com/syntax-tree/mdast-util-gfm-strikethrough)
68+
— support GFM strikethrough
69+
* [`mdast-util-gfm-table`](https://github.com/syntax-tree/mdast-util-gfm-table)
70+
— support GFM tables
71+
* [`mdast-util-gfm-task-list-item`](https://github.com/syntax-tree/mdast-util-gfm-task-list-item)
72+
— support GFM tasklists
7373

7474
A different utility, [`mdast-util-frontmatter`][mdast-util-frontmatter], adds
7575
support for frontmatter.
@@ -332,8 +332,8 @@ to enable GFM (autolink literals, footnotes, strikethrough, tables, tasklists).
332332

333333
###### Parameters
334334

335-
* `options` ([`Options`][api-options])
336-
— configuration
335+
* `options` ([`Options`][api-options])
336+
— configuration
337337

338338
###### Returns
339339

@@ -346,13 +346,13 @@ Configuration (TypeScript type).
346346

347347
###### Fields
348348

349-
* `tableCellPadding` (`boolean`, default: `true`)
350-
— whether to add a space of padding between delimiters and cells
351-
* `tablePipeAlign` (`boolean`, default: `true`)
352-
— whether to align the delimiters
353-
* `stringLength` (`((value: string) => number)`, default: `s => s.length`)
354-
— function to detect the length of table cell content, used when aligning
355-
the delimiters between cells
349+
* `tableCellPadding` (`boolean`, default: `true`)
350+
— whether to add a space of padding between delimiters and cells
351+
* `tablePipeAlign` (`boolean`, default: `true`)
352+
— whether to align the delimiters
353+
* `stringLength` (`((value: string) => number)`, default: `s => s.length`)
354+
— function to detect the length of table cell content, used when aligning
355+
the delimiters between cells
356356

357357
## HTML
358358

@@ -368,16 +368,16 @@ See [Syntax in `micromark-extension-gfm`][syntax].
368368
This utility combines several mdast utilities.
369369
See their readmes for the node types supported in the tree:
370370

371-
* [`mdast-util-gfm-autolink-literal`](https://github.com/syntax-tree/mdast-util-gfm-autolink-literal#syntax-tree)
372-
— GFM autolink literals
373-
* [`mdast-util-gfm-footnote`](https://github.com/syntax-tree/mdast-util-gfm-footnote#syntax-tree)
374-
— GFM footnotes
375-
* [`mdast-util-gfm-strikethrough`](https://github.com/syntax-tree/mdast-util-gfm-strikethrough#syntax-tree)
376-
— GFM strikethrough
377-
* [`mdast-util-gfm-table`](https://github.com/syntax-tree/mdast-util-gfm-table#syntax-tree)
378-
— GFM tables
379-
* [`mdast-util-gfm-task-list-item`](https://github.com/syntax-tree/mdast-util-gfm-task-list-item#syntax-tree)
380-
— GFM tasklists
371+
* [`mdast-util-gfm-autolink-literal`](https://github.com/syntax-tree/mdast-util-gfm-autolink-literal#syntax-tree)
372+
— GFM autolink literals
373+
* [`mdast-util-gfm-footnote`](https://github.com/syntax-tree/mdast-util-gfm-footnote#syntax-tree)
374+
— GFM footnotes
375+
* [`mdast-util-gfm-strikethrough`](https://github.com/syntax-tree/mdast-util-gfm-strikethrough#syntax-tree)
376+
— GFM strikethrough
377+
* [`mdast-util-gfm-table`](https://github.com/syntax-tree/mdast-util-gfm-table#syntax-tree)
378+
— GFM tables
379+
* [`mdast-util-gfm-task-list-item`](https://github.com/syntax-tree/mdast-util-gfm-task-list-item#syntax-tree)
380+
— GFM tasklists
381381

382382
## Types
383383

@@ -399,10 +399,10 @@ compatible with Node.js 16.
399399

400400
## Related
401401

402-
* [`remark-gfm`][remark-gfm]
403-
— remark plugin to support GFM
404-
* [`micromark-extension-gfm`][extension]
405-
— micromark extension to parse GFM
402+
* [`remark-gfm`][remark-gfm]
403+
— remark plugin to support GFM
404+
* [`micromark-extension-gfm`][extension]
405+
— micromark extension to parse GFM
406406

407407
## Contribute
408408

@@ -420,76 +420,76 @@ abide by its terms.
420420

421421
<!-- Definitions -->
422422

423-
[build-badge]: https://github.com/syntax-tree/mdast-util-gfm/workflows/main/badge.svg
423+
[api-gfm-from-markdown]: #gfmfrommarkdown
424424

425-
[build]: https://github.com/syntax-tree/mdast-util-gfm/actions
425+
[api-gfm-to-markdown]: #gfmtomarkdownoptions
426426

427-
[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/mdast-util-gfm.svg
427+
[api-options]: #options
428428

429-
[coverage]: https://codecov.io/github/syntax-tree/mdast-util-gfm
429+
[author]: https://wooorm.com
430430

431-
[downloads-badge]: https://img.shields.io/npm/dm/mdast-util-gfm.svg
431+
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
432432

433-
[downloads]: https://www.npmjs.com/package/mdast-util-gfm
433+
[build]: https://github.com/syntax-tree/mdast-util-gfm/actions
434434

435-
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=mdast-util-gfm
435+
[build-badge]: https://github.com/syntax-tree/mdast-util-gfm/workflows/main/badge.svg
436436

437-
[size]: https://bundlejs.com/?q=mdast-util-gfm
437+
[chat]: https://github.com/syntax-tree/unist/discussions
438438

439-
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
439+
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
440440

441-
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
441+
[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md
442442

443443
[collective]: https://opencollective.com/unified
444444

445-
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
445+
[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md
446446

447-
[chat]: https://github.com/syntax-tree/unist/discussions
447+
[coverage]: https://codecov.io/github/syntax-tree/mdast-util-gfm
448448

449-
[npm]: https://docs.npmjs.com/cli/install
449+
[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/mdast-util-gfm.svg
450+
451+
[downloads]: https://www.npmjs.com/package/mdast-util-gfm
452+
453+
[downloads-badge]: https://img.shields.io/npm/dm/mdast-util-gfm.svg
450454

451455
[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
452456

453457
[esmsh]: https://esm.sh
454458

455-
[typescript]: https://www.typescriptlang.org
459+
[extension]: https://github.com/micromark/micromark-extension-gfm
456460

457-
[license]: license
461+
[from-markdown-extension]: https://github.com/syntax-tree/mdast-util-from-markdown#extension
458462

459-
[author]: https://wooorm.com
463+
[gfm]: https://github.github.com/gfm/
460464

461465
[health]: https://github.com/syntax-tree/.github
462466

463-
[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md
464-
465-
[support]: https://github.com/syntax-tree/.github/blob/main/support.md
466-
467-
[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md
467+
[license]: license
468468

469469
[mdast]: https://github.com/syntax-tree/mdast
470470

471-
[remark-gfm]: https://github.com/remarkjs/remark-gfm
472-
473471
[mdast-util-from-markdown]: https://github.com/syntax-tree/mdast-util-from-markdown
474472

475-
[from-markdown-extension]: https://github.com/syntax-tree/mdast-util-from-markdown#extension
473+
[mdast-util-frontmatter]: https://github.com/syntax-tree/mdast-util-frontmatter
474+
475+
[mdast-util-to-hast]: https://github.com/syntax-tree/mdast-util-to-hast
476476

477477
[mdast-util-to-markdown]: https://github.com/syntax-tree/mdast-util-to-markdown
478478

479-
[to-markdown-extension]: https://github.com/syntax-tree/mdast-util-to-markdown#options
479+
[npm]: https://docs.npmjs.com/cli/install
480480

481-
[mdast-util-frontmatter]: https://github.com/syntax-tree/mdast-util-frontmatter
481+
[remark-gfm]: https://github.com/remarkjs/remark-gfm
482482

483-
[mdast-util-to-hast]: https://github.com/syntax-tree/mdast-util-to-hast
483+
[size]: https://bundlejs.com/?q=mdast-util-gfm
484484

485-
[extension]: https://github.com/micromark/micromark-extension-gfm
485+
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=mdast-util-gfm
486486

487-
[syntax]: https://github.com/micromark/micromark-extension-gfm#syntax
487+
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
488488

489-
[gfm]: https://github.github.com/gfm/
489+
[support]: https://github.com/syntax-tree/.github/blob/main/support.md
490490

491-
[api-gfm-from-markdown]: #gfmfrommarkdown
491+
[syntax]: https://github.com/micromark/micromark-extension-gfm#syntax
492492

493-
[api-gfm-to-markdown]: #gfmtomarkdownoptions
493+
[to-markdown-extension]: https://github.com/syntax-tree/mdast-util-to-markdown#options
494494

495-
[api-options]: #options
495+
[typescript]: https://www.typescriptlang.org

0 commit comments

Comments
 (0)