<commit_before>require "language/node"

class BitwardenCli < Formula
  desc "Secure and free password manager for all of your devices"
  homepage "https://bitwarden.com/"
  url "https://registry.npmjs.org/@bitwarden/cli/-/cli-2022.6.1.tgz"
  sha256 "9e6395c7f8504f2a517d59a8ee4ba763158fe3971b1dba2edf5c59fe2c814889"
  license "GPL-3.0-only"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "06c01cf4f76b5377fc7fa900dd1260e2a8d6986de1af60d67948803186aede14"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "06c01cf4f76b5377fc7fa900dd1260e2a8d6986de1af60d67948803186aede14"
    sha256 cellar: :any_skip_relocation, monterey:       "58561a0f01f85f3e031fe868485a82151be072eab990a648b139e99b72016f1b"
    sha256 cellar: :any_skip_relocation, big_sur:        "58561a0f01f85f3e031fe868485a82151be072eab990a648b139e99b72016f1b"
    sha256 cellar: :any_skip_relocation, catalina:       "58561a0f01f85f3e031fe868485a82151be072eab990a648b139e99b72016f1b"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "06c01cf4f76b5377fc7fa900dd1260e2a8d6986de1af60d67948803186aede14"
  end

  depends_on "node"

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

  test do
    assert_equal 10, shell_output("#{bin}/bw generate --length 10").chomp.length

    output = pipe_output("#{bin}/bw encode", "Testing", 0)
    assert_equal "VGVzdGluZw==", output.chomp
  end
end<commit_msg>bitwarden-cli 2022.6.2<commit_after>require "language/node"

class BitwardenCli < Formula
  desc "Secure and free password manager for all of your devices"
  homepage "https://bitwarden.com/"
  url "https://registry.npmjs.org/@bitwarden/cli/-/cli-2022.6.2.tgz"
  sha256 "9d6f7e3289c1798438079e4f43d479124ff8d345c0675313304af5707c9f7e2a"
  license "GPL-3.0-only"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "06c01cf4f76b5377fc7fa900dd1260e2a8d6986de1af60d67948803186aede14"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "06c01cf4f76b5377fc7fa900dd1260e2a8d6986de1af60d67948803186aede14"
    sha256 cellar: :any_skip_relocation, monterey:       "58561a0f01f85f3e031fe868485a82151be072eab990a648b139e99b72016f1b"
    sha256 cellar: :any_skip_relocation, big_sur:        "58561a0f01f85f3e031fe868485a82151be072eab990a648b139e99b72016f1b"
    sha256 cellar: :any_skip_relocation, catalina:       "58561a0f01f85f3e031fe868485a82151be072eab990a648b139e99b72016f1b"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "06c01cf4f76b5377fc7fa900dd1260e2a8d6986de1af60d67948803186aede14"
  end

  depends_on "node"

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

  test do
    assert_equal 10, shell_output("#{bin}/bw generate --length 10").chomp.length

    output = pipe_output("#{bin}/bw encode", "Testing", 0)
    assert_equal "VGVzdGluZw==", output.chomp
  end
end
{'fraction_non_alphanumeric': 0.08828465928163813, 'fraction_numerical': 0.2326283987915408, 'mean_word_length': 5.850574712643678, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1968753', 'n_tokens_mistral': 1660, 'n_tokens_neox': 1257, 'n_words': 172}