Bug in npm badges
See original GitHub issueAgain. 😄
@babel/core
is cyan, but shouldn’t be, because it is latest
.
The cyan should be only if non-latest dist-tag is passed, no matter it is scoped or not.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
npm dev dependency version badge not working with scoped ...
The reason this isn't working is because you're missing the user/org of the repo. I think you're trying to do this:.
Read more >gh-badges - npm
Start using gh-badges in your project by running `npm i gh-badges`. ... gh-badges will no longer receive fixes for bugs or security issues....
Read more >Last commit status "NOT RUN" with badge is "FAILED" for npm ...
Hi everyone! I have a bit problem in the badge status. I'm not sure if it is a bug or an improvement, but...
Read more >loggin-js-badges - npm Package Health Analysis | Snyk
Learn more about loggin-js-badges: package health score, popularity, security, ... Ensure you're using the healthiest npm packages ... Found a bug?
Read more >Gh-badges NPM | npm.io
Check Gh-badges 2.2.2 package - Last release 2.2.2 with CC0-1.0 licence at our NPM ... gh-badges will no longer receive fixes for bugs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Babel is specific case, that was said…
But i won’t continue, cuz i’m seeing that other 👍 all the time, so i will fold that. ;/
Consider
@babel/core
’s case, I thinklatest
doesn’t always mean “stable” or “best” (maybe “recommended”?).In our cases, the cyan color doesn’t (shouldn’t) mean stable or unstable, just like the orange doesn’t say it’s unstable (we use a lot
0.x
packages in production).semColor()
is meant to reflect semver’s convention:If there’s a platform specific case, it should be handled in services’s live function, other than
semColor()
.