-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[SignalR] Update some npm deps #41270
Conversation
@BrennanConroy I believe that the priority for this one is higher now as version 1.x has a vulnerability.. Wdyt? |
When installing the SignalR npm package you will automatically use the latest minor/patch of the EventSource package as we reference it with However, I will update this PR so we explicitly use a safer version. |
Is there a rough ETA on this ticket being completed? As its causing npm audit to fail on any project with SignalR installed. |
Can we use resolution strategy as |
@imMatt |
Adding to what @nimishagarwal said, if you use npm (and not yarn), you can use the {
"overrides": {
"@microsoft/[email protected]": {
"eventsource": "^2.0.2"
}
}
} Don't forget to delete your package-lock.json file afterwards and run |
Tried this and the resolutions as well but it didnt update the eventsource version in package lock file but updated the other dependencies. |
I'm wondering if rerunning with #41938 will make a difference otherwise we might have to look into changing how we do this: aspnetcore/src/SignalR/clients/ts/FunctionalTests/scripts/run-tests.ts Lines 218 to 219 in 2b8b2dc
Maybe we could set |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@swasun99 If you use version 6.0.5 of {
"overrides": {
"@microsoft/signalr": {
"eventsource": "^2.0.2"
}
}
} |
I tried both ways by adding the version constraint as 6.0.5 and also by dropping it, same update in packagelock file as shown above. no change in event source version. |
a7e9ec6
to
352b969
Compare
The error still shows up. Has this not been fixed with version 6.0.6? |
Hi @JanHergenhan. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
6.0.6 will pull in eventsource 1.1.2 which does not have the vulnerability. |
|
Hi @JanHergenhan. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
EventSource changelog
fetch-cookie changelog