From d5b999ce41850a12d33d27819202e4ffc74f8888 Mon Sep 17 00:00:00 2001 From: Junrou Nishida Date: Sun, 20 Oct 2024 16:30:10 +0900 Subject: [PATCH] build: upgrade nodejs --- WORKSPACE | 6 +++--- docker/windows/x86_64/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index cd1d47461..b20e40f64 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -532,8 +532,8 @@ cc_crosstool(name = "crosstool") # Node dependencies http_archive( name = "build_bazel_rules_nodejs", - sha256 = "94070eff79305be05b7699207fbac5d2608054dd53e6109f7d00d923919ff45a", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.2/rules_nodejs-5.8.2.tar.gz"], + sha256 = "a1295b168f183218bc88117cf00674bcd102498f294086ff58318f830dd9d9d1", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.5/rules_nodejs-5.8.5.tar.gz"], ) load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies") @@ -541,7 +541,7 @@ build_bazel_rules_nodejs_dependencies() # fetches nodejs, npm, and yarn load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") -node_repositories() +node_repositories(node_version = "20.14.0") yarn_install( name = "npm", package_json = "@mediapipe//:package.json", diff --git a/docker/windows/x86_64/Dockerfile b/docker/windows/x86_64/Dockerfile index 7868b01d9..d058e7da9 100644 --- a/docker/windows/x86_64/Dockerfile +++ b/docker/windows/x86_64/Dockerfile @@ -1,6 +1,6 @@ # escape=` -ARG NODE_VERSION=18.17.1 +ARG NODE_VERSION=20.14.0 ARG PYTHON_VERSION=3.9.9 ARG ANDROID_SDK_VERSION=30 ARG ANDROID_NDK_VERSION=21.4.7075529