-
Notifications
You must be signed in to change notification settings - Fork 519
Update to Node.js 24 and modernize async usage #654
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
base: main
Are you sure you want to change the base?
Conversation
Bump Node.js version to 24 in workflows, action metadata, and engines. Update TypeScript target to ES2022 and use native async/await instead of __awaiter in compiled JS. Upgrade @types/node to 24.1.0 and update undici-types. Remove legacy async helpers and refactor code for improved readability and compatibility with modern Node.js.
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.
Pull Request Overview
Updates the project to use Node.js 24 and modernizes async handling by removing legacy TypeScript async helpers. This upgrade improves compatibility with the latest Node.js features and simplifies the codebase.
- Upgrade Node.js runtime from version 20 to 24 across all environments
- Update type definitions to match Node.js 24 compatibility
- Modernize GitHub Actions workflows to use Node.js 24
Reviewed Changes
Copilot reviewed 6 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
package.json | Adds Node.js 24 engine requirement and updates @types/node dependency |
action.yml | Updates GitHub Action runtime from node20 to node24 |
.licenses/npm/undici-types.dep.yml | Updates undici-types license file for newer version |
.licenses/npm/@types/node.dep.yml | Updates @types/node license file for version 24.1.0 |
.github/workflows/check-dist.yml | Updates workflow to use Node.js 24 |
.github/workflows/basic-validation.yml | Updates workflow to use Node.js 24 |
Bump Node.js version to 24 in workflows, action metadata, and engines. Update TypeScript target to ES2022 and use native async/await instead of __awaiter in compiled JS. Upgrade @types/node to 24.1.0 and update undici-types. Remove legacy async helpers and refactor code for improved readability and compatibility with modern Node.js.
Description:
Describe your changes.
Related issue:
Add link to the related issue.
Check list: