Npm-check-updates: Wrong color, patch update shows in red instead of green

Created on 21 Apr 2019  路  2Comments  路  Source: raineorshine/npm-check-updates

  • [x] I have read the list of known issues before filing this issue.
  • [x] I have searched for similiar issues before filing this issue.

  • node version: 11.5.0

  • npm version: 6.9.0
  • npm-check-updates version: 3.1.8

Hey, just a small issue I ran into, here marked shows a patch update but it's shown in red color (which should only happen for major updates)

Screenshot 2019-04-21 at 19 08 56

I tried to make an empty new project, install only marked 0.6.0 and then run ncu the result is the same.

It's a small thing but I figured I'd let you know.

Most helpful comment

"Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.". Hence every major version 0 is marked red because it's potentially a breaking change. Might be worth mentioning in the README though.

All 2 comments

"Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.". Hence every major version 0 is marked red because it's potentially a breaking change. Might be worth mentioning in the README though.

@stoically Ohh ok that makes sense. Yeah I think this should be mentioned somewhere.

Thanks for the clarification!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dereklin picture dereklin  路  6Comments

vayurobins picture vayurobins  路  5Comments

benface picture benface  路  7Comments

Eschon picture Eschon  路  7Comments

JanWeskamp picture JanWeskamp  路  3Comments