Skip to content

Commit a8e963e

Browse files
committed
Update dev-dependencies
1 parent 136e78b commit a8e963e

File tree

2 files changed

+50
-50
lines changed

2 files changed

+50
-50
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@
4141
"vfile": "^6.0.0"
4242
},
4343
"devDependencies": {
44-
"@types/node": "^20.0.0",
45-
"c8": "^8.0.0",
44+
"@types/node": "^22.0.0",
45+
"c8": "^10.0.0",
4646
"prettier": "^3.0.0",
47-
"remark-cli": "^11.0.0",
48-
"remark-preset-wooorm": "^9.0.0",
47+
"remark-cli": "^12.0.0",
48+
"remark-preset-wooorm": "^10.0.0",
4949
"retext": "^9.0.0",
5050
"retext-pos": "^5.0.0",
5151
"type-coverage": "^2.0.0",
5252
"typescript": "^5.0.0",
53-
"xo": "^0.56.0"
53+
"xo": "^0.59.0"
5454
},
5555
"scripts": {
5656
"build": "tsc --build --clean && tsc --build && type-coverage",

readme.md

+45-45
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 should I use this?](#when-should-i-use-this)
17-
* [Install](#install)
18-
* [Use](#use)
19-
* [API](#api)
20-
* [`unified().use(retextKeywords[, options])`](#unifieduseretextkeywords-options)
21-
* [`Keyphrase`](#keyphrase)
22-
* [`Keyword`](#keyword)
23-
* [`Options`](#options)
24-
* [`PhraseMatch`](#phrasematch)
25-
* [`WordMatch`](#wordmatch)
26-
* [Types](#types)
27-
* [Compatibility](#compatibility)
28-
* [Contribute](#contribute)
29-
* [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+
* [`unified().use(retextKeywords[, options])`](#unifieduseretextkeywords-options)
21+
* [`Keyphrase`](#keyphrase)
22+
* [`Keyword`](#keyword)
23+
* [`Options`](#options)
24+
* [`PhraseMatch`](#phrasematch)
25+
* [`WordMatch`](#wordmatch)
26+
* [Types](#types)
27+
* [Compatibility](#compatibility)
28+
* [Contribute](#contribute)
29+
* [License](#license)
3030

3131
## What is this?
3232

@@ -142,8 +142,8 @@ The results are stored on `file.data.keyphrases`
142142

143143
###### Parameters
144144

145-
* `options` ([`Options`][api-options], optional)
146-
— configuration
145+
* `options` ([`Options`][api-options], optional)
146+
— configuration
147147

148148
###### Returns
149149

@@ -155,62 +155,62 @@ Info on a key phrase (TypeScript type).
155155

156156
###### Fields
157157

158-
* `matches` ([`Array<PhraseMatch>`][api-phrase-match])
159-
— all matches
160-
* `score` (`number`)
161-
— score of phrase, for one match
162-
* `stems` (`Array<string>`)
163-
— stems of phrase
164-
* `weight` (`number`)
165-
— score of phrase, for all matches
158+
* `matches` ([`Array<PhraseMatch>`][api-phrase-match])
159+
— all matches
160+
* `score` (`number`)
161+
— score of phrase, for one match
162+
* `stems` (`Array<string>`)
163+
— stems of phrase
164+
* `weight` (`number`)
165+
— score of phrase, for all matches
166166

167167
### `Keyword`
168168

169169
Info on a keyword (TypeScript type).
170170

171171
###### Fields
172172

173-
* `matches` ([`Array<WordMatch>`][api-word-match])
174-
— all matches
175-
* `score` (`number`)
176-
— score of word, for all matches
177-
* `stem` (`string`)
178-
— stems of word
173+
* `matches` ([`Array<WordMatch>`][api-word-match])
174+
— all matches
175+
* `score` (`number`)
176+
— score of word, for all matches
177+
* `stem` (`string`)
178+
— stems of word
179179

180180
### `Options`
181181

182182
Configuration (TypeScript type).
183183

184184
###### Fields
185185

186-
* `maximum` (`number`, default: `5`)
187-
— try to detect at most `maximum` words and phrases; actual counts may
188-
differ, for example, when two words have the same score, both will be
189-
returned; when too few words exist, less will be returned
186+
* `maximum` (`number`, default: `5`)
187+
— try to detect at most `maximum` words and phrases; actual counts may
188+
differ, for example, when two words have the same score, both will be
189+
returned; when too few words exist, less will be returned
190190

191191
### `PhraseMatch`
192192

193193
Match (TypeScript type).
194194

195195
###### Fields
196196

197-
* `nodes` ([`Array<Node>`][nlcst-node])
198-
— matched nodes
199-
* `parent` ([`Node`][nlcst-node])
200-
— parent
197+
* `nodes` ([`Array<Node>`][nlcst-node])
198+
— matched nodes
199+
* `parent` ([`Node`][nlcst-node])
200+
— parent
201201

202202
### `WordMatch`
203203

204204
Match (TypeScript type).
205205

206206
###### Fields
207207

208-
* `node` ([`Node`][nlcst-node])
209-
— matched node
210-
* `index` (`number`)
211-
— index of `node` in `parent`
212-
* `parent` ([`Node`][nlcst-node])
213-
— parent
208+
* `node` ([`Node`][nlcst-node])
209+
— matched node
210+
* `index` (`number`)
211+
— index of `node` in `parent`
212+
* `parent` ([`Node`][nlcst-node])
213+
— parent
214214

215215
## Types
216216

0 commit comments

Comments
 (0)