Skip to content

Commit b37e8cb

Browse files
committed
Update dev-dependencies
1 parent f141a04 commit b37e8cb

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
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

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
},
3737
"devDependencies": {
3838
"@types/node": "^20.0.0",
39-
"c8": "^8.0.0",
39+
"c8": "^9.0.0",
4040
"prettier": "^3.0.0",
4141
"rehype": "^13.0.0",
42-
"remark-cli": "^11.0.0",
43-
"remark-preset-wooorm": "^9.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.56.0"
46+
"xo": "^0.58.0"
4747
},
4848
"scripts": {
4949
"build": "tsc --build --clean && tsc --build && type-coverage",

readme.md

+23-23
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-
* [`unified().use(rehypeShiftHeading[, options])`](#unifieduserehypeshiftheading-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+
* [`unified().use(rehypeShiftHeading[, options])`](#unifieduserehypeshiftheading-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

@@ -109,8 +109,8 @@ Does not shift past `h1` and `h6`.
109109

110110
###### Parameters
111111

112-
* `options` ([`Options`][api-options], optional)
113-
— configuration
112+
* `options` ([`Options`][api-options], optional)
113+
— configuration
114114

115115
###### Returns
116116

@@ -122,8 +122,8 @@ Configuration (TypeScript type).
122122

123123
###### Fields
124124

125-
* `shift` (`number`, default: `0`)
126-
— number to shift headings; can be negative to decrease heading levels
125+
* `shift` (`number`, default: `0`)
126+
— number to shift headings; can be negative to decrease heading levels
127127

128128
## Types
129129

@@ -149,12 +149,12 @@ Use of `rehype-shift-heading` is safe.
149149

150150
## Related
151151

152-
* [`rehype-slug`](https://github.com/rehypejs/rehype-slug)
153-
— add `id`s to headings
154-
* [`rehype-autolink-headings`](https://github.com/rehypejs/rehype-autolink-headings)
155-
— add links to headings
156-
* [`rehype-headings-normalize`](https://github.com/hashbite/rehype-headings-normalize)
157-
— normalizes headlines by shifting to a minimum level and closing gaps
152+
* [`rehype-slug`](https://github.com/rehypejs/rehype-slug)
153+
— add `id`s to headings
154+
* [`rehype-autolink-headings`](https://github.com/rehypejs/rehype-autolink-headings)
155+
— add links to headings
156+
* [`rehype-headings-normalize`](https://github.com/hashbite/rehype-headings-normalize)
157+
— normalizes headlines by shifting to a minimum level and closing gaps
158158

159159
## Contribute
160160

0 commit comments

Comments
 (0)