diff --git a/Formula/vercel-cli.rb b/Formula/vercel-cli.rb index 7a71414f309..55863e2cb29 100644 --- a/Formula/vercel-cli.rb +++ b/Formula/vercel-cli.rb @@ -3,8 +3,8 @@ require "language/node" class VercelCli < Formula desc "Command-line interface for Vercel" homepage "https://vercel.com/home" - url "https://registry.npmjs.org/vercel/-/vercel-27.2.0.tgz" - sha256 "37826adcef81e6afbcee3a0795d8d305d9cb974ed19407e5e3cee5ac8ec3e928" + url "https://registry.npmjs.org/vercel/-/vercel-27.3.1.tgz" + sha256 "d88905168ada459deba588e0715620fb1379e582f12612d3ae5410b6f154717f" license "Apache-2.0" bottle do @@ -24,8 +24,8 @@ class VercelCli < Formula def install rm Dir["dist/{*.exe,xsel}"] - inreplace "dist/index.js", "exports.default = getUpdateCommand", - "exports.default = async()=>'brew upgrade vercel-cli'" + inreplace "dist/index.js", "= getUpdateCommand", + "= async()=>'brew upgrade vercel-cli'" system "npm", "install", *Language::Node.std_npm_install_args(libexec) bin.install_symlink Dir["#{libexec}/bin/*"]