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

deno 1.31.2 #125299

Closed
wants to merge 2 commits into from
Closed
Changes from all 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
16 changes: 8 additions & 8 deletions Formula/deno.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Deno < Formula
desc "Secure runtime for JavaScript and TypeScript"
homepage "https://deno.land/"
url "https://github.com/denoland/deno/releases/download/v1.31.1/deno_src.tar.gz"
sha256 "d39666180142d936e187c9eb9e2037e1db246c387b0d50ad2d7fed37271856ba"
url "https://github.com/denoland/deno/releases/download/v1.31.2/deno_src.tar.gz"
sha256 "09f84d841e83cd3e22ccfe320097857da8aa908030409d48034377b81850de76"
license "MIT"
head "https://github.com/denoland/deno.git", branch: "main"

Expand Down Expand Up @@ -38,18 +38,18 @@ class Deno < Formula
# We use the crate as GitHub tarball lacks submodules and this allows us to avoid git overhead.
# TODO: Remove this and `v8` resource when https://github.com/denoland/rusty_v8/issues/1065 is resolved
resource "rusty-v8" do
url "https://static.crates.io/crates/v8/v8-0.63.0.crate"
sha256 "547e58962ac268fe0b1fbfb653ed341a08e3953994f7f7c978e46ec30afdf8f0"
url "https://static.crates.io/crates/v8/v8-0.64.0.crate"
sha256 "a2287b485fa902172da3722d7e557e083afd63921777e0c6e5c0fba28e6d59d3"
end

resource "v8" do
url "https://github.com/denoland/v8/archive/d2bc1d933bfcbb9f0641b8cfd4a38692e4f005bc.tar.gz"
sha256 "6aabe19d3181504fc55339a0072c214b8053c1405a8ee621be9a268ac309f503"
url "https://github.com/denoland/v8/archive/8873f389ceaff538e4a7b857089c096529f0cf25.tar.gz"
sha256 "7d00e62556c2ce9667a5f47dddcf31c9176dcefe4c9fb993f4ec87c8016e5307"
end

# To find the version of gn used:
# 1. Find v8 version: https://github.com/denoland/deno/blob/v#{version}/Cargo.toml#L43
# 2. Find ninja_gn_binaries tag: https://github.com/denoland/rusty_v8/tree/v#{v8_version}/tools/ninja_gn_binaries.py
# 1. Find v8 version: https://github.com/denoland/deno/blob/v#{version}/Cargo.toml#L46
# 2. Find ninja_gn_binaries tag: https://github.com/denoland/rusty_v8/tree/v#{v8_version}/tools/ninja_gn_binaries.py#L21
# 3. Find short gn commit hash from commit message: https://github.com/denoland/ninja_gn_binaries/tree/#{ninja_gn_binaries_tag}
# 4. Find full gn commit hash: https://gn.googlesource.com/gn.git/+/#{gn_commit}
resource "gn" do
Expand Down