diff --git a/Formula/n/node@18.rb b/Formula/n/node@18.rb index 462eb1d615fa..e9ed8f074cf3 100644 --- a/Formula/n/node@18.rb +++ b/Formula/n/node@18.rb @@ -4,7 +4,7 @@ class NodeAT18 < Formula url "https://nodejs.org/dist/v18.20.4/node-v18.20.4.tar.xz" sha256 "a76c7ea1b96aeb6963a158806260c8094b6244d64a696529d020547b9a95ca2a" license "MIT" - revision 1 + revision 2 livecheck do url "https://nodejs.org/dist/" @@ -12,12 +12,12 @@ class NodeAT18 < Formula end bottle do - sha256 arm64_sequoia: "d380182d1f56e38f240355a650a2574dcf40de6be0c746a1955728df89815494" - sha256 arm64_sonoma: "e7556ecd9d8553dee6736900e11bc3a65994e3ee6747332dd716daa0ab58d52b" - sha256 arm64_ventura: "7a8ae272cde099a2e3efa70f91bc315c67688cd602126dcd5d3d6861b62bf0fa" - sha256 sonoma: "2c8a9eabf8f95ff26c0550665336f395574e50e9a5c441c62140fc2ecd2dbe12" - sha256 ventura: "ea38619b3af837165fb11aa3038c5c11c47ae8eb5c5fd9b7d1b78f22dc78bf05" - sha256 x86_64_linux: "766f4312b10705111eedd0ec8e08686f265ca4c72214977ed609515066928dd9" + sha256 arm64_sequoia: "1d2ce510cf574da66f4e5c5cf3a8a901b3a01e97698a14f8c01cec83023e0c5d" + sha256 arm64_sonoma: "9aaf06ffb456a0771faee9b25b1c46a80480b0b477266bd5068ad884b857cee3" + sha256 arm64_ventura: "491354ee9860881f2a405278366ddd146509bddcd8962dd4424ccc0afd03c251" + sha256 sonoma: "fde7c1f991598524bddeb6097f8ea88b589470fd20bdca34a464dd7f43f1f0f2" + sha256 ventura: "1e1d2c42641ab1d6ccecc41d4022cec588edcdcba560ed211c41219ca2bce7a4" + sha256 x86_64_linux: "5918442ca75b8961191a876348a16db2686e4668d457c8b7d9e5309d04d2fd02" end keg_only :versioned_formula @@ -31,7 +31,7 @@ class NodeAT18 < Formula depends_on "python@3.13" => :build depends_on "brotli" depends_on "c-ares" - depends_on "icu4c@75" + depends_on "icu4c@76" depends_on "libnghttp2" depends_on "libuv" depends_on "openssl@3" @@ -52,6 +52,12 @@ class NodeAT18 < Formula fails_with gcc: "5" + # Backport support for ICU 76+ + patch do + url "https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9.patch?full_index=1" + sha256 "79a5489617665c5c88651a7dc364b8967bebdea5bdf361b85572d041a4768662" + end + # py3.13 build patch patch :DATA diff --git a/Formula/n/node@20.rb b/Formula/n/node@20.rb index f4160a1cf912..79f89bdcf11b 100644 --- a/Formula/n/node@20.rb +++ b/Formula/n/node@20.rb @@ -4,7 +4,7 @@ class NodeAT20 < Formula url "https://nodejs.org/dist/v20.18.0/node-v20.18.0.tar.xz" sha256 "7d9433e91fd88d82ba8de86e711ec41907638e227993d22e95126b02f6cd714a" license "MIT" - revision 1 + revision 2 livecheck do url "https://nodejs.org/dist/" @@ -12,12 +12,12 @@ class NodeAT20 < Formula end bottle do - sha256 arm64_sequoia: "fd0df56bde79e20cbc279997e65e58c4924f868b70098f67a26c569622adaaff" - sha256 arm64_sonoma: "fa339fffcdfe46f2e559a8f970e4877fffdba8fda457feaac05efa94503e7f30" - sha256 arm64_ventura: "74d229c42c021499276264761ec95f278a92a42efb1ed7098771407f50f1d738" - sha256 sonoma: "212936d2f3c6d162c694a5c42e0713c125b2c0720a777ea2a4331d5f98389832" - sha256 ventura: "bcfa8a4c57aa961914fcf5602e7260f0b69db140263c91c142bdd11fe9806c49" - sha256 x86_64_linux: "ecc3904b5fef9a53271e8eb60dec9f740a4a4b130e25f0c425391df0c59f2083" + sha256 arm64_sequoia: "874818ba31fe060162b85ea787fa3fc35a124c938e0f3376f502a27935781bc1" + sha256 arm64_sonoma: "41187899bbe909ad4d4ecb8f0eadcf3013a3e2149fee743bb7174a8e786bd586" + sha256 arm64_ventura: "696029d3b569d3b3386821e260332c45cc3e0b7f6d7cc053ed2e1d458d315d68" + sha256 sonoma: "4cb337e7f16bef5e6e2853f7fc2e295020783b0fc3a72c166beb08ca4cce44a4" + sha256 ventura: "d853beb0f7385fe1ebd60252a7b200513904a654470f6ce68433cad67f911821" + sha256 x86_64_linux: "cd247adf3ec196949a60780f1dcea7f10a97f2c1c3aad12a1a9ca58fd54b6f24" end keg_only :versioned_formula @@ -30,7 +30,7 @@ class NodeAT20 < Formula depends_on "python@3.13" => :build depends_on "brotli" depends_on "c-ares" - depends_on "icu4c@75" + depends_on "icu4c@76" depends_on "libnghttp2" depends_on "libuv" depends_on "openssl@3" @@ -51,6 +51,12 @@ class NodeAT20 < Formula fails_with gcc: "5" + # Backport support for ICU 76+ + patch do + url "https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9.patch?full_index=1" + sha256 "79a5489617665c5c88651a7dc364b8967bebdea5bdf361b85572d041a4768662" + end + def install ENV.llvm_clang if OS.mac? && (DevelopmentTools.clang_build_version <= 1100) diff --git a/Formula/n/node@22.rb b/Formula/n/node@22.rb index 0d42e0d72f54..8e08dfbcff47 100644 --- a/Formula/n/node@22.rb +++ b/Formula/n/node@22.rb @@ -4,6 +4,7 @@ class NodeAT22 < Formula url "https://nodejs.org/dist/v22.10.0/node-v22.10.0.tar.xz" sha256 "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0" license "MIT" + revision 1 livecheck do url "https://nodejs.org/dist/" @@ -11,12 +12,12 @@ class NodeAT22 < Formula end bottle do - sha256 arm64_sequoia: "528222d35a5ae846cd673c0b91a77e6fa3050d2de0c94091cd1b6c4a39656855" - sha256 arm64_sonoma: "53825ab98fe302132d5dafe83eb0c10d8d46ebdc8c8a1fb388cf8457d8aa3015" - sha256 arm64_ventura: "68baa5fc58da403c1814e3bec8672d51e355de633f0021b23250c6d06f52f42b" - sha256 sonoma: "f6bb645a21a91bbe99c9218e4122afa78e2714332be2adc84092cf422eb195cd" - sha256 ventura: "80345d2d38bc6feb5c6134abe390cb527525854859a2b2386c715d026cac7509" - sha256 x86_64_linux: "022797bdca863afb7a3ae77ea096fca338e2f75b613355f75e649618388b21bf" + sha256 arm64_sequoia: "7271f0cf7c7919dda639e1a28e2e32e399ec10bc1450ff6770feffaed8051192" + sha256 arm64_sonoma: "98945146b9db1ad35584625a8b1f719bdf2b3dfb03b71589e4df8eb1d226880d" + sha256 arm64_ventura: "1e3cf6db11d112c1553cade95c61ce3b504b1932418fafb50eb72b8a9c31f31b" + sha256 sonoma: "bf7088ab13b39cacfd6c67303ef1cc372947fef2e611a48e51cc3d582c329df4" + sha256 ventura: "77bf8d7313803fe9e377c9e771469f9c69119e42032680046a69e7d6ef6af98e" + sha256 x86_64_linux: "0be876d6dd808681cec3012dcbc63d964d408e1cab72b1217e4d1da3ca8f3a82" end keg_only :versioned_formula @@ -29,7 +30,7 @@ class NodeAT22 < Formula depends_on "python@3.13" => :build depends_on "brotli" depends_on "c-ares" - depends_on "icu4c@75" + depends_on "icu4c@76" depends_on "libnghttp2" depends_on "libuv" depends_on "openssl@3" @@ -50,6 +51,12 @@ class NodeAT22 < Formula fails_with gcc: "5" + # Backport support for ICU 76+ + patch do + url "https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9.patch?full_index=1" + sha256 "79a5489617665c5c88651a7dc364b8967bebdea5bdf361b85572d041a4768662" + end + def install ENV.llvm_clang if OS.mac? && (DevelopmentTools.clang_build_version <= 1100)