Skip to content

Commit fd81d74

Browse files
committed
Update dev-dependencies
1 parent ec6eacf commit fd81d74

File tree

2 files changed

+51
-41
lines changed

2 files changed

+51
-41
lines changed

package.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,18 @@
4646
"is-hidden": "^2.0.0",
4747
"mdast-util-from-markdown": "^2.0.0",
4848
"mdast-util-to-markdown": "^2.0.0",
49-
"prettier": "^2.0.0",
50-
"remark-cli": "^11.0.0",
49+
"prettier": "^3.0.0",
50+
"remark-cli": "^12.0.0",
51+
"remark-gfm": "^4.0.0",
5152
"remark-preset-wooorm": "^9.0.0",
5253
"type-coverage": "^2.0.0",
5354
"typescript": "^5.0.0",
54-
"xo": "^0.54.0"
55+
"xo": "^0.56.0"
5556
},
5657
"scripts": {
5758
"prepack": "npm run build && npm run format",
5859
"build": "tsc --build --clean && tsc --build && type-coverage",
59-
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
60+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
6061
"test-api": "node --conditions development test/index.js",
6162
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
6263
"test": "npm run build && npm run format && npm run test-coverage"
@@ -71,7 +72,16 @@
7172
},
7273
"remarkConfig": {
7374
"plugins": [
74-
"remark-preset-wooorm"
75+
"remark-preset-wooorm",
76+
[
77+
"remark-preset-wooorm/node_modules/remark-gfm/index.js",
78+
false
79+
],
80+
[
81+
"remark-lint-list-item-indent",
82+
"space"
83+
],
84+
"remark-gfm"
7585
]
7686
},
7787
"typeCoverage": {

readme.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212

1313
## Contents
1414

15-
* [What is this?](#what-is-this)
16-
* [When should I use this?](#when-should-i-use-this)
17-
* [Install](#install)
18-
* [Use](#use)
19-
* [API](#api)
20-
* [`zone(tree, name, handler)`](#zonetree-name-handler)
21-
* [`Handler`](#handler)
22-
* [`Info`](#info)
23-
* [Types](#types)
24-
* [Compatibility](#compatibility)
25-
* [Security](#security)
26-
* [Related](#related)
27-
* [Contribute](#contribute)
28-
* [License](#license)
15+
* [What is this?](#what-is-this)
16+
* [When should I use this?](#when-should-i-use-this)
17+
* [Install](#install)
18+
* [Use](#use)
19+
* [API](#api)
20+
* [`zone(tree, name, handler)`](#zonetree-name-handler)
21+
* [`Handler`](#handler)
22+
* [`Info`](#info)
23+
* [Types](#types)
24+
* [Compatibility](#compatibility)
25+
* [Security](#security)
26+
* [Related](#related)
27+
* [Contribute](#contribute)
28+
* [License](#license)
2929

3030
## What is this?
3131

@@ -128,12 +128,12 @@ Search `tree` for a start and end comments matching `name` and change their
128128

129129
###### Parameters
130130

131-
* `tree` ([`Node`][node])
132-
— tree to change
133-
* `name` (`string`)
134-
— comment name to look for
135-
* `handler` ([`Handler`][api-handler])
136-
— handle a section
131+
* `tree` ([`Node`][node])
132+
— tree to change
133+
* `name` (`string`)
134+
— comment name to look for
135+
* `handler` ([`Handler`][api-handler])
136+
— handle a section
137137

138138
###### Returns
139139

@@ -145,14 +145,14 @@ Callback called when a section is found (TypeScript type).
145145

146146
###### Parameters
147147

148-
* `start` ([`Node`][node])
149-
— start of section
150-
* `nodes` ([`Array<Node>`][node])
151-
— nodes between `start` and `end`
152-
* `end` ([`Node`][node])
153-
— end of section
154-
* `info` ([`Info`][api-info])
155-
— extra info
148+
* `start` ([`Node`][node])
149+
— start of section
150+
* `nodes` ([`Array<Node>`][node])
151+
— nodes between `start` and `end`
152+
* `end` ([`Node`][node])
153+
— end of section
154+
* `info` ([`Info`][api-info])
155+
— extra info
156156

157157
###### Returns
158158

@@ -168,12 +168,12 @@ Extra info (TypeScript type).
168168

169169
###### Fields
170170

171-
* `parent` ([`Node`][node])
172-
— parent of the section
173-
* `start` (`number`)
174-
— index of `start` in `parent`
175-
* `end` (`number`)
176-
— index of `end` in `parent`
171+
* `parent` ([`Node`][node])
172+
— parent of the section
173+
* `start` (`number`)
174+
— index of `start` in `parent`
175+
* `end` (`number`)
176+
— index of `end` in `parent`
177177

178178
## Types
179179

@@ -219,8 +219,8 @@ Either do not use user input or use [`hast-util-santize`][hast-util-sanitize].
219219

220220
## Related
221221

222-
* [`mdast-util-heading-range`](https://github.com/syntax-tree/mdast-util-heading-range)
223-
— similar but uses headings to mark sections
222+
* [`mdast-util-heading-range`](https://github.com/syntax-tree/mdast-util-heading-range)
223+
— similar but uses headings to mark sections
224224

225225
## Contribute
226226

0 commit comments

Comments
 (0)