Skip to content

Commit 91a3f93

Browse files
committed
Update dev-dependencies
1 parent ac06283 commit 91a3f93

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
name: ${{matrix.node}}
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-node@v3
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
1212
with:
1313
node-version: ${{matrix.node}}
1414
- run: npm install
1515
- run: npm test
16-
- uses: codecov/codecov-action@v3
16+
- uses: codecov/codecov-action@v4
1717
strategy:
1818
matrix:
1919
node:

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@
3737
},
3838
"devDependencies": {
3939
"@types/node": "^20.0.0",
40-
"c8": "^8.0.0",
41-
"prettier": "^2.0.0",
42-
"remark-cli": "^11.0.0",
43-
"remark-preset-wooorm": "^9.0.0",
40+
"c8": "^9.0.0",
41+
"prettier": "^3.0.0",
42+
"remark-cli": "^12.0.0",
43+
"remark-preset-wooorm": "^10.0.0",
4444
"type-coverage": "^2.0.0",
4545
"typescript": "^5.0.0",
46-
"xo": "^0.54.0"
46+
"xo": "^0.58.0"
4747
},
4848
"scripts": {
4949
"prepack": "npm run build && npm run format",
5050
"build": "tsc --build --clean && tsc --build && type-coverage",
51-
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
51+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
5252
"test-api": "node --conditions development test.js",
5353
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
5454
"test": "npm run build && npm run format && npm run test-coverage"

readme.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
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-
* [`toString(value[, options])`](#tostringvalue-options)
21-
* [`Options`](#options)
22-
* [Types](#types)
23-
* [Compatibility](#compatibility)
24-
* [Security](#security)
25-
* [Related](#related)
26-
* [Contribute](#contribute)
27-
* [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+
* [`toString(value[, options])`](#tostringvalue-options)
21+
* [`Options`](#options)
22+
* [Types](#types)
23+
* [Compatibility](#compatibility)
24+
* [Security](#security)
25+
* [Related](#related)
26+
* [Contribute](#contribute)
27+
* [License](#license)
2828

2929
## What is this?
3030

@@ -89,10 +89,10 @@ and if the given value is an array, serialize the nodes in it.
8989

9090
###### Parameters
9191

92-
* `value` (`unknown`)
93-
— thing to serialize, typically [`Node`][node]
94-
* `options` ([`Options`][api-options], optional)
95-
— configuration
92+
* `value` (`unknown`)
93+
— thing to serialize, typically [`Node`][node]
94+
* `options` ([`Options`][api-options], optional)
95+
— configuration
9696

9797
###### Returns
9898

@@ -104,10 +104,10 @@ Configuration (TypeScript type).
104104

105105
###### Fields
106106

107-
* `includeImageAlt` (`boolean`, default: `true`)
108-
— whether to use `alt` for `image`s
109-
* `includeHtml` (`boolean`, default: `true`)
110-
— whether to use `value` of HTML
107+
* `includeImageAlt` (`boolean`, default: `true`)
108+
— whether to use `alt` for `image`s
109+
* `includeHtml` (`boolean`, default: `true`)
110+
— whether to use `value` of HTML
111111

112112
## Types
113113

@@ -132,10 +132,10 @@ attacks.
132132

133133
## Related
134134

135-
* [`hast-util-to-string`](https://github.com/wooorm/rehype-minify/tree/main/packages/hast-util-to-string)
136-
— get text content in hast
137-
* [`hast-util-to-text`](https://github.com/syntax-tree/hast-util-to-text)
138-
— get text content in hast according to the `innerText` algorithm
135+
* [`hast-util-to-string`](https://github.com/wooorm/rehype-minify/tree/main/packages/hast-util-to-string)
136+
— get text content in hast
137+
* [`hast-util-to-text`](https://github.com/syntax-tree/hast-util-to-text)
138+
— get text content in hast according to the `innerText` algorithm
139139

140140
## Contribute
141141

0 commit comments

Comments
 (0)