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

Feat: Support Node 20. #954

Merged
merged 6 commits into from
May 6, 2023
Merged

Feat: Support Node 20. #954

merged 6 commits into from
May 6, 2023

Conversation

RobinTail
Copy link
Owner

No description provided.

@RobinTail RobinTail added dependencies Pull requests that update a dependency file CI/CD labels Apr 21, 2023
@RobinTail
Copy link
Owner Author

Node 20.x error in ESM test

$ ts-node-esm quick-start.ts
    TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/express-zod-api/express-zod-api/tests/esm/quick-start.ts

@RobinTail
Copy link
Owner Author

The corresponding issue:
TypeStrong/ts-node#1997

@RobinTail
Copy link
Owner Author

RobinTail commented May 6, 2023

Possible bypass:
node --no-warnings=ExperimentalWarning --loader ts-node/esm file.ts

@RobinTail RobinTail marked this pull request as ready for review May 6, 2023 10:37
@RobinTail
Copy link
Owner Author

Not sure about 20.0.0 stability. Perhaps I'll request 20.1.0 as the minimum supported one.

@RobinTail RobinTail merged commit dc43478 into master May 6, 2023
@RobinTail RobinTail deleted the support-node20 branch May 6, 2023 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant