From ce261f3ce6288694c879103a88a20cf37a68bcb1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 4 Sep 2023 18:59:25 +0200 Subject: [PATCH] Change to require Node.js 16 --- readme.md | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index cbd1c79..a2d5d63 100644 --- a/readme.md +++ b/readme.md @@ -687,7 +687,7 @@ This package is compatible with maintained 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, -`lowlight@^2`, compatible with Node.js 12. +`lowlight@^3`, compatible with Node.js 16. ## Security diff --git a/tsconfig.json b/tsconfig.json index a5d36de..2753f0c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "lib": ["es2022"], "module": "node16", "strict": true, - "target": "es2020" + "target": "es2022" }, "exclude": ["coverage/", "node_modules/"], "include": ["**/**.js", "index.d.ts"]