Skip to content

Commit

Permalink
Change to require Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 1, 2023
1 parent fb00d7b commit f9c640b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions readme.md
Expand Up @@ -235,11 +235,11 @@ versions of Node.js.

When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line, `rehype-react@^7`,
compatible with Node.js 12.
This means we try to keep the current release line, `rehype-react@^8`,
compatible with Node.js 17.

This plugin works with `rehype-parse` version 3+, `rehype` version 4+, and
`unified` version 9+, and React 16+.
`unified` version 9+, and React 18+.

## Security

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Expand Up @@ -5,10 +5,10 @@
"declaration": true,
"emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true,
"lib": ["es2020"],
"lib": ["es2022"],
"module": "node16",
"strict": true,
"target": "es2020"
"target": "es2022"
},
"exclude": ["coverage/", "node_modules/"],
"include": ["**/*.js", "index.d.ts"]
Expand Down

0 comments on commit f9c640b

Please sign in to comment.