From 7f60e836daaa8bf0f20ce65587f33184bffdff93 Mon Sep 17 00:00:00 2001 From: Derek Croote Date: Tue, 28 Jan 2025 21:27:47 -0800 Subject: [PATCH] Bump node --- .github/workflows/build-test.yml | 2 +- .github/workflows/protocol-verify.yml | 2 +- docker/Dockerfile | 2 +- package.json | 4 ++-- packages/airnode-admin/docker/Dockerfile | 2 +- packages/airnode-admin/package.json | 2 +- packages/airnode-deployer/docker/Dockerfile | 2 +- packages/airnode-deployer/package.json | 2 +- packages/airnode-examples/package.json | 2 +- packages/airnode-node/docker/Dockerfile | 2 +- packages/airnode-node/package.json | 2 +- packages/airnode-utilities/package.json | 2 +- yarn.lock | 22 ++++++++++----------- 13 files changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 6de5a567ee..b60f0a7f25 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -9,7 +9,7 @@ on: env: DOCKER_BUILDKIT: 1 - TARGET_NODE_VERSION: '20.10.0' + TARGET_NODE_VERSION: '20.17.0' jobs: documentation: diff --git a/.github/workflows/protocol-verify.yml b/.github/workflows/protocol-verify.yml index 74a46ed191..9d3b158df4 100644 --- a/.github/workflows/protocol-verify.yml +++ b/.github/workflows/protocol-verify.yml @@ -11,7 +11,7 @@ on: env: DOCKER_BUILDKIT: 1 - TARGET_NODE_VERSION: '20.10.0' + TARGET_NODE_VERSION: '20.17.0' jobs: pre-build: diff --git a/docker/Dockerfile b/docker/Dockerfile index 2406e78c90..817fd2979c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.10.0-alpine3.17 AS environment +FROM node:20.17.0-alpine3.20 AS environment ENV appDir="/app" \ buildDir="/build" \ diff --git a/package.json b/package.json index d4a0d700f8..d44d296da8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "private": true, "engines": { - "node": "^20.10.0" + "node": "^20.17.0" }, "repository": { "type": "git", @@ -110,7 +110,7 @@ "@changesets/cli": "^2.27.1", "@octokit/core": "^5.2.0", "@types/libsodium-wrappers": "^0.7.14", - "@types/node": "^18.19.31", + "@types/node": "^20.17.0", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "@vercel/ncc": "^0.38.1", diff --git a/packages/airnode-admin/docker/Dockerfile b/packages/airnode-admin/docker/Dockerfile index be235d068f..ad457e386e 100644 --- a/packages/airnode-admin/docker/Dockerfile +++ b/packages/airnode-admin/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.10.0-alpine3.17 +FROM node:20.17.0-alpine3.20 ARG npmRegistryUrl=https://registry.npmjs.org/ ARG npmTag=latest diff --git a/packages/airnode-admin/package.json b/packages/airnode-admin/package.json index e58969e846..fad271035d 100644 --- a/packages/airnode-admin/package.json +++ b/packages/airnode-admin/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@types/lodash": "^4.17.0", - "@types/node": "^20.10.0", + "@types/node": "^20.17.0", "@types/yargs": "^17.0.32", "jest": "^29.7.0", "rimraf": "^5.0.5", diff --git a/packages/airnode-deployer/docker/Dockerfile b/packages/airnode-deployer/docker/Dockerfile index 1b10dd3d29..1b6d95675e 100644 --- a/packages/airnode-deployer/docker/Dockerfile +++ b/packages/airnode-deployer/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.10.0-alpine3.17 +FROM node:20.17.0-alpine3.20 ARG npmRegistryUrl=https://registry.npmjs.org/ ARG npmTag=latest diff --git a/packages/airnode-deployer/package.json b/packages/airnode-deployer/package.json index 847fec4f87..b32600e927 100644 --- a/packages/airnode-deployer/package.json +++ b/packages/airnode-deployer/package.json @@ -51,7 +51,7 @@ "@types/adm-zip": "^0.5.5", "@types/aws-lambda": "^8.10.137", "@types/lodash": "^4.17.0", - "@types/node": "^20.10.0", + "@types/node": "^20.17.0", "@types/yargs": "^17.0.32", "aws-sdk-client-mock": "^4.0.0", "aws-sdk-client-mock-jest": "^4.0.0", diff --git a/packages/airnode-examples/package.json b/packages/airnode-examples/package.json index 804261f686..63ccebf2e6 100644 --- a/packages/airnode-examples/package.json +++ b/packages/airnode-examples/package.json @@ -46,7 +46,7 @@ "@nomiclabs/hardhat-ethers": "^2.2.3", "@nomiclabs/hardhat-waffle": "^2.0.6", "@types/jest": "^29.5.12", - "@types/node": "^20.10.0", + "@types/node": "^20.17.0", "@types/prompts": "^2.4.9", "chalk": "^4.1.2", "dotenv": "^16.4.5", diff --git a/packages/airnode-node/docker/Dockerfile b/packages/airnode-node/docker/Dockerfile index e6819d8a8b..11b866a3b0 100644 --- a/packages/airnode-node/docker/Dockerfile +++ b/packages/airnode-node/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.10.0-alpine3.17 +FROM node:20.17.0-alpine3.20 ARG npmRegistryUrl=https://registry.npmjs.org/ ARG npmTag=latest diff --git a/packages/airnode-node/package.json b/packages/airnode-node/package.json index e5727f0f90..7b2b79731d 100644 --- a/packages/airnode-node/package.json +++ b/packages/airnode-node/package.json @@ -48,7 +48,7 @@ "@types/express": "^4.17.21", "@types/jest": "^29.5.12", "@types/lodash": "^4.17.0", - "@types/node": "^20.10.0", + "@types/node": "^20.17.0", "@types/yargs": "^17.0.32", "aws-sdk-client-mock": "^4.0.0", "aws-sdk-client-mock-jest": "^4.0.0", diff --git a/packages/airnode-utilities/package.json b/packages/airnode-utilities/package.json index 1b7a9bf165..5cac70e9e6 100644 --- a/packages/airnode-utilities/package.json +++ b/packages/airnode-utilities/package.json @@ -26,7 +26,7 @@ "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.2.3", "@types/jest": "^29.5.12", - "@types/node": "^20.10.0", + "@types/node": "^20.17.0", "hardhat": "^2.22.18", "jest": "^29.7.0", "rimraf": "^5.0.5", diff --git a/yarn.lock b/yarn.lock index 39df6c2e75..059c044a7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4422,19 +4422,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== -"@types/node@^18.19.31": - version "18.19.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.31.tgz#b7d4a00f7cb826b60a543cebdbda5d189aaecdcd" - integrity sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA== +"@types/node@^20.17.0": + version "20.17.16" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.16.tgz#b33b0edc1bf925b27349e494b871ca4451fabab4" + integrity sha512-vOTpLduLkZXePLxHiHsBLp98mHGnl8RptV4YAO3HfKO5UHjDvySGbxKtpYfy8Sx5+WKcgc45qNreJJRVM3L6mw== dependencies: - undici-types "~5.26.4" - -"@types/node@^20.10.0": - version "20.10.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.3.tgz#4900adcc7fc189d5af5bb41da8f543cea6962030" - integrity sha512-XJavIpZqiXID5Yxnxv3RUDKTN5b81ddNC3ecsA0SoFXz/QU8OGBwZGMomiq0zw+uuqbL/krztv/DINAQ/EV4gg== - dependencies: - undici-types "~5.26.4" + undici-types "~6.19.2" "@types/node@^8.0.0": version "8.10.66" @@ -14971,6 +14964,11 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + undici@^5.14.0: version "5.28.4" resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068"