Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

salmanmkc
Copy link

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:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

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.
@salmanmkc salmanmkc marked this pull request as ready for review August 8, 2025 06:30
@Copilot Copilot AI review requested due to automatic review settings August 8, 2025 06:30
@salmanmkc salmanmkc requested a review from a team as a code owner August 8, 2025 06:30
Copy link

@Copilot Copilot AI left a 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

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.

3 participants