From 2859dd5e434d7ec0c1a027ec546a14f678298b92 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Sun, 15 May 2022 22:36:43 +1000 Subject: [PATCH 1/2] node 18.1.0 --- Formula/node.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/node.rb b/Formula/node.rb index 35a82f3204a0d..63f15b6e5e613 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/v18.0.0/node-v18.0.0.tar.xz" - sha256 "344d0e6540b524c69a979ff5c3e78cda7254fd72c03699926beb0b8558b8ce75" + url "https://nodejs.org/dist/v18.1.0/node-v18.1.0.tar.xz" + sha256 "e8b0cc20089e0d7726bc0e921d247f8831263bdba6b5f102bd95ea0f63300b7e" license "MIT" head "https://github.com/nodejs/node.git", branch: "master" @@ -52,8 +52,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-8.6.0.tgz" - sha256 "d1cc0bc97f58f65b4acd8d7bcae71a26bc2849982f1b6a7ede63efbb07f9cd58" + url "https://registry.npmjs.org/npm/-/npm-8.8.0.tgz" + sha256 "95a041f279b0119613a6d5ff3fae4432fc2fa1781a552455725a8288b09848ef" end def install From 948ccd6a2812cd64555e1c538b8dfae81c5e1ae6 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Sun, 15 May 2022 22:37:07 +1000 Subject: [PATCH 2/2] emscripten fix test for node 18 --- Formula/emscripten.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/emscripten.rb b/Formula/emscripten.rb index 4bd54f808e461..776148b269f90 100644 --- a/Formula/emscripten.rb +++ b/Formula/emscripten.rb @@ -179,6 +179,6 @@ def post_install EOS system bin/"emcc", "test.c", "-o", "test.js", "-s", "NO_EXIT_RUNTIME=0" - assert_equal "Hello World!", shell_output("node test.js").chomp + assert_equal "Hello World!", shell_output("node --no-experimental-fetch test.js").chomp end end