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

build: fix scripts Node 20 compat #863

Merged
merged 3 commits into from
Nov 13, 2023
Merged

build: fix scripts Node 20 compat #863

merged 3 commits into from
Nov 13, 2023

Conversation

wolfy1339
Copy link
Member

@wolfy1339 wolfy1339 commented Nov 13, 2023

This is an issue with how ts-node hooks into the import process due to a breaking change made in NodeJS 20.
See TypeStrong/ts-node#1997 for more details

Resolves #862


Before the change?

After the change?

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

This is an issue with how ts-node hooks into the import process due to a breaking change made in NodeJS 20
See TypeStrong/ts-node#1997 for more details

Fixes #862
@wolfy1339 wolfy1339 added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Nov 13, 2023
Copy link
Contributor

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@wolfy1339
Copy link
Member Author

I have tested this on both NodeJS v18 and v20 and it fixes the issue

Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

cheers!

@gr2m
Copy link
Contributor

gr2m commented Nov 13, 2023

hmm did you miss one? Tests are still failing

@wolfy1339
Copy link
Member Author

I'm looking into it.

@wolfy1339 wolfy1339 merged commit f990247 into main Nov 13, 2023
7 checks passed
@wolfy1339 wolfy1339 deleted the fix-node20-scripts branch November 13, 2023 22:40
@octokitbot
Copy link
Collaborator

🎉 This PR is included in version 7.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[MAINT]: Release is failing
3 participants