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

chore: require node 20+ #6

Merged
merged 1 commit into from
Sep 21, 2024
Merged

Conversation

aleclarson
Copy link
Contributor

The styleText function of node:util is only available in v20+.

https://nodejs.org/api/util.html#utilstyletextformat-text-options

The `styleText` function of `node:util` is only available in v20+.

https://nodejs.org/api/util.html#utilstyletextformat-text-options
@aleclarson
Copy link
Contributor Author

Alternatively, we could not use styleText, and use something like yoctocolors, which is very small (and tree-shakeable?).

@Kikobeats
Copy link
Member

Thanks! Since v18 is old at this point let's use v20 🙂

@Kikobeats Kikobeats merged commit 9b17870 into microlinkhq:master Sep 21, 2024
1 check passed
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.

2 participants