Skip to content

Commit

Permalink
Merge pull request #194645 from Homebrew/bump-node-23.0.0
Browse files Browse the repository at this point in the history
node 23.1.0
  • Loading branch information
BrewTestBot authored Oct 27, 2024
2 parents 0e5168d + fe2d633 commit 69cabf0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
File renamed without changes.
15 changes: 7 additions & 8 deletions Formula/e/emscripten.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ class Emscripten < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "78c95a83a7a78efc5b54831e8bd88baecb267420a7ca91f5f6eeef7ed4b599d7"
sha256 cellar: :any, arm64_sonoma: "f89b0881d62f18bbf416869f6af90af93a646a754780946d3130e8c2aad27f91"
sha256 cellar: :any, arm64_ventura: "eb36a71b3fb9d913059b0c8008cb0351bb343e677d379a11ad7be3b5a25844ae"
sha256 cellar: :any, sonoma: "f6d50500f58a0f0587ddc7bdf3e32e86a6cd7b4ef6703648cba28aeaaf4bdab7"
sha256 cellar: :any, ventura: "e99a3b2db5ec23401d94849dac5fcbf501e55109ef346dc5a510690bfb1dd6ca"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ba3c74973a7d3e40cb161e765fd6acf50b054a5e33aabcad97322c0ff21d0508"
rebuild 1
sha256 cellar: :any, arm64_sequoia: "e0d0967fd9746a2b4866622e6e1a603accab12c5113c2bf06c9bdb61d5a3f318"
sha256 cellar: :any, arm64_sonoma: "f81c1d6f84a2806042817aa10c4a8037f6dc2304ffe788c2f9f64f47dead2758"
sha256 cellar: :any, arm64_ventura: "157562e3fe8a69faa47ccbe88e4e6464f5038efc36fd5ccbcd0ee446d5cd7fb8"
sha256 cellar: :any, sonoma: "711446bd9f39dd76631ae83263e4f35283dedd4fdea125527dcea1abae89dea1"
sha256 cellar: :any, ventura: "8ddfe99bddc8df0ae446df70fd3495d4b272d1ae6aac391367748409c39fbce5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "5c06871e41efc59d2d71452437236586d7bee1c8a2efce4d539e650008ff341f"
end

depends_on "cmake" => :build
Expand Down Expand Up @@ -219,8 +220,6 @@ def caveats
# Avoid errors on Linux when other formulae like `sdl12-compat` are installed
ENV.delete "CPATH"

ENV["NODE_OPTIONS"] = "--no-experimental-fetch"

(testpath/"test.c").write <<~C
#include <stdio.h>
int main()
Expand Down
19 changes: 9 additions & 10 deletions Formula/n/node.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Node < Formula
desc "Platform built on V8 to build network applications"
homepage "https://nodejs.org/"
url "https://nodejs.org/dist/v22.10.0/node-v22.10.0.tar.xz"
sha256 "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0"
url "https://nodejs.org/dist/v23.1.0/node-v23.1.0.tar.xz"
sha256 "57cbfd3dd51f9300ea2b8e60a8ed215b1eaa71fbde4c3903a7d31a443a4a4423"
license "MIT"
head "https://github.com/nodejs/node.git", branch: "main"

Expand All @@ -12,12 +12,12 @@ class Node < Formula
end

bottle do
sha256 arm64_sequoia: "8873a7d069ab23b64ae759a120aad341efc70d52d40ae7f516929749c989ab32"
sha256 arm64_sonoma: "b720787c6a939c9297b3bb2afed61f7575320d0f96b19e80326e1d1c64742a8b"
sha256 arm64_ventura: "cebda79d7078e012a35c515b596f5751d06cfe473ff0b6e4d12a0690698196c0"
sha256 sonoma: "ee69651ab2feba623a36be22e913a3f2d1b7b62221606407e5cbfe1f9e24a350"
sha256 ventura: "c41631ba7b8183681ca13c2259f20223b448f050103174d5bd8a4acec033fa06"
sha256 x86_64_linux: "1dbea0b65a46aedeeeb95d766c4754fa4bbe214d162e0ea58c0f6396bd67da6b"
sha256 arm64_sequoia: "5824a64a342860ad4ac5b18176aaa2814895cfbe4e8cd80542153c2ad9eb16b0"
sha256 arm64_sonoma: "ca3540c4cb81d2f0fef4780561947dad31659e5dc4fafbbce369727d6a69e98c"
sha256 arm64_ventura: "662948dd51379a9d7c41a3e2899f00269a14b80f4183d821b208f4b203b6b09a"
sha256 sonoma: "30b416b36b2a01b1678ce99fb76616433a0b7fdbd5654222cff058c55018c7e7"
sha256 ventura: "741dc0fa1a33104d0fb69a28cf10b25c9672edb78bc2d68f81001c41a799dd03"
sha256 x86_64_linux: "8eea14e17b67e32f59325d0c61d904fc0f69d255854edb7d8ae7117cc8dc1126"
end

depends_on "pkg-config" => :build
Expand Down Expand Up @@ -66,7 +66,6 @@ def install
args = %W[
--prefix=#{prefix}
--without-npm
--without-corepack
--with-intl=system-icu
--shared-libuv
--shared-nghttp2
Expand Down Expand Up @@ -169,7 +168,7 @@ def post_install
assert_predicate HOMEBREW_PREFIX/"bin/npm", :executable?, "npm must be executable"
npm_args = ["-ddd", "--cache=#{HOMEBREW_CACHE}/npm_cache", "--build-from-source"]
system HOMEBREW_PREFIX/"bin/npm", *npm_args, "install", "npm@latest"
system HOMEBREW_PREFIX/"bin/npm", *npm_args, "install", "ref-napi"
system HOMEBREW_PREFIX/"bin/npm", *npm_args, "install", "nan"
assert_predicate HOMEBREW_PREFIX/"bin/npx", :exist?, "npx must exist"
assert_predicate HOMEBREW_PREFIX/"bin/npx", :executable?, "npx must be executable"
assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx --yes cowsay hello")
Expand Down

0 comments on commit 69cabf0

Please sign in to comment.