-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Downgrade event-stream to 3.3.4 #5523
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
Conversation
598ae0d
to
41b9538
Compare
vscode-dotty/package-lock.json
Outdated
@@ -922,7 +912,7 @@ | |||
}, | |||
"readable-stream": { | |||
"version": "1.0.34", | |||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", | |||
"resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove all the changes that replace https by http ? My npm doesn't do that
41b9538
to
8758bdd
Compare
That's super strange, it looks like this a known issue in npm: https://npm.community/t/npm-install-downgrading-resolved-packages-from-https-to-http-registry-in-package-lock-json/1818 I've replaced all http:// by https://, can you check that everything is still working okay for you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All our transitive dependencies that depend on event-streams have released new versions with 3.3.4 hardcoded (also the malicious 3.3.6 was deleted from the npm registry). So instead of hardcoding it ourselves, we should be able to just do "npm update".
> The NPM package flatmap-stream is considered malicious. A malicious > actor added this package as a dependency to the NPM event-stream package > in versions 3.3.6 and later. Users of event-stream are encouraged to > downgrade to the last non-malicious version, 3.3.4. See dominictarr/event-stream#116
8758bdd
to
c5ff6e2
Compare
@smarter ... Though I really don't know why we have so many more dependencies. Did I do something wrong with npm? |
They appear to be transitive dependencies of the new vscode, so this is normal. |
See dominictarr/event-stream#116