mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
15 lines
565 B
Diff
15 lines
565 B
Diff
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/cli/update-notifier.js
|
|
+++ b/lib/cli/update-notifier.js
|
|
@@ -76,6 +76,8 @@ const updateCheck = async (npm, spec, version, current) => {
|
|
}
|
|
|
|
const updateNotifier = async (npm, spec = '*') => {
|
|
+ // XXX-Patched: Maintained by Alpine's package manager
|
|
+ return null;
|
|
// if we're on a prerelease train, then updates are coming fast
|
|
// check for a new one daily. otherwise, weekly.
|
|
const { version } = npm
|