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

Upgrade to NodeJS 20 #7537

Merged
merged 3 commits into from
Sep 23, 2024
Merged

Upgrade to NodeJS 20 #7537

merged 3 commits into from
Sep 23, 2024

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Sep 23, 2024

This bumps the NodeJS version we use (for building etc.) to 20.

Note that Electron already ships with Node 20; so runtime is unaffected.

Reviewing commit-by-commit (and reading the commit messages) is recommended.

Fixes #7444

We're already using it as part of Electron

Signed-off-by: Mark Yen <mark.yen@suse.com>
The latter has been replaced by the former when using jest 27+, and we are
already installing it (but not using it?); we needed to bump vue-jest
because it pulls in a dependency (deasync) on Windows that would have
required the use of node-gyp (but @vue/vue2-jest no longer requires).

We also need to bump @vue/vue2-jest as the old version wanted something in
ts-jest that did not exist in ts-jest 28+

Signed-off-by: Mark Yen <mark.yen@suse.com>
Node has changed the error messages around JSON parsing so that it returns
better details about the encountered errors; update the test expectations
to match the new strings.

Signed-off-by: Mark Yen <mark.yen@suse.com>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jandubois jandubois merged commit 0b3030a into rancher-sandbox:main Sep 23, 2024
17 checks passed
@mook-as mook-as deleted the bump/node-20 branch October 3, 2024 20:18
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.

Upgrade to Node 20
2 participants