From 7a09a50bbe4c258ad6dc80889b0a9d2e5f554675 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 19 May 2022 12:05:54 +0200 Subject: npm: disable 'audit' + 'fund' 'audit' can cause extra network traffic; 'fund' is not needed. Signed-off-by: Enrico Scholz Signed-off-by: Richard Purdie --- meta/classes/npm.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index c180804e0e..3ab67769e1 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 -- cgit 1.2.3-korg