Skip to content

Commit 69cabf0

Browse files
authored
Merge pull request #194645 from Homebrew/bump-node-23.0.0
node 23.1.0
2 parents 0e5168d + fe2d633 commit 69cabf0

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed
File renamed without changes.

Formula/e/emscripten.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ class Emscripten < Formula
1818
end
1919

2020
bottle do
21-
sha256 cellar: :any, arm64_sequoia: "78c95a83a7a78efc5b54831e8bd88baecb267420a7ca91f5f6eeef7ed4b599d7"
22-
sha256 cellar: :any, arm64_sonoma: "f89b0881d62f18bbf416869f6af90af93a646a754780946d3130e8c2aad27f91"
23-
sha256 cellar: :any, arm64_ventura: "eb36a71b3fb9d913059b0c8008cb0351bb343e677d379a11ad7be3b5a25844ae"
24-
sha256 cellar: :any, sonoma: "f6d50500f58a0f0587ddc7bdf3e32e86a6cd7b4ef6703648cba28aeaaf4bdab7"
25-
sha256 cellar: :any, ventura: "e99a3b2db5ec23401d94849dac5fcbf501e55109ef346dc5a510690bfb1dd6ca"
26-
sha256 cellar: :any_skip_relocation, x86_64_linux: "ba3c74973a7d3e40cb161e765fd6acf50b054a5e33aabcad97322c0ff21d0508"
21+
rebuild 1
22+
sha256 cellar: :any, arm64_sequoia: "e0d0967fd9746a2b4866622e6e1a603accab12c5113c2bf06c9bdb61d5a3f318"
23+
sha256 cellar: :any, arm64_sonoma: "f81c1d6f84a2806042817aa10c4a8037f6dc2304ffe788c2f9f64f47dead2758"
24+
sha256 cellar: :any, arm64_ventura: "157562e3fe8a69faa47ccbe88e4e6464f5038efc36fd5ccbcd0ee446d5cd7fb8"
25+
sha256 cellar: :any, sonoma: "711446bd9f39dd76631ae83263e4f35283dedd4fdea125527dcea1abae89dea1"
26+
sha256 cellar: :any, ventura: "8ddfe99bddc8df0ae446df70fd3495d4b272d1ae6aac391367748409c39fbce5"
27+
sha256 cellar: :any_skip_relocation, x86_64_linux: "5c06871e41efc59d2d71452437236586d7bee1c8a2efce4d539e650008ff341f"
2728
end
2829

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

222-
ENV["NODE_OPTIONS"] = "--no-experimental-fetch"
223-
224223
(testpath/"test.c").write <<~C
225224
#include <stdio.h>
226225
int main()

Formula/n/node.rb

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Node < Formula
22
desc "Platform built on V8 to build network applications"
33
homepage "https://nodejs.org/"
4-
url "https://nodejs.org/dist/v22.10.0/node-v22.10.0.tar.xz"
5-
sha256 "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0"
4+
url "https://nodejs.org/dist/v23.1.0/node-v23.1.0.tar.xz"
5+
sha256 "57cbfd3dd51f9300ea2b8e60a8ed215b1eaa71fbde4c3903a7d31a443a4a4423"
66
license "MIT"
77
head "https://github.com/nodejs/node.git", branch: "main"
88

@@ -12,12 +12,12 @@ class Node < Formula
1212
end
1313

1414
bottle do
15-
sha256 arm64_sequoia: "8873a7d069ab23b64ae759a120aad341efc70d52d40ae7f516929749c989ab32"
16-
sha256 arm64_sonoma: "b720787c6a939c9297b3bb2afed61f7575320d0f96b19e80326e1d1c64742a8b"
17-
sha256 arm64_ventura: "cebda79d7078e012a35c515b596f5751d06cfe473ff0b6e4d12a0690698196c0"
18-
sha256 sonoma: "ee69651ab2feba623a36be22e913a3f2d1b7b62221606407e5cbfe1f9e24a350"
19-
sha256 ventura: "c41631ba7b8183681ca13c2259f20223b448f050103174d5bd8a4acec033fa06"
20-
sha256 x86_64_linux: "1dbea0b65a46aedeeeb95d766c4754fa4bbe214d162e0ea58c0f6396bd67da6b"
15+
sha256 arm64_sequoia: "5824a64a342860ad4ac5b18176aaa2814895cfbe4e8cd80542153c2ad9eb16b0"
16+
sha256 arm64_sonoma: "ca3540c4cb81d2f0fef4780561947dad31659e5dc4fafbbce369727d6a69e98c"
17+
sha256 arm64_ventura: "662948dd51379a9d7c41a3e2899f00269a14b80f4183d821b208f4b203b6b09a"
18+
sha256 sonoma: "30b416b36b2a01b1678ce99fb76616433a0b7fdbd5654222cff058c55018c7e7"
19+
sha256 ventura: "741dc0fa1a33104d0fb69a28cf10b25c9672edb78bc2d68f81001c41a799dd03"
20+
sha256 x86_64_linux: "8eea14e17b67e32f59325d0c61d904fc0f69d255854edb7d8ae7117cc8dc1126"
2121
end
2222

2323
depends_on "pkg-config" => :build
@@ -66,7 +66,6 @@ def install
6666
args = %W[
6767
--prefix=#{prefix}
6868
--without-npm
69-
--without-corepack
7069
--with-intl=system-icu
7170
--shared-libuv
7271
--shared-nghttp2
@@ -169,7 +168,7 @@ def post_install
169168
assert_predicate HOMEBREW_PREFIX/"bin/npm", :executable?, "npm must be executable"
170169
npm_args = ["-ddd", "--cache=#{HOMEBREW_CACHE}/npm_cache", "--build-from-source"]
171170
system HOMEBREW_PREFIX/"bin/npm", *npm_args, "install", "npm@latest"
172-
system HOMEBREW_PREFIX/"bin/npm", *npm_args, "install", "ref-napi"
171+
system HOMEBREW_PREFIX/"bin/npm", *npm_args, "install", "nan"
173172
assert_predicate HOMEBREW_PREFIX/"bin/npx", :exist?, "npx must exist"
174173
assert_predicate HOMEBREW_PREFIX/"bin/npx", :executable?, "npx must be executable"
175174
assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx --yes cowsay hello")

0 commit comments

Comments
 (0)