diff --git a/.nvmrc b/.nvmrc index fd1bd70b..7950a445 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.2.0 +v18.17.0 diff --git a/package-lock.json b/package-lock.json index 4ffc27e3..df2ca210 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "devDependencies": { "@types/aws-lambda": "^8.10.121", "@types/jest": "^26.0.10", - "@types/node": "16.9.4", + "@types/node": "^18.15.3", "jest": "^26.4.2", "source-map-support": "^0.5.19", "ts-jest": "^26.5.6", @@ -2221,9 +2221,9 @@ } }, "node_modules/@types/node": { - "version": "16.9.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.4.tgz", - "integrity": "sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA==", + "version": "18.17.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz", + "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==", "dev": true }, "node_modules/@types/normalize-package-data": { @@ -9710,9 +9710,9 @@ } }, "@types/node": { - "version": "16.9.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.4.tgz", - "integrity": "sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA==", + "version": "18.17.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz", + "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==", "dev": true }, "@types/normalize-package-data": { diff --git a/package.json b/package.json index 073c08f4..e7ab210e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@types/aws-lambda": "^8.10.121", "@types/jest": "^26.0.10", - "@types/node": "16.9.4", + "@types/node": "^18.15.3", "jest": "^26.4.2", "source-map-support": "^0.5.19", "ts-jest": "^26.5.6", diff --git a/tsconfig.json b/tsconfig.json index 637e351e..9d48892c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2022", "module": "commonjs", - "lib": ["es2018"], + "lib": ["es2022"], "declaration": true, "strict": true, "noImplicitAny": true,