[RRFC] Add feature to suppress minor version changes from update-notifier

Open
#859 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
cli

Research direction

No implementation files or tests are named. Start by reviewing the npm update-notifier configuration described in the linked npm documentation and determine how major, minor, and security notices should be represented instead of the current boolean. Done means producing an agreed RFC for the configuration behavior and its update-notifier scope.

Written by the indexing model from the issue text.

Description

There should be a way to suppress minor version update notices. Currently, there is only a on/off solution; but this does not allow for those of us who want major and security updates to receive notices.

Motivation ("The Why")

I want to receive notices about major and security updates to NPM. I don't however need to update for each minor update.

How
Current Behaviour

The current configuration flag is a boolean that determines if an update is checked at all.

Desired Behaviour

Update to the configuration flag from a simple boolean to allow silencing other types of update notices.

References

https://askubuntu.com/questions/1354076/how-can-i-get-rid-of-new-minor-version-of-npm-available-on-using-npm
https://docs.npmjs.com/cli/v8/using-npm/config#update-notifier

Dominant language
JavaScript
Stars
777
Forks
267
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from npm/rfcs

All issues in npm/rfcs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.