@@ -51,30 +51,44 @@ rules_pkg_dependencies()
5151# Setup the Node.js toolchain
5252load ("@rules_nodejs//nodejs:repositories.bzl" , "nodejs_register_toolchains" )
5353
54+ NODE_18_REPO = {
55+ "18.19.1-darwin_arm64" : ("node-v18.19.1-darwin-arm64.tar.gz" , "node-v18.19.1-darwin-arm64" , "0c7249318868877032ed21cc0ed450015ee44b31b9b281955521cd3fc39fbfa3" ),
56+ "18.19.1-darwin_amd64" : ("node-v18.19.1-darwin-x64.tar.gz" , "node-v18.19.1-darwin-x64" , "ab67c52c0d215d6890197c951e1bd479b6140ab630212b96867395e21d813016" ),
57+ "18.19.1-linux_arm64" : ("node-v18.19.1-linux-arm64.tar.xz" , "node-v18.19.1-linux-arm64" , "228ad1eee660fba3f9fd2cccf02f05b8ebccc294d27f22c155d20b233a9d76b3" ),
58+ "18.19.1-linux_ppc64le" : ("node-v18.19.1-linux-ppc64le.tar.xz" , "node-v18.19.1-linux-ppc64le" , "2e5812b8fc00548e2e8ab9daa88ace13974c16b6ba5595a7a50c35f848f7d432" ),
59+ "18.19.1-linux_s390x" : ("node-v18.19.1-linux-s390x.tar.xz" , "node-v18.19.1-linux-s390x" , "15106acf4c9e3aca02416dd89fb5c71af77097042455a73f9caa064c1988ead5" ),
60+ "18.19.1-linux_amd64" : ("node-v18.19.1-linux-x64.tar.xz" , "node-v18.19.1-linux-x64" , "f35f24edd4415cd609a2ebc03be03ed2cfe211d7333d55c752d831754fb849f0" ),
61+ "18.19.1-windows_amd64" : ("node-v18.19.1-win-x64.zip" , "node-v18.19.1-win-x64" , "ff08f8fe253fba9274992d7052e9d9a70141342d7b36ddbd6e84cbe823e312c6" ),
62+ }
63+
5464nodejs_register_toolchains (
5565 name = "node18" ,
56- node_version = "18.13.0" ,
66+ # The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
67+ node_repositories = NODE_18_REPO ,
68+ node_version = "18.19.1" ,
5769)
5870
5971# Set the default nodejs toolchain to the latest supported major version
6072nodejs_register_toolchains (
6173 name = "nodejs" ,
62- node_version = "18.13.0" ,
74+ # The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
75+ node_repositories = NODE_18_REPO ,
76+ node_version = "18.19.1" ,
6377)
6478
6579nodejs_register_toolchains (
6680 name = "node20" ,
6781 # The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
6882 node_repositories = {
69- "20.9.0 -darwin_arm64" : ("node-v20.9.0 -darwin-arm64.tar.gz" , "node-v20.9.0 -darwin-arm64" , "31d2d46ae8d8a3982f54e2ff1e60c2e4a8e80bf78a3e8b46dcaac95ac5d7ce6a " ),
70- "20.9.0 -darwin_amd64" : ("node-v20.9.0 -darwin-x64.tar.gz" , "node-v20.9.0 -darwin-x64" , "fc5b73f2a78c17bbe926cdb1447d652f9f094c79582f1be6471b4b38a2e1ccc8 " ),
71- "20.9.0 -linux_arm64" : ("node-v20.9.0 -linux-arm64.tar.xz" , "node-v20.9.0 -linux-arm64" , "ced3ecece4b7c3a664bca3d9e34a0e3b9a31078525283a6fdb7ea2de8ca5683b " ),
72- "20.9.0 -linux_ppc64le" : ("node-v20.9.0 -linux-ppc64le.tar.xz" , "node-v20.9.0 -linux-ppc64le" , "3c6cea5d614cfbb95d92de43fbc2f8ecd66e431502fe5efc4f3c02637897bd45 " ),
73- "20.9.0 -linux_s390x" : ("node-v20.9.0 -linux-s390x.tar.xz" , "node-v20.9.0 -linux-s390x" , "af1f4e63756ff685d452166c4d5ba93a308e816ee7c46015b5e086163d9f011b " ),
74- "20.9.0 -linux_amd64" : ("node-v20.9.0 -linux-x64.tar.xz" , "node-v20.9.0 -linux-x64" , "9033989810bf86220ae46b1381bdcdc6c83a0294869ba2ad39e1061f1e69217a " ),
75- "20.9.0 -windows_amd64" : ("node-v20.9.0 -win-x64.zip" , "node-v20.9.0 -win-x64" , "70d87dad2378c63216ff83d5a754c61d2886fc39d32ce0d2ea6de763a22d3780 " ),
83+ "20.11.1 -darwin_arm64" : ("node-v20.11.1 -darwin-arm64.tar.gz" , "node-v20.11.1 -darwin-arm64" , "e0065c61f340e85106a99c4b54746c5cee09d59b08c5712f67f99e92aa44995d " ),
84+ "20.11.1 -darwin_amd64" : ("node-v20.11.1 -darwin-x64.tar.gz" , "node-v20.11.1 -darwin-x64" , "c52e7fb0709dbe63a4cbe08ac8af3479188692937a7bd8e776e0eedfa33bb848 " ),
85+ "20.11.1 -linux_arm64" : ("node-v20.11.1 -linux-arm64.tar.xz" , "node-v20.11.1 -linux-arm64" , "c957f29eb4e341903520caf362534f0acd1db7be79c502ae8e283994eed07fe1 " ),
86+ "20.11.1 -linux_ppc64le" : ("node-v20.11.1 -linux-ppc64le.tar.xz" , "node-v20.11.1 -linux-ppc64le" , "51343cacf5cdf5c4b5e93e919d19dd373d6ef43d5f2c666eae299f26e31d08b5 " ),
87+ "20.11.1 -linux_s390x" : ("node-v20.11.1 -linux-s390x.tar.xz" , "node-v20.11.1 -linux-s390x" , "b32616b705cd0ddbb230b95c693e3d7a37becc2ced9bcadea8dc824cceed6be0 " ),
88+ "20.11.1 -linux_amd64" : ("node-v20.11.1 -linux-x64.tar.xz" , "node-v20.11.1 -linux-x64" , "d8dab549b09672b03356aa2257699f3de3b58c96e74eb26a8b495fbdc9cf6fbe " ),
89+ "20.11.1 -windows_amd64" : ("node-v20.11.1 -win-x64.zip" , "node-v20.11.1 -win-x64" , "bc032628d77d206ffa7f133518a6225a9c5d6d9210ead30d67e294ff37044bda " ),
7690 },
77- node_version = "20.9.0 " ,
91+ node_version = "20.11.1 " ,
7892)
7993
8094load ("@build_bazel_rules_nodejs//:index.bzl" , "yarn_install" )
0 commit comments