From: Enrico Scholz Date: Thu, 19 May 2022 10:05:54 +0000 (+0200) Subject: npm: disable 'audit' + 'fund' X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3779 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a09a50bbe4c258ad6dc80889b0a9d2e5f554675;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git npm: disable 'audit' + 'fund' 'audit' can cause extra network traffic; 'fund' is not needed. Signed-off-by: Enrico Scholz Signed-off-by: Richard Purdie --- diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index c180804e0e9..3ab67769e11 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/npm.bbclass @@ -53,6 +53,8 @@ def npm_global_configs(d): # Ensure no network access is done configs.append(("offline", "true")) configs.append(("proxy", "http://invalid")) + configs.append(("funds", False)) + configs.append(("audit", False)) # Configure the cache directory configs.append(("cache", d.getVar("NPM_CACHE"))) return configs