From 09b89bc07b3d2c00d08b44d07190386cc7809c88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:40:19 +0000 Subject: [PATCH 1/2] chore(deps-dev): Bump @types/node from 20.11.28 to 22.9.0 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.28 to 22.9.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 07cf4cf..509c738 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@guardian/eslint-config-typescript": "9.0.3", "@guardian/prettier": "8.0.0", "@guardian/tsconfig": "0.2.0", - "@types/node": "20.11.28", + "@types/node": "22.9.0", "eslint": "^8.57.0", "eslint-plugin-prettier": "5.1.3", "prettier": "^3.2.5", @@ -879,11 +879,11 @@ "integrity": "sha512-gKc9P2d4g5uYwmy4s/MO/yOVPmvHyvzka1YH6i5dM03UrFofHSmgc0D0ymbDRStFWHusk6cwwF6nhLm/ckBbbQ==" }, "node_modules/@types/node": { - "version": "20.11.28", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.28.tgz", - "integrity": "sha512-M/GPWVS2wLkSkNHVeLkrF2fD5Lx5UC4PxA0uZcKc6QqbIQUJyW1jVjueJYi1z8n0I5PxYrtpnPnWglE+y9A0KA==", + "version": "22.9.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz", + "integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.8" } }, "node_modules/@types/pad-left": { @@ -4612,9 +4612,9 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "node_modules/uri-js": { "version": "4.4.1", diff --git a/package.json b/package.json index c947d54..fc1f1ac 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@guardian/eslint-config-typescript": "9.0.3", "@guardian/prettier": "8.0.0", "@guardian/tsconfig": "0.2.0", - "@types/node": "20.11.28", + "@types/node": "22.9.0", "eslint": "^8.57.0", "eslint-plugin-prettier": "5.1.3", "prettier": "^3.2.5", From 253ea14aa6de9ddc34289890156850174316724c Mon Sep 17 00:00:00 2001 From: akash1810 Date: Fri, 8 Nov 2024 19:31:28 +0000 Subject: [PATCH 2/2] feat: Update to Node 22 (LTS) --- .nvmrc | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 790e110..bb8c76c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.10.0 +v22.11.0 diff --git a/Dockerfile b/Dockerfile index a9050ba..b768166 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-slim +FROM node:22-slim WORKDIR /app