From 1cdb43098afe06d29939cefb62fafa1d3361d7f6 Mon Sep 17 00:00:00 2001 From: Christian Moritz Date: Tue, 31 Oct 2017 20:24:55 +0100 Subject: [PATCH 1/3] node 8.9.0 --- Formula/node.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Formula/node.rb b/Formula/node.rb index 4727c7319f69..6f56c12e9261 100644 --- a/Formula/node.rb +++ b/Formula/node.rb @@ -1,8 +1,8 @@ class Node < Formula desc "Platform built on V8 to build network applications" homepage "https://nodejs.org/" - url "https://nodejs.org/dist/v8.8.1/node-v8.8.1.tar.xz" - sha256 "5ce2c47ab779992db49942f757a01cc5131db5cef4e0dd270e48151b0887b57a" + url "https://nodejs.org/dist/v8.9.0/node-v8.9.0.tar.xz" + sha256 "ae8258f89e127a76d4b4aff6fdb8dc395b7da0069cba054b913dfc36b3c91189" head "https://github.com/nodejs/node.git" bottle do @@ -35,8 +35,8 @@ class Node < Formula # We track major/minor from upstream Node releases. # We will accept *important* npm patch releases when necessary. resource "npm" do - url "https://registry.npmjs.org/npm/-/npm-5.4.2.tgz" - sha256 "04dc5f87b1079d59d51404d4b4c4aacbe385807a33bd15a8f2da2fabe27bf443" + url "https://registry.npmjs.org/npm/-/npm-5.5.1.tgz" + sha256 "b8b9afb0bb6211a289f969f66ba184ca5bc83abf6a570e0853ea5185073dca6f" end def install @@ -144,7 +144,7 @@ def caveats system "#{HOMEBREW_PREFIX}/bin/npm", *npm_args, "install", "bignum" unless head? assert_predicate HOMEBREW_PREFIX/"bin/npx", :exist?, "npx must exist" assert_predicate HOMEBREW_PREFIX/"bin/npx", :executable?, "npx must be executable" - assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx --cache=#{HOMEBREW_CACHE}/npm_cache cowsay hello") + assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx cowsay hello") end end end From 6deb6c916931661d6b940c75d64551b4ec7f5abe Mon Sep 17 00:00:00 2001 From: Christian Moritz Date: Tue, 31 Oct 2017 20:25:31 +0100 Subject: [PATCH 2/3] node@6: update npm to 5.5.1 --- Formula/node@6.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/node@6.rb b/Formula/node@6.rb index c06f50d014cf..aff1a4b4a650 100644 --- a/Formula/node@6.rb +++ b/Formula/node@6.rb @@ -33,8 +33,8 @@ class NodeAT6 < Formula # Keep in sync with main node formula resource "npm" do - url "https://registry.npmjs.org/npm/-/npm-5.4.2.tgz" - sha256 "04dc5f87b1079d59d51404d4b4c4aacbe385807a33bd15a8f2da2fabe27bf443" + url "https://registry.npmjs.org/npm/-/npm-5.5.1.tgz" + sha256 "b8b9afb0bb6211a289f969f66ba184ca5bc83abf6a570e0853ea5185073dca6f" end resource "icu4c" do @@ -166,7 +166,7 @@ def caveats system "#{HOMEBREW_PREFIX}/bin/npm", *npm_args, "install", "bignum" unless head? assert_predicate HOMEBREW_PREFIX/"bin/npx", :exist?, "npx must exist" assert_predicate HOMEBREW_PREFIX/"bin/npx", :executable?, "npx must be executable" - assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx --cache=#{HOMEBREW_CACHE}/npm_cache cowsay hello") + assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx cowsay hello") end end end From 81c45c3fe181d1fac3fa3bee6a8949f676eb5797 Mon Sep 17 00:00:00 2001 From: Christian Moritz Date: Tue, 31 Oct 2017 20:25:43 +0100 Subject: [PATCH 3/3] node@4: update npm to 5.5.1 --- Formula/node@4.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/node@4.rb b/Formula/node@4.rb index 3ee1ec25713a..1facf5c78e16 100644 --- a/Formula/node@4.rb +++ b/Formula/node@4.rb @@ -24,8 +24,8 @@ class NodeAT4 < Formula # Keep in sync with main node formula resource "npm" do - url "https://registry.npmjs.org/npm/-/npm-5.4.2.tgz" - sha256 "04dc5f87b1079d59d51404d4b4c4aacbe385807a33bd15a8f2da2fabe27bf443" + url "https://registry.npmjs.org/npm/-/npm-5.5.1.tgz" + sha256 "b8b9afb0bb6211a289f969f66ba184ca5bc83abf6a570e0853ea5185073dca6f" end resource "icu4c" do @@ -145,7 +145,7 @@ def caveats system "#{HOMEBREW_PREFIX}/bin/npm", *npm_args, "install", "bignum" unless head? assert_predicate HOMEBREW_PREFIX/"bin/npx", :exist?, "npx must exist" assert_predicate HOMEBREW_PREFIX/"bin/npx", :executable?, "npx must be executable" - assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx --cache=#{HOMEBREW_CACHE}/npm_cache cowsay hello") + assert_match "< hello >", shell_output("#{HOMEBREW_PREFIX}/bin/npx cowsay hello") end end end