diff --git a/readme.md b/readme.md index 233928f..7d658ee 100644 --- a/readme.md +++ b/readme.md @@ -161,8 +161,8 @@ 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, `retext-profanities@^7`, -compatible with Node.js 12. +This means we try to keep the current release line, `retext-profanities@^8`, +compatible with Node.js 16. ## Related diff --git a/tsconfig.json b/tsconfig.json index 7f250e5..82cc749 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"]