aboutsummaryrefslogtreecommitdiffstats
path: root/main/npm/dont-check-for-last-version.patch
blob: 8f08e2236aca3be0d0523b8fe1c12e61580b06ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Don't check for last version

Patch based on https://sources.debian.org/src/npm/7.5.2+ds-2/debian/patches/dont-check-for-last-version.patch

--- a/lib/utils/update-notifier.js
+++ b/lib/utils/update-notifier.js
@@ -40,6 +40,8 @@
 }
 
 const updateNotifier = async (npm, spec = 'latest') => {
+  // XXX-Patched: Maintained by Alpine's package manager
+  return null;
   // never check for updates in CI, when updating npm already, or opted out
   if (!npm.config.get('update-notifier') ||
       isGlobalNpmUpdate(npm) ||