|
1 | 1 | class Node < Formula |
2 | 2 | desc "Platform built on V8 to build network applications" |
3 | 3 | homepage "https://nodejs.org/" |
4 | | - url "https://nodejs.org/dist/v8.8.1/node-v8.8.1.tar.xz" |
5 | | - sha256 "5ce2c47ab779992db49942f757a01cc5131db5cef4e0dd270e48151b0887b57a" |
| 4 | + url "https://nodejs.org/dist/v8.9.0/node-v8.9.0.tar.xz" |
| 5 | + sha256 "ae8258f89e127a76d4b4aff6fdb8dc395b7da0069cba054b913dfc36b3c91189" |
6 | 6 | head "https://github.com/nodejs/node.git" |
7 | 7 |
|
8 | 8 | bottle do |
@@ -35,8 +35,8 @@ class Node < Formula |
35 | 35 | # We track major/minor from upstream Node releases. |
36 | 36 | # We will accept *important* npm patch releases when necessary. |
37 | 37 | resource "npm" do |
38 | | - url "https://registry.npmjs.org/npm/-/npm-5.4.2.tgz" |
39 | | - sha256 "04dc5f87b1079d59d51404d4b4c4aacbe385807a33bd15a8f2da2fabe27bf443" |
| 38 | + url "https://registry.npmjs.org/npm/-/npm-5.5.1.tgz" |
| 39 | + sha256 "b8b9afb0bb6211a289f969f66ba184ca5bc83abf6a570e0853ea5185073dca6f" |
40 | 40 | end |
41 | 41 |
|
42 | 42 | def install |
@@ -144,7 +144,7 @@ def caveats |
144 | 144 | system "#{HOMEBREW_PREFIX}/bin/npm", *npm_args, "install", "bignum" unless head? |
145 | 145 | assert_predicate HOMEBREW_PREFIX/"bin/npx", :exist?, "npx must exist" |
146 | 146 | assert_predicate HOMEBREW_PREFIX/"bin/npx", :executable?, "npx must be executable" |
147 | | - assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx --cache=#{HOMEBREW_CACHE}/npm_cache cowsay hello") |
| 147 | + assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx cowsay hello") |
148 | 148 | end |
149 | 149 | end |
150 | 150 | end |
0 commit comments