diff --git a/readme.md b/readme.md index a25c88a..79637e0 100644 --- a/readme.md +++ b/readme.md @@ -244,8 +244,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, `rehype-external-links@^2`, -compatible with Node.js 12. +This means we try to keep the current release line, `rehype-external-links@^3`, +compatible with Node.js 16. This plugin works with `rehype-parse` version 3+, `rehype-stringify` version 3+, `rehype` version 4+, and `unified` version 6+. diff --git a/tsconfig.json b/tsconfig.json index 870d82c..82cc749 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,10 +5,10 @@ "declaration": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true, - "lib": ["es2020"], + "lib": ["es2022"], "module": "node16", "strict": true, - "target": "es2020" + "target": "es2022" }, "exclude": ["coverage/", "node_modules/"], "include": ["**/*.js"]