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 Jul 8, 2023
1 parent 4fe5980 commit 4cbea5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -339,7 +339,7 @@ See [`micromark`](https://github.com/micromark/micromark#api) for more info.
###### Type
```ts
type Value = string | Uint8Array
type Value = Uint8Array | string
```
## List of extensions
Expand Down Expand Up @@ -405,7 +405,7 @@ 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,
`mdast-util-from-markdown@^1`, compatible with Node.js 12.
`mdast-util-from-markdown@^2`, compatible with Node.js 16.
## 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/", "lib/", "node_modules/", "index.js"],
"include": ["**/*.js", "dev/index.d.ts"]
Expand Down

0 comments on commit 4cbea5a

Please sign in to comment.