From 0518e342b492856cd0493214f31401bd73b73b63 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Wed, 18 Aug 2021 20:19:11 +0800 Subject: [PATCH] webpack: remove from universal binary allowlist (#83478) --- Formula/webpack.rb | 3 +++ audit_exceptions/universal_binary_allowlist.json | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Formula/webpack.rb b/Formula/webpack.rb index a072e03ae7f..498da2fe5b4 100644 --- a/Formula/webpack.rb +++ b/Formula/webpack.rb @@ -42,6 +42,9 @@ class Webpack < Formula bin.install_symlink libexec/"bin/webpack-cli" bin.install_symlink libexec/"bin/webpack-cli" => "webpack" + + # Replace universal binaries with their native slices + deuniversalize_machos end test do diff --git a/audit_exceptions/universal_binary_allowlist.json b/audit_exceptions/universal_binary_allowlist.json index 20d991420af..c012372ece1 100644 --- a/audit_exceptions/universal_binary_allowlist.json +++ b/audit_exceptions/universal_binary_allowlist.json @@ -20,6 +20,5 @@ "openjdk", "openjdk@11", "serverless", - "sourcery", - "webpack" + "sourcery" ]