diff --git a/.changeset/blue-dragons-occur.md b/.changeset/blue-dragons-occur.md new file mode 100644 index 0000000..729c737 --- /dev/null +++ b/.changeset/blue-dragons-occur.md @@ -0,0 +1,5 @@ +--- +"@badrap/valita": minor +--- + +Require Node.js v18 diff --git a/package.json b/package.json index 70d134d..f6f7a93 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "provenance": true }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "scripts": { "lint": "eslint --max-warnings 0 .", diff --git a/tsconfig.json b/tsconfig.json index 93575e1..b9c35fe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2020", + "target": "es2022", "module": "NodeNext", "moduleResolution": "NodeNext", "strict": true,