Skip to content

Commit 4cbea5a

Browse files
committed
Change to require Node.js 16
1 parent 4fe5980 commit 4cbea5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ See [`micromark`](https://github.com/micromark/micromark#api) for more info.
339339
###### Type
340340
341341
```ts
342-
type Value = string | Uint8Array
342+
type Value = Uint8Array | string
343343
```
344344
345345
## List of extensions
@@ -405,7 +405,7 @@ versions of Node.js.
405405
When we cut a new major release, we drop support for unmaintained versions of
406406
Node.
407407
This means we try to keep the current release line,
408-
`mdast-util-from-markdown@^1`, compatible with Node.js 12.
408+
`mdast-util-from-markdown@^2`, compatible with Node.js 16.
409409
410410
## Security
411411

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"declaration": true,
66
"emitDeclarationOnly": true,
77
"exactOptionalPropertyTypes": true,
8-
"lib": ["es2020"],
8+
"lib": ["es2022"],
99
"module": "node16",
1010
"strict": true,
11-
"target": "es2020"
11+
"target": "es2022"
1212
},
1313
"exclude": ["coverage/", "lib/", "node_modules/", "index.js"],
1414
"include": ["**/*.js", "dev/index.d.ts"]

0 commit comments

Comments
 (0)