[8.9] Upgrade Node.js to 16.20.2 (#163539)

https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.20.2
This commit is contained in:
Jon 2023-08-09 16:19:54 -05:00 committed by GitHub
parent 9c97e5bfc4
commit ee7361032e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View file

@ -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=16.20.1
ARG NODE_VERSION=16.20.2
FROM node:${NODE_VERSION} AS base

View file

@ -1 +1 @@
16.20.1
16.20.2

2
.nvmrc
View file

@ -1 +1 @@
16.20.1
16.20.2

View file

@ -22,13 +22,13 @@ load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install
# Setup the Node.js toolchain for the architectures we want to support
node_repositories(
node_repositories = {
"16.20.1-darwin_amd64": ("node-v16.20.1-darwin-x64.tar.gz", "node-v16.20.1-darwin-x64", "d1f9c2a7c3a0fe09860f701af5fb8ff9ac72d72faa7ebabfeb5794503e79f955"),
"16.20.1-darwin_arm64": ("node-v16.20.1-darwin-arm64.tar.gz", "node-v16.20.1-darwin-arm64", "5f6b31c5a75567d382ba67220f3d7a2d9bb0c03d8af9307cd35a9cb32a6fde9d"),
"16.20.1-linux_arm64": ("node-v16.20.1-linux-arm64.tar.xz", "node-v16.20.1-linux-arm64", "7fce19f3d1c2952599a0b47f9f5d8f497265ad577f37f256a8c6a03be6353234"),
"16.20.1-linux_amd64": ("node-v16.20.1-linux-x64.tar.xz", "node-v16.20.1-linux-x64", "b6c60e1e106ad7d8881e83945a5208c1b1d1b63e6901c04b9dafa607aff3a154"),
"16.20.1-windows_amd64": ("node-v16.20.1-win-x64.zip", "node-v16.20.1-win-x64", "2a7fde996c57a969f0498742f99385a520eb14aac864e0eff9c32e3f3633ff0a"),
"16.20.2-darwin_amd64": ("node-v16.20.2-darwin-x64.tar.gz", "node-v16.20.2-darwin-x64", "d7a46eaf2b57ffddeda16ece0d887feb2e31a91ad33f8774da553da0249dc4a6"),
"16.20.2-darwin_arm64": ("node-v16.20.2-darwin-arm64.tar.gz", "node-v16.20.2-darwin-arm64", "6a5c4108475871362d742b988566f3fe307f6a67ce14634eb3fbceb4f9eea88c"),
"16.20.2-linux_arm64": ("node-v16.20.2-linux-arm64.tar.xz", "node-v16.20.2-linux-arm64", "e88d86154d1ce53dc52fd74d79d4bfdf0b05f58c0bb2639adfa36e9378b770c4"),
"16.20.2-linux_amd64": ("node-v16.20.2-linux-x64.tar.xz", "node-v16.20.2-linux-x64", "874463523f26ed528634580247f403d200ba17a31adf2de98a7b124c6eb33d87"),
"16.20.2-windows_amd64": ("node-v16.20.2-win-x64.zip", "node-v16.20.2-win-x64", "f8bb35f6c08dc7bf14ac753509c06ed1a7ebf5b390cd3fbdc8f8c1aedd020ec3"),
},
node_version = "16.20.1",
node_version = "16.20.2",
node_urls = [
"https://nodejs.org/dist/v{version}/{filename}",
],

View file

@ -17,7 +17,7 @@ These files must be updated when upgrading Node.js:
- {kib-repo}blob/{branch}/WORKSPACE.bazel[`WORKSPACE.bazel`] - The version is specified in the `node_version` property.
Besides this property, the list of files under `node_repositories` must be updated along with their respective SHA256 hashes.
These can be found on the https://nodejs.org[nodejs.org] website.
Example for Node.js v16.20.1: https://nodejs.org/dist/v16.20.1/SHASUMS256.txt.asc
Example for Node.js v16.20.2: https://nodejs.org/dist/v16.20.2/SHASUMS256.txt.asc
See PR {kib-repo}pull/128123[#128123] for an example of how the Node.js version has been upgraded previously.

View file

@ -73,7 +73,7 @@
"url": "https://github.com/elastic/kibana.git"
},
"engines": {
"node": "16.20.1",
"node": "16.20.2",
"yarn": "^1.22.19"
},
"resolutions": {