<commit_before>class Deno < Formula
  desc "Secure runtime for JavaScript and TypeScript"
  homepage "https://deno.land/"
  url "https://github.com/denoland/deno/releases/download/v1.1.1/deno_src.tar.gz"
  sha256 "9e6d329097e17c3a3d330437a999f6869eae502c2b8bdcf719f60cd0445c0639"

  bottle do
    cellar :any_skip_relocation
    sha256 "73ba4ae67fded4e9c2ecd30a20c35b2d26f452fe18fc70db705a496f741e8ea0" => :catalina
    sha256 "3ece0737d9fb0bff46973ff2447782164e99ae64d250f5505e0c6071edd7667e" => :mojave
    sha256 "041aa020f7e071abd18d1fa8fb2760f4c700560752a9e5425b1e0d69ec34ad43" => :high_sierra
  end

  depends_on "llvm" => :build
  depends_on "ninja" => :build
  depends_on "rust" => :build
  depends_on :xcode => ["10.0", :build] # required by v8 7.9+
  depends_on :macos # Due to Python 2 (see https://github.com/denoland/deno/issues/2893)

  uses_from_macos "xz"

  resource "gn" do
    url "https://gn.googlesource.com/gn.git",
      :revision => "5ed3c9cc67b090d5e311e4bd2aba072173e82db9"
  end

  def install
    # Build gn from source (used as a build tool here)
    (buildpath/"gn").install resource("gn")
    cd "gn" do<commit_msg>deno: update 1.1.1 bottle.<commit_after>class Deno < Formula
  desc "Secure runtime for JavaScript and TypeScript"
  homepage "https://deno.land/"
  url "https://github.com/denoland/deno/releases/download/v1.1.1/deno_src.tar.gz"
  sha256 "9e6d329097e17c3a3d330437a999f6869eae502c2b8bdcf719f60cd0445c0639"

  bottle do
    cellar :any_skip_relocation
    sha256 "c7b756f09585f7dbd285169959f9821af27231c5b564244dd96c7a05f0275dc3" => :catalina
    sha256 "a063bf40ac223fc2f182ed34a3f59e9babee5b1a93904caf2fc2b6165c91dc4e" => :mojave
    sha256 "9376858c8df97a1d69ebf2af7397d22c2c49e738cf579d7720f41a54b2c8f061" => :high_sierra
  end

  depends_on "llvm" => :build
  depends_on "ninja" => :build
  depends_on "rust" => :build
  depends_on :xcode => ["10.0", :build] # required by v8 7.9+
  depends_on :macos # Due to Python 2 (see https://github.com/denoland/deno/issues/2893)

  uses_from_macos "xz"

  resource "gn" do
    url "https://gn.googlesource.com/gn.git",
      :revision => "5ed3c9cc67b090d5e311e4bd2aba072173e82db9"
  end

  def install
    # Build gn from source (used as a build tool here)
    (buildpath/"gn").install resource("gn")
    cd "gn" do
{'fraction_non_alphanumeric': 0.10672451193058569, 'fraction_numerical': 0.18481561822125814, 'mean_word_length': 4.665847665847666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1624788', 'n_tokens_mistral': 1217, 'n_tokens_neox': 1009, 'n_words': 166}