aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/node.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 770182ec4..093c2a87b 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -31,8 +31,8 @@ class Node < Formula
end
resource "npm" do
- url "https://registry.npmjs.org/npm/-/npm-2.7.5.tgz"
- sha256 "44f236437777bcb27d8be887674754899437685303cc7d666427053e74c51f6f"
+ url "https://registry.npmjs.org/npm/-/npm-2.7.6.tgz"
+ sha256 "a9445167f68a42ffcdaa36f9f5c14a954237fce6898555c362e8785261fd72a1"
end
def install
@@ -105,13 +105,7 @@ class Node < Formula
def caveats
s = ""
- if build.with? "npm"
- s += <<-EOS.undent
- If you update npm itself, do NOT use the npm update command.
- The upstream-recommended way to update npm is:
- npm install -g npm@latest
- EOS
- else
+ if build.without? "npm"
s += <<-EOS.undent
Homebrew has NOT installed npm. If you later install it, you should supplement
your NODE_PATH with the npm module folder: