Score:2

How can I get rid of "New minor version of npm available" on using npm?

cn flag

Every single time I use npm it asks me to upgrade its minor version.

For example spam that I received on upgrading mapshaper:

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice 
npm notice New minor version of npm available! 7.7.6 -> 7.20.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.20.1
npm notice Run npm install -g [email protected] to update!
npm notice 

all of that is unnecessary for me and I would prefer to hide it (for funding messages see this stackoverflow question). Especially "New minor version of npm available" as new version seems to appear every single week (more often that I use npm)

I know about npm config set update-notifier false but it is a bit of nuclear solution, likely also major versions and serious security issues will not be mentioned.

Vipulw avatar
im flag
Were you able to resolve this and how ?
reducing activity avatar
cn flag
@Vipulw As usual with `npm` - there is no reliable way to stop spammy notifications and get actually important ones. I think that I went for hammer and used `npm config set update-notifier false` and killed everything.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.