Skip to content
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

fix: Update node version #6789

Closed

Conversation

alexandersperling
Copy link

* Update node version to solve CVE-2024-21892
@alexandersperling alexandersperling requested a review from a team as a code owner May 8, 2024 09:35
@code-asher
Copy link
Member

Thank you for the PR! This project just wraps the version used in VS Code, since that is the one that is tested and supported by them: https://github.com/microsoft/vscode/blob/main/remote/.yarnrc

Once they have updated, we can as well.

@alexandersperling
Copy link
Author

they now updated the version to 20.9.0, but this wont fix the CVE either...

@code-asher
Copy link
Member

Oh weird I wonder why they chose to do that. Oh it probably matches whatever Node version is being used in Electron...

@alexandersperling
Copy link
Author

alexandersperling commented May 16, 2024

I wonder if it should work with node 20.12.1 since this is the version which is defined in the .nvmrc

https://github.com/microsoft/vscode/blob/main/.nvmrc

You know why there are differences with the .yarnrc you linked before and the general node version used in the repo?

@code-asher
Copy link
Member

You know why there are differences with the .yarnrc you linked before and the general node version used in the repo?

I am not sure, that does seem weird. 🤔

@alexandersperling
Copy link
Author

@code-asher they now updated to 20.11.1 and so did I 😄

@code-asher
Copy link
Member

Awesome! We update VS Code on each release so we will need to wait until 1.90.0 or maybe 1.91.0.

@code-asher
Copy link
Member

code-asher commented Jun 8, 2024

Thanks again for the PR! We ended up doing this as part of the VS Code upgrade so I will close this.

Weirdly, 20.11.1 keeps failing in CI (core dump) so I am trying out 20.12.1 from the .nvmrc instead. It looks like they build with .nvmrc (20.12.1) but then they ship with the .yarnrc (20.11.1). I am not sure why they ship with a version that is different than the one they build with. I am going to try both building and shipping with 20.12.1 and hopefully that is fine.

Might be that we will need to follow the .nvmrc from now on rather than the .yarnrc, so I think your intuition was right.

Edit: 20.12.1 also segfaults, trying some things out here: #6830

@code-asher code-asher closed this Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants