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

Add an engines constraint on Node >= 22.1 #5

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

pascalduez
Copy link
Member

@pascalduez pascalduez commented Sep 9, 2024

Add engines key to package.json to forbid Node.js versions prior to 22.1.0.
We now rely on CustomEvent which was made stable and available from that version.
Prior to that it was only available under a flag.

See https://nodejs.org/api/events.html#class-customevent

@pascalduez pascalduez merged commit 76f80f9 into main Sep 9, 2024
1 check passed
@pascalduez pascalduez deleted the feature/engines-constraint branch September 9, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant