From 10bc0f3af722f4b1fad74a4428afd8eae24fee48 Mon Sep 17 00:00:00 2001 From: Pierre-Etienne Poirot Date: Tue, 21 Nov 2023 10:38:10 +0100 Subject: [PATCH] Upgrade tsconfig to Node 18 Node 16 has left its maintenance window: - https://github.com/nodejs/Release/tree/6e03d78284#release-schedule --- package-lock.json | 18 +++++++++--------- package.json | 2 +- tsconfig.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 567ee34..a673051 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@babel/core": "^7.23.3", "@babel/eslint-parser": "^7.23.3", "@babel/preset-env": "^7.23.3", - "@tsconfig/node16": "^16.1.1", + "@tsconfig/node18": "^18.2.2", "ava": "^5.3.1", "babel-loader": "^9.1.3", "eslint-plugin-unicorn": "^49.0.0", @@ -2180,10 +2180,10 @@ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", "dev": true }, - "node_modules/@tsconfig/node16": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.1.tgz", - "integrity": "sha512-+pio93ejHN4nINX4pXqfnR/fPLRtJBaT4ORaa5RH0Oc1zoYmo2B2koG+M328CQhHKn1Wj6FcOxCDFXAot9NhvA==", + "node_modules/@tsconfig/node18": { + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.2.tgz", + "integrity": "sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==", "dev": true }, "node_modules/@types/eslint": { @@ -10935,10 +10935,10 @@ } } }, - "@tsconfig/node16": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.1.tgz", - "integrity": "sha512-+pio93ejHN4nINX4pXqfnR/fPLRtJBaT4ORaa5RH0Oc1zoYmo2B2koG+M328CQhHKn1Wj6FcOxCDFXAot9NhvA==", + "@tsconfig/node18": { + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.2.tgz", + "integrity": "sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==", "dev": true }, "@types/eslint": { diff --git a/package.json b/package.json index 952ee90..0c5ac79 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@babel/core": "^7.23.3", "@babel/eslint-parser": "^7.23.3", "@babel/preset-env": "^7.23.3", - "@tsconfig/node16": "^16.1.1", + "@tsconfig/node18": "^18.2.2", "ava": "^5.3.1", "babel-loader": "^9.1.3", "eslint-plugin-unicorn": "^49.0.0", diff --git a/tsconfig.json b/tsconfig.json index 0499b73..885dfa8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "module": "node", "compilerOptions": { "allowJs": true,