-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated packages are not highlighted anymore #109
Comments
Hey there! |
It looks like a hovering color issue in the IDE. Also, do you see the warnings/errors icons on the top right corner of the opened package.json file? As for the status bar, is it enabled in the plugin settings? Didn’t you hide it from the WebStorm UI? (You can right click any status bar item and check if my plugin name is ticked or not) |
That’s from the IDE, however it’s doesn’t seem to be the same kind of warning than the one I use (I use a regular warning, this one seems to be a security warning, which doesn’t have the same color afaik) |
For deprecations, I’m using an highlight severity of For updates, I’m using an highlight severity and an highlight type of both |
Also, did your overall issue happened after an upgrade of WS/my plugin or randomly after a WS restart? |
It has been happening for a few days, I just started doing some updates recently and immediately noticed that feature was missing. Then I reset settings, reinstalled the plugin, reset cache etc. to try and make it work again. |
I think you may be right, warnings are not shown in all cases even though I have them enabled. I will write to jetbrains about this. |
I'll try once I'm home to reproduce your issue and indicate precisely which setting does affect the highlighting color for updates, even though it seems to be working fine in your setup. I don't manage that from the plugin, the color highlighting is made by the IDE from the parameters I tell it to use so I doubt I can do anything about your issue, though I'll try my best to give you the best diagnostic I can. |
No worries take your time. On another note, the plugin it just crashed, heres the trace:
|
Looks like a bug in the Semver lib I use: can you send me your |
hmm, unfortunately I can't share it all it as its a private repo, but I disabled sections of it. Surprisingly, a popular one is the issue, commenting this it makes the plugin work again: "styled-components": "5.3.8", |
Alright I'm gonna try to reproduce that with this line and send the report, thanks! |
thanks for taking the time to find the issue! have an easy weekend! |
Your highlighting issue is not solved! ^^ The parsing crash is just another thing |
Oh!!! But how on earth were some deps Anyway, glad we found the cause: reporting that when I get home :) |
@nutzaalex FYI: semver4j/semver4j#264 (NPM packages must really stop creating such Semver monstrosities) |
What is the issue?
In the past, i used to see a warning underline under outdated packages in package.json in webstorm. This is no longer the case, I now see only vulnerabilities.
What are the steps to reproduce this issue?
It seems to simply happen in webstorm, I reverted to factory settings thinking I may have some other settings that are interfering, but I cannot get it to highlight outdated packages anymore. need to hover the mouse over each one to check if there is an update.
What were you expecting to happen?
As before, a warning underline highlighting the outdated packages.
Paste any relevant logs, error output, etc.
No response
What OS are you experiencing the problem on?
macOS
Additional platform information
WebStorm 2024.1.3
Build #WS-241.17011.90, built on May 23, 2024
Macbook pro M2 pro chip macos sonoma 14.5
Duplicates
The text was updated successfully, but these errors were encountered: