|
1 | 1 | class CloudflareWrangler < Formula |
2 | 2 | desc "CLI tool for Cloudflare Workers" |
3 | 3 | homepage "https://github.com/cloudflare/workers-sdk" |
4 | | - url "https://registry.npmjs.org/wrangler/-/wrangler-4.50.0.tgz" |
5 | | - sha256 "8882e7c3192137048d2fb368e82622c3c2d62c6fa8e5ad9e53529d1152dfa407" |
| 4 | + url "https://registry.npmjs.org/wrangler/-/wrangler-4.51.0.tgz" |
| 5 | + sha256 "9f4edd8b82e3ca32d8a0cc739017febdf1a6f7de20b23a397600ee6232362096" |
6 | 6 | license any_of: ["Apache-2.0", "MIT"] |
7 | 7 |
|
8 | 8 | bottle do |
9 | | - sha256 cellar: :any, arm64_tahoe: "276698efb3b2032f757046bc8532f09c23bf4c83b135da97382bdc0e4b4e50ae" |
10 | | - sha256 cellar: :any, arm64_sequoia: "694011bd54559763a82749cd4b99a2d1013838d395570f0cd5fccb46c9f61a5d" |
11 | | - sha256 cellar: :any, arm64_sonoma: "694011bd54559763a82749cd4b99a2d1013838d395570f0cd5fccb46c9f61a5d" |
12 | | - sha256 cellar: :any, sonoma: "cf4535e8ef4a387ac5f8c1e97354547033e543641f2b233b47f4ad9a51600e57" |
13 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "a4982cb20f429dcb3f9ee630831dc390cbd417b8320d926e033b63e548d2b43b" |
14 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "90dec54a27bce4387d676c6bd69cb77e26e79f5b3778841f953413184a0a897d" |
| 9 | + sha256 cellar: :any, arm64_tahoe: "2ed8ac3575df109d28a249de1a8f2111bc86b6d14e732185056a7593d9167f8f" |
| 10 | + sha256 cellar: :any, arm64_sequoia: "335e7b29371119eaa141247f92502a0cd0ee21cfbd2a5be64f333aaa531f9a60" |
| 11 | + sha256 cellar: :any, arm64_sonoma: "335e7b29371119eaa141247f92502a0cd0ee21cfbd2a5be64f333aaa531f9a60" |
| 12 | + sha256 cellar: :any, sonoma: "b4857c80e00bb5cc038daaadeaf9a8b1f5d855d640010bcd60f2bf602a048f7c" |
| 13 | + sha256 cellar: :any_skip_relocation, arm64_linux: "90088472507c32e6e2aa7b65f273f0a5c94b8ef85f29d52e685addbb913762f9" |
| 14 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "60c3f4d718e5c66a38ee208a0bf18903819216e6bbc65b04f7766fd5f5c5f3d4" |
15 | 15 | end |
16 | 16 |
|
17 | 17 | depends_on "node" |
18 | 18 |
|
19 | 19 | def install |
20 | 20 | system "npm", "install", *std_npm_args |
21 | 21 | bin.install_symlink Dir["#{libexec}/bin/wrangler*"] |
| 22 | + |
| 23 | + node_modules = libexec/"lib/node_modules/wrangler/node_modules" |
| 24 | + deuniversalize_machos node_modules/"fsevents/fsevents.node" if OS.mac? |
22 | 25 | end |
23 | 26 |
|
24 | 27 | test do |
|
0 commit comments