From 7a5c5e23ba8c2c85bdc4938c8dc4b13c190a0d50 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 27 May 2024 09:01:26 +0000 Subject: [PATCH] build: update Node.js to version 22.2.0 This update ensures that we can test prerendering with the ESM loader breaking change. For more details, see: https://github.com/nodejs/node/issues/53097 --- WORKSPACE | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 57054df6d017..539dbd1d58d2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -95,15 +95,15 @@ nodejs_register_toolchains( name = "node22", # The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701 node_repositories = { - "22.0.0-darwin_arm64": ("node-v22.0.0-darwin-arm64.tar.gz", "node-v22.0.0-darwin-arm64", "ea96d349cfaa67aa87ceeaa3e5b52c9167f7ac302fd8d1ff162d0785e9dc0785"), - "22.0.0-darwin_amd64": ("node-v22.0.0-darwin-x64.tar.gz", "node-v22.0.0-darwin-x64", "422a3887ff5418f0a4552d89cf99346ab8ab51bb5d384660baa88b8444d2c111"), - "22.0.0-linux_arm64": ("node-v22.0.0-linux-arm64.tar.xz", "node-v22.0.0-linux-arm64", "83711d29cbe46375bdffab5419f3d831892e24294169272f6c39edc364556241"), - "22.0.0-linux_ppc64le": ("node-v22.0.0-linux-ppc64le.tar.xz", "node-v22.0.0-linux-ppc64le", "2b3fb8707a79243bfb3131312b86716ddc3855bce21bb168095b6b916798e5e9"), - "22.0.0-linux_s390x": ("node-v22.0.0-linux-s390x.tar.xz", "node-v22.0.0-linux-s390x", "89a8efeeb9f94ce9ea251b8109e079c14919f4c0dc2cbc9f545ec47ef0886737"), - "22.0.0-linux_amd64": ("node-v22.0.0-linux-x64.tar.xz", "node-v22.0.0-linux-x64", "9122e50f2642afd5f6078cafd1f52ede60fc464284384f05c18a04d13d07ae5a"), - "22.0.0-windows_amd64": ("node-v22.0.0-win-x64.zip", "node-v22.0.0-win-x64", "32d639b47d4c0a651ff8f8d7d41a454168a3d4045be37985f9a810cf8cef6174"), + "22.2.0-darwin_arm64": ("node-v22.2.0-darwin-arm64.tar.gz", "node-v22.2.0-darwin-arm64", "66dd98bd28d19603f2e5ab0aa0e07b64f8cad28bbc446bb44fb61cc3da62e685"), + "22.2.0-darwin_amd64": ("node-v22.2.0-darwin-x64.tar.gz", "node-v22.2.0-darwin-x64", "b3cd4ab4bb4ac7f9bd5c7603baf6bbdcf466c86bb6ca49abf5e221ab8fad7ceb"), + "22.2.0-linux_arm64": ("node-v22.2.0-linux-arm64.tar.xz", "node-v22.2.0-linux-arm64", "e3d580cb7738dd9a0f8672f684de86b621d8755a6cf349df8c01b8dd875b59ab"), + "22.2.0-linux_ppc64le": ("node-v22.2.0-linux-ppc64le.tar.xz", "node-v22.2.0-linux-ppc64le", "235dc30116f378d1ec326b49ad0ea08c3d84cc057238749e7ada6bb4307b1186"), + "22.2.0-linux_s390x": ("node-v22.2.0-linux-s390x.tar.xz", "node-v22.2.0-linux-s390x", "cb3cce70aeb29072aad450fd0b09130d34a36e38ad689f3bc4a6d72caade281f"), + "22.2.0-linux_amd64": ("node-v22.2.0-linux-x64.tar.xz", "node-v22.2.0-linux-x64", "3544eee9cb1414d6e9003efd56bc807ffb0f4445d2fc383e1df04c3e5e72c91b"), + "22.2.0-windows_amd64": ("node-v22.2.0-win-x64.zip", "node-v22.2.0-win-x64", "f83e956bd90c7f5066a7e96e9372839fcc263795525fa0c03cfdf4b43be9457f"), }, - node_version = "22.0.0", + node_version = "22.2.0", ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")