From 56fd254a356ca6f0bab22403b1f111f3484b9dea Mon Sep 17 00:00:00 2001 From: Corentin Mors Date: Thu, 21 Nov 2024 11:08:41 +0100 Subject: [PATCH] Update dashlane-cli to 6.2447.0 Signed-off-by: Corentin Mors --- Formula/dashlane-cli.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Formula/dashlane-cli.rb b/Formula/dashlane-cli.rb index 7608573..c45e100 100644 --- a/Formula/dashlane-cli.rb +++ b/Formula/dashlane-cli.rb @@ -3,8 +3,8 @@ class DashlaneCli < Formula desc "Command-line interface for Dashlane" homepage "https://dashlane.com" - url "https://github.com/Dashlane/dashlane-cli/archive/refs/tags/v6.2436.0.tar.gz" - sha256 "1e9e0a44b3630ffa288166f16c7f2447620f6c077bf4663bec4c856edaa91b39" + url "https://github.com/Dashlane/dashlane-cli/archive/refs/tags/v6.2447.0.tar.gz" + sha256 "42784a46f661c5b8e9085bd7717dcb4ddb2fbef3e89b0c80db3fcd73da8d3d81" license "Apache-2.0" livecheck do @@ -14,7 +14,7 @@ class DashlaneCli < Formula option "with-corepack", "Use yarn from corepack instead of installing it" - depends_on "node@18" => :build + depends_on "node@22" => :build # Needed for node-gyp packages depends_on "python" => :build @@ -32,12 +32,12 @@ def install ENV["COMMIT_HASH"] = "c377153edeacd7a328204fd73cad8a825f228cc3" Language::Node.setup_npm_environment platform = OS.linux? ? "linux" : "macos" - system "yarn", "set", "version", "4.2.2" + system "yarn", "set", "version", "4.5.1" system "yarn", "install", "--frozen-lockfile" system "yarn", "run", "build" system "yarn", "workspaces", "focus", "--production" - system "yarn", "dlx", "@yao-pkg/pkg@5.12.0", "./dist", - "-t", "node18-#{platform}-#{Hardware::CPU.arch}", "-o", "bin/dcli", + system "yarn", "dlx", "@yao-pkg/pkg@6.1.1", "./dist", + "-t", "node22-#{platform}-#{Hardware::CPU.arch}", "-o", "bin/dcli", "--no-bytecode", "--public", "--public-packages", "tslib,thirty-two,node-hkdf-sync,vows" bin.install "bin/dcli" end