From 72cf7d99ce31d51aa2c3f52662671c0dfc8f39f9 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 23 Sep 2023 07:42:27 +0200 Subject: [PATCH] chore!: upgrade minimal node version to 18 node 14 is unsupported since 2023-04-30 node 16 is unsupported since 2023-09-11 --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 73fcabe..eff6a57 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "url": "https://github.com/dreamerslab/node.inflection.git" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "license": "MIT", "scripts": { diff --git a/tsconfig.json b/tsconfig.json index 9c4a290..af54ee8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */