1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/npm/dont-check-for-last-version.patch
Craig Andrews 08937d2713 community/npm: upgrade to 11.2.0
Signed-off-by: Craig Andrews <candrews@integralblue.com>
2025-05-01 17:17:40 +00:00

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