<commit_before>class NodeSass < Formula
  require "language/node"

  desc "JavaScript implementation of a Sass compiler"
  homepage "https://github.com/sass/dart-sass"
  url "https://registry.npmjs.org/sass/-/sass-1.26.7.tgz"
  sha256 "9292dc31cb65b88bb732e94bf8f534e14df2d8a190127eada848d4e85a0b6f77"

  bottle do
    cellar :any_skip_relocation
    sha256 "6502fb14be008a853a169e87f9e5eafe9a8ec7fd2eddbb6a968ae2e431689c79" => :catalina
    sha256 "be9030689da502229de35b479b8bca94f5b4a27d3656c6d90a3bcf15f8029eb2" => :mojave
    sha256 "b369e45d35e36e760243bfaa3679b81f60ddd3cdc599ca2f976fc2b47fd55e17" => :high_sierra
  end

  depends_on "node"

  # waiting for pull request at #47438
  # conflicts_with "dart-sass", :because => "both install a `sass` binary"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    (testpath/"test.scss").write <<~EOS
      div {
        img {
          border: 0px;
        }
      }
    EOS

    assert_equal "div img{border:0px}",
    shell_output("#{bin}/sass --style=compressed test.scss").strip
  end
end<commit_msg>node-sass: update 1.26.7 bottle.<commit_after>class NodeSass < Formula
  require "language/node"

  desc "JavaScript implementation of a Sass compiler"
  homepage "https://github.com/sass/dart-sass"
  url "https://registry.npmjs.org/sass/-/sass-1.26.7.tgz"
  sha256 "9292dc31cb65b88bb732e94bf8f534e14df2d8a190127eada848d4e85a0b6f77"

  bottle do
    cellar :any_skip_relocation
    sha256 "d58b344b5a04e6389a1ffece4bf7813148b155a793cdb5aff7c431699bfd6cf1" => :catalina
    sha256 "3f70fe6fc85d07467f9a030c78974ceb1a2732d3408012991784007d9b851607" => :mojave
    sha256 "6e85a4bb7e5dfbd68ac1ae4ca48ffe2770a167f38cc19d8f723a2560fba12d29" => :high_sierra
  end

  depends_on "node"

  # waiting for pull request at #47438
  # conflicts_with "dart-sass", :because => "both install a `sass` binary"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    (testpath/"test.scss").write <<~EOS
      div {
        img {
          border: 0px;
        }
      }
    EOS

    assert_equal "div img{border:0px}",
    shell_output("#{bin}/sass --style=compressed test.scss").strip
  end
end
{'fraction_non_alphanumeric': 0.1088348271446863, 'fraction_numerical': 0.15450277422108408, 'mean_word_length': 4.030042918454936, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1314929', 'n_tokens_mistral': 1162, 'n_tokens_neox': 965, 'n_words': 150}