-
Notifications
You must be signed in to change notification settings - Fork 913
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
Update jsonwebtoken@9.0.0 #21474
Update jsonwebtoken@9.0.0 #21474
Conversation
Pull Request Test Coverage Report for Build 3762191427
💛 - Coveralls |
Is there a way to update these packages through package.json, such as bumping whatever is bring in these dependencies. Typically it's better to manage the packages that way. |
Agreed, especially for major version updates directly updating the yarn file like this is risky. I'm not even sure how this is working - azurecore/yarn.lock has @azure/msal-node which has a dependency on jsonwebtoken ^8.5.1, which 9.0.0 doesn't satisfy...if you run
|
Found it, I should be adding "resolutions" for major bump :) |
That's still generally just an (unsafe) workaround. If msal-adal expects the package to have a certain API but that's changed in the 9.0 update then it can break - or even worse have some issue that isn't directly apparent but causes unexpected bugs to occur. If there isn't a direct update to msal-adal that we can take the next step would be checking to see if this update is actually required i.e. what is the issue and does it even affect us? If it doesn't then it would usually be better to just dismiss the alert instead of pulling in potentially breaking changes. |
We don't have a new
It definitely affects us in azurecore extension now that we support MSAL, you can read more. |
I will proceed to merge for now, and we will eventually be updating to official msal-node package soon as they release it. |
This PR updates
jsonwebtoken
to a new stable version