From 6612a9750f6af34a65ba2aba9f4cb285eae294ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Garn=C3=A6s?= Date: Mon, 30 Oct 2023 11:53:37 +0100 Subject: [PATCH 1/2] Upgrade to Node 20 Node 16 has reached EOL https://nodejs.org/en/blog/announcements/nodejs16-eol Node 20 has now reached LTS with 20.9.0 so upgrade to use that: https://nodejs.org/en/blog/release/v20.9.0 GitHub Actions will automatically pick up the version from .nvmrc. Docker Compose needs to be updated manually. --- .nvmrc | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 6f7f377bf5..805b5a4e00 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 +v20.9.0 diff --git a/docker-compose.yml b/docker-compose.yml index d6fe0cf307..6f44433ee8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.7' services: node: - image: node:16 + image: node:20.9 user: node init: true working_dir: /home/node/app From 9035979c556f67471c0a4f4cf4850de81fced603 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 03:06:55 +0000 Subject: [PATCH 2/2] Bump @types/node from 17.0.31 to 20.8.9 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.31 to 20.8.9. - [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.json | 2 +- yarn.lock | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index d7ced276ef..d5021fe343 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@testing-library/react": "^14.0.0", "@testing-library/react-hooks": "^8.0.1", "@tsconfig/create-react-app": "^1.0.2", - "@types/node": "^17.0.31", + "@types/node": "^20.8.9", "@types/react": "^18.0.9", "@types/react-dom": "^18.2.7", "@types/react-redux": "^7.1.24", diff --git a/yarn.lock b/yarn.lock index c69885e8e1..ce6beabe9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4549,10 +4549,12 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*": - version "18.14.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.0.tgz#94c47b9217bbac49d4a67a967fdcdeed89ebb7d0" - integrity sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A== +"@types/node@*", "@types/node@^20.8.9": + version "20.8.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.9.tgz#646390b4fab269abce59c308fc286dcd818a2b08" + integrity sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg== + dependencies: + undici-types "~5.26.4" "@types/node@^14.0.10 || ^16.0.0", "@types/node@^14.14.20 || ^16.0.0": version "16.11.33" @@ -4564,11 +4566,6 @@ resolved "https://registry.npmjs.org/@types/node/-/node-14.18.16.tgz" integrity sha512-X3bUMdK/VmvrWdoTkz+VCn6nwKwrKCFTHtqwBIaQJNx4RUIBBUFXM00bqPz/DsDd+Icjmzm6/tyYZzeGVqb6/Q== -"@types/node@^17.0.31": - version "17.0.31" - resolved "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz" - integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== - "@types/normalize-package-data@^2.4.0": version "2.4.1" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz" @@ -18606,6 +18603,11 @@ underscore@~1.6.0: resolved "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz" integrity sha1-izixDKze9jM3uLJOT/htRa6lKag= +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + undici@^5.1.0: version "5.26.3" resolved "https://registry.yarnpkg.com/undici/-/undici-5.26.3.tgz#ab3527b3d5bb25b12f898dfd22165d472dd71b79"