Skip to content

Commit db24986

Browse files
committed
Update dev-dependencies
1 parent 785e58c commit db24986

File tree

2 files changed

+50
-50
lines changed

2 files changed

+50
-50
lines changed

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@
3636
},
3737
"devDependencies": {
3838
"@types/mdast": "^4.0.0",
39-
"@types/node": "^20.0.0",
40-
"c8": "^8.0.0",
41-
"mdast-util-from-markdown": "^1.0.0",
42-
"prettier": "^2.0.0",
43-
"remark-cli": "^11.0.0",
44-
"remark-preset-wooorm": "^9.0.0",
45-
"tsd": "^0.28.0",
39+
"@types/node": "^22.0.0",
40+
"c8": "^10.0.0",
41+
"mdast-util-from-markdown": "^2.0.0",
42+
"prettier": "^3.0.0",
43+
"remark-cli": "^12.0.0",
44+
"remark-preset-wooorm": "^10.0.0",
45+
"tsd": "^0.31.0",
4646
"type-coverage": "^2.0.0",
4747
"typescript": "^5.0.0",
48-
"xo": "^0.54.0"
48+
"xo": "^0.60.0"
4949
},
5050
"scripts": {
5151
"prepack": "npm run build && npm run format",
5252
"build": "tsc --build --clean && tsc --build && tsd && type-coverage",
53-
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
53+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
5454
"test-api": "node --conditions development test.js",
5555
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
5656
"test": "npm run build && npm run format && npm run test-coverage"

readme.md

+41-41
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
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-
* [`findBefore(parent, node|index[, test])`](#findbeforeparent-nodeindex-test)
21-
* [Types](#types)
22-
* [Compatibility](#compatibility)
23-
* [Related](#related)
24-
* [Contribute](#contribute)
25-
* [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+
* [`findBefore(parent, node|index[, test])`](#findbeforeparent-nodeindex-test)
21+
* [Types](#types)
22+
* [Compatibility](#compatibility)
23+
* [Related](#related)
24+
* [Contribute](#contribute)
25+
* [License](#license)
2626

2727
## What is this?
2828

@@ -97,14 +97,14 @@ that passes `test`.
9797

9898
###### Parameters
9999

100-
* `parent` ([`Node`][node])
101-
— parent node
102-
* `index` (`number`)
103-
— index of child in `parent`
104-
* `child` ([`Node`][node])
105-
— child in `parent`
106-
* `test` ([`Test`][test])
107-
`unist-util-is`-compatible test
100+
* `parent` ([`Node`][node])
101+
— parent node
102+
* `index` (`number`)
103+
— index of child in `parent`
104+
* `child` ([`Node`][node])
105+
— child in `parent`
106+
* `test` ([`Test`][test])
107+
`unist-util-is`-compatible test
108108

109109
###### Returns
110110

@@ -127,28 +127,28 @@ compatible with Node.js 16.
127127

128128
## Related
129129

130-
* [`unist-util-find-after`](https://github.com/syntax-tree/unist-util-find-after)
131-
— find a node after another node
132-
* [`unist-util-find-all-after`](https://github.com/syntax-tree/unist-util-find-all-after)
133-
— find all nodes after another node
134-
* [`unist-util-find-all-before`](https://github.com/syntax-tree/unist-util-find-all-before)
135-
— find all nodes before another node
136-
* [`unist-util-find-all-between`](https://github.com/mrzmmr/unist-util-find-all-between)
137-
— find all nodes between two nodes
138-
* [`unist-util-visit`](https://github.com/syntax-tree/unist-util-visit)
139-
— walk the tree
140-
* [`unist-util-visit-parents`](https://github.com/syntax-tree/unist-util-visit-parents)
141-
— walk the tree with a stack of parents
142-
* [`unist-util-filter`](https://github.com/syntax-tree/unist-util-filter)
143-
— create a new tree with all nodes that pass a test
144-
* [`unist-util-map`](https://github.com/syntax-tree/unist-util-map)
145-
— create a new tree with all nodes mapped by a given function
146-
* [`unist-util-flatmap`](https://gitlab.com/staltz/unist-util-flatmap)
147-
— create a new tree by mapping (to an array) by a given function
148-
* [`unist-util-remove`](https://github.com/syntax-tree/unist-util-remove)
149-
— remove nodes from a tree that pass a test
150-
* [`unist-util-select`](https://github.com/syntax-tree/unist-util-select)
151-
— select nodes with CSS-like selectors
130+
* [`unist-util-find-after`](https://github.com/syntax-tree/unist-util-find-after)
131+
— find a node after another node
132+
* [`unist-util-find-all-after`](https://github.com/syntax-tree/unist-util-find-all-after)
133+
— find all nodes after another node
134+
* [`unist-util-find-all-before`](https://github.com/syntax-tree/unist-util-find-all-before)
135+
— find all nodes before another node
136+
* [`unist-util-find-all-between`](https://github.com/mrzmmr/unist-util-find-all-between)
137+
— find all nodes between two nodes
138+
* [`unist-util-visit`](https://github.com/syntax-tree/unist-util-visit)
139+
— walk the tree
140+
* [`unist-util-visit-parents`](https://github.com/syntax-tree/unist-util-visit-parents)
141+
— walk the tree with a stack of parents
142+
* [`unist-util-filter`](https://github.com/syntax-tree/unist-util-filter)
143+
— create a new tree with all nodes that pass a test
144+
* [`unist-util-map`](https://github.com/syntax-tree/unist-util-map)
145+
— create a new tree with all nodes mapped by a given function
146+
* [`unist-util-flatmap`](https://gitlab.com/staltz/unist-util-flatmap)
147+
— create a new tree by mapping (to an array) by a given function
148+
* [`unist-util-remove`](https://github.com/syntax-tree/unist-util-remove)
149+
— remove nodes from a tree that pass a test
150+
* [`unist-util-select`](https://github.com/syntax-tree/unist-util-select)
151+
— select nodes with CSS-like selectors
152152

153153
## Contribute
154154

0 commit comments

Comments
 (0)