Change to require Node.js 16

This commit is contained in:
Titus Wormer 2023-06-29 11:58:13 +02:00
parent 369e6fbbe4
commit e87e026ca0
No known key found for this signature in database
GPG key ID: E6E581152ED04E2E
2 changed files with 3 additions and 3 deletions

View file

@ -313,7 +313,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,
`micromark-extension-directive@^2`, compatible with Node.js 12.
`micromark-extension-directive@^3`, compatible with Node.js 16.
This package works with `micromark` version `3` and later.

View file

@ -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"]