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

Support node 22 #8136

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Support node 22 #8136

wants to merge 7 commits into from

Conversation

joehan
Copy link
Contributor

@joehan joehan commented Jan 23, 2025

Description

Fixes a bunch of places where our dependencies were using builtin methods that were deprecated in Node 22.

TODO before merge:

  • Switch to a real version of superstatic instead of pointing at a git branch
  • Add node 22 to CI

Scenarios Tested

Ran the tests, and ran through a bunch of common commands without getting deprecation notices.

Sample Commands

@joehan joehan marked this pull request as ready for review February 7, 2025 18:01
@joehan joehan requested a review from bkendall February 7, 2025 18:01
@joehan
Copy link
Contributor Author

joehan commented Feb 7, 2025

Started to move Ci to node 22, but doing it piecemeal:

  1. In this PR, added 22 for the 'cheap' tests to verify they work.
  2. Next, I'll make these required checks (and remove the redundant versions)
  3. In a follow up PR, i'll move the integration tests over, and confirm that they work. I'll force merge that and then update the branch protection rules with the new required checks.

@@ -13,7 +13,7 @@ describe("unzip", () => {
});

after(async () => {
await fs.promises.rmdir(tempDir, { recursive: true });
await fs.promises.rm(tempDir, { recursive: true });
Copy link
Contributor

Choose a reason for hiding this comment

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

just checking that this is intentional :)

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.

2 participants