From 535708add17fe6fb99da6f2906fe39fc9869ac1b Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Tue, 18 Aug 2020 08:08:36 +0200 Subject: [PATCH 1/3] Update Node.js to version 10.22.0 --- .node-version | 2 +- .nvmrc | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.node-version b/.node-version index b61c07ffddbd1..b7604b0c8aea6 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -10.21.0 +10.22.0 diff --git a/.nvmrc b/.nvmrc index b61c07ffddbd1..b7604b0c8aea6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10.21.0 +10.22.0 diff --git a/package.json b/package.json index 941cad4f0fd02..d6b272e85bd20 100644 --- a/package.json +++ b/package.json @@ -479,7 +479,7 @@ "zlib": "^1.0.5" }, "engines": { - "node": "10.21.0", + "node": "10.22.0", "yarn": "^1.21.1" } } From e733199f652a8d9be2adf0bbde3d2178d8504a4b Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Tue, 18 Aug 2020 09:28:50 +0200 Subject: [PATCH 2/3] Bump missing Node.js version reference --- .ci/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/Dockerfile b/.ci/Dockerfile index d90d9f4710b5b..065b7f2aafd61 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -1,7 +1,7 @@ # NOTE: This Dockerfile is ONLY used to run certain tasks in CI. It is not used to run Kibana or as a distributable. # If you're looking for the Kibana Docker image distributable, please see: src/dev/build/tasks/os_packages/docker_generator/templates/dockerfile.template.ts -ARG NODE_VERSION=10.21.0 +ARG NODE_VERSION=10.22.0 FROM node:${NODE_VERSION} AS base From 60105c3ffab42026450ff2de06a56f4bcb313378 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Tue, 18 Aug 2020 09:29:19 +0200 Subject: [PATCH 3/3] Update test snapshots --- .../nodejs/extract_node_builds_task.test.ts | 16 ++++++++-------- .../verify_existing_node_builds_task.test.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts b/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts index f1700ef7b578c..c1245bf66d278 100644 --- a/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts +++ b/src/dev/build/tasks/nodejs/extract_node_builds_task.test.ts @@ -74,8 +74,8 @@ it('runs expected fs operations', async () => { Object { "copy": Array [ Array [ - /.node_binaries/10.21.0/node.exe, - /.node_binaries/10.21.0/win32-x64/node.exe, + /.node_binaries/10.22.0/node.exe, + /.node_binaries/10.22.0/win32-x64/node.exe, Object { "clone": true, }, @@ -83,22 +83,22 @@ it('runs expected fs operations', async () => { ], "untar": Array [ Array [ - /.node_binaries/10.21.0/node-v10.21.0-linux-x64.tar.gz, - /.node_binaries/10.21.0/linux-x64, + /.node_binaries/10.22.0/node-v10.22.0-linux-x64.tar.gz, + /.node_binaries/10.22.0/linux-x64, Object { "strip": 1, }, ], Array [ - /.node_binaries/10.21.0/node-v10.21.0-linux-arm64.tar.gz, - /.node_binaries/10.21.0/linux-arm64, + /.node_binaries/10.22.0/node-v10.22.0-linux-arm64.tar.gz, + /.node_binaries/10.22.0/linux-arm64, Object { "strip": 1, }, ], Array [ - /.node_binaries/10.21.0/node-v10.21.0-darwin-x64.tar.gz, - /.node_binaries/10.21.0/darwin-x64, + /.node_binaries/10.22.0/node-v10.22.0-darwin-x64.tar.gz, + /.node_binaries/10.22.0/darwin-x64, Object { "strip": 1, }, diff --git a/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts b/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts index 19416963d5edd..c9210d2191101 100644 --- a/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts +++ b/src/dev/build/tasks/nodejs/verify_existing_node_builds_task.test.ts @@ -87,7 +87,7 @@ it('checks shasums for each downloaded node build', async () => { [MockFunction] { "calls": Array [ Array [ - "10.21.0", + "10.22.0", ], ], "results": Array [