Change to require Node.js 16

This commit is contained in:
Titus Wormer 2023-09-18 13:27:32 +02:00
parent 9e219a3603
commit 20c4a6b5e1
No known key found for this signature in database
GPG key ID: E6E581152ED04E2E
2 changed files with 4 additions and 4 deletions

View file

@ -400,8 +400,8 @@ versions of Node.js.
When we cut a new major release, we drop support for unmaintained versions of When we cut a new major release, we drop support for unmaintained versions of
Node. Node.
This means we try to keep the current release line, `remark-directive@^2`, This means we try to keep the current release line, `remark-directive@^3`,
compatible with Node.js 12. compatible with Node.js 16.
## Security ## Security

View file

@ -5,10 +5,10 @@
"declaration": true, "declaration": true,
"emitDeclarationOnly": true, "emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true, "exactOptionalPropertyTypes": true,
"lib": ["es2020"], "lib": ["es2022"],
"module": "node16", "module": "node16",
"strict": true, "strict": true,
"target": "es2020" "target": "es2022"
}, },
"exclude": ["coverage/", "node_modules/"], "exclude": ["coverage/", "node_modules/"],
"include": ["**/*.js"] "include": ["**/*.js"]