summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-10-22 09:46:11 +0200
committernicolargo <nicolas@nicolargo.com>2022-10-22 09:46:11 +0200
commita4105ee6e89e3546477c6c40f0b8406321fd6b1b (patch)
tree19339d8e0dcacd7034a783866af43368da66069d /Makefile
parent1697eca9bd3d22767a43864ef84fc624b2e45c9f (diff)
Correct minimatch ReDoS vulnerability
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dc25c1b3..16573164 100644
--- a/Makefile
+++ b/Makefile
@@ -101,6 +101,9 @@ webui: venv-dev-upgrade ## Build the Web UI
webui-audit: venv-dev-upgrade ## Audit the Web UI
cd glances/outputs/static/ && npm audit
+webui-audit-fix: venv-dev-upgrade ## Fix audit the Web UI
+ cd glances/outputs/static/ && npm audit fix && npm ci && npm run build
+
# ===================================================================
# Packaging
# ===================================================================