Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node 17.1.0 #89068

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions Formula/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/v17.0.1/node-v17.0.1.tar.xz"
sha256 "6ec480f872cb7c34877044985e3d7bd89329ace5b8e2ad90b57980601786341c"
url "https://nodejs.org/dist/v17.1.0/node-v17.1.0.tar.xz"
sha256 "6b803f37eb92b009f9162a489d647611aa95393e488fff0fc4fd8efd2effcac7"
license "MIT"
head "https://github.com/nodejs/node.git", branch: "master"

Expand All @@ -22,13 +22,13 @@ class Node < Formula
end

depends_on "pkg-config" => :build
depends_on "[email protected]" => :build
depends_on "brotli"
depends_on "c-ares"
depends_on "icu4c"
depends_on "libnghttp2"
depends_on "libuv"
depends_on "[email protected]"
depends_on "[email protected]"
depends_on "openssl@3"

uses_from_macos "zlib"

Expand All @@ -38,6 +38,7 @@ class Node < Formula

on_linux do
depends_on "gcc"
depends_on "[email protected]"
tuzi3040 marked this conversation as resolved.
Show resolved Hide resolved
end

fails_with :clang do
Expand All @@ -52,8 +53,8 @@ class Node < Formula
# We track major/minor from upstream Node releases.
# We will accept *important* npm patch releases when necessary.
resource "npm" do
url "https://registry.npmjs.org/npm/-/npm-8.1.0.tgz"
sha256 "301ddf6bdbd6f6abb36de144902914c6bb4d6f7463758774fdd0a9ee7c597d34"
url "https://registry.npmjs.org/npm/-/npm-8.1.2.tgz"
sha256 "fd2ae0667209ab7110804be2009cfe59997e90c9e18545189e61552861661cfe"
end

def install
Expand All @@ -79,8 +80,8 @@ def install
--shared-libuv-libpath=#{Formula["libuv"].lib}
--shared-nghttp2-includes=#{Formula["libnghttp2"].include}
--shared-nghttp2-libpath=#{Formula["libnghttp2"].lib}
--shared-openssl-includes=#{Formula["openssl@1.1"].include}
--shared-openssl-libpath=#{Formula["openssl@1.1"].lib}
--shared-openssl-includes=#{Formula["openssl@3"].include}
--shared-openssl-libpath=#{Formula["openssl@3"].lib}
--shared-brotli-includes=#{Formula["brotli"].include}
--shared-brotli-libpath=#{Formula["brotli"].lib}
--shared-cares-includes=#{Formula["c-ares"].include}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[
"anjuta",
"anime-downloader",
"emscripten",
"fdroidserver",
"hive",
"joplin-cli",
"jupyterlab",
"lanraragi",
tuzi3040 marked this conversation as resolved.
Show resolved Hide resolved
"predictionio",
"sqoop",
"visp"
Expand Down