Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

feat: Support Node.js v20 #71

Merged
merged 9 commits into from
Sep 11, 2023
Merged

feat: Support Node.js v20 #71

merged 9 commits into from
Sep 11, 2023

Conversation

privatenumber
Copy link
Member

@privatenumber privatenumber commented Sep 11, 2023

@privatenumber privatenumber changed the title test: node 20 feat: Support Node.js v20 Sep 11, 2023
@privatenumber privatenumber marked this pull request as ready for review September 11, 2023 12:45
@privatenumber privatenumber merged commit 220a145 into develop Sep 11, 2023
2 checks passed
@privatenumber privatenumber deleted the test-node20 branch September 11, 2023 23:03
@privatenumber
Copy link
Member Author

🎉 This PR is included in version 2.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Semigradsky
Copy link
Contributor

@privatenumber JFYI In v20.6.0 initialize hook was added - https://nodejs.org/dist/latest-v20.x/docs/api/esm.html#initialize
It's avaialble in @types/[email protected]

From docs about globalPreload:

This hook will be removed in a future version. Use initialize instead. When a loader has an initialize export, globalPreload will be ignored.

@privatenumber
Copy link
Member Author

I have a open PR for it (#72), but I'm still on the fence about how to approach it as it would require usage via --import instead of --loader.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong line numbers in stack traces when using Node v20
2 participants