blob: d2b59819c187e62575cb2707aadcccb02e6aa736 (
plain)
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
@@ -34,6 +34,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) ||
|