Update dev-dependencies
This commit is contained in:
parent
876a45ad4c
commit
7831904974
3 changed files with 41 additions and 38 deletions
15
package.json
15
package.json
|
@ -39,17 +39,17 @@
|
|||
"unified": "^11.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"c8": "^8.0.0",
|
||||
"@types/node": "^22.0.0",
|
||||
"c8": "^10.0.0",
|
||||
"is-hidden": "^2.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"remark": "^15.0.0",
|
||||
"remark-cli": "^11.0.0",
|
||||
"remark-preset-wooorm": "^9.0.0",
|
||||
"remark-cli": "^12.0.0",
|
||||
"remark-preset-wooorm": "^10.0.0",
|
||||
"to-vfile": "^8.0.0",
|
||||
"type-coverage": "^2.0.0",
|
||||
"typescript": "^5.0.0",
|
||||
"xo": "^0.56.0"
|
||||
"xo": "^0.60.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --build --clean && tsc --build && type-coverage",
|
||||
|
@ -89,6 +89,9 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"prettier": true
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"logical-assignment-operators": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
58
readme.md
58
readme.md
|
@ -14,26 +14,26 @@ proposal][commonmark-prop] (`:cite[smith04]`,
|
|||
|
||||
## Contents
|
||||
|
||||
* [What is this?](#what-is-this)
|
||||
* [When should I use this?](#when-should-i-use-this)
|
||||
* [Install](#install)
|
||||
* [Use](#use)
|
||||
* [API](#api)
|
||||
* [`unified().use(remarkDirective)`](#unifieduseremarkdirective)
|
||||
* [Examples](#examples)
|
||||
* [Example: YouTube](#example-youtube)
|
||||
* [Example: Styled blocks](#example-styled-blocks)
|
||||
* [Authoring](#authoring)
|
||||
* [HTML](#html)
|
||||
* [CSS](#css)
|
||||
* [Syntax](#syntax)
|
||||
* [Syntax tree](#syntax-tree)
|
||||
* [Types](#types)
|
||||
* [Compatibility](#compatibility)
|
||||
* [Security](#security)
|
||||
* [Related](#related)
|
||||
* [Contribute](#contribute)
|
||||
* [License](#license)
|
||||
* [What is this?](#what-is-this)
|
||||
* [When should I use this?](#when-should-i-use-this)
|
||||
* [Install](#install)
|
||||
* [Use](#use)
|
||||
* [API](#api)
|
||||
* [`unified().use(remarkDirective)`](#unifieduseremarkdirective)
|
||||
* [Examples](#examples)
|
||||
* [Example: YouTube](#example-youtube)
|
||||
* [Example: Styled blocks](#example-styled-blocks)
|
||||
* [Authoring](#authoring)
|
||||
* [HTML](#html)
|
||||
* [CSS](#css)
|
||||
* [Syntax](#syntax)
|
||||
* [Syntax tree](#syntax-tree)
|
||||
* [Types](#types)
|
||||
* [Compatibility](#compatibility)
|
||||
* [Security](#security)
|
||||
* [Related](#related)
|
||||
* [Contribute](#contribute)
|
||||
* [License](#license)
|
||||
|
||||
## What is this?
|
||||
|
||||
|
@ -410,15 +410,15 @@ attacks.
|
|||
|
||||
## Related
|
||||
|
||||
* [`remark-gfm`](https://github.com/remarkjs/remark-gfm)
|
||||
— support GFM (autolink literals, footnotes, strikethrough, tables,
|
||||
tasklists)
|
||||
* [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter)
|
||||
— support frontmatter (YAML, TOML, and more)
|
||||
* [`remark-math`](https://github.com/remarkjs/remark-math)
|
||||
— support math
|
||||
* [`remark-mdx`](https://github.com/mdx-js/mdx/tree/main/packages/remark-mdx)
|
||||
— support MDX (ESM, JSX, expressions)
|
||||
* [`remark-gfm`](https://github.com/remarkjs/remark-gfm)
|
||||
— support GFM (autolink literals, footnotes, strikethrough, tables,
|
||||
tasklists)
|
||||
* [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter)
|
||||
— support frontmatter (YAML, TOML, and more)
|
||||
* [`remark-math`](https://github.com/remarkjs/remark-math)
|
||||
— support math
|
||||
* [`remark-mdx`](https://github.com/mdx-js/mdx/tree/main/packages/remark-mdx)
|
||||
— support MDX (ESM, JSX, expressions)
|
||||
|
||||
## Contribute
|
||||
|
||||
|
|
|
@ -48,8 +48,8 @@ test('fixtures', async function (t) {
|
|||
/** @type {string} */
|
||||
let output
|
||||
|
||||
const proc = remark().use(remarkDirective)
|
||||
const actual = proc.parse(input)
|
||||
const processor = remark().use(remarkDirective)
|
||||
const actual = processor.parse(input)
|
||||
|
||||
try {
|
||||
output = String(await fs.readFile(outputUrl))
|
||||
|
@ -72,7 +72,7 @@ test('fixtures', async function (t) {
|
|||
|
||||
assert.deepEqual(actual, expected)
|
||||
|
||||
assert.equal(String(await proc.process(input)), String(output))
|
||||
assert.equal(String(await processor.process(input)), String(output))
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue